@opencode/core 0.0.0-dev-448 → 0.0.0-dev-449

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 (917) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +232 -232
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{shell-034tev2y.js → file-retention-034tev2y.js} +2 -2
  9. package/dist/chunks/{shell-ja2smk70.js → file-retention-04s74fx7.js} +8 -8
  10. package/dist/chunks/{shell-05bzq52v.js → file-retention-06e0bzah.js} +15 -15
  11. package/dist/chunks/{shell-swrmw7cp.js → file-retention-07mz05rb.js} +45 -45
  12. package/dist/chunks/{shell-gmsr39wm.js → file-retention-0chqk1tf.js} +34 -34
  13. package/dist/chunks/{shell-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
  14. package/dist/chunks/{shell-djjqqg9g.js → file-retention-0j8mhk4d.js} +17 -17
  15. package/dist/chunks/{shell-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{shell-b50bv8kf.js → file-retention-0n6d4kn5.js} +9 -9
  17. package/dist/chunks/{shell-nx6bawrx.js → file-retention-0smjzhyp.js} +1 -1
  18. package/dist/chunks/{shell-3114at99.js → file-retention-0tsw2pcx.js} +43 -43
  19. package/dist/chunks/{shell-0zakc424.js → file-retention-0yn3ka5j.js} +19 -19
  20. package/dist/chunks/{shell-fb1j3qsp.js → file-retention-13k30xes.js} +7 -7
  21. package/dist/chunks/{shell-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{shell-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{shell-7r0r50e5.js → file-retention-1nwxscpy.js} +5 -5
  24. package/dist/chunks/{shell-2cdjxzfg.js → file-retention-1scgcwfj.js} +3 -3
  25. package/dist/chunks/{shell-m7sxgjj7.js → file-retention-1ss1y6bx.js} +14 -14
  26. package/dist/chunks/{shell-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{shell-p7vhpwh8.js → file-retention-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{shell-ca06aq19.js → file-retention-237anfc9.js} +17 -17
  29. package/dist/chunks/{shell-ed6f1zf7.js → file-retention-26tkb14f.js} +14 -14
  30. package/dist/chunks/{shell-tb2mrvc9.js → file-retention-26wfx3k0.js} +4 -4
  31. package/dist/chunks/{shell-pwz5ypps.js → file-retention-28nhxqg9.js} +14 -14
  32. package/dist/chunks/{shell-25wes5qp.js → file-retention-2czx47z2.js} +59 -59
  33. package/dist/chunks/{shell-etrnj9s7.js → file-retention-31avdb49.js} +8 -8
  34. package/dist/chunks/{shell-jprct3q1.js → file-retention-34cvy9ct.js} +14 -14
  35. package/dist/chunks/{shell-53qdpb3h.js → file-retention-35hcamnh.js} +23 -23
  36. package/dist/chunks/{shell-dxsywhez.js → file-retention-390xskpw.js} +4 -4
  37. package/dist/chunks/{shell-wf4k3nrk.js → file-retention-3dpbtckw.js} +1 -1
  38. package/dist/chunks/{shell-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{shell-yfp0tbxs.js → file-retention-3j68zxqn.js} +9 -9
  40. package/dist/chunks/{shell-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{shell-y9xb4576.js → file-retention-3q6fzyrv.js} +15 -15
  42. package/dist/chunks/{shell-jcxtjxcx.js → file-retention-3rjt9f5s.js} +28 -28
  43. package/dist/chunks/{shell-2xqskhr2.js → file-retention-3tfpa1a4.js} +24 -24
  44. package/dist/chunks/{shell-1gn0yq23.js → file-retention-3th5y0xn.js} +43 -43
  45. package/dist/chunks/{shell-mdeyfzen.js → file-retention-3vc76bbn.js} +9 -9
  46. package/dist/chunks/{shell-4n04qkt5.js → file-retention-3whc36fx.js} +12 -12
  47. package/dist/chunks/{shell-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
  48. package/dist/chunks/{shell-40za9wsf.js → file-retention-40za9wsf.js} +2 -2
  49. package/dist/chunks/{shell-n4d8tphs.js → file-retention-41mgdpyq.js} +38 -38
  50. package/dist/chunks/{shell-kmee7t05.js → file-retention-433pf4gj.js} +83 -83
  51. package/dist/chunks/{shell-92cf50ag.js → file-retention-497brhdq.js} +8 -8
  52. package/dist/chunks/{shell-a3fn0gmm.js → file-retention-4awjamkd.js} +2 -2
  53. package/dist/chunks/{shell-fmvwew7x.js → file-retention-4cqst6fr.js} +7 -7
  54. package/dist/chunks/{shell-b2armg7w.js → file-retention-4d2dtj2f.js} +4 -4
  55. package/dist/chunks/{shell-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{shell-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
  57. package/dist/chunks/{shell-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  58. package/dist/chunks/{shell-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  59. package/dist/chunks/{shell-ss09eh5m.js → file-retention-4xcsbp6b.js} +6 -6
  60. package/dist/chunks/{shell-8tr8bk8c.js → file-retention-4y9qf8ry.js} +24 -24
  61. package/dist/chunks/{shell-n9vbb020.js → file-retention-50hftrwd.js} +9 -9
  62. package/dist/chunks/{shell-ssdvd2y7.js → file-retention-539dw32x.js} +4 -4
  63. package/dist/chunks/{shell-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{shell-5nnwax6m.js → file-retention-5nnwax6m.js} +2 -2
  65. package/dist/chunks/{shell-yf4636eg.js → file-retention-5wwt8jnt.js} +7 -7
  66. package/dist/chunks/{shell-b6p2478r.js → file-retention-5zgc43gz.js} +17 -17
  67. package/dist/chunks/{shell-h068nwdc.js → file-retention-605b6zwb.js} +12 -12
  68. package/dist/chunks/{shell-8wepf0gn.js → file-retention-60m2sppj.js} +14 -14
  69. package/dist/chunks/{shell-39v0af2n.js → file-retention-61c892db.js} +4 -4
  70. package/dist/chunks/{shell-83dtkyp0.js → file-retention-62ngxq4c.js} +21 -21
  71. package/dist/chunks/{shell-b096peb1.js → file-retention-64eehrrp.js} +8 -8
  72. package/dist/chunks/{shell-3tp4c0xt.js → file-retention-68cc458t.js} +10 -10
  73. package/dist/chunks/{shell-e9eefsk3.js → file-retention-6bacesmw.js} +32 -32
  74. package/dist/chunks/file-retention-6bshxcsx.js +18 -0
  75. package/dist/chunks/{shell-27q2yh5h.js → file-retention-6ma7pn4v.js} +11 -11
  76. package/dist/chunks/{shell-js4rf8bj.js → file-retention-6mzz8e2v.js} +50 -50
  77. package/dist/chunks/{shell-31694pws.js → file-retention-6n7kk6x7.js} +11 -11
  78. package/dist/chunks/{shell-4pk3sz26.js → file-retention-6n8q8wse.js} +11 -11
  79. package/dist/chunks/{shell-461h2a5h.js → file-retention-6nkv0fkw.js} +11 -11
  80. package/dist/chunks/{shell-bzeh9fff.js → file-retention-6qj6ge7d.js} +22 -22
  81. package/dist/chunks/{shell-8qmjt4fd.js → file-retention-70t2yy6e.js} +19 -19
  82. package/dist/chunks/{shell-cxj09ebx.js → file-retention-75ax6x68.js} +3 -3
  83. package/dist/chunks/{shell-ehmfb7qh.js → file-retention-75zng1ge.js} +20 -20
  84. package/dist/chunks/{shell-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  85. package/dist/chunks/{shell-775hqbnd.js → file-retention-775hqbnd.js} +3 -3
  86. package/dist/chunks/{shell-t8erkws8.js → file-retention-78p2h4ex.js} +5 -5
  87. package/dist/chunks/{shell-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{shell-mnc72ab7.js → file-retention-7bt6msz7.js} +27 -27
  89. package/dist/chunks/{shell-snk2nech.js → file-retention-7dhaefc4.js} +20 -20
  90. package/dist/chunks/{shell-kghhyr40.js → file-retention-7gaksq79.js} +21 -21
  91. package/dist/chunks/{shell-pmctgzqh.js → file-retention-7kjy5yhf.js} +9 -9
  92. package/dist/chunks/{shell-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
  93. package/dist/chunks/{shell-2665aej8.js → file-retention-7th9pvxb.js} +27 -27
  94. package/dist/chunks/{shell-fccvjkbp.js → file-retention-7vk0t554.js} +5 -5
  95. package/dist/chunks/{shell-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{shell-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
  97. package/dist/chunks/{shell-sj1akaq3.js → file-retention-7xm9wv05.js} +25 -25
  98. package/dist/chunks/{shell-2n444ktb.js → file-retention-81hxxa3v.js} +3 -3
  99. package/dist/chunks/{shell-89287pr7.js → file-retention-89287pr7.js} +1 -1
  100. package/dist/chunks/{shell-0kxez0ph.js → file-retention-89rb9xh3.js} +16 -16
  101. package/dist/chunks/{shell-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
  102. package/dist/chunks/{shell-a7jv6bhz.js → file-retention-8f42kaey.js} +16 -16
  103. package/dist/chunks/{shell-4s5nd4wa.js → file-retention-8gc7e869.js} +20 -20
  104. package/dist/chunks/{shell-ahetjexs.js → file-retention-8j5rt9k2.js} +82 -82
  105. package/dist/chunks/{shell-2zekx2gw.js → file-retention-8qcax5vp.js} +28 -28
  106. package/dist/chunks/{shell-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  107. package/dist/chunks/{shell-6g782zwq.js → file-retention-8xxrj23x.js} +13 -13
  108. package/dist/chunks/{shell-8mft0qb8.js → file-retention-8zh1h1pe.js} +5 -5
  109. package/dist/chunks/{shell-90zstvax.js → file-retention-90zstvax.js} +1 -1
  110. package/dist/chunks/{shell-94s5f2xb.js → file-retention-94s5f2xb.js} +1 -1
  111. package/dist/chunks/{shell-8fmhgeg1.js → file-retention-95c1p5m6.js} +38 -38
  112. package/dist/chunks/{shell-wws03c5r.js → file-retention-95sp4hdf.js} +4 -4
  113. package/dist/chunks/{shell-963hk181.js → file-retention-963hk181.js} +2 -2
  114. package/dist/chunks/{shell-96djdqw5.js → file-retention-96djdqw5.js} +4 -4
  115. package/dist/chunks/{shell-sx705zhx.js → file-retention-9dwnyty3.js} +11 -11
  116. package/dist/chunks/{shell-00mqt8vt.js → file-retention-9e0zdsd0.js} +14 -14
  117. package/dist/chunks/{shell-5h6nvp4c.js → file-retention-9kgghjmg.js} +6 -6
  118. package/dist/chunks/{shell-h30y51ze.js → file-retention-9mt9fcpt.js} +29 -29
  119. package/dist/chunks/{shell-yqvz6s31.js → file-retention-a0vapen2.js} +8 -8
  120. package/dist/chunks/{shell-4zd0rrxz.js → file-retention-a1d98dpx.js} +37 -37
  121. package/dist/chunks/{shell-bm4qvk29.js → file-retention-a3q9dv9j.js} +26 -26
  122. package/dist/chunks/{shell-7bd9md05.js → file-retention-a5e6ddn4.js} +36 -36
  123. package/dist/chunks/{shell-7nqkf5r1.js → file-retention-a5fx33f2.js} +6 -6
  124. package/dist/chunks/{shell-d27tfk0e.js → file-retention-a95pzf1x.js} +38 -38
  125. package/dist/chunks/{shell-61w59j6e.js → file-retention-aakm8s55.js} +32 -32
  126. package/dist/chunks/{shell-k84dnw8r.js → file-retention-acpwnfxs.js} +15 -15
  127. package/dist/chunks/{shell-5wa3g67q.js → file-retention-ae862rdn.js} +9 -9
  128. package/dist/chunks/{shell-m41dwf8x.js → file-retention-aedrg0ge.js} +25 -25
  129. package/dist/chunks/{shell-90ct6wq4.js → file-retention-anvcme1c.js} +4 -4
  130. package/dist/chunks/{shell-nbbs31bc.js → file-retention-aprkypsk.js} +17 -17
  131. package/dist/chunks/{shell-6ckcm1vf.js → file-retention-at1c8yrs.js} +16 -16
  132. package/dist/chunks/{shell-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  133. package/dist/chunks/{shell-yd96381m.js → file-retention-b5yzcczs.js} +9 -9
  134. package/dist/chunks/{shell-8dzmkjrb.js → file-retention-b6prfk3g.js} +3 -3
  135. package/dist/chunks/{shell-snc40rsw.js → file-retention-b6wwfjf1.js} +27 -27
  136. package/dist/chunks/{shell-qx8keh7z.js → file-retention-b924sz3m.js} +5 -5
  137. package/dist/chunks/{shell-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
  138. package/dist/chunks/{shell-mwb4t2xa.js → file-retention-bt4213zy.js} +12 -12
  139. package/dist/chunks/{shell-a752e3c2.js → file-retention-byjg35ec.js} +5 -5
  140. package/dist/chunks/{shell-6gggjtz2.js → file-retention-c2gmg5r9.js} +9 -9
  141. package/dist/chunks/{shell-p52jgvd8.js → file-retention-ccp6j38y.js} +8 -8
  142. package/dist/chunks/{shell-s75f2ek2.js → file-retention-ccvcfenq.js} +4 -4
  143. package/dist/chunks/{shell-qe69n4wc.js → file-retention-cgy1nctk.js} +11 -11
  144. package/dist/chunks/{shell-5rktefs5.js → file-retention-cjgsn2s6.js} +12 -12
  145. package/dist/chunks/{shell-sdn8sen6.js → file-retention-cmnsegyx.js} +4 -4
  146. package/dist/chunks/{shell-sfpad9m1.js → file-retention-cn4qtwde.js} +32 -32
  147. package/dist/chunks/{shell-1t6wg0nd.js → file-retention-csdmpgm1.js} +22 -22
  148. package/dist/chunks/{shell-7ne4y0bm.js → file-retention-cse8gxc3.js} +6 -6
  149. package/dist/chunks/{shell-qh5g3qaw.js → file-retention-ctmpqb7w.js} +9 -9
  150. package/dist/chunks/{shell-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  151. package/dist/chunks/{shell-93xmyh8q.js → file-retention-cxab28sr.js} +5 -5
  152. package/dist/chunks/{shell-7gh7q8bn.js → file-retention-cxbntz7s.js} +16 -16
  153. package/dist/chunks/{shell-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  154. package/dist/chunks/{shell-z5rnbz19.js → file-retention-db2v7vv4.js} +46 -46
  155. package/dist/chunks/{shell-5btn60ym.js → file-retention-dgdxz5tx.js} +50 -50
  156. package/dist/chunks/{shell-4za8zkf9.js → file-retention-djp2yf7t.js} +33 -33
  157. package/dist/chunks/{shell-a4jw6pvt.js → file-retention-dqxhv1nb.js} +23 -23
  158. package/dist/chunks/{shell-dt77769w.js → file-retention-dt77769w.js} +1 -1
  159. package/dist/chunks/{shell-3br5vy3s.js → file-retention-dvt58bph.js} +11 -11
  160. package/dist/chunks/{shell-fqs0zq7g.js → file-retention-dwsd3zgn.js} +13 -13
  161. package/dist/chunks/{shell-e834z07m.js → file-retention-e834z07m.js} +1 -1
  162. package/dist/chunks/{shell-azx1espf.js → file-retention-ee476ptv.js} +12 -12
  163. package/dist/chunks/{shell-en2d5ckk.js → file-retention-emaa4905.js} +13 -13
  164. package/dist/chunks/{shell-t11xxbkn.js → file-retention-enexbtbh.js} +36 -36
  165. package/dist/chunks/{shell-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
  166. package/dist/chunks/{shell-j7pa4zmt.js → file-retention-et16066w.js} +20 -20
  167. package/dist/chunks/{shell-6d0d1q6g.js → file-retention-ewa1ec51.js} +4 -4
  168. package/dist/chunks/{shell-gtt1ypct.js → file-retention-f2j6m0ac.js} +11 -11
  169. package/dist/chunks/{shell-14h6fpvz.js → file-retention-f30y5q5n.js} +11 -11
  170. package/dist/chunks/{shell-449ep3qq.js → file-retention-f32h92jn.js} +49 -49
  171. package/dist/chunks/{shell-5q2nstmm.js → file-retention-f7kqgmxs.js} +9 -9
  172. package/dist/chunks/{shell-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  173. package/dist/chunks/{shell-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{shell-ft05h4rm.js → file-retention-fsgv702d.js} +49 -49
  175. package/dist/chunks/{shell-b358x5d5.js → file-retention-fwwnnvpx.js} +9 -9
  176. package/dist/chunks/{shell-73n38n5m.js → file-retention-fx5dbny4.js} +5 -5
  177. package/dist/chunks/{shell-qax80wjp.js → file-retention-fyj2mfgy.js} +22 -22
  178. package/dist/chunks/{shell-gn6qas9s.js → file-retention-g4v74gy6.js} +8 -8
  179. package/dist/chunks/{shell-cn0ah7mh.js → file-retention-g6nneh33.js} +31 -31
  180. package/dist/chunks/{shell-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
  181. package/dist/chunks/{shell-qw9nj3hw.js → file-retention-gbyaw8gf.js} +20 -20
  182. package/dist/chunks/{shell-9pmmtcn7.js → file-retention-gf5d3kfh.js} +33 -33
  183. package/dist/chunks/{shell-ps01eb2k.js → file-retention-gmdj38bx.js} +22 -22
  184. package/dist/chunks/{shell-bs847zte.js → file-retention-gr24kjxn.js} +5 -5
  185. package/dist/chunks/{shell-bfg2nms2.js → file-retention-gt12nt52.js} +17 -17
  186. package/dist/chunks/{shell-xc1jhcm7.js → file-retention-gv8nw05x.js} +7 -7
  187. package/dist/chunks/{shell-7jk3qjta.js → file-retention-gve1ghrf.js} +2 -2
  188. package/dist/chunks/{shell-r4p1hmh8.js → file-retention-gvefjbhs.js} +6 -6
  189. package/dist/chunks/{shell-e3vjfzb0.js → file-retention-gxahm4xg.js} +5 -5
  190. package/dist/chunks/{shell-gxs71cxp.js → file-retention-gxs71cxp.js} +1 -1
  191. package/dist/chunks/{shell-qzxcgvak.js → file-retention-h5chy42v.js} +3 -3
  192. package/dist/chunks/{shell-eyrapaw6.js → file-retention-h5mecdsr.js} +10 -10
  193. package/dist/chunks/{shell-pawhhdeh.js → file-retention-h63ygx1j.js} +3 -3
  194. package/dist/chunks/{shell-ne3edjpr.js → file-retention-h6jcj9p8.js} +2 -2
  195. package/dist/chunks/file-retention-h80z8qef.js +261 -0
  196. package/dist/chunks/{shell-7ydc43j0.js → file-retention-hb8g288h.js} +9 -9
  197. package/dist/chunks/{shell-wt44qdcs.js → file-retention-hecddnr3.js} +3 -3
  198. package/dist/chunks/{shell-wbebweck.js → file-retention-hkh70t29.js} +11 -11
  199. package/dist/chunks/{shell-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
  200. package/dist/chunks/{shell-27nqpkb2.js → file-retention-hwq2cs9e.js} +14 -14
  201. package/dist/chunks/{shell-j376ae4e.js → file-retention-j376ae4e.js} +1 -1
  202. package/dist/chunks/{shell-0ahs07zn.js → file-retention-j3f8hyeg.js} +4 -4
  203. package/dist/chunks/{shell-4hheswcz.js → file-retention-j7qy0s5h.js} +12 -12
  204. package/dist/chunks/{shell-j9nxzz3g.js → file-retention-j9nxzz3g.js} +3 -3
  205. package/dist/chunks/{shell-tdzh4vzn.js → file-retention-jjxkdvhg.js} +9 -9
  206. package/dist/chunks/{shell-bhfd478d.js → file-retention-jkdcm5hg.js} +4 -4
  207. package/dist/chunks/{shell-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
  208. package/dist/chunks/{shell-jxd6f16v.js → file-retention-jxd6f16v.js} +2 -2
  209. package/dist/chunks/{shell-ndksvsqq.js → file-retention-jz8ht1jj.js} +5 -5
  210. package/dist/chunks/{shell-3vtz7ksg.js → file-retention-kdcv3xak.js} +15 -15
  211. package/dist/chunks/{shell-eh5dqxbp.js → file-retention-kf485nxs.js} +35 -35
  212. package/dist/chunks/{shell-395719v5.js → file-retention-kmxy273m.js} +5 -5
  213. package/dist/chunks/{shell-4jwb178p.js → file-retention-kpkf4881.js} +13 -13
  214. package/dist/chunks/{shell-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  215. package/dist/chunks/{shell-4qjj3hcn.js → file-retention-kx4857fp.js} +22 -22
  216. package/dist/chunks/{shell-r6mk7n9z.js → file-retention-kx9qtpmv.js} +17 -17
  217. package/dist/chunks/{shell-9q5v2hqn.js → file-retention-kyb7yekh.js} +39 -39
  218. package/dist/chunks/{shell-jnfc869c.js → file-retention-kz7xb2xy.js} +7 -7
  219. package/dist/chunks/{shell-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
  220. package/dist/chunks/{shell-askmrcha.js → file-retention-kzxm184s.js} +13 -13
  221. package/dist/chunks/{shell-m1714858.js → file-retention-m1714858.js} +1 -1
  222. package/dist/chunks/{shell-qn178psk.js → file-retention-m7sx3bgz.js} +11 -11
  223. package/dist/chunks/{shell-3fm5wbjz.js → file-retention-m7ykyrbv.js} +17 -17
  224. package/dist/chunks/{shell-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  225. package/dist/chunks/{shell-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
  226. package/dist/chunks/{shell-89cj2fxr.js → file-retention-me8mm9z9.js} +25 -25
  227. package/dist/chunks/{shell-dbc9xtzy.js → file-retention-mr07ez2r.js} +5 -5
  228. package/dist/chunks/{shell-drzej0yw.js → file-retention-n2pc7kwe.js} +25 -25
  229. package/dist/chunks/{shell-j9zdr12n.js → file-retention-n56yhxz0.js} +17 -17
  230. package/dist/chunks/{shell-hm878m0g.js → file-retention-n87deehv.js} +4 -4
  231. package/dist/chunks/{shell-xj160ydj.js → file-retention-n9x9rf44.js} +31 -31
  232. package/dist/chunks/{shell-wej8cf7c.js → file-retention-nyra3b4e.js} +21 -21
  233. package/dist/chunks/{shell-vq7pdr9z.js → file-retention-nyxfy9wj.js} +12 -12
  234. package/dist/chunks/{shell-0yrffq11.js → file-retention-p0g9dthf.js} +12 -12
  235. package/dist/chunks/{shell-bnzx9dwt.js → file-retention-p55ejza0.js} +5 -5
  236. package/dist/chunks/{shell-bxq9e2r0.js → file-retention-p96e2xw0.js} +15 -15
  237. package/dist/chunks/{shell-7b7w9v0b.js → file-retention-p9gybnkz.js} +11 -11
  238. package/dist/chunks/{shell-2nye2ds3.js → file-retention-p9nz32sq.js} +23 -23
  239. package/dist/chunks/{shell-51v7w56y.js → file-retention-pb6wsrs5.js} +4 -4
  240. package/dist/chunks/{shell-8rj7reax.js → file-retention-pdpask2k.js} +25 -25
  241. package/dist/chunks/{shell-x3fa7fwr.js → file-retention-pfb54thj.js} +9 -9
  242. package/dist/chunks/{shell-pknna89w.js → file-retention-pknna89w.js} +1 -1
  243. package/dist/chunks/{shell-51fa9ecf.js → file-retention-pn48ae9c.js} +29 -29
  244. package/dist/chunks/{shell-px7qpgcn.js → file-retention-px7qpgcn.js} +1 -1
  245. package/dist/chunks/{shell-y5bbkd9h.js → file-retention-pzkzmzjr.js} +48 -48
  246. package/dist/chunks/{shell-9nkjg9qd.js → file-retention-q85rya1m.js} +6 -6
  247. package/dist/chunks/{shell-b1cct362.js → file-retention-q945z18s.js} +15 -15
  248. package/dist/chunks/{shell-zqgpx8ma.js → file-retention-qfbjs7tc.js} +29 -29
  249. package/dist/chunks/{shell-kj9n5bvh.js → file-retention-qfz6bxfd.js} +4 -4
  250. package/dist/chunks/{shell-2vpa0jw2.js → file-retention-qja0360d.js} +5 -5
  251. package/dist/chunks/{shell-yqveydy6.js → file-retention-qkc3z5ds.js} +4 -4
  252. package/dist/chunks/{shell-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{shell-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
  254. package/dist/chunks/{shell-t9p1t371.js → file-retention-qs85e3xq.js} +31 -31
  255. package/dist/chunks/{shell-qsdghx1p.js → file-retention-qsdghx1p.js} +1 -1
  256. package/dist/chunks/{shell-qw2t3dzn.js → file-retention-qw2t3dzn.js} +3 -3
  257. package/dist/chunks/{shell-9qgz8pwv.js → file-retention-qzdnvnff.js} +8 -8
  258. package/dist/chunks/{shell-j82m12k7.js → file-retention-r17fbvme.js} +7 -7
  259. package/dist/chunks/{shell-86kd7kzh.js → file-retention-ranh0xe7.js} +4 -4
  260. package/dist/chunks/{shell-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{shell-ss0wp4jv.js → file-retention-rdj0vc1c.js} +19 -19
  262. package/dist/chunks/{shell-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  263. package/dist/chunks/{shell-drd2zyk1.js → file-retention-rt5m8xq2.js} +18 -18
  264. package/dist/chunks/{shell-8xz27cp9.js → file-retention-rt5qjrvj.js} +4 -4
  265. package/dist/chunks/{shell-sywhw5n9.js → file-retention-rt7n98jb.js} +23 -23
  266. package/dist/chunks/{shell-s1ba0vj0.js → file-retention-s1ba0vj0.js} +2 -2
  267. package/dist/chunks/{shell-cbzdy2pv.js → file-retention-s3ccn36m.js} +29 -29
  268. package/dist/chunks/{shell-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
  269. package/dist/chunks/{shell-vy796nhc.js → file-retention-sakzxw8a.js} +8 -8
  270. package/dist/chunks/{shell-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
  271. package/dist/chunks/{shell-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  272. package/dist/chunks/{shell-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  273. package/dist/chunks/{shell-81xk75pr.js → file-retention-teyq45ea.js} +5 -5
  274. package/dist/chunks/{shell-m7bre8ve.js → file-retention-tfcvmk9c.js} +19 -19
  275. package/dist/chunks/{shell-hy8c1z76.js → file-retention-tg1vr1qt.js} +8 -8
  276. package/dist/chunks/{shell-0w3xksdf.js → file-retention-tmwatq56.js} +8 -8
  277. package/dist/chunks/{shell-2x55varr.js → file-retention-tngvyp2y.js} +34 -34
  278. package/dist/chunks/{shell-5yya8jn5.js → file-retention-tq5makbn.js} +22 -22
  279. package/dist/chunks/{shell-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  280. package/dist/chunks/{shell-eyjntv0n.js → file-retention-txjcpmgd.js} +6 -6
  281. package/dist/chunks/{shell-05ag7ga3.js → file-retention-txt9e0aq.js} +195 -195
  282. package/dist/chunks/{shell-9zhekznq.js → file-retention-ty3f8ea2.js} +18 -18
  283. package/dist/chunks/{shell-m74aw6gb.js → file-retention-tykajzt3.js} +30 -30
  284. package/dist/chunks/{shell-9yvqmxq3.js → file-retention-tz3w010n.js} +14 -14
  285. package/dist/chunks/{shell-w79nt68w.js → file-retention-v0t96s7a.js} +4 -4
  286. package/dist/chunks/{shell-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  287. package/dist/chunks/{shell-0kfn2p10.js → file-retention-v5yvcr0w.js} +5 -5
  288. package/dist/chunks/{shell-3mg501j9.js → file-retention-v6sdsd1y.js} +2 -2
  289. package/dist/chunks/{shell-mnpd6dxn.js → file-retention-vatt5ny9.js} +8 -8
  290. package/dist/chunks/{shell-aq3d4cx2.js → file-retention-vcjsbe3m.js} +89 -89
  291. package/dist/chunks/{shell-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
  292. package/dist/chunks/{shell-gcjdgkn2.js → file-retention-vrcsa8qx.js} +9 -9
  293. package/dist/chunks/{shell-51apr65m.js → file-retention-vvxtm2dm.js} +29 -29
  294. package/dist/chunks/{shell-a2avvjgj.js → file-retention-w0rkd9p8.js} +35 -35
  295. package/dist/chunks/{shell-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  296. package/dist/chunks/{shell-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  297. package/dist/chunks/{shell-wd87259q.js → file-retention-wd87259q.js} +1 -1
  298. package/dist/chunks/{shell-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
  299. package/dist/chunks/{shell-epcdake3.js → file-retention-wejx1yzz.js} +4 -4
  300. package/dist/chunks/{shell-56jkt7vc.js → file-retention-whgw2pzj.js} +27 -27
  301. package/dist/chunks/{shell-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
  302. package/dist/chunks/{shell-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
  303. package/dist/chunks/{shell-wvr8xscb.js → file-retention-wvr8xscb.js} +1 -1
  304. package/dist/chunks/{shell-ckw7gy7y.js → file-retention-wx1v6zv9.js} +12 -12
  305. package/dist/chunks/{shell-2zhyc09s.js → file-retention-wzp3mys1.js} +3 -3
  306. package/dist/chunks/{shell-x64jffdk.js → file-retention-x38wddp3.js} +12 -12
  307. package/dist/chunks/{shell-fc6b9ra8.js → file-retention-x457m8xb.js} +13 -13
  308. package/dist/chunks/{shell-vy50mzzj.js → file-retention-x8pa5p51.js} +24 -24
  309. package/dist/chunks/{shell-vt35469a.js → file-retention-x8yhzycg.js} +9 -9
  310. package/dist/chunks/file-retention-xajdwwy7.js +26 -0
  311. package/dist/chunks/{shell-eg4gnj8c.js → file-retention-xgbbyafx.js} +35 -35
  312. package/dist/chunks/{shell-9fa1t37d.js → file-retention-xz5yt0yg.js} +19 -19
  313. package/dist/chunks/{shell-1t71ng30.js → file-retention-xzb1rrrv.js} +18 -18
  314. package/dist/chunks/{shell-30rdyssq.js → file-retention-y4f0c2re.js} +22 -22
  315. package/dist/chunks/{shell-tcahmmy5.js → file-retention-y8e7ya07.js} +43 -43
  316. package/dist/chunks/file-retention-y8y3xh3s.js +555 -0
  317. package/dist/chunks/{shell-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  318. package/dist/chunks/{shell-ybws1qgk.js → file-retention-ybws1qgk.js} +4 -4
  319. package/dist/chunks/{shell-k9bs7cba.js → file-retention-yc2h06fb.js} +18 -18
  320. package/dist/chunks/{shell-stb7syxb.js → file-retention-yf177qcx.js} +4 -4
  321. package/dist/chunks/{shell-y2384acf.js → file-retention-yk7egwn6.js} +50 -50
  322. package/dist/chunks/{shell-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
  323. package/dist/chunks/{shell-9r66fnzx.js → file-retention-ys7rp9j6.js} +11 -11
  324. package/dist/chunks/{shell-f163p87t.js → file-retention-yszbb02h.js} +11 -11
  325. package/dist/chunks/{shell-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
  326. package/dist/chunks/{shell-dwstrqp9.js → file-retention-ywppahe3.js} +32 -32
  327. package/dist/chunks/{shell-6rzx9z0d.js → file-retention-yx1z8yqh.js} +34 -34
  328. package/dist/chunks/{shell-0v6hfd9s.js → file-retention-yxmmjzm7.js} +6 -6
  329. package/dist/chunks/{shell-pn41xxg3.js → file-retention-yydqqga9.js} +4 -4
  330. package/dist/chunks/{shell-d9xdsm8s.js → file-retention-z1qht066.js} +20 -20
  331. package/dist/chunks/{shell-6cqv0jev.js → file-retention-z4qfpq4d.js} +21 -21
  332. package/dist/chunks/{shell-ra7camvv.js → file-retention-z5s1hzbx.js} +24 -24
  333. package/dist/chunks/{shell-pncygwdk.js → file-retention-z8w58q3b.js} +4 -4
  334. package/dist/chunks/{shell-ggrsp7xj.js → file-retention-z9ersv62.js} +6 -6
  335. package/dist/chunks/{shell-tc9v4qa2.js → file-retention-zd3y931c.js} +27 -27
  336. package/dist/chunks/{shell-6qccxdkv.js → file-retention-zece804q.js} +10 -10
  337. package/dist/chunks/{shell-zm27gg57.js → file-retention-zm27gg57.js} +2 -2
  338. package/dist/chunks/{shell-yf073rag.js → file-retention-zsv35m7p.js} +10 -10
  339. package/dist/chunks/{shell-awp23k8s.js → file-retention-ztvrq7gb.js} +12 -12
  340. package/dist/chunks/{shell-pcxqyrq0.js → file-retention-ztz48n3d.js} +10 -10
  341. package/dist/codemode/catalog.js +1 -1
  342. package/dist/codemode/execution.js +3 -3
  343. package/dist/codemode/fetch.js +145 -145
  344. package/dist/codemode/instructions.js +7 -7
  345. package/dist/codemode/tool.js +151 -151
  346. package/dist/command.js +94 -94
  347. package/dist/config/discovery.js +95 -95
  348. package/dist/config/integration.js +5 -5
  349. package/dist/config/managed.js +1 -1
  350. package/dist/config/markdown.js +1 -1
  351. package/dist/config/normalize.js +112 -112
  352. package/dist/config/plugin/agent.js +130 -130
  353. package/dist/config/plugin/command.js +229 -229
  354. package/dist/config/plugin/compaction.js +171 -171
  355. package/dist/config/plugin/compatibility.js +150 -150
  356. package/dist/config/plugin/entry-observer.js +1 -1
  357. package/dist/config/plugin/formatter.js +131 -131
  358. package/dist/config/plugin/image.js +130 -130
  359. package/dist/config/plugin/instruction.js +130 -130
  360. package/dist/config/plugin/location-watcher.js +132 -132
  361. package/dist/config/plugin/mcp.js +137 -137
  362. package/dist/config/plugin/policy.js +130 -130
  363. package/dist/config/plugin/provider.js +130 -130
  364. package/dist/config/plugin/reference.js +132 -132
  365. package/dist/config/plugin/shell.js +132 -132
  366. package/dist/config/plugin/skill-file.js +146 -146
  367. package/dist/config/plugin/skill-scan.js +1 -1
  368. package/dist/config/plugin/skill.js +153 -153
  369. package/dist/config/plugin/snapshot.js +130 -130
  370. package/dist/config/plugin/source.js +133 -133
  371. package/dist/config/plugin/tool-output.js +131 -131
  372. package/dist/config/plugin/websearch.js +131 -131
  373. package/dist/config/plugin/worktree.js +132 -132
  374. package/dist/config/variable.js +1 -1
  375. package/dist/config/watch.js +1 -1
  376. package/dist/config.js +133 -133
  377. package/dist/console-access.js +1 -1
  378. package/dist/credential/sql.js +2 -2
  379. package/dist/credential.js +94 -94
  380. package/dist/database/database.js +77 -77
  381. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  382. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  383. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  384. package/dist/database/drizzle/index.js +15 -15
  385. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  388. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  390. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  394. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  395. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  396. package/dist/database/drizzle.js +16 -16
  397. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  398. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  399. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  400. package/dist/database/migration/20260225215848_workspace.js +1 -1
  401. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  402. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  403. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  404. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  405. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  406. package/dist/database/migration/20260323234822_events.js +1 -1
  407. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  408. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  409. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  410. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  411. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  412. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  413. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  414. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  415. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  416. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  417. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  418. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  419. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  420. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  421. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  422. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  423. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  424. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  425. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  426. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  427. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  428. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  429. package/dist/database/migration/20260611035744_credential.js +1 -1
  430. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  431. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  432. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  433. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  434. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  435. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  436. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  437. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  438. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  439. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  440. package/dist/database/migration/20260812213948_worktree.js +1 -1
  441. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  442. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  443. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  444. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  445. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  446. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  447. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  448. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  449. package/dist/database/migration/20261025123711_blob.js +1 -1
  450. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  451. package/dist/database/migration/20261026223005_schedule.js +1 -1
  452. package/dist/database/migration/20261029002625_session_part.js +1 -1
  453. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  454. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  455. package/dist/database/migration/20261030054400_job.js +1 -1
  456. package/dist/database/migration.gen.js +60 -60
  457. package/dist/database/migration.js +62 -62
  458. package/dist/database/path.js +2 -2
  459. package/dist/database/schema.gen.js +1 -1
  460. package/dist/database/schema.sql.js +1 -1
  461. package/dist/database/sqlite.bun.js +1 -1
  462. package/dist/database/sqlite.js +1 -1
  463. package/dist/database/sqlite.node.js +1 -1
  464. package/dist/database/sqlite.workerd.js +1 -1
  465. package/dist/database/v1-migration.bun.js +100 -100
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +430 -430
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +3 -3
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +106 -106
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +106 -106
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +1 -1
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +85 -85
  481. package/dist/file-access.js +156 -156
  482. package/dist/file-mutation.js +107 -107
  483. package/dist/file-retention.js +1 -1
  484. package/dist/filesystem/fff.bun.js +2 -2
  485. package/dist/filesystem/fff.js +1 -1
  486. package/dist/filesystem/fff.node.js +2 -2
  487. package/dist/filesystem/fff.workerd.js +2 -2
  488. package/dist/filesystem/file-watch.js +91 -91
  489. package/dist/filesystem/location-watcher-policy.js +6 -6
  490. package/dist/filesystem/location-watcher.js +245 -245
  491. package/dist/filesystem/protected.js +1 -1
  492. package/dist/filesystem/search.js +110 -110
  493. package/dist/filesystem/watcher-binding.js +1 -1
  494. package/dist/filesystem/watcher.js +9 -9
  495. package/dist/filesystem.js +115 -115
  496. package/dist/form.js +83 -83
  497. package/dist/formatter/builtins.js +4 -4
  498. package/dist/formatter.js +100 -100
  499. package/dist/generate.js +116 -116
  500. package/dist/git.js +11 -11
  501. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  502. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  503. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  505. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  506. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  507. package/dist/github-copilot/copilot-provider.js +17 -17
  508. package/dist/github-copilot/models.js +112 -112
  509. package/dist/github-copilot/openai-compatible-error.js +1 -1
  510. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  511. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  512. package/dist/github-copilot/responses/openai-error.js +1 -1
  513. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  514. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  515. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  516. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  517. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  520. package/dist/image/notice.js +1 -1
  521. package/dist/image/photon-normalize.js +1 -1
  522. package/dist/image/photon-worker.js +1 -1
  523. package/dist/image/photon.js +4 -4
  524. package/dist/image.js +4 -4
  525. package/dist/instance/service.js +5 -5
  526. package/dist/instance.js +421 -421
  527. package/dist/instruction-discovery.js +95 -95
  528. package/dist/instructions/builtins.js +100 -100
  529. package/dist/instructions/index.js +3 -3
  530. package/dist/integration/connection.js +3 -3
  531. package/dist/integration.js +98 -98
  532. package/dist/job/sql.js +2 -2
  533. package/dist/job.js +88 -88
  534. package/dist/kv/sql.js +2 -2
  535. package/dist/kv.js +84 -84
  536. package/dist/location-activity.js +179 -179
  537. package/dist/location-lifecycle.js +150 -150
  538. package/dist/location-service-map.js +99 -99
  539. package/dist/location-services.js +418 -418
  540. package/dist/location.js +98 -98
  541. package/dist/managed-policy.js +3 -3
  542. package/dist/mcp/client.js +104 -104
  543. package/dist/mcp/index.js +122 -122
  544. package/dist/mcp/instructions.js +181 -181
  545. package/dist/mcp/oauth.js +89 -89
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +103 -103
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +112 -112
  550. package/dist/model-resolver.js +112 -112
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +107 -107
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +121 -121
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/permission/saved.js +93 -93
  557. package/dist/permission/sql.js +5 -5
  558. package/dist/permission.js +155 -155
  559. package/dist/persistent-pty/binary.bun.js +1 -1
  560. package/dist/persistent-pty/daemon.js +1 -1
  561. package/dist/persistent-pty/index.js +99 -99
  562. package/dist/persistent-pty/pty-binding.js +1 -1
  563. package/dist/persistent-pty.js +86 -86
  564. package/dist/plugin/agent.js +85 -85
  565. package/dist/plugin/command.js +113 -113
  566. package/dist/plugin/goal.js +3 -3
  567. package/dist/plugin/hooks.js +5 -5
  568. package/dist/plugin/host.js +236 -236
  569. package/dist/plugin/identity.js +5 -5
  570. package/dist/plugin/instance.js +5 -5
  571. package/dist/plugin/internal.js +397 -397
  572. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  573. package/dist/plugin/models-dev.js +110 -110
  574. package/dist/plugin/module.js +127 -127
  575. package/dist/plugin/optimize.js +4 -4
  576. package/dist/plugin/plan.js +146 -146
  577. package/dist/plugin/promise.js +1 -1
  578. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  579. package/dist/plugin/provider/azure.js +130 -130
  580. package/dist/plugin/provider/cerebras.js +1 -1
  581. package/dist/plugin/provider/chatgpt.js +130 -130
  582. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  583. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  588. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  590. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  591. package/dist/plugin/provider/claude-agent/index.js +143 -143
  592. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  593. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  596. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  597. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  600. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  601. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  602. package/dist/plugin/provider/claude-agent/session.js +112 -112
  603. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  604. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  607. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  611. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  613. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  614. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  615. package/dist/plugin/provider/configured.js +126 -126
  616. package/dist/plugin/provider/credential-settings.js +85 -85
  617. package/dist/plugin/provider/databricks.js +1 -1
  618. package/dist/plugin/provider/digitalocean.js +108 -108
  619. package/dist/plugin/provider/dynamic.js +2 -2
  620. package/dist/plugin/provider/github-copilot.js +110 -110
  621. package/dist/plugin/provider/gitlab.js +107 -107
  622. package/dist/plugin/provider/google-vertex.js +127 -127
  623. package/dist/plugin/provider/kilo.js +1 -1
  624. package/dist/plugin/provider/llmgateway.js +89 -89
  625. package/dist/plugin/provider/lmstudio.js +139 -139
  626. package/dist/plugin/provider/local.js +136 -136
  627. package/dist/plugin/provider/modal.js +107 -107
  628. package/dist/plugin/provider/neon.js +1 -1
  629. package/dist/plugin/provider/nvidia.js +1 -1
  630. package/dist/plugin/provider/ollama.js +139 -139
  631. package/dist/plugin/provider/openai-context-caps.js +103 -103
  632. package/dist/plugin/provider/openai.js +132 -132
  633. package/dist/plugin/provider/opencode.js +132 -132
  634. package/dist/plugin/provider/openrouter.js +104 -104
  635. package/dist/plugin/provider/poe.js +90 -90
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +104 -104
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  641. package/dist/plugin/provider/vllm.js +139 -139
  642. package/dist/plugin/provider/xai.js +104 -104
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +212 -212
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +147 -147
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +405 -405
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +2 -2
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +106 -106
  655. package/dist/plugin/warming.js +128 -128
  656. package/dist/plugin/websearch/exa.js +7 -7
  657. package/dist/plugin/websearch/firecrawl.js +8 -8
  658. package/dist/plugin/websearch/index.js +9 -9
  659. package/dist/plugin/websearch/mcp.js +2 -2
  660. package/dist/plugin/websearch/parallel.js +8 -8
  661. package/dist/plugin/websearch/tavily.js +6 -6
  662. package/dist/plugin/websearch/tinyfish.js +8 -8
  663. package/dist/plugin.js +243 -243
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +2 -2
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +97 -97
  668. package/dist/provider.js +110 -110
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +109 -109
  672. package/dist/reference/instructions.js +101 -101
  673. package/dist/reference.js +103 -103
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +110 -110
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +241 -241
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +255 -255
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +129 -129
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +173 -173
  688. package/dist/session/context.js +198 -198
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +242 -242
  694. package/dist/session/execution.js +163 -163
  695. package/dist/session/generate.js +198 -198
  696. package/dist/session/history.js +136 -136
  697. package/dist/session/inbox.js +149 -149
  698. package/dist/session/info.js +3 -3
  699. package/dist/session/instruction-entry.js +90 -90
  700. package/dist/session/instruction-state.js +8 -8
  701. package/dist/session/instructions.js +141 -141
  702. package/dist/session/message-updater.js +2 -2
  703. package/dist/session/message.js +1 -1
  704. package/dist/session/model-request.js +168 -168
  705. package/dist/session/model-transport.js +9 -9
  706. package/dist/session/move.js +161 -161
  707. package/dist/session/projector.js +143 -143
  708. package/dist/session/prompt.js +148 -148
  709. package/dist/session/recent-text.js +1 -1
  710. package/dist/session/revert.js +139 -139
  711. package/dist/session/run-coordinator.js +1 -1
  712. package/dist/session/runner/index.js +3 -3
  713. package/dist/session/runner/llm.js +250 -250
  714. package/dist/session/runner/max-steps.js +1 -1
  715. package/dist/session/runner/model.js +113 -113
  716. package/dist/session/runner/publish-llm-event.js +149 -149
  717. package/dist/session/runner/retry.js +3 -3
  718. package/dist/session/runner/step.js +163 -163
  719. package/dist/session/runner/to-llm-message.js +137 -137
  720. package/dist/session/schema.js +5 -5
  721. package/dist/session/session.js +181 -181
  722. package/dist/session/shell.js +144 -144
  723. package/dist/session/skill.js +147 -147
  724. package/dist/session/sql.js +5 -5
  725. package/dist/session/stats.js +84 -84
  726. package/dist/session/store.js +142 -142
  727. package/dist/session/stored.js +2 -2
  728. package/dist/session/subagent-completion.js +1 -1
  729. package/dist/session/subagent-job.js +229 -229
  730. package/dist/session/system-prompt.js +1 -1
  731. package/dist/session/title.js +202 -202
  732. package/dist/session/to-session-error.js +148 -148
  733. package/dist/session/transfer.js +240 -240
  734. package/dist/session/usage.js +1 -1
  735. package/dist/session.js +235 -235
  736. package/dist/shared-cache.js +5 -5
  737. package/dist/shell/parse.js +6 -6
  738. package/dist/shell/result.js +1 -1
  739. package/dist/shell/scan.js +1 -1
  740. package/dist/shell/select.js +15 -15
  741. package/dist/shell.js +146 -146
  742. package/dist/skill/discovery.js +6 -6
  743. package/dist/skill/instructions.js +145 -145
  744. package/dist/skill.js +152 -152
  745. package/dist/snapshot.js +106 -106
  746. package/dist/state.js +1 -1
  747. package/dist/tool/html-markdown.js +1 -1
  748. package/dist/tool/http-body.js +1 -1
  749. package/dist/tool/mcp.js +180 -180
  750. package/dist/tool/plugin/artifact.js +228 -228
  751. package/dist/tool/plugin/edit.js +164 -164
  752. package/dist/tool/plugin/file-diff.js +1 -1
  753. package/dist/tool/plugin/glob.js +166 -166
  754. package/dist/tool/plugin/grep.js +160 -160
  755. package/dist/tool/plugin/image-generate.js +239 -239
  756. package/dist/tool/plugin/mcp-resource.js +162 -162
  757. package/dist/tool/plugin/opencode.js +161 -161
  758. package/dist/tool/plugin/patch.js +166 -166
  759. package/dist/tool/plugin/question.js +148 -148
  760. package/dist/tool/plugin/read.js +169 -169
  761. package/dist/tool/plugin/schedule.js +247 -247
  762. package/dist/tool/plugin/shell.js +235 -235
  763. package/dist/tool/plugin/skill.js +157 -157
  764. package/dist/tool/plugin/subagent.js +236 -236
  765. package/dist/tool/plugin/todo.js +153 -153
  766. package/dist/tool/plugin/webfetch.js +153 -153
  767. package/dist/tool/plugin/websearch.js +149 -149
  768. package/dist/tool/plugin/write.js +166 -166
  769. package/dist/tool/read-filesystem.js +113 -113
  770. package/dist/tool/runtime.js +1 -1
  771. package/dist/tool-output.js +7 -7
  772. package/dist/tool.js +161 -161
  773. package/dist/usage-limits.js +96 -96
  774. package/dist/util/error-summary.js +1 -1
  775. package/dist/util/git-executable.js +3 -3
  776. package/dist/util/lazy.js +1 -1
  777. package/dist/util/slug.js +1 -1
  778. package/dist/util/token.js +1 -1
  779. package/dist/util/which.js +1 -1
  780. package/dist/util/wildcard.js +1 -1
  781. package/dist/v1/config/agent.js +5 -5
  782. package/dist/v1/config/command.js +3 -3
  783. package/dist/v1/config/mcp.js +4 -4
  784. package/dist/v1/config/migrate.js +105 -105
  785. package/dist/v1/config/permission.js +3 -3
  786. package/dist/v1/config/plugin.js +3 -3
  787. package/dist/v1/config/provider-options.js +1 -1
  788. package/dist/v1/config/provider.js +4 -4
  789. package/dist/variant.js +104 -104
  790. package/dist/vcs/patch.js +1 -1
  791. package/dist/vcs.js +102 -102
  792. package/dist/voice.js +99 -99
  793. package/dist/websearch.js +95 -95
  794. package/dist/wellknown/plugin.js +87 -87
  795. package/dist/wellknown.js +90 -90
  796. package/dist/workspace/driver.js +7 -7
  797. package/dist/workspace/sql.js +1 -1
  798. package/dist/workspace.js +93 -93
  799. package/dist/worktree/directory.js +2 -2
  800. package/dist/worktree/git.js +9 -9
  801. package/dist/worktree/sql.js +5 -5
  802. package/dist/worktree/strategies.js +102 -102
  803. package/dist/worktree.js +111 -111
  804. package/package.json +8 -8
  805. package/dist/chunks/shell-7yv5xa0k.js +0 -18
  806. package/dist/chunks/shell-hhqxxv04.js +0 -26
  807. package/dist/chunks/shell-hj48rses.js +0 -555
  808. package/dist/chunks/shell-w9emth0g.js +0 -261
  809. /package/dist/chunks/{shell-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  810. /package/dist/chunks/{shell-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  811. /package/dist/chunks/{shell-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  812. /package/dist/chunks/{shell-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  813. /package/dist/chunks/{shell-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
  814. /package/dist/chunks/{shell-1pevy3nx.js → file-retention-1pevy3nx.js} +0 -0
  815. /package/dist/chunks/{shell-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  816. /package/dist/chunks/{shell-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  817. /package/dist/chunks/{shell-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  818. /package/dist/chunks/{shell-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  819. /package/dist/chunks/{shell-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  820. /package/dist/chunks/{shell-3asan66x.js → file-retention-3asan66x.js} +0 -0
  821. /package/dist/chunks/{shell-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  822. /package/dist/chunks/{shell-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  823. /package/dist/chunks/{shell-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  824. /package/dist/chunks/{shell-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  825. /package/dist/chunks/{shell-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
  826. /package/dist/chunks/{shell-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  827. /package/dist/chunks/{shell-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  828. /package/dist/chunks/{shell-53557ph1.js → file-retention-53557ph1.js} +0 -0
  829. /package/dist/chunks/{shell-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  830. /package/dist/chunks/{shell-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  831. /package/dist/chunks/{shell-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
  832. /package/dist/chunks/{shell-6prwharc.js → file-retention-6prwharc.js} +0 -0
  833. /package/dist/chunks/{shell-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  834. /package/dist/chunks/{shell-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  835. /package/dist/chunks/{shell-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  836. /package/dist/chunks/{shell-822emrt2.js → file-retention-822emrt2.js} +0 -0
  837. /package/dist/chunks/{shell-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{shell-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{shell-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{shell-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{shell-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{shell-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  843. /package/dist/chunks/{shell-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  844. /package/dist/chunks/{shell-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  845. /package/dist/chunks/{shell-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  846. /package/dist/chunks/{shell-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  847. /package/dist/chunks/{shell-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  848. /package/dist/chunks/{shell-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  849. /package/dist/chunks/{shell-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  850. /package/dist/chunks/{shell-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  851. /package/dist/chunks/{shell-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  852. /package/dist/chunks/{shell-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  853. /package/dist/chunks/{shell-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  854. /package/dist/chunks/{shell-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  855. /package/dist/chunks/{shell-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  856. /package/dist/chunks/{shell-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  857. /package/dist/chunks/{shell-dbht28n9.js → file-retention-dbht28n9.js} +0 -0
  858. /package/dist/chunks/{shell-df08tz66.js → file-retention-df08tz66.js} +0 -0
  859. /package/dist/chunks/{shell-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  860. /package/dist/chunks/{shell-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  861. /package/dist/chunks/{shell-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  862. /package/dist/chunks/{shell-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
  863. /package/dist/chunks/{shell-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  864. /package/dist/chunks/{shell-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  865. /package/dist/chunks/{shell-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  866. /package/dist/chunks/{shell-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  867. /package/dist/chunks/{shell-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  868. /package/dist/chunks/{shell-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  869. /package/dist/chunks/{shell-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  870. /package/dist/chunks/{shell-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  871. /package/dist/chunks/{shell-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  872. /package/dist/chunks/{shell-g86h250q.js → file-retention-g86h250q.js} +0 -0
  873. /package/dist/chunks/{shell-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  874. /package/dist/chunks/{shell-gftt206x.js → file-retention-gftt206x.js} +0 -0
  875. /package/dist/chunks/{shell-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  876. /package/dist/chunks/{shell-hk9envan.js → file-retention-hk9envan.js} +0 -0
  877. /package/dist/chunks/{shell-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  878. /package/dist/chunks/{shell-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  879. /package/dist/chunks/{shell-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  880. /package/dist/chunks/{shell-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  881. /package/dist/chunks/{shell-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  882. /package/dist/chunks/{shell-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  883. /package/dist/chunks/{shell-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  884. /package/dist/chunks/{shell-m18g726c.js → file-retention-m18g726c.js} +0 -0
  885. /package/dist/chunks/{shell-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  886. /package/dist/chunks/{shell-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  887. /package/dist/chunks/{shell-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  888. /package/dist/chunks/{shell-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  889. /package/dist/chunks/{shell-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
  890. /package/dist/chunks/{shell-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  891. /package/dist/chunks/{shell-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  892. /package/dist/chunks/{shell-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  893. /package/dist/chunks/{shell-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  894. /package/dist/chunks/{shell-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  895. /package/dist/chunks/{shell-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  896. /package/dist/chunks/{shell-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  897. /package/dist/chunks/{shell-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  898. /package/dist/chunks/{shell-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  899. /package/dist/chunks/{shell-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  900. /package/dist/chunks/{shell-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  901. /package/dist/chunks/{shell-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  902. /package/dist/chunks/{shell-syrav9an.js → file-retention-syrav9an.js} +0 -0
  903. /package/dist/chunks/{shell-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
  904. /package/dist/chunks/{shell-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
  905. /package/dist/chunks/{shell-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  906. /package/dist/chunks/{shell-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
  907. /package/dist/chunks/{shell-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  908. /package/dist/chunks/{shell-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  909. /package/dist/chunks/{shell-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  910. /package/dist/chunks/{shell-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  911. /package/dist/chunks/{shell-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  912. /package/dist/chunks/{shell-x61499pn.js → file-retention-x61499pn.js} +0 -0
  913. /package/dist/chunks/{shell-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  914. /package/dist/chunks/{shell-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  915. /package/dist/chunks/{shell-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  916. /package/dist/chunks/{shell-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  917. /package/dist/chunks/{shell-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./shell-2zhyc09s.js";
4
+ } from "./file-retention-wzp3mys1.js";
5
5
  import {
6
- Service89,
7
- node92
8
- } from "./shell-4n04qkt5.js";
6
+ Service88,
7
+ node91
8
+ } from "./file-retention-3whc36fx.js";
9
9
  import {
10
- Service86,
11
- node89
12
- } from "./shell-9yvqmxq3.js";
10
+ Service85,
11
+ node88
12
+ } from "./file-retention-tz3w010n.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./shell-ec1grn59.js";
15
+ } from "./file-retention-ec1grn59.js";
16
16
  import {
17
17
  synthetics2
18
- } from "./shell-5wa3g67q.js";
18
+ } from "./file-retention-ae862rdn.js";
19
19
  import {
20
20
  __export
21
- } from "./shell-9rqn6x4v.js";
21
+ } from "./file-retention-9rqn6x4v.js";
22
22
 
23
23
  // src/session/instructions.ts
24
24
  var exports_instructions2 = {};
25
25
  __export(exports_instructions2, {
26
- Service: () => Service11,
26
+ Service: () => Service6,
27
27
  SessionInstructions: () => exports_instructions2,
28
- node: () => node13
28
+ node: () => node8
29
29
  });
30
30
  import { relative } from "path";
31
31
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
35
35
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
36
36
  });
37
37
 
38
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
38
+ class Service6 extends Context.Service()("@opencode/SessionInstructions") {
39
39
  }
40
- var layer = Layer.effect(Service11, Effect.gen(function* () {
41
- const bus = yield* Service89;
40
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
41
+ const bus = yield* Service88;
42
42
  const fs = yield* FSUtil.Service;
43
43
  const db = (yield* Service90).db;
44
- const location = yield* Service86;
44
+ const location = yield* Service85;
45
45
  const root = yield* fs.resolve(location.project.directory);
46
46
  const inFlight = yield* Ref.make(new Map);
47
47
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -87,7 +87,7 @@ ${file.content}`).join(`
87
87
  return next;
88
88
  })));
89
89
  });
90
- return Service11.of({ load });
90
+ return Service6.of({ load });
91
91
  }));
92
92
  function previouslyInjected(db, sessionID) {
93
93
  return Effect.gen(function* () {
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
98
98
  function describePath(root, path) {
99
99
  return FSUtil.contains(root, path) ? relative(root, path) : path;
100
100
  }
101
- var node13 = makeLocationNode({
101
+ var node8 = makeLocationNode({
102
102
  name: "session-instructions",
103
103
  layer,
104
- deps: [node92, node93, FSUtil.node, node89]
104
+ deps: [node91, node93, FSUtil.node, node88]
105
105
  });
106
106
 
107
- export { Service11, node13, exports_instructions2 };
107
+ export { Service6, node8, exports_instructions2 };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./shell-dxsywhez.js";
8
+ } from "./file-retention-390xskpw.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./shell-ec1grn59.js";
11
+ } from "./file-retention-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./shell-mb7mbhnz.js";
15
+ } from "./file-retention-mb7mbhnz.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./file-retention-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make29,
4
+ make31,
5
5
  diffByKey2
6
- } from "./shell-dxsywhez.js";
6
+ } from "./file-retention-390xskpw.js";
7
7
  import {
8
8
  ID9,
9
9
  Name2,
10
- available3,
11
- Service52,
12
- node53
13
- } from "./shell-qw9nj3hw.js";
10
+ available4,
11
+ Service46,
12
+ node49
13
+ } from "./file-retention-gbyaw8gf.js";
14
14
  import {
15
15
  __export
16
- } from "./shell-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions6 = {};
@@ -67,11 +67,11 @@ var update = (previous, current) => {
67
67
  class Service40 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
69
  var layer = Layer.effect(Service40, Effect.gen(function* () {
70
- const skills = yield* Service52;
70
+ const skills = yield* Service46;
71
71
  return Service40.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make29({
73
+ const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
+ return make31({
75
75
  key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node43 = makeLocationNode({ service: Service40, layer, deps: [node53] });
87
+ var node43 = makeLocationNode({ service: Service40, layer, deps: [node49] });
88
88
 
89
89
  export { Service40, node43, exports_instructions6 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service73
4
- } from "./shell-y2384acf.js";
3
+ Service77
4
+ } from "./file-retention-yk7egwn6.js";
5
5
  import {
6
- Service41
7
- } from "./shell-4za8zkf9.js";
6
+ Service67
7
+ } from "./file-retention-djp2yf7t.js";
8
8
  import {
9
9
  observe2
10
- } from "./shell-hpg1pkwy.js";
10
+ } from "./file-retention-hpg1pkwy.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin18
19
+ Plugin: () => Plugin51
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin18 = define({
23
+ var Plugin51 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service73;
27
- const snapshot = yield* Service41;
26
+ const config = yield* Service77;
27
+ const snapshot = yield* Service67;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin18 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin18, exports_snapshot };
38
+ export { Plugin51, exports_snapshot };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./shell-2zhyc09s.js";
4
+ } from "./file-retention-wzp3mys1.js";
5
5
  import {
6
- Service89,
7
- node92
8
- } from "./shell-4n04qkt5.js";
6
+ Service88,
7
+ node91
8
+ } from "./file-retention-3whc36fx.js";
9
9
  import {
10
- Service45,
11
- node47
12
- } from "./shell-9nkjg9qd.js";
10
+ Service56,
11
+ node59
12
+ } from "./file-retention-q85rya1m.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./shell-z5v4ffb3.js";
16
+ } from "./file-retention-z5v4ffb3.js";
17
17
  import {
18
- Service87,
19
- node90
20
- } from "./shell-89cj2fxr.js";
18
+ Service86,
19
+ node89
20
+ } from "./file-retention-me8mm9z9.js";
21
21
  import {
22
22
  Ref5
23
- } from "./shell-9yvqmxq3.js";
23
+ } from "./file-retention-tz3w010n.js";
24
24
  import {
25
- Service81,
26
- node84
27
- } from "./shell-pmctgzqh.js";
25
+ Service58,
26
+ node61
27
+ } from "./file-retention-7kjy5yhf.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./shell-gftt206x.js";
30
+ } from "./file-retention-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./shell-ss09eh5m.js";
32
+ NotFoundError12
33
+ } from "./file-retention-4xcsbp6b.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./shell-ec1grn59.js";
36
+ } from "./file-retention-ec1grn59.js";
37
37
  import {
38
- Service43
39
- } from "./shell-yqveydy6.js";
38
+ Service55
39
+ } from "./file-retention-qkc3z5ds.js";
40
40
  import {
41
- Service57,
42
- node58
43
- } from "./shell-x64jffdk.js";
41
+ Service74,
42
+ node77
43
+ } from "./file-retention-x38wddp3.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service44,
48
- node46,
47
+ Service57,
48
+ node60,
49
49
  moveIDs2
50
- } from "./shell-cbzdy2pv.js";
50
+ } from "./file-retention-s3ccn36m.js";
51
51
  import {
52
- Service42,
53
- node45
54
- } from "./shell-d27tfk0e.js";
52
+ Service54,
53
+ node58
54
+ } from "./file-retention-a95pzf1x.js";
55
55
  import {
56
- node36
57
- } from "./shell-1t6wg0nd.js";
56
+ node41
57
+ } from "./file-retention-csdmpgm1.js";
58
58
  import {
59
59
  __export
60
- } from "./shell-9rqn6x4v.js";
60
+ } from "./file-retention-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -88,18 +88,18 @@ class Service32 extends Context.Service()("@opencode/SessionMove") {
88
88
  var layer = Layer.effect(Service32, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service87;
92
- const locations = yield* Service81;
93
- const store = yield* Service57;
94
- const execution = yield* Service42;
95
- const instances = yield* Service45;
96
- const admission = yield* Service44;
91
+ const projects = yield* Service86;
92
+ const locations = yield* Service58;
93
+ const store = yield* Service74;
94
+ const execution = yield* Service54;
95
+ const instances = yield* Service56;
96
+ const admission = yield* Service57;
97
97
  const database = yield* Service90;
98
- const bus = yield* Service89;
98
+ const bus = yield* Service88;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError12({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service55.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
136
  return Service32.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
@@ -169,15 +169,15 @@ var node35 = makeGlobalNode({
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node90,
173
- node84,
172
+ node89,
173
+ node61,
174
+ node77,
174
175
  node58,
175
- node45,
176
- node47,
177
- node46,
176
+ node59,
177
+ node60,
178
178
  node93,
179
- node92,
180
- node36
179
+ node91,
180
+ node41
181
181
  ]
182
182
  });
183
183
 
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service89
3
- } from "./shell-4n04qkt5.js";
2
+ Service88
3
+ } from "./file-retention-3whc36fx.js";
4
4
  import {
5
- Event20
6
- } from "./shell-t9p1t371.js";
5
+ Event19
6
+ } from "./file-retention-qs85e3xq.js";
7
7
  import {
8
8
  key2
9
- } from "./shell-wws03c5r.js";
9
+ } from "./file-retention-95sp4hdf.js";
10
10
  import {
11
11
  interval2
12
- } from "./shell-b096peb1.js";
12
+ } from "./file-retention-64eehrrp.js";
13
13
  import {
14
14
  __export
15
- } from "./shell-9rqn6x4v.js";
15
+ } from "./file-retention-9rqn6x4v.js";
16
16
 
17
17
  // src/plugin/provider/refresh.ts
18
18
  var exports_refresh = {};
@@ -28,7 +28,7 @@ var switched2 = (load, apply) => Effect.gen(function* () {
28
28
  yield* Fiber.join(fresh).pipe(Effect.flatMap(apply));
29
29
  });
30
30
  var start3 = Effect.fnUntraced(function* (input) {
31
- const bus = yield* Service89;
31
+ const bus = yield* Service88;
32
32
  const interval = input.interval ?? interval2;
33
33
  const lock = Semaphore.makeUnsafe(1);
34
34
  const loading = yield* FiberHandle.make();
@@ -43,7 +43,7 @@ var start3 = Effect.fnUntraced(function* (input) {
43
43
  })).pipe(Effect.uninterruptible);
44
44
  const load = (options) => Effect.suspend(() => input.load(state.current, { interval, ...options }));
45
45
  const refresh = load({}).pipe(Effect.flatMap(apply));
46
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === input.integrationID), Stream.runForEach(() => FiberHandle.run(loading, switched2(load, apply))), Effect.forkScoped({ startImmediately: true }));
46
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === input.integrationID), Stream.runForEach(() => FiberHandle.run(loading, switched2(load, apply))), Effect.forkScoped({ startImmediately: true }));
47
47
  yield* FiberHandle.run(loading, refresh, { onlyIfMissing: true }).pipe(Effect.forkScoped);
48
48
  yield* Effect.sleep(interval).pipe(Effect.andThen(FiberHandle.run(loading, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
49
49
  return state;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./shell-gftt206x.js";
3
+ } from "./file-retention-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./shell-b2armg7w.js";
3
+ } from "./file-retention-4d2dtj2f.js";
4
4
  import {
5
- Service89,
6
- node92
7
- } from "./shell-4n04qkt5.js";
5
+ Service88,
6
+ node91
7
+ } from "./file-retention-3whc36fx.js";
8
+ import {
9
+ Event19,
10
+ Service83,
11
+ node86
12
+ } from "./file-retention-qs85e3xq.js";
8
13
  import {
9
- Event20,
10
14
  Service85,
11
15
  node88
12
- } from "./shell-t9p1t371.js";
16
+ } from "./file-retention-tz3w010n.js";
13
17
  import {
14
- Service86,
15
- node89
16
- } from "./shell-9yvqmxq3.js";
17
- import {
18
- Service71,
19
- node73
20
- } from "./shell-ra7camvv.js";
18
+ Service62,
19
+ node65
20
+ } from "./file-retention-z5s1hzbx.js";
21
21
  import {
22
22
  ID19,
23
23
  Service84,
24
24
  node87
25
- } from "./shell-b50bv8kf.js";
25
+ } from "./file-retention-0n6d4kn5.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./shell-40y6dtc2.js";
29
+ } from "./file-retention-40y6dtc2.js";
30
30
  import {
31
- ID18,
31
+ ID17,
32
32
  MethodID2,
33
- Service83,
34
- node86
35
- } from "./shell-m74aw6gb.js";
33
+ Service82,
34
+ node85
35
+ } from "./file-retention-tykajzt3.js";
36
36
  import {
37
37
  __export
38
- } from "./shell-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: () => NotFoundError5,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError6,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service38,
52
+ Service: () => Service42,
53
53
  Status: () => Status3,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer17,
57
- node: () => node41
55
+ configured: () => configured4,
56
+ layer: () => layer16,
57
+ node: () => node45
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -85,7 +85,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
85
85
  var ResourceCatalog2 = Mcp.ResourceCatalog;
86
86
  var ResourceContent2 = Mcp.ResourceContent;
87
87
 
88
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
88
+ class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
89
89
  server: ServerName2
90
90
  }) {
91
91
  get message() {
@@ -118,21 +118,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
118
118
  var endpointLoads = makeUnsafe2();
119
119
  var cloneConfig = (config) => structuredClone(config);
120
120
 
121
- class Service38 extends Context.Service()("@opencode/MCP") {
121
+ class Service42 extends Context.Service()("@opencode/MCP") {
122
122
  }
123
- var Options3 = Schema.Struct({
123
+ var Options4 = Schema.Struct({
124
124
  clientInfo: Schema.optional(Schema.Struct({
125
125
  name: Schema.String,
126
126
  version: Schema.String
127
127
  }))
128
128
  });
129
- var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
130
- const location = yield* Service86;
131
- const environment = yield* Service71;
132
- const bus = yield* Service89;
129
+ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
130
+ const location = yield* Service85;
131
+ const environment = yield* Service62;
132
+ const bus = yield* Service88;
133
133
  const forms = yield* Service84;
134
- const integration = yield* Service83;
135
- const credentials = yield* Service85;
134
+ const integration = yield* Service82;
135
+ const credentials = yield* Service83;
136
136
  const root = yield* Effect.scope;
137
137
  const fork = yield* FiberSet.makeRuntime();
138
138
  const servers = yield* Scope.fork(root, "parallel");
@@ -148,7 +148,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
148
148
  return;
149
149
  const remote = entry.config;
150
150
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
151
- const integrationID = ID18.make(suffix);
151
+ const integrationID = ID17.make(suffix);
152
152
  entry.integrationID = integrationID;
153
153
  owned.add(integrationID);
154
154
  const methodID = MethodID2.make(suffix);
@@ -164,7 +164,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
164
164
  method: { id: methodID, type: "oauth", label: name },
165
165
  authorize: () => Effect.gen(function* () {
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service85, credentials));
167
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
168
168
  })
169
169
  });
170
170
  }).pipe(Scope.provide(scope));
@@ -172,14 +172,14 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
172
172
  const requireServer = Effect.fnUntraced(function* (name) {
173
173
  const entry = entries.get(name);
174
174
  if (!entry)
175
- return yield* new NotFoundError5({ server: name });
175
+ return yield* new NotFoundError6({ server: name });
176
176
  return { name, entry };
177
177
  });
178
178
  const connectProvider = Effect.fnUntraced(function* (entry) {
179
179
  if (entry.config.type !== "remote" || !entry.integrationID)
180
180
  return;
181
181
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
182
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service85, credentials));
182
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
183
183
  });
184
184
  const elicitation = {
185
185
  create: (input) => Effect.gen(function* () {
@@ -289,7 +289,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
289
289
  entry.scope = scope;
290
290
  const authProvider = yield* connectProvider(entry);
291
291
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
292
- const load = 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(Service71, environment), Scope.provide(scope));
292
+ const load = 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(Service62, environment), Scope.provide(scope));
293
293
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
294
294
  if (Exit.isSuccess(result)) {
295
295
  entry.client = result.value.connection;
@@ -395,7 +395,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
395
395
  let closed = false;
396
396
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
397
397
  closed = true;
398
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service71, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
398
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
399
399
  const register = Effect.gen(function* () {
400
400
  if (closed) {
401
401
  yield* Scope.close(scope, Exit.void);
@@ -476,7 +476,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
476
476
  yield* startServer(name, entry);
477
477
  }).pipe(locks.withLock(name));
478
478
  });
479
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
479
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
480
480
  const state = create4({
481
481
  name: "mcp",
482
482
  initial: () => ({
@@ -502,7 +502,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
502
502
  }),
503
503
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
504
504
  });
505
- return Service38.of({
505
+ return Service42.of({
506
506
  transform: state.transform,
507
507
  reload: state.reload,
508
508
  servers: Effect.fn("MCP.servers")(function* () {
@@ -644,14 +644,14 @@ function mergeCatalogs(catalogs) {
644
644
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
645
645
  });
646
646
  }
647
- function configured3(options) {
647
+ function configured4(options) {
648
648
  return makeLocationNode({
649
- service: Service38,
650
- layer: layer17(options),
651
- deps: [node89, node73, node92, node87, node86, node88]
649
+ service: Service42,
650
+ layer: layer16(options),
651
+ deps: [node88, node65, node91, node87, node85, node86]
652
652
  });
653
653
  }
654
- var node41 = configured3();
654
+ var node45 = configured4();
655
655
  function toElicitationField(key, property, required) {
656
656
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
657
657
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -702,4 +702,4 @@ function toElicitationField(key, property, required) {
702
702
  }
703
703
  }
704
704
 
705
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options3, layer17, configured3, node41, exports_mcp4 };
705
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service42, Options4, layer16, configured4, node45, exports_mcp4 };