@opencode-ai/core 0.0.0-dev-19167 → 0.0.0-dev-19172

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{provider-cb182ger.js → file-retention-024e4rjz.js} +5 -5
  9. package/dist/chunks/{provider-yd25cjpk.js → file-retention-09ywgxwg.js} +4 -4
  10. package/dist/chunks/{provider-6h5wf9jw.js → file-retention-0b89de78.js} +5 -5
  11. package/dist/chunks/{provider-0e0xafbb.js → file-retention-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{provider-qxd9wqy8.js → file-retention-0kahwk4p.js} +16 -16
  13. package/dist/chunks/{provider-a2z678qc.js → file-retention-0p0zxxmq.js} +8 -8
  14. package/dist/chunks/{provider-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{provider-0s9ayhjt.js → file-retention-0s9ayhjt.js} +1 -1
  16. package/dist/chunks/{provider-kdngb1xv.js → file-retention-104gr47b.js} +16 -16
  17. package/dist/chunks/{provider-8ztds29y.js → file-retention-10dh1exf.js} +72 -72
  18. package/dist/chunks/file-retention-1bw6255h.js +22 -0
  19. package/dist/chunks/{provider-853kgd97.js → file-retention-1c7r0953.js} +11 -11
  20. package/dist/chunks/{provider-1ct4r87x.js → file-retention-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{provider-p166mkhm.js → file-retention-1epsx5vc.js} +27 -27
  22. package/dist/chunks/{provider-vwwkt776.js → file-retention-1hy241bm.js} +3 -3
  23. package/dist/chunks/{provider-n4z1ma14.js → file-retention-1mrma768.js} +5 -5
  24. package/dist/chunks/{provider-de8s0qqs.js → file-retention-1rm0drdm.js} +2 -2
  25. package/dist/chunks/{provider-jdneq8r1.js → file-retention-1twmeren.js} +12 -12
  26. package/dist/chunks/{provider-s0eq18p3.js → file-retention-1wk28q4y.js} +7 -7
  27. package/dist/chunks/{provider-641qsbhy.js → file-retention-1wtypr3q.js} +9 -9
  28. package/dist/chunks/{provider-vhct9xs4.js → file-retention-205rsrbm.js} +6 -6
  29. package/dist/chunks/{provider-21r38tys.js → file-retention-21r38tys.js} +1 -1
  30. package/dist/chunks/{provider-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  31. package/dist/chunks/{provider-6e958v7x.js → file-retention-28pcbh69.js} +4 -4
  32. package/dist/chunks/{provider-29x78va6.js → file-retention-29x78va6.js} +2 -2
  33. package/dist/chunks/{provider-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{provider-dy4ht7ys.js → file-retention-2h2vdh1n.js} +149 -149
  35. package/dist/chunks/{provider-2ht70gj7.js → file-retention-2ht70gj7.js} +1 -1
  36. package/dist/chunks/{provider-r33ff4dw.js → file-retention-2jmaghvr.js} +6 -6
  37. package/dist/chunks/{provider-m53hvte5.js → file-retention-2jp4bbqb.js} +9 -9
  38. package/dist/chunks/{provider-b60kwn70.js → file-retention-2s1zz7jz.js} +38 -38
  39. package/dist/chunks/{provider-g91mrpv7.js → file-retention-2sjnsy3c.js} +31 -31
  40. package/dist/chunks/{provider-h182avfb.js → file-retention-2vmasjgj.js} +7 -7
  41. package/dist/chunks/{provider-b0z70ywn.js → file-retention-2w6bfmvf.js} +1 -1
  42. package/dist/chunks/{provider-nyz6bxeq.js → file-retention-34kkasa2.js} +34 -34
  43. package/dist/chunks/{provider-5g2e3aap.js → file-retention-376701a1.js} +25 -25
  44. package/dist/chunks/{provider-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{provider-jvaeg9cc.js → file-retention-3kdc12ra.js} +20 -20
  46. package/dist/chunks/{provider-vhbtg5gj.js → file-retention-3m34twvx.js} +25 -25
  47. package/dist/chunks/{provider-yzgp7g2d.js → file-retention-3qy3ajen.js} +8 -8
  48. package/dist/chunks/{provider-3qzbfqsy.js → file-retention-3qzbfqsy.js} +2 -2
  49. package/dist/chunks/{provider-b0hcp35g.js → file-retention-3rfnhdhv.js} +7 -7
  50. package/dist/chunks/{provider-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{provider-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{provider-1wwcepag.js → file-retention-3zec4kwx.js} +24 -24
  53. package/dist/chunks/{provider-sz27z7nv.js → file-retention-402r2v51.js} +26 -26
  54. package/dist/chunks/{provider-03vfzkzq.js → file-retention-42gstqmc.js} +4 -4
  55. package/dist/chunks/{provider-wrwb82ns.js → file-retention-44z5w399.js} +18 -18
  56. package/dist/chunks/{provider-454k5vzh.js → file-retention-454k5vzh.js} +1 -1
  57. package/dist/chunks/{provider-2x63360j.js → file-retention-48ev9q21.js} +3 -3
  58. package/dist/chunks/{provider-892hb7ze.js → file-retention-48m75tza.js} +5 -5
  59. package/dist/chunks/{provider-kwdr293w.js → file-retention-4c8rvwe6.js} +8 -8
  60. package/dist/chunks/{provider-zhj1bw0n.js → file-retention-4f8s46ta.js} +21 -21
  61. package/dist/chunks/{provider-4r2nyarf.js → file-retention-4r2nyarf.js} +1 -1
  62. package/dist/chunks/{provider-2kst325v.js → file-retention-4w149egh.js} +13 -13
  63. package/dist/chunks/{provider-xqywgcz5.js → file-retention-4w7zm36c.js} +11 -11
  64. package/dist/chunks/{provider-2rcn8zjb.js → file-retention-4x0nmcjx.js} +9 -9
  65. package/dist/chunks/{provider-qfzsxjsm.js → file-retention-549wn4nn.js} +23 -23
  66. package/dist/chunks/{provider-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  67. package/dist/chunks/{provider-5fmxt4p5.js → file-retention-5fmxt4p5.js} +1 -1
  68. package/dist/chunks/{provider-5jvc5tg2.js → file-retention-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{provider-nfcew73a.js → file-retention-5m3fjy3v.js} +34 -34
  70. package/dist/chunks/file-retention-619r8v3y.js +18 -0
  71. package/dist/chunks/{provider-4297rwmf.js → file-retention-637933n9.js} +19 -19
  72. package/dist/chunks/{provider-g0ysksx1.js → file-retention-637qq8n2.js} +9 -9
  73. package/dist/chunks/{provider-5h2h4z1f.js → file-retention-6a2fap2g.js} +14 -14
  74. package/dist/chunks/{provider-dv4b3fh8.js → file-retention-6c7c909b.js} +61 -61
  75. package/dist/chunks/{provider-xjn6wd3a.js → file-retention-6h5vvsan.js} +25 -25
  76. package/dist/chunks/{provider-ttvaqn65.js → file-retention-6tp6t4rz.js} +9 -9
  77. package/dist/chunks/{provider-w3jym6ha.js → file-retention-6z5bwd8g.js} +6 -6
  78. package/dist/chunks/{provider-3x6030n9.js → file-retention-711hfp6y.js} +2 -2
  79. package/dist/chunks/{provider-72nftnjy.js → file-retention-72nftnjy.js} +2 -2
  80. package/dist/chunks/{provider-jp5dra8g.js → file-retention-768z0hjh.js} +1 -1
  81. package/dist/chunks/{provider-9rrsjx5v.js → file-retention-7aq2fs8e.js} +21 -21
  82. package/dist/chunks/{provider-m1nyv0n4.js → file-retention-7b5mmf1f.js} +9 -9
  83. package/dist/chunks/{provider-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{provider-2fg54z85.js → file-retention-7x20s5dd.js} +3 -3
  85. package/dist/chunks/{provider-12fwxsz1.js → file-retention-7zjtv6nt.js} +11 -11
  86. package/dist/chunks/{provider-b13177gh.js → file-retention-83gby3am.js} +26 -26
  87. package/dist/chunks/{provider-ns2ynd12.js → file-retention-84b4417c.js} +28 -28
  88. package/dist/chunks/{provider-kfsq4zjw.js → file-retention-8enene87.js} +9 -9
  89. package/dist/chunks/{provider-5aegsqc7.js → file-retention-8jng17b7.js} +27 -27
  90. package/dist/chunks/{provider-affy9bjp.js → file-retention-8jq7hkfv.js} +7 -7
  91. package/dist/chunks/{provider-2mrcrp87.js → file-retention-8njmz93d.js} +33 -33
  92. package/dist/chunks/{provider-0gfwxnmp.js → file-retention-8w931syc.js} +4 -4
  93. package/dist/chunks/{provider-apngs9tj.js → file-retention-8zfntaab.js} +7 -7
  94. package/dist/chunks/{provider-qey6vfz4.js → file-retention-97ex6grt.js} +15 -15
  95. package/dist/chunks/{provider-nc3b1wgh.js → file-retention-99vjr10t.js} +11 -11
  96. package/dist/chunks/{provider-1yert1cs.js → file-retention-9je5tgfh.js} +11 -11
  97. package/dist/chunks/{provider-qvbcabdc.js → file-retention-9qm9egsn.js} +2 -2
  98. package/dist/chunks/{provider-806j49yq.js → file-retention-a2ew8a62.js} +4 -4
  99. package/dist/chunks/{provider-mnne67dr.js → file-retention-a8135xa2.js} +24 -24
  100. package/dist/chunks/{provider-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  101. package/dist/chunks/{provider-yfvv8zpt.js → file-retention-aet6n25v.js} +9 -9
  102. package/dist/chunks/{provider-xpfgzvr8.js → file-retention-agwvegtk.js} +11 -11
  103. package/dist/chunks/{provider-pae9v2p1.js → file-retention-ajphwd6y.js} +4 -4
  104. package/dist/chunks/{provider-yg7sb877.js → file-retention-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{provider-7kpptg10.js → file-retention-amvr6g9m.js} +1 -1
  106. package/dist/chunks/{provider-7gaxprrm.js → file-retention-atz03w0q.js} +5 -5
  107. package/dist/chunks/{provider-3gqntfgq.js → file-retention-aydeeq46.js} +23 -23
  108. package/dist/chunks/{provider-ess3gj99.js → file-retention-azy6xqf9.js} +22 -22
  109. package/dist/chunks/{provider-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{provider-xchn1187.js → file-retention-b729swae.js} +7 -7
  111. package/dist/chunks/{provider-b9wsbatv.js → file-retention-b9wsbatv.js} +1 -1
  112. package/dist/chunks/{provider-bd3tpn96.js → file-retention-bbrq8e4h.js} +26 -26
  113. package/dist/chunks/{provider-vncycja5.js → file-retention-bf0ztrs3.js} +4 -4
  114. package/dist/chunks/{provider-56fdxhwp.js → file-retention-bf4tcw57.js} +8 -8
  115. package/dist/chunks/{provider-bphmvjfp.js → file-retention-bphmvjfp.js} +2 -2
  116. package/dist/chunks/{provider-2mdyj6yh.js → file-retention-bq1y9h9w.js} +34 -34
  117. package/dist/chunks/{provider-13v61wc5.js → file-retention-bqa77dn1.js} +19 -19
  118. package/dist/chunks/{provider-3rbjgaka.js → file-retention-byfshvwt.js} +8 -8
  119. package/dist/chunks/{provider-ztade2sn.js → file-retention-bzjv94tm.js} +15 -15
  120. package/dist/chunks/{provider-pnk3f66d.js → file-retention-c7cvy1rv.js} +37 -37
  121. package/dist/chunks/{provider-5mm0tfy6.js → file-retention-cb4795z8.js} +8 -8
  122. package/dist/chunks/{provider-d8ecvvew.js → file-retention-cc90a9w8.js} +15 -15
  123. package/dist/chunks/{provider-44rmg5yj.js → file-retention-ch1mbcxn.js} +11 -11
  124. package/dist/chunks/{provider-wsfy2223.js → file-retention-ch60wd2z.js} +4 -4
  125. package/dist/chunks/{provider-7tfg2zmn.js → file-retention-d1a1bt21.js} +5 -5
  126. package/dist/chunks/{provider-g2gt0w0k.js → file-retention-d72308c8.js} +2 -2
  127. package/dist/chunks/{provider-psvzf7ga.js → file-retention-dm4jmc1z.js} +6 -6
  128. package/dist/chunks/{provider-zxkgzhhn.js → file-retention-dsdh720h.js} +9 -9
  129. package/dist/chunks/{provider-6eedbjdx.js → file-retention-dyy50z5j.js} +20 -20
  130. package/dist/chunks/{provider-ggnnjyyr.js → file-retention-dyz4rdvp.js} +32 -32
  131. package/dist/chunks/{provider-ff9ttd4n.js → file-retention-e1tm9aav.js} +26 -26
  132. package/dist/chunks/{provider-hdt492b8.js → file-retention-e63vekzn.js} +13 -13
  133. package/dist/chunks/{provider-v08zexc0.js → file-retention-eg4pr325.js} +3 -3
  134. package/dist/chunks/{provider-73nqhwcr.js → file-retention-ek8k105k.js} +4 -4
  135. package/dist/chunks/{provider-1txwkh2f.js → file-retention-em9v63s6.js} +8 -8
  136. package/dist/chunks/{provider-j028xdjb.js → file-retention-eq1pz5kg.js} +3 -3
  137. package/dist/chunks/{provider-qwz28wt1.js → file-retention-ere7nfp9.js} +12 -12
  138. package/dist/chunks/{provider-vqk7jqfs.js → file-retention-f4cf0bsx.js} +40 -40
  139. package/dist/chunks/{provider-5j6fg35e.js → file-retention-f70g29mr.js} +20 -20
  140. package/dist/chunks/{provider-w8e4nwz3.js → file-retention-f9jp4s2y.js} +4 -4
  141. package/dist/chunks/{provider-7dqw4kz8.js → file-retention-fcrkznn8.js} +5 -5
  142. package/dist/chunks/{provider-9ety662n.js → file-retention-frptnsh5.js} +15 -15
  143. package/dist/chunks/{provider-zm4j8yda.js → file-retention-fve27tvk.js} +8 -8
  144. package/dist/chunks/{provider-me1jjq5a.js → file-retention-fx4s78ev.js} +3 -3
  145. package/dist/chunks/{provider-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{provider-fxypknc8.js → file-retention-fxypknc8.js} +1 -1
  147. package/dist/chunks/{provider-zwcjdryk.js → file-retention-g0fndb66.js} +79 -79
  148. package/dist/chunks/{provider-2f9fbt2v.js → file-retention-g4wkbvr8.js} +12 -12
  149. package/dist/chunks/{provider-xg9wzphz.js → file-retention-g585tkj2.js} +4 -4
  150. package/dist/chunks/{provider-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{provider-3fc6dm20.js → file-retention-gdvy8fx6.js} +4 -4
  152. package/dist/chunks/{provider-8g54fgwv.js → file-retention-ge8qzb8n.js} +285 -285
  153. package/dist/chunks/{provider-nw5vcmzd.js → file-retention-gxrht0qn.js} +2 -2
  154. package/dist/chunks/{provider-m54g5aqe.js → file-retention-gz64hf7x.js} +17 -17
  155. package/dist/chunks/{provider-1y3t3jga.js → file-retention-gzwcbpkz.js} +13 -13
  156. package/dist/chunks/{provider-4n7667v4.js → file-retention-h0wh91yw.js} +3 -3
  157. package/dist/chunks/{provider-0e2qvb29.js → file-retention-h0xakedw.js} +19 -19
  158. package/dist/chunks/{provider-j9qb87cx.js → file-retention-h3at1h9w.js} +24 -24
  159. package/dist/chunks/{provider-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{provider-f4g7wt00.js → file-retention-hcdssky2.js} +4 -4
  161. package/dist/chunks/{provider-nbw8mv70.js → file-retention-he7mv26x.js} +13 -13
  162. package/dist/chunks/{provider-heyhwy2w.js → file-retention-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{provider-818qf5z9.js → file-retention-hfwh170d.js} +8 -8
  164. package/dist/chunks/{provider-encf5598.js → file-retention-hn0tf0a0.js} +24 -24
  165. package/dist/chunks/{provider-1sjs8vrb.js → file-retention-hq7cfhbs.js} +18 -18
  166. package/dist/chunks/{provider-g2dy4bvs.js → file-retention-hrvm11jt.js} +3 -3
  167. package/dist/chunks/{provider-v33hnsqv.js → file-retention-hv0dr4wn.js} +8 -8
  168. package/dist/chunks/{provider-xc5kj15j.js → file-retention-jhg236cd.js} +6 -6
  169. package/dist/chunks/{provider-qyjj80vx.js → file-retention-jjtcncep.js} +8 -8
  170. package/dist/chunks/{provider-pdsr7cn0.js → file-retention-jk2f9dpk.js} +11 -11
  171. package/dist/chunks/{provider-79xc10f4.js → file-retention-jnmmvqjs.js} +1 -1
  172. package/dist/chunks/{provider-xtddbfj7.js → file-retention-jp48954f.js} +8 -8
  173. package/dist/chunks/{provider-n9mr47st.js → file-retention-jpg38yrs.js} +6 -6
  174. package/dist/chunks/{provider-dpfrdvp5.js → file-retention-k0wp4d9t.js} +12 -12
  175. package/dist/chunks/{provider-k4bwy1x5.js → file-retention-k4bwy1x5.js} +1 -1
  176. package/dist/chunks/{provider-bh14fpxk.js → file-retention-kbj0c16s.js} +11 -11
  177. package/dist/chunks/{provider-hvpcewnc.js → file-retention-kce1rcej.js} +20 -20
  178. package/dist/chunks/{provider-j78wwk7e.js → file-retention-kdsxv0j6.js} +36 -36
  179. package/dist/chunks/{provider-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  180. package/dist/chunks/{provider-dqarh4b4.js → file-retention-kpv66tzn.js} +18 -18
  181. package/dist/chunks/{provider-87687fkt.js → file-retention-kq2xfdb5.js} +18 -18
  182. package/dist/chunks/{provider-fdht7pma.js → file-retention-kqqnddrj.js} +22 -22
  183. package/dist/chunks/{provider-kvsjn1dr.js → file-retention-kvsjn1dr.js} +2 -2
  184. package/dist/chunks/{provider-ksd37v8k.js → file-retention-m5n300jn.js} +20 -20
  185. package/dist/chunks/{provider-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{provider-v44x7myj.js → file-retention-mawa6aat.js} +15 -15
  187. package/dist/chunks/{provider-tsbgh63p.js → file-retention-mcv9pgkp.js} +6 -6
  188. package/dist/chunks/{provider-t22pecrr.js → file-retention-mqqcxy20.js} +34 -34
  189. package/dist/chunks/{provider-7jypvd16.js → file-retention-my560zn8.js} +14 -14
  190. package/dist/chunks/{provider-7jjxgj4q.js → file-retention-n1zgngz1.js} +19 -19
  191. package/dist/chunks/{provider-j5208yae.js → file-retention-n8c291r7.js} +6 -6
  192. package/dist/chunks/{provider-nj1fe1jb.js → file-retention-nf2cw6d6.js} +4 -4
  193. package/dist/chunks/{provider-6g7pxxrt.js → file-retention-ns4erenn.js} +35 -35
  194. package/dist/chunks/{provider-9be6zmap.js → file-retention-nv4hhw20.js} +13 -13
  195. package/dist/chunks/{provider-8gq481r1.js → file-retention-nw80mg4a.js} +2 -2
  196. package/dist/chunks/{provider-bfhprby2.js → file-retention-pah7pk43.js} +4 -4
  197. package/dist/chunks/{provider-7e69hvtd.js → file-retention-phazpyca.js} +47 -47
  198. package/dist/chunks/{provider-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{provider-bq9d524y.js → file-retention-pjvnwgyc.js} +32 -32
  200. package/dist/chunks/{provider-pknna89w.js → file-retention-pknna89w.js} +1 -1
  201. package/dist/chunks/{provider-dzwkm0n0.js → file-retention-prkc2mhz.js} +11 -11
  202. package/dist/chunks/{provider-42my878b.js → file-retention-pt7wq7x0.js} +1 -1
  203. package/dist/chunks/{provider-hcbz9q61.js → file-retention-ptsfk80f.js} +4 -4
  204. package/dist/chunks/{provider-vwna6rrk.js → file-retention-pz2n2jx2.js} +13 -13
  205. package/dist/chunks/{provider-m3g36xn6.js → file-retention-q5m5resc.js} +12 -12
  206. package/dist/chunks/{provider-y0v6q609.js → file-retention-q913b2bh.js} +6 -6
  207. package/dist/chunks/{provider-d3hfvarq.js → file-retention-qcdx5q9z.js} +17 -17
  208. package/dist/chunks/{provider-qte5mmnh.js → file-retention-qezejtch.js} +4 -4
  209. package/dist/chunks/{provider-671zgf57.js → file-retention-qkq8j0kd.js} +5 -5
  210. package/dist/chunks/{provider-vzcqb4ye.js → file-retention-qkqkrz6w.js} +27 -27
  211. package/dist/chunks/{provider-ey5akwsf.js → file-retention-qm3e3s36.js} +16 -16
  212. package/dist/chunks/{provider-52dgv1qd.js → file-retention-qpfqqsnr.js} +24 -24
  213. package/dist/chunks/{provider-fhvjqr7f.js → file-retention-qs4avvkb.js} +1 -1
  214. package/dist/chunks/{provider-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  215. package/dist/chunks/{provider-fhmdyj6b.js → file-retention-qwr8sv5a.js} +2 -2
  216. package/dist/chunks/{provider-4dj65k8e.js → file-retention-qwr8y3n7.js} +11 -11
  217. package/dist/chunks/{provider-5p910kp8.js → file-retention-r5k1hnjc.js} +3 -3
  218. package/dist/chunks/{provider-sm99xz24.js → file-retention-r82grff9.js} +3 -3
  219. package/dist/chunks/{provider-r8dhm0tv.js → file-retention-r8dhm0tv.js} +1 -1
  220. package/dist/chunks/{provider-3pmbcp29.js → file-retention-rcbdex51.js} +5 -5
  221. package/dist/chunks/{provider-hz02q9m3.js → file-retention-re380472.js} +15 -15
  222. package/dist/chunks/{provider-6khe0rk5.js → file-retention-rmhappp8.js} +11 -11
  223. package/dist/chunks/{provider-e76cs59w.js → file-retention-rntd5zhx.js} +8 -8
  224. package/dist/chunks/file-retention-rrnmj2kt.js +247 -0
  225. package/dist/chunks/{provider-3zp16sz2.js → file-retention-rsqwdw7v.js} +22 -22
  226. package/dist/chunks/{provider-g19vc6v7.js → file-retention-rvb2zp0m.js} +6 -6
  227. package/dist/chunks/{provider-wkfd3kg3.js → file-retention-s0n5ntn1.js} +2 -2
  228. package/dist/chunks/{provider-hqdatdk6.js → file-retention-s4ph2d63.js} +13 -13
  229. package/dist/chunks/{provider-sba4qhjf.js → file-retention-sba4qhjf.js} +1 -1
  230. package/dist/chunks/{provider-s7m5rr3e.js → file-retention-se7rt37b.js} +17 -17
  231. package/dist/chunks/{provider-h7e5g0tn.js → file-retention-spqcpneg.js} +6 -6
  232. package/dist/chunks/{provider-b9rr2wfs.js → file-retention-ss0qxjqq.js} +13 -13
  233. package/dist/chunks/{provider-pnhc5zr1.js → file-retention-sw4p0vc7.js} +3 -3
  234. package/dist/chunks/{provider-7tqf86yy.js → file-retention-t26mc4v5.js} +10 -10
  235. package/dist/chunks/{provider-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{provider-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{provider-tjykrgmx.js → file-retention-tjykrgmx.js} +1 -1
  238. package/dist/chunks/{provider-xp0tb8fr.js → file-retention-tppvcy65.js} +2 -2
  239. package/dist/chunks/{provider-gpyn4hbp.js → file-retention-tq75tfgs.js} +44 -44
  240. package/dist/chunks/{provider-gm2nd0w6.js → file-retention-tw0mb86q.js} +10 -10
  241. package/dist/chunks/{provider-1r2601w8.js → file-retention-tzmrq1hj.js} +16 -16
  242. package/dist/chunks/{provider-zjam9g86.js → file-retention-v5afwe7f.js} +4 -4
  243. package/dist/chunks/{provider-1gdnynhy.js → file-retention-v9p73nbe.js} +11 -11
  244. package/dist/chunks/{provider-fryhykgw.js → file-retention-vbdwr9gf.js} +33 -33
  245. package/dist/chunks/{provider-rxyedsv0.js → file-retention-vdgak15q.js} +6 -6
  246. package/dist/chunks/{provider-esv8q2ns.js → file-retention-vefwj8vq.js} +27 -27
  247. package/dist/chunks/{provider-efwdxecf.js → file-retention-vg6xpb0x.js} +15 -15
  248. package/dist/chunks/{provider-9zy34hsg.js → file-retention-vkfv6j0y.js} +12 -12
  249. package/dist/chunks/{provider-zshmhtvs.js → file-retention-vx7tzmvz.js} +15 -15
  250. package/dist/chunks/file-retention-w3vb4krt.js +4 -0
  251. package/dist/chunks/{provider-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{provider-wd87259q.js → file-retention-wd87259q.js} +1 -1
  253. package/dist/chunks/{provider-jb91wb7s.js → file-retention-wfkfyy92.js} +14 -14
  254. package/dist/chunks/{provider-txfvyzt9.js → file-retention-wfpv7nq4.js} +5 -5
  255. package/dist/chunks/{provider-t1hbjjff.js → file-retention-wj5n32w8.js} +46 -46
  256. package/dist/chunks/{provider-2n1s0jqh.js → file-retention-wsddr4d2.js} +4 -4
  257. package/dist/chunks/{provider-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{provider-z7y4prgk.js → file-retention-x2mj0xny.js} +15 -15
  259. package/dist/chunks/{provider-cgmv5ttt.js → file-retention-xb5d9ad8.js} +8 -8
  260. package/dist/chunks/{provider-m9zrzv44.js → file-retention-xd7hh38v.js} +43 -43
  261. package/dist/chunks/{provider-t4es3k9e.js → file-retention-xgjy9czn.js} +8 -8
  262. package/dist/chunks/{provider-epazzsys.js → file-retention-xh36sb1y.js} +11 -11
  263. package/dist/chunks/{provider-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{provider-hhpzk61m.js → file-retention-y2cqme3r.js} +5 -5
  265. package/dist/chunks/{provider-y71avatq.js → file-retention-y71avatq.js} +1 -1
  266. package/dist/chunks/{provider-qgmahjq5.js → file-retention-y86ghdgz.js} +3 -3
  267. package/dist/chunks/{provider-69j7xj95.js → file-retention-ya7s7xtx.js} +9 -9
  268. package/dist/chunks/{provider-yfbd16n1.js → file-retention-yfbd16n1.js} +2 -2
  269. package/dist/chunks/{provider-hcg81cqs.js → file-retention-yfpt1t1p.js} +7 -7
  270. package/dist/chunks/{provider-a4mp6cfj.js → file-retention-yh7xbh7w.js} +44 -44
  271. package/dist/chunks/{provider-v4e1m8df.js → file-retention-yhyk0etm.js} +25 -25
  272. package/dist/chunks/{provider-2rcaaecz.js → file-retention-yj3e99fm.js} +1 -1
  273. package/dist/chunks/{provider-r29jw8yz.js → file-retention-yk6fpedc.js} +22 -22
  274. package/dist/chunks/{provider-0an26ms7.js → file-retention-yq2htxd9.js} +21 -21
  275. package/dist/chunks/{provider-z1k01bn4.js → file-retention-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{provider-z3xgatyd.js → file-retention-z3xgatyd.js} +1 -1
  277. package/dist/chunks/{provider-448mcdzf.js → file-retention-z9rwsdjd.js} +10 -10
  278. package/dist/chunks/{provider-2ady357n.js → file-retention-zajwd6at.js} +5 -5
  279. package/dist/chunks/{provider-659fgswj.js → file-retention-zgrvrmg3.js} +11 -11
  280. package/dist/chunks/{provider-pvwgdgnb.js → file-retention-zjwga192.js} +22 -22
  281. package/dist/chunks/{provider-gfhhve88.js → file-retention-zw4pk1bw.js} +5 -5
  282. package/dist/chunks/{provider-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{provider-7ewed3mq.js → file-retention-zy2xxryr.js} +9 -9
  284. package/dist/codemode/catalog.js +3 -3
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +79 -79
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +117 -117
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +114 -114
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +80 -80
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +214 -214
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +93 -93
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +96 -96
  419. package/dist/form.js +76 -76
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +3 -3
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +81 -81
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +83 -83
  453. package/dist/job.js +75 -75
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +76 -76
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +104 -104
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +2 -2
  470. package/dist/models-dev.js +80 -80
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +76 -76
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +101 -101
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +86 -86
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +3 -3
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -7
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +70 -70
  528. package/dist/plugin/service.js +3 -3
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +339 -339
  532. package/dist/plugin/system-prompt.js +4 -4
  533. package/dist/plugin/update.js +4 -4
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +5 -5
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +4 -4
  542. package/dist/plugin/websearch/parallel.js +6 -6
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +222 -222
  545. package/dist/project/schema.js +2 -2
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +75 -75
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +90 -90
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +82 -82
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +125 -125
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +3 -3
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +214 -214
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +87 -87
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +82 -82
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +1 -1
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +2 -2
  591. package/dist/session/runner/step.js +119 -119
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +165 -165
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +201 -201
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +207 -207
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +207 -207
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +13 -13
  612. package/dist/shell.js +130 -130
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +99 -99
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +86 -86
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +110 -110
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +210 -210
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +108 -108
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +11 -11
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +5 -5
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +3 -3
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +72 -72
  667. package/dist/wellknown.js +79 -79
  668. package/dist/workspace/driver.js +7 -7
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +338 -338
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +89 -89
  676. package/package.json +7 -7
  677. package/dist/chunks/provider-7zk4hah4.js +0 -4
  678. package/dist/chunks/provider-dxj72tfx.js +0 -18
  679. package/dist/chunks/provider-pv1faaae.js +0 -247
  680. package/dist/chunks/provider-stfyv1aw.js +0 -22
  681. /package/dist/chunks/{provider-0fabt78z.js → file-retention-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{provider-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{provider-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{provider-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{provider-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{provider-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{provider-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{provider-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{provider-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{provider-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{provider-3asan66x.js → file-retention-3asan66x.js} +0 -0
  692. /package/dist/chunks/{provider-3t738kvx.js → file-retention-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{provider-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{provider-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{provider-41nvscxy.js → file-retention-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{provider-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{provider-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{provider-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{provider-53557ph1.js → file-retention-53557ph1.js} +0 -0
  700. /package/dist/chunks/{provider-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{provider-6prwharc.js → file-retention-6prwharc.js} +0 -0
  702. /package/dist/chunks/{provider-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{provider-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{provider-822emrt2.js → file-retention-822emrt2.js} +0 -0
  705. /package/dist/chunks/{provider-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{provider-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{provider-982e01ww.js → file-retention-982e01ww.js} +0 -0
  708. /package/dist/chunks/{provider-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{provider-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{provider-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{provider-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{provider-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{provider-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{provider-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{provider-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{provider-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{provider-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{provider-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{provider-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{provider-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{provider-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{provider-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{provider-df08tz66.js → file-retention-df08tz66.js} +0 -0
  724. /package/dist/chunks/{provider-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{provider-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{provider-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{provider-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{provider-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{provider-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{provider-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{provider-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{provider-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{provider-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{provider-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{provider-g86h250q.js → file-retention-g86h250q.js} +0 -0
  736. /package/dist/chunks/{provider-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{provider-hk9envan.js → file-retention-hk9envan.js} +0 -0
  738. /package/dist/chunks/{provider-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{provider-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{provider-j935v87r.js → file-retention-j935v87r.js} +0 -0
  741. /package/dist/chunks/{provider-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{provider-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{provider-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{provider-mntxs535.js → file-retention-mntxs535.js} +0 -0
  745. /package/dist/chunks/{provider-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{provider-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{provider-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{provider-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{provider-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{provider-p8qxwesx.js → file-retention-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{provider-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{provider-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{provider-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{provider-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{provider-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{provider-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{provider-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{provider-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{provider-se0s1eqw.js → file-retention-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{provider-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{provider-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{provider-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{provider-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{provider-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{provider-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{provider-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{provider-x1b8g1yb.js → file-retention-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{provider-x61499pn.js → file-retention-x61499pn.js} +0 -0
  769. /package/dist/chunks/{provider-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{provider-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{provider-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{provider-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{provider-zbjnn3ac.js → file-retention-zbjnn3ac.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./provider-y71avatq.js";
3
+ } from "./file-retention-y71avatq.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./provider-qte5mmnh.js";
7
+ } from "./file-retention-qezejtch.js";
8
8
  import {
9
- Event18,
10
- Service69,
11
- node72
12
- } from "./provider-vzcqb4ye.js";
9
+ Event19,
10
+ Service74,
11
+ node79
12
+ } from "./file-retention-qkqkrz6w.js";
13
13
  import {
14
14
  Service76,
15
15
  node81
16
- } from "./provider-wkfd3kg3.js";
16
+ } from "./file-retention-s0n5ntn1.js";
17
17
  import {
18
- Service73,
19
- node77
20
- } from "./provider-0an26ms7.js";
18
+ Service55,
19
+ node59
20
+ } from "./file-retention-yq2htxd9.js";
21
21
  import {
22
22
  ID13,
23
- Service70,
23
+ Service68,
24
24
  node73
25
- } from "./provider-9be6zmap.js";
25
+ } from "./file-retention-nv4hhw20.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./provider-kg06axw8.js";
29
+ } from "./file-retention-kg06axw8.js";
30
30
  import {
31
- ID11,
31
+ ID12,
32
32
  MethodID2,
33
- Service68,
34
- node71
35
- } from "./provider-encf5598.js";
33
+ Service67,
34
+ node72
35
+ } from "./file-retention-hn0tf0a0.js";
36
36
  import {
37
37
  __export
38
- } from "./provider-9rqn6x4v.js";
38
+ } from "./file-retention-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options5,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service38,
59
+ Service: () => Service32,
60
60
  Status: () => Status2,
61
- Tool: () => Tool3,
61
+ Tool: () => Tool2,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured4,
66
- layer: () => layer16,
67
- node: () => node41
65
+ configured: () => configured5,
66
+ layer: () => layer14,
67
+ node: () => node36
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID11.pipe(Schema.optional)
84
+ integrationID: ID12.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
91
91
  }) {
92
92
  }
93
93
 
94
- class Tool3 extends Schema.Class("MCP.Tool")({
94
+ class Tool2 extends Schema.Class("MCP.Tool")({
95
95
  server: ServerName2,
96
96
  name: Schema.String,
97
97
  codemode: Schema.Boolean.pipe(Schema.optional),
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service38 extends Context.Service()("@opencode/MCP") {
168
+ class Service32 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options4 = Schema.Struct({
170
+ var Options5 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
176
+ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
177
177
  const location = yield* Service76;
178
- const environment = yield* Service73;
178
+ const environment = yield* Service55;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service70;
181
- const integration = yield* Service68;
182
- const credentials = yield* Service69;
180
+ const forms = yield* Service68;
181
+ const integration = yield* Service67;
182
+ const credentials = yield* Service74;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID11.make(suffix);
194
+ const integrationID = ID12.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError3({ server: name });
219
+ return yield* new NotFoundError4({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -328,7 +328,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
328
328
  yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
329
329
  })
330
330
  };
331
- const toTool = (server, entry, def) => new Tool3({
331
+ const toTool = (server, entry, def) => new Tool2({
332
332
  server,
333
333
  name: def.name,
334
334
  codemode: entry.config.codemode,
@@ -403,7 +403,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
403
403
  entry.scope = scope;
404
404
  const authProvider = yield* connectProvider(entry);
405
405
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
406
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope), Effect.exit);
406
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
407
407
  if (Exit.isSuccess(result)) {
408
408
  entry.client = result.value.connection;
409
409
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -527,7 +527,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
527
527
  yield* startServer(name, entry);
528
528
  }).pipe(locks.withLock(name));
529
529
  });
530
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
530
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
531
531
  const state = create3({
532
532
  name: "mcp",
533
533
  initial: () => ({
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
557
557
  concurrency: "unbounded",
558
558
  discard: true
559
559
  }));
560
- return Service38.of({
560
+ return Service32.of({
561
561
  transform: state.transform,
562
562
  reload: state.reload,
563
563
  servers: Effect.fn("MCP.servers")(function* () {
@@ -677,14 +677,14 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
677
677
  })
678
678
  });
679
679
  }));
680
- function configured4(options) {
680
+ function configured5(options) {
681
681
  return makeLocationNode({
682
- service: Service38,
683
- layer: layer16(options),
684
- deps: [node81, node77, node84, node73, node71, node72]
682
+ service: Service32,
683
+ layer: layer14(options),
684
+ deps: [node81, node59, node84, node73, node72, node79]
685
685
  });
686
686
  }
687
- var node41 = configured4();
687
+ var node36 = configured5();
688
688
  function toElicitationField(key, property, required) {
689
689
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
690
690
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
735
735
  }
736
736
  }
737
737
 
738
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service38, Options4, layer16, configured4, node41, exports_mcp4 };
738
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options5, layer14, configured5, node36, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,73 +1,73 @@
1
1
  import {
2
- Service73
3
- } from "./provider-0an26ms7.js";
2
+ Service55
3
+ } from "./file-retention-yq2htxd9.js";
4
4
  import {
5
- Service14,
5
+ Service19,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./provider-1y3t3jga.js";
8
+ } from "./file-retention-gzwcbpkz.js";
9
9
  import {
10
- Service13
11
- } from "./provider-4dj65k8e.js";
10
+ Service20
11
+ } from "./file-retention-qwr8y3n7.js";
12
12
  import {
13
13
  externalDirectoryPermission2,
14
- Service15
15
- } from "./provider-2f9fbt2v.js";
14
+ Service21
15
+ } from "./file-retention-g4wkbvr8.js";
16
16
  import {
17
- Service54
18
- } from "./provider-nfcew73a.js";
17
+ Service45
18
+ } from "./file-retention-5m3fjy3v.js";
19
19
  import {
20
20
  fileDiff2
21
- } from "./provider-6prwharc.js";
21
+ } from "./file-retention-6prwharc.js";
22
22
  import {
23
23
  __export
24
- } from "./provider-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/write.ts
27
27
  var exports_write = {};
28
28
  __export(exports_write, {
29
- Input: () => Input6,
30
- Output: () => Output4,
31
- Plugin: () => Plugin37,
29
+ Input: () => Input9,
30
+ Output: () => Output6,
31
+ Plugin: () => Plugin23,
32
32
  WriteTool: () => exports_write,
33
- name: () => name6,
34
- toModelContent: () => toModelContent2
33
+ name: () => name9,
34
+ toModelContent: () => toModelContent5
35
35
  });
36
36
  import { ToolFailure } from "@opencode-ai/ai";
37
37
  import { Effect, Schema } from "effect";
38
38
  import { Bom } from "@opencode-ai/util/bom";
39
- var name6 = "write";
40
- var Input6 = Schema.Struct({
39
+ var name9 = "write";
40
+ var Input9 = Schema.Struct({
41
41
  path: Schema.String.annotate({
42
42
  description: "Path to the file to write to"
43
43
  }),
44
44
  content: Schema.String.annotate({ description: "Content to write to the file" })
45
45
  });
46
- var Output4 = Schema.Struct({
46
+ var Output6 = Schema.Struct({
47
47
  operation: Schema.Literal("write"),
48
48
  target: Schema.String,
49
49
  resource: Schema.String,
50
50
  existed: Schema.Boolean
51
51
  });
52
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
- var Plugin37 = {
52
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
+ var Plugin23 = {
54
54
  id: "opencode.tool.write",
55
55
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
56
- const mutation = yield* Service15;
57
- const fileMutation = yield* Service14;
58
- const environment = yield* Service73;
59
- const formatter = yield* Service13;
60
- const permission = yield* Service54;
56
+ const mutation = yield* Service21;
57
+ const fileMutation = yield* Service19;
58
+ const environment = yield* Service55;
59
+ const formatter = yield* Service20;
60
+ const permission = yield* Service45;
61
61
  yield* ctx.tool.transform((editor) => editor.add({
62
- name: name6,
62
+ name: name9,
63
63
  options: { codemode: false, permission: "edit" },
64
64
  description: `Writes a file to the local filesystem, overwriting if one exists.
65
65
 
66
66
  Missing parent directories are created automatically.
67
67
 
68
68
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
69
- input: Input6,
70
- output: Output4,
69
+ input: Input9,
70
+ output: Output6,
71
71
  execute: (input, context) => Effect.gen(function* () {
72
72
  const source = {
73
73
  type: "tool",
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
101
101
  yield* syncTextBom2(environment.files, target.absolute, bom);
102
102
  }
103
103
  return result;
104
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
104
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
105
105
  })).pipe(Effect.orDie);
106
106
  })
107
107
  };
108
108
 
109
- export { name6, Input6, Output4, toModelContent2, Plugin37, exports_write };
109
+ export { name9, Input9, Output6, toModelContent5, Plugin23, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./provider-qfa1cgps.js";
3
+ } from "./file-retention-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service79
3
- } from "./provider-qte5mmnh.js";
3
+ } from "./file-retention-qezejtch.js";
4
4
  import {
5
5
  OAuth3,
6
- Event18
7
- } from "./provider-vzcqb4ye.js";
6
+ Event19
7
+ } from "./file-retention-qkqkrz6w.js";
8
8
  import {
9
- ID11,
9
+ ID12,
10
10
  MethodID2
11
- } from "./provider-encf5598.js";
11
+ } from "./file-retention-hn0tf0a0.js";
12
12
  import {
13
- ID15,
13
+ ID16,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./provider-g19vc6v7.js";
17
+ } from "./file-retention-rvb2zp0m.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID11.make("opencode"),
47
+ integrationID: ID12.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID11.make("opencode");
115
+ provider.integrationID = ID12.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
175
175
  });
176
176
  }
177
177
  }
178
- const item = catalog.provider.get(ID15.opencode);
178
+ const item = catalog.provider.get(ID16.opencode);
179
179
  if (!item)
180
180
  return;
181
181
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./provider-g19vc6v7.js";
4
+ } from "./file-retention-rvb2zp0m.js";
5
5
 
6
6
  // src/plugin/provider/nvidia.ts
7
7
  import { Effect } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./provider-0e2qvb29.js";
3
+ } from "./file-retention-h0xakedw.js";
4
4
  import {
5
5
  lazy2
6
- } from "./provider-88xbtdfr.js";
6
+ } from "./file-retention-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./provider-y1fvbwt7.js";
9
+ } from "./file-retention-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./provider-9rqn6x4v.js";
12
+ } from "./file-retention-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service76,
3
3
  node81
4
- } from "./provider-wkfd3kg3.js";
4
+ } from "./file-retention-s0n5ntn1.js";
5
5
  import {
6
6
  Key3,
7
- make19,
7
+ make17,
8
8
  combine2
9
- } from "./provider-6e958v7x.js";
9
+ } from "./file-retention-28pcbh69.js";
10
10
  import {
11
11
  __export
12
- } from "./provider-9rqn6x4v.js";
12
+ } from "./file-retention-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service35,
19
- node: () => node38
18
+ Service: () => Service31,
19
+ node: () => node35
20
20
  });
21
21
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode-ai/util/global";
24
- class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service35, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
28
  const location = yield* Service76;
29
- return Service35.of({
29
+ return Service31.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make19({
31
+ make17({
32
32
  key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make19({
52
+ make17({
53
53
  key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node38 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node81] });
64
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node81] });
65
65
 
66
- export { Service35, node38, exports_builtins };
66
+ export { Service31, node35, exports_builtins };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./provider-qte5mmnh.js";
3
+ } from "./file-retention-qezejtch.js";
4
4
  import {
5
5
  Service76
6
- } from "./provider-wkfd3kg3.js";
6
+ } from "./file-retention-s0n5ntn1.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service38
10
- } from "./provider-7e69hvtd.js";
9
+ Service32
10
+ } from "./file-retention-phazpyca.js";
11
11
  import {
12
12
  __export
13
- } from "./provider-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command2 = {};
17
- __export(exports_command2, {
18
- CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin30
16
+ var exports_command = {};
17
+ __export(exports_command, {
18
+ CommandPlugin: () => exports_command,
19
+ Plugin: () => Plugin10
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin30 = define({
196
+ var Plugin10 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service76;
200
- const mcp = yield* Service38;
200
+ const mcp = yield* Service32;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin30, exports_command2 };
283
+ export { Plugin10, exports_command };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID15,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./provider-g19vc6v7.js";
5
+ } from "./file-retention-rvb2zp0m.js";
6
6
  import {
7
7
  ID14,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info27
11
- } from "./provider-f4g7wt00.js";
11
+ } from "./file-retention-hcdssky2.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models2 = {};
@@ -112,10 +112,10 @@ function build(id, remote, baseURL, previous) {
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
114
  return Info27.make({
115
- ...Info27.default(ID15.githubCopilot, id),
115
+ ...Info27.default(ID16.githubCopilot, id),
116
116
  id,
117
117
  modelID: ID14.make(remote.id),
118
- providerID: ID15.githubCopilot,
118
+ providerID: ID16.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service76,
3
3
  node81
4
- } from "./provider-wkfd3kg3.js";
4
+ } from "./file-retention-s0n5ntn1.js";
5
5
  import {
6
- Service31
7
- } from "./provider-dxj72tfx.js";
6
+ Service35
7
+ } from "./file-retention-619r8v3y.js";
8
8
  import {
9
- Service40,
10
- node43
11
- } from "./provider-t22pecrr.js";
9
+ Service63,
10
+ node68
11
+ } from "./file-retention-mqqcxy20.js";
12
12
  import {
13
- node24
14
- } from "./provider-5j6fg35e.js";
13
+ node16
14
+ } from "./file-retention-f70g29mr.js";
15
15
  import {
16
- node4
17
- } from "./provider-j78wwk7e.js";
16
+ node6
17
+ } from "./file-retention-kdsxv0j6.js";
18
18
  import {
19
19
  __export
20
- } from "./provider-9rqn6x4v.js";
20
+ } from "./file-retention-9rqn6x4v.js";
21
21
 
22
22
  // src/worktree/refresh.ts
23
23
  var exports_refresh = {};
24
24
  __export(exports_refresh, {
25
25
  WorktreeRefresh: () => exports_refresh,
26
- node: () => node3
26
+ node: () => node5
27
27
  });
28
28
  import { Effect, Layer } from "effect";
29
29
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
30
30
  var layer = Layer.effectDiscard(Effect.gen(function* () {
31
31
  const location = yield* Service76;
32
- const plugins = yield* Service31;
33
- const worktrees = yield* Service40;
32
+ const plugins = yield* Service35;
33
+ const worktrees = yield* Service63;
34
34
  if (location.workspaceID)
35
35
  return;
36
36
  yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
37
37
  }));
38
- var node3 = makeLocationNode({
38
+ var node5 = makeLocationNode({
39
39
  name: "worktree-refresh",
40
40
  layer,
41
- deps: [node43, node81, node24, node4]
41
+ deps: [node68, node81, node16, node6]
42
42
  });
43
43
 
44
- export { node3, exports_refresh };
44
+ export { node5, exports_refresh };