@opencode/core 0.0.0-dev-20574 → 0.0.0-dev-20578

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-retention-3fdy5e26.js → plugin-04d3ggy7.js} +18 -18
  8. package/dist/chunks/{file-retention-3xnccdbj.js → plugin-06fncbhs.js} +14 -14
  9. package/dist/chunks/{file-retention-rpg9c19m.js → plugin-06x8he3q.js} +4 -4
  10. package/dist/chunks/{file-retention-dzz4avzz.js → plugin-09djgkn9.js} +20 -20
  11. package/dist/chunks/{file-retention-2qmevabq.js → plugin-0a04tq27.js} +1 -1
  12. package/dist/chunks/{file-retention-mj0s41ck.js → plugin-0d0dy0b8.js} +16 -16
  13. package/dist/chunks/{file-retention-dp7d2fdn.js → plugin-0grfgy22.js} +23 -23
  14. package/dist/chunks/{file-retention-0j77ygfz.js → plugin-0j77ygfz.js} +2 -2
  15. package/dist/chunks/{file-retention-fcrkznn8.js → plugin-0jwsre1p.js} +5 -5
  16. package/dist/chunks/{file-retention-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{file-retention-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{file-retention-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-retention-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{file-retention-375t9ctr.js → plugin-1eznydrh.js} +12 -12
  21. package/dist/chunks/{file-retention-vqr6g7p3.js → plugin-1hxtq9m9.js} +29 -29
  22. package/dist/chunks/{file-retention-kbrxqvty.js → plugin-1m06e57m.js} +10 -10
  23. package/dist/chunks/{file-retention-ywae51ae.js → plugin-1x0vprbs.js} +15 -15
  24. package/dist/chunks/{file-retention-1ygqh575.js → plugin-1ygqh575.js} +2 -2
  25. package/dist/chunks/{file-retention-3n34rj9j.js → plugin-24creq0d.js} +7 -7
  26. package/dist/chunks/{file-retention-fwdg1fxj.js → plugin-28z24pfh.js} +23 -23
  27. package/dist/chunks/{file-retention-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-retention-2ccvkpx1.js → plugin-2ccvkpx1.js} +2 -2
  29. package/dist/chunks/{file-retention-qd6mjxjn.js → plugin-2dcw1sfe.js} +7 -7
  30. package/dist/chunks/{file-retention-gzxe17p4.js → plugin-2ex9tkzb.js} +36 -36
  31. package/dist/chunks/{file-retention-g186129t.js → plugin-2m5wdzz9.js} +4 -4
  32. package/dist/chunks/{file-retention-2cmv4prx.js → plugin-2p0jthwz.js} +15 -15
  33. package/dist/chunks/{file-retention-2wj8n25z.js → plugin-2p5y98w0.js} +6 -6
  34. package/dist/chunks/{file-retention-6sr3ve8g.js → plugin-2pnhn36q.js} +4 -4
  35. package/dist/chunks/{file-retention-kkszqkca.js → plugin-30hx8gy4.js} +11 -11
  36. package/dist/chunks/{file-retention-8nqvxmhp.js → plugin-34bd8zqa.js} +15 -15
  37. package/dist/chunks/{file-retention-fyjp43ss.js → plugin-35ng7dkh.js} +5 -5
  38. package/dist/chunks/{file-retention-sqsf5w9p.js → plugin-371g5ft3.js} +22 -22
  39. package/dist/chunks/{file-retention-rnyw8s47.js → plugin-39sy8z68.js} +9 -9
  40. package/dist/chunks/{file-retention-n3sbkf7y.js → plugin-3ary6tpn.js} +6 -6
  41. package/dist/chunks/{file-retention-7nd1w80t.js → plugin-3d32k6hr.js} +14 -14
  42. package/dist/chunks/{file-retention-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{file-retention-1hs5gw21.js → plugin-3g98wrjp.js} +15 -15
  44. package/dist/chunks/{file-retention-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{file-retention-tr8p7823.js → plugin-3n0emgyf.js} +26 -26
  46. package/dist/chunks/{file-retention-srdsxf88.js → plugin-3r80836k.js} +29 -29
  47. package/dist/chunks/{file-retention-32mfgrc2.js → plugin-3rt7qeq2.js} +46 -46
  48. package/dist/chunks/{file-retention-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-retention-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{file-retention-rjbgsrgy.js → plugin-3x5wnmsa.js} +3 -3
  51. package/dist/chunks/{file-retention-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{file-retention-2196dttv.js → plugin-41japfwg.js} +19 -19
  53. package/dist/chunks/{file-retention-a7yy2md1.js → plugin-43r5tmwz.js} +174 -174
  54. package/dist/chunks/{file-retention-rxwegcwa.js → plugin-4bcaa4pk.js} +24 -24
  55. package/dist/chunks/{file-retention-vsv6kgcp.js → plugin-4fsvs0r5.js} +13 -13
  56. package/dist/chunks/{file-retention-yg48zpvb.js → plugin-4hmze3tg.js} +9 -9
  57. package/dist/chunks/{file-retention-d4zdj4k1.js → plugin-4r3ynae4.js} +47 -47
  58. package/dist/chunks/{file-retention-dm0afct9.js → plugin-51nd9ekg.js} +33 -33
  59. package/dist/chunks/{file-retention-54ma36ye.js → plugin-54ma36ye.js} +1 -1
  60. package/dist/chunks/{file-retention-y2f4f8ve.js → plugin-5anybvrp.js} +9 -9
  61. package/dist/chunks/{file-retention-5daktx2q.js → plugin-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-retention-5dkn69vz.js → plugin-5dkn69vz.js} +1 -1
  63. package/dist/chunks/{file-retention-m0wjs088.js → plugin-5egfvsg2.js} +25 -25
  64. package/dist/chunks/{file-retention-268p1yhm.js → plugin-5g4drkc8.js} +11 -11
  65. package/dist/chunks/{file-retention-zrpzfdax.js → plugin-5h261f6e.js} +43 -43
  66. package/dist/chunks/{file-retention-pvmde4fp.js → plugin-5kyzh40n.js} +5 -5
  67. package/dist/chunks/{file-retention-gr0k9txt.js → plugin-5p2w852e.js} +6 -6
  68. package/dist/chunks/{file-retention-m3jsamem.js → plugin-5q82qb79.js} +22 -22
  69. package/dist/chunks/{file-retention-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{file-retention-p37cw4rj.js → plugin-5yzzbxa7.js} +8 -8
  71. package/dist/chunks/{file-retention-7dd7hteq.js → plugin-61rwkfw7.js} +13 -13
  72. package/dist/chunks/{file-retention-nnzbwe1c.js → plugin-62kmmg0k.js} +3 -3
  73. package/dist/chunks/{file-retention-669tq793.js → plugin-669tq793.js} +1 -1
  74. package/dist/chunks/{file-retention-87ec1t8q.js → plugin-68vrpgj2.js} +29 -29
  75. package/dist/chunks/{file-retention-awyx35h1.js → plugin-69hdsgk8.js} +32 -32
  76. package/dist/chunks/{file-retention-54rek375.js → plugin-69mqpp93.js} +20 -20
  77. package/dist/chunks/{file-retention-tn2h520a.js → plugin-6arwdhpr.js} +30 -30
  78. package/dist/chunks/{file-retention-v0es1rhs.js → plugin-6g7e4dd5.js} +7 -7
  79. package/dist/chunks/{file-retention-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{file-retention-6zjj7zaj.js → plugin-6zy4stt8.js} +7 -7
  81. package/dist/chunks/{file-retention-71az546q.js → plugin-71az546q.js} +2 -2
  82. package/dist/chunks/{file-retention-yeg9yvqq.js → plugin-76g71pff.js} +48 -48
  83. package/dist/chunks/{file-retention-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{file-retention-0e92md3a.js → plugin-7qgmcsxr.js} +23 -23
  85. package/dist/chunks/{file-retention-gy0h6dkp.js → plugin-7raxn3d9.js} +13 -13
  86. package/dist/chunks/{file-retention-eq1mg9hk.js → plugin-7t4975xj.js} +5 -5
  87. package/dist/chunks/{file-retention-tbe4vfsv.js → plugin-7y3n75t2.js} +8 -8
  88. package/dist/chunks/{file-retention-915xkp7h.js → plugin-81vaem42.js} +11 -11
  89. package/dist/chunks/{file-retention-xkepe22y.js → plugin-84fx5zbw.js} +15 -15
  90. package/dist/chunks/{file-retention-84txncab.js → plugin-84txncab.js} +1 -1
  91. package/dist/chunks/{file-retention-v8b0935d.js → plugin-8c8v92hd.js} +15 -15
  92. package/dist/chunks/{file-retention-f4ea6fbw.js → plugin-8cqakzrt.js} +16 -16
  93. package/dist/chunks/{file-retention-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{file-retention-2r2pg6z6.js → plugin-8dsxej7q.js} +5 -5
  95. package/dist/chunks/{file-retention-mvns82mh.js → plugin-8etvpd78.js} +1 -1
  96. package/dist/chunks/{file-retention-3397p42w.js → plugin-8mq6ch7h.js} +16 -16
  97. package/dist/chunks/{file-retention-enqpvmpb.js → plugin-8q4vwcbd.js} +33 -33
  98. package/dist/chunks/{file-retention-c27esgm9.js → plugin-8s4zq5p9.js} +8 -8
  99. package/dist/chunks/{file-retention-py3kkmfq.js → plugin-8sze2n9a.js} +6 -6
  100. package/dist/chunks/{file-retention-7prahzjg.js → plugin-90wqxygs.js} +11 -11
  101. package/dist/chunks/{file-retention-zp1mrdgp.js → plugin-947pvy6h.js} +3 -3
  102. package/dist/chunks/{file-retention-3wga580s.js → plugin-9c1yxwsv.js} +13 -13
  103. package/dist/chunks/{file-retention-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
  104. package/dist/chunks/{file-retention-m2wjhmzf.js → plugin-9jww82ap.js} +87 -87
  105. package/dist/chunks/{file-retention-96xkdgy7.js → plugin-9przwesc.js} +35 -35
  106. package/dist/chunks/{file-retention-2n1dscnb.js → plugin-9s85hpde.js} +3 -3
  107. package/dist/chunks/{file-retention-f7vbsmz3.js → plugin-9szwjyee.js} +8 -8
  108. package/dist/chunks/{file-retention-1ncsypj2.js → plugin-9tnt1thx.js} +15 -15
  109. package/dist/chunks/{file-retention-v7z2bvyd.js → plugin-a3c7ahw6.js} +4 -4
  110. package/dist/chunks/{file-retention-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-retention-7t7jzkqc.js → plugin-acqz3eas.js} +21 -21
  112. package/dist/chunks/{file-retention-7gmg37r4.js → plugin-afc78eap.js} +8 -8
  113. package/dist/chunks/{file-retention-sxsav6rz.js → plugin-agw9xp4d.js} +18 -18
  114. package/dist/chunks/{file-retention-krk958qj.js → plugin-ak7e9zsb.js} +38 -38
  115. package/dist/chunks/{file-retention-ea4zmnh0.js → plugin-aphb00ew.js} +2 -2
  116. package/dist/chunks/{file-retention-5n3c8dqy.js → plugin-aqs4ydsz.js} +26 -26
  117. package/dist/chunks/{file-retention-w3x9v1nk.js → plugin-aryyw1nk.js} +8 -8
  118. package/dist/chunks/{file-retention-q58edvkc.js → plugin-ay3mx084.js} +11 -11
  119. package/dist/chunks/{file-retention-fm2qvscf.js → plugin-b27vhd2z.js} +4 -4
  120. package/dist/chunks/{file-retention-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{file-retention-8sngbae2.js → plugin-b7fettsd.js} +4 -4
  122. package/dist/chunks/{file-retention-gdzm1g2q.js → plugin-bxq680aw.js} +39 -39
  123. package/dist/chunks/plugin-by5v678g.js +18 -0
  124. package/dist/chunks/{file-retention-0vjy9swk.js → plugin-c1gr2zd3.js} +3 -3
  125. package/dist/chunks/{file-retention-r2qmqz0p.js → plugin-c1vsqjm1.js} +38 -38
  126. package/dist/chunks/{file-retention-5mra6jzn.js → plugin-c7jwjaks.js} +22 -22
  127. package/dist/chunks/{file-retention-cdy3mprf.js → plugin-cepe0qf7.js} +44 -44
  128. package/dist/chunks/{file-retention-kzgjq6s9.js → plugin-cfz5gkc0.js} +8 -8
  129. package/dist/chunks/{file-retention-cpneeje0.js → plugin-cpneeje0.js} +2 -2
  130. package/dist/chunks/{file-retention-wp6kzx6e.js → plugin-cwwytgmc.js} +4 -4
  131. package/dist/chunks/{file-retention-wzxmb50y.js → plugin-d10hb995.js} +25 -25
  132. package/dist/chunks/{file-retention-7gvnq27t.js → plugin-da0rp3w3.js} +7 -7
  133. package/dist/chunks/{file-retention-50gqarwy.js → plugin-djz46489.js} +13 -13
  134. package/dist/chunks/{file-retention-qp9vg2jq.js → plugin-drnf6xwf.js} +2 -2
  135. package/dist/chunks/{file-retention-mfzhreb2.js → plugin-ds421k4t.js} +11 -11
  136. package/dist/chunks/{file-retention-41f99y6m.js → plugin-dx92dk9v.js} +11 -11
  137. package/dist/chunks/{file-retention-p686mhj9.js → plugin-dyrgthp5.js} +22 -22
  138. package/dist/chunks/{file-retention-x953gtjm.js → plugin-e4g6rnfs.js} +7 -7
  139. package/dist/chunks/{file-retention-ztrfc8bt.js → plugin-e5nrtag5.js} +28 -28
  140. package/dist/chunks/{file-retention-mewprhs7.js → plugin-e6tayz2r.js} +49 -49
  141. package/dist/chunks/{file-retention-4cq6ekdq.js → plugin-e9txt9vy.js} +5 -5
  142. package/dist/chunks/{file-retention-2k71kv7p.js → plugin-eahhehpg.js} +4 -4
  143. package/dist/chunks/{file-retention-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{file-retention-1szktn86.js → plugin-ef7p9trg.js} +9 -9
  145. package/dist/chunks/{file-retention-eq1pz5kg.js → plugin-eq1pz5kg.js} +1 -1
  146. package/dist/chunks/{file-retention-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{file-retention-fxtr5mc8.js → plugin-ext61gvm.js} +15 -15
  148. package/dist/chunks/{file-retention-c1cwwd8w.js → plugin-f8147smy.js} +5 -5
  149. package/dist/chunks/{file-retention-x9ehtewq.js → plugin-fdf2r7px.js} +25 -25
  150. package/dist/chunks/{file-retention-mvjs53cw.js → plugin-fnwaevmq.js} +36 -36
  151. package/dist/chunks/{file-retention-2wz3v08k.js → plugin-fq3v9e4w.js} +22 -22
  152. package/dist/chunks/{file-retention-1wqgvv8c.js → plugin-fwdyap71.js} +8 -8
  153. package/dist/chunks/{file-retention-319s4164.js → plugin-fz79dkc7.js} +8 -8
  154. package/dist/chunks/plugin-g93t3hq1.js +26 -0
  155. package/dist/chunks/{file-retention-ezg6p8me.js → plugin-gahzhxn8.js} +23 -23
  156. package/dist/chunks/{file-retention-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-retention-ajjrsc3c.js → plugin-gfwqja43.js} +5 -5
  158. package/dist/chunks/{file-retention-h2b79v29.js → plugin-h2b79v29.js} +2 -2
  159. package/dist/chunks/{file-retention-9b9xphtx.js → plugin-h4cyradc.js} +12 -12
  160. package/dist/chunks/{file-retention-h5w29vws.js → plugin-h5w29vws.js} +1 -1
  161. package/dist/chunks/{file-retention-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{file-retention-p78wsmvm.js → plugin-h8ft0m90.js} +14 -14
  163. package/dist/chunks/plugin-h92akkf0.js +253 -0
  164. package/dist/chunks/{file-retention-1mxdpm3z.js → plugin-hahjxtze.js} +10 -10
  165. package/dist/chunks/{file-retention-7ryscgg3.js → plugin-hcd320rf.js} +3 -3
  166. package/dist/chunks/plugin-hqe3s9vz.js +507 -0
  167. package/dist/chunks/{file-retention-4wsngk0e.js → plugin-hz0mzm96.js} +57 -57
  168. package/dist/chunks/{file-retention-z8fkwh97.js → plugin-j2zjmsnh.js} +6 -6
  169. package/dist/chunks/{file-retention-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  170. package/dist/chunks/{file-retention-kc9s2bvd.js → plugin-j730n9rv.js} +22 -22
  171. package/dist/chunks/{file-retention-f3fpyva3.js → plugin-jav2p7n3.js} +3 -3
  172. package/dist/chunks/{file-retention-veyd67p8.js → plugin-jgj04qff.js} +11 -11
  173. package/dist/chunks/{file-retention-x5n5s6zj.js → plugin-js9gsb9m.js} +16 -16
  174. package/dist/chunks/{file-retention-g8h4s9py.js → plugin-k0r5d45h.js} +5 -5
  175. package/dist/chunks/{file-retention-y65z2yc1.js → plugin-k618byr3.js} +17 -17
  176. package/dist/chunks/{file-retention-k70p9jzb.js → plugin-k70p9jzb.js} +2 -2
  177. package/dist/chunks/{file-retention-697fm79x.js → plugin-kb6vbnxp.js} +4 -4
  178. package/dist/chunks/{file-retention-e053pdg9.js → plugin-kem2dng2.js} +33 -33
  179. package/dist/chunks/{file-retention-t80nve53.js → plugin-khhk3gee.js} +9 -9
  180. package/dist/chunks/{file-retention-vazhwx36.js → plugin-kjdm35cs.js} +5 -5
  181. package/dist/chunks/{file-retention-wv99ph99.js → plugin-kk5na4ms.js} +3 -3
  182. package/dist/chunks/{file-retention-z9jgckgc.js → plugin-kqzb879x.js} +25 -25
  183. package/dist/chunks/{file-retention-ma0f636y.js → plugin-ksr3qje0.js} +14 -9
  184. package/dist/chunks/{file-retention-a1095nc3.js → plugin-ktyrkyt5.js} +13 -13
  185. package/dist/chunks/{file-retention-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-retention-y45w4r2r.js → plugin-m4wv7hmr.js} +16 -16
  187. package/dist/chunks/{file-retention-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{file-retention-9gvqmzxk.js → plugin-mccvx0ph.js} +10 -10
  189. package/dist/chunks/{file-retention-qqrjxc2w.js → plugin-mdvte9fh.js} +12 -12
  190. package/dist/chunks/{file-retention-krg3ta3s.js → plugin-mk89bcdm.js} +10 -10
  191. package/dist/chunks/{file-retention-fk670htj.js → plugin-mmq86yx8.js} +24 -24
  192. package/dist/chunks/{file-retention-5epte933.js → plugin-my4zabxr.js} +2 -2
  193. package/dist/chunks/{file-retention-57errdhv.js → plugin-n11bbmz5.js} +4 -4
  194. package/dist/chunks/{file-retention-n9k80d2m.js → plugin-nj1j17x6.js} +8 -8
  195. package/dist/chunks/{file-retention-qwrqq5be.js → plugin-nnjbqqpn.js} +10 -10
  196. package/dist/chunks/{file-retention-vw1pxqrh.js → plugin-nqa2gsff.js} +11 -11
  197. package/dist/chunks/{file-retention-dpkg50ah.js → plugin-nxm207yx.js} +4 -4
  198. package/dist/chunks/{file-retention-zfaa1m6t.js → plugin-nxnchq8r.js} +14 -14
  199. package/dist/chunks/{file-retention-pm9geeax.js → plugin-nzh5psd4.js} +9 -9
  200. package/dist/chunks/{file-retention-ypbz4tzh.js → plugin-pcfe7wwq.js} +5 -5
  201. package/dist/chunks/{file-retention-stsn5t8w.js → plugin-pfpr1sg6.js} +13 -13
  202. package/dist/chunks/{file-retention-wgka6yms.js → plugin-pfybfzrt.js} +19 -19
  203. package/dist/chunks/{file-retention-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{file-retention-pknna89w.js → plugin-pknna89w.js} +1 -1
  205. package/dist/chunks/{file-retention-y15vpdnr.js → plugin-pnkbpv6t.js} +9 -9
  206. package/dist/chunks/{file-retention-rat4bpn3.js → plugin-q41hpyd6.js} +29 -29
  207. package/dist/chunks/{file-retention-pd3frt8f.js → plugin-q5fbr5p5.js} +5 -5
  208. package/dist/chunks/{file-retention-33166y9b.js → plugin-q9nhy42k.js} +31 -31
  209. package/dist/chunks/{file-retention-2nxxjbx2.js → plugin-qce0q5sw.js} +8 -8
  210. package/dist/chunks/{file-retention-fhz5gfgy.js → plugin-qdbakdjh.js} +5 -5
  211. package/dist/chunks/{file-retention-t785n9z2.js → plugin-qj2xshqj.js} +30 -30
  212. package/dist/chunks/{file-retention-zy3hk2a4.js → plugin-qj750ez4.js} +4 -4
  213. package/dist/chunks/{file-retention-pvb1tgyf.js → plugin-qkn17avs.js} +9 -9
  214. package/dist/chunks/{file-retention-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{file-retention-zmr78fwr.js → plugin-qne3fa44.js} +5 -5
  216. package/dist/chunks/{file-retention-b1jpbdrv.js → plugin-qq2xhrb8.js} +41 -41
  217. package/dist/chunks/{file-retention-2m8jawch.js → plugin-qr25pfvb.js} +4 -4
  218. package/dist/chunks/{file-retention-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  219. package/dist/chunks/{file-retention-xyafkbt0.js → plugin-qxjc9qry.js} +3 -3
  220. package/dist/chunks/{file-retention-qygbw77c.js → plugin-qygbw77c.js} +2 -2
  221. package/dist/chunks/{file-retention-ax0xj8rw.js → plugin-r9f8m4wv.js} +14 -14
  222. package/dist/chunks/{file-retention-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{file-retention-mw1bpke0.js → plugin-rk6z8b2s.js} +33 -33
  224. package/dist/chunks/{file-retention-5ykye0sw.js → plugin-s607qcgc.js} +24 -24
  225. package/dist/chunks/{file-retention-ngzfrjhk.js → plugin-sqhwqkv8.js} +18 -18
  226. package/dist/chunks/{file-retention-848ay80d.js → plugin-sr4k8heh.js} +7 -7
  227. package/dist/chunks/{file-retention-13wr99d4.js → plugin-svf1j9mj.js} +16 -16
  228. package/dist/chunks/{file-retention-hg0myvjy.js → plugin-sw2ky0ak.js} +22 -22
  229. package/dist/chunks/{file-retention-sd5f6jdk.js → plugin-sxzvkvgj.js} +6 -6
  230. package/dist/chunks/{file-retention-hzwpgbhq.js → plugin-t01ewf6t.js} +11 -11
  231. package/dist/chunks/{file-retention-a1dpt3w1.js → plugin-t03g005h.js} +8 -8
  232. package/dist/chunks/{file-retention-t550f9t1.js → plugin-t550f9t1.js} +1 -1
  233. package/dist/chunks/{file-retention-qq827dyh.js → plugin-t5n9kkmz.js} +6 -6
  234. package/dist/chunks/{file-retention-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{file-retention-9hb60gjr.js → plugin-tc91rda6.js} +9 -9
  236. package/dist/chunks/{file-retention-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-retention-tdstcens.js → plugin-tdstcens.js} +1 -1
  238. package/dist/chunks/{file-retention-ymkva6fh.js → plugin-tefzd8kx.js} +28 -28
  239. package/dist/chunks/{file-retention-v5xqqhk9.js → plugin-ty9x2hpf.js} +19 -19
  240. package/dist/chunks/{file-retention-6z3bvhcz.js → plugin-v9b8r7m3.js} +12 -12
  241. package/dist/chunks/{file-retention-kzxyyqqs.js → plugin-v9gryrmc.js} +76 -76
  242. package/dist/chunks/{file-retention-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  243. package/dist/chunks/{file-retention-e3dcjyq4.js → plugin-vvr3dw31.js} +10 -10
  244. package/dist/chunks/{file-retention-xpj445q7.js → plugin-vx4r8km3.js} +28 -28
  245. package/dist/chunks/{file-retention-9jgrbctr.js → plugin-vynkv33f.js} +13 -13
  246. package/dist/chunks/{file-retention-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{file-retention-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{file-retention-yrd2sane.js → plugin-w05x0cfw.js} +6 -6
  249. package/dist/chunks/{file-retention-dy8qh9xy.js → plugin-w1ad28wa.js} +5 -5
  250. package/dist/chunks/{file-retention-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-retention-t0v7bfqb.js → plugin-w7m571bh.js} +32 -32
  252. package/dist/chunks/{file-retention-ttgz6xng.js → plugin-w808e159.js} +18 -18
  253. package/dist/chunks/{file-retention-wd87259q.js → plugin-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-retention-5ae5pymj.js → plugin-wp1hpspq.js} +6 -6
  255. package/dist/chunks/{file-retention-addxnjmp.js → plugin-x661k3y3.js} +4 -4
  256. package/dist/chunks/{file-retention-k11a9bb6.js → plugin-x88jpnpr.js} +21 -21
  257. package/dist/chunks/{file-retention-xfkkasph.js → plugin-xfkkasph.js} +1 -1
  258. package/dist/chunks/{file-retention-dmqcgk4z.js → plugin-xkntkrq7.js} +5 -5
  259. package/dist/chunks/{file-retention-95833ddw.js → plugin-xkt82cda.js} +21 -21
  260. package/dist/chunks/{file-retention-zmphxn8h.js → plugin-xqsx1vwf.js} +31 -31
  261. package/dist/chunks/{file-retention-27yxxq2c.js → plugin-xt0fd68y.js} +13 -13
  262. package/dist/chunks/{file-retention-xeng5h15.js → plugin-xw9z83sh.js} +55 -55
  263. package/dist/chunks/{file-retention-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{file-retention-jnx78pdv.js → plugin-y630p9sc.js} +23 -23
  265. package/dist/chunks/{file-retention-rxgdtc18.js → plugin-y7nnagj6.js} +30 -30
  266. package/dist/chunks/{file-retention-amxv2bkz.js → plugin-ydkmjtsm.js} +11 -11
  267. package/dist/chunks/{file-retention-1k9vww9s.js → plugin-ydrgdh5s.js} +21 -21
  268. package/dist/chunks/{file-retention-xesmd8aj.js → plugin-yfh8cgan.js} +9 -9
  269. package/dist/chunks/{file-retention-hjqkwgk2.js → plugin-ygkw9vpb.js} +14 -14
  270. package/dist/chunks/{file-retention-1acjjqhc.js → plugin-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{file-retention-prq7hedt.js → plugin-yr715y08.js} +9 -9
  272. package/dist/chunks/{file-retention-xf1w3e7t.js → plugin-yrh23yf8.js} +15 -15
  273. package/dist/chunks/{file-retention-a9j2r79z.js → plugin-yrqbh8b0.js} +20 -20
  274. package/dist/chunks/{file-retention-2v1t43t7.js → plugin-yt1qgzdm.js} +10 -10
  275. package/dist/chunks/{file-retention-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-retention-mek16e5d.js → plugin-z4ev155g.js} +11 -11
  277. package/dist/chunks/{file-retention-qh5zdhhs.js → plugin-z5rqpkns.js} +35 -35
  278. package/dist/chunks/{file-retention-732xvhct.js → plugin-zdpsxmh8.js} +38 -38
  279. package/dist/chunks/{file-retention-6efb5sa0.js → plugin-zg6rd06s.js} +11 -11
  280. package/dist/chunks/{file-retention-z2yservp.js → plugin-znfvst1a.js} +3 -3
  281. package/dist/chunks/{file-retention-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{file-retention-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{file-retention-vgmzs5ge.js → plugin-zz5k72w4.js} +20 -20
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +132 -132
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +100 -100
  422. package/dist/form.js +74 -74
  423. package/dist/formatter/builtins.js +2 -2
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +83 -83
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +71 -71
  458. package/dist/location-activity.js +132 -132
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +125 -125
  467. package/dist/mcp/oauth.js +92 -87
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +96 -96
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +100 -100
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +91 -91
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +95 -95
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +95 -95
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +79 -79
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +151 -151
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +215 -215
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +222 -222
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +209 -209
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1238 -682
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +114 -114
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/types/mcp/oauth.d.ts +1 -10
  648. package/dist/types/shell/scan.d.ts +2 -1
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +74 -74
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/file-retention-esnfnt1j.js +0 -507
  683. package/dist/chunks/file-retention-pf31ssb9.js +0 -18
  684. package/dist/chunks/file-retention-t8fqbehz.js +0 -253
  685. package/dist/chunks/file-retention-yyn9wyjq.js +0 -26
  686. /package/dist/chunks/{file-retention-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{file-retention-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{file-retention-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{file-retention-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{file-retention-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{file-retention-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{file-retention-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{file-retention-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{file-retention-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{file-retention-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{file-retention-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{file-retention-3asan66x.js → plugin-3asan66x.js} +0 -0
  698. /package/dist/chunks/{file-retention-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{file-retention-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-retention-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-retention-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-retention-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-retention-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-retention-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-retention-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-retention-53557ph1.js → plugin-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-retention-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-retention-6prwharc.js → plugin-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-retention-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-retention-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-retention-822emrt2.js → plugin-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-retention-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-retention-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-retention-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-retention-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-retention-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-retention-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-retention-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-retention-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-retention-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-retention-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-retention-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-retention-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-retention-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-retention-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-retention-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-retention-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-retention-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-retention-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-retention-df08tz66.js → plugin-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-retention-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-retention-e3qxr5gk.js → plugin-e3qxr5gk.js} +0 -0
  733. /package/dist/chunks/{file-retention-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-retention-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-retention-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-retention-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-retention-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-retention-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-retention-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-retention-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-retention-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-retention-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-retention-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-retention-g86h250q.js → plugin-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-retention-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-retention-gftt206x.js → plugin-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-retention-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{file-retention-hk9envan.js → plugin-hk9envan.js} +0 -0
  749. /package/dist/chunks/{file-retention-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-retention-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-retention-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{file-retention-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-retention-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-retention-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-retention-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-retention-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-retention-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-retention-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-retention-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-retention-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-retention-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-retention-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-retention-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-retention-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-retention-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{file-retention-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-retention-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-retention-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-retention-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-retention-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{file-retention-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{file-retention-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-retention-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-retention-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-retention-x61499pn.js → plugin-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-retention-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-retention-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-retention-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{file-retention-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{file-retention-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{file-retention-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{file-retention-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./file-retention-5daktx2q.js";
3
+ } from "./plugin-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-retention-z5v4ffb3.js";
6
+ } from "./plugin-z5v4ffb3.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2
10
- } from "./file-retention-ymkva6fh.js";
10
+ } from "./plugin-tefzd8kx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./plugin-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID5.make(id),
65
+ id: ID6.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-retention-5t3nmthw.js";
3
+ } from "./plugin-5t3nmthw.js";
4
4
  import {
5
- Service68,
6
- node72
7
- } from "./file-retention-732xvhct.js";
5
+ Service49,
6
+ node51
7
+ } from "./plugin-zdpsxmh8.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./plugin-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service67,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer21,
20
- node: () => node71
17
+ Service: () => Service48,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer17,
20
+ node: () => node50
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service67 extends Context.Service()("@opencode/Generate") {
37
+ class Service48 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer21 = Layer.effect(Service67, Effect.gen(function* () {
39
+ var layer17 = Layer.effect(Service48, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service68;
41
+ const resolver = yield* Service49;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer21 = Layer.effect(Service67, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer21 = Layer.effect(Service67, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError3({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError2({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service67.of({ text });
71
+ return Service48.of({ text });
72
72
  }));
73
- var node71 = makeLocationNode({
74
- service: Service67,
75
- layer: layer21,
76
- deps: [node72, llmClient2]
73
+ var node50 = makeLocationNode({
74
+ service: Service48,
75
+ layer: layer17,
76
+ deps: [node51, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service67, layer21, node71, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError2, Service48, layer17, node50, exports_generate2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./file-retention-95833ddw.js";
2
+ ID12
3
+ } from "./plugin-xkt82cda.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID13.make(id);
27
+ const providerID = ID12.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82,
3
- node86
4
- } from "./file-retention-rnyw8s47.js";
3
+ node85
4
+ } from "./plugin-39sy8z68.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./plugin-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,7 +12,7 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
@@ -22,7 +22,7 @@ __export(exports_form, {
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service77,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
@@ -33,7 +33,7 @@ __export(exports_form, {
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID15 = Form.ID;
39
39
  var Info25 = Form.Info;
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service77 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service77, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
85
85
  const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service77.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node86] });
167
+ var node81 = makeLocationNode({ service: Service78, layer: layer25, deps: [node85] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node81, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./file-retention-mvjs53cw.js";
2
+ Service80,
3
+ node83
4
+ } from "./plugin-fnwaevmq.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./plugin-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info27,
12
+ Info: () => Info26,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service80,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node82,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service80 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service80, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
- const project = yield* Service81;
26
+ var node82 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service80.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service80,
38
+ service: Service79,
39
39
  layer: layer(ref),
40
- deps: [node85]
40
+ deps: [node83]
41
41
  });
42
42
 
43
- export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
43
+ export { Info26, Ref4, response2, Service79, node82, boundNode2, exports_location };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./file-retention-b1jpbdrv.js";
3
+ } from "./plugin-qq2xhrb8.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./plugin-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin11
12
+ Plugin: () => Plugin14
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin11 = define({
32
+ var Plugin14 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin11, exports_plan };
109
+ export { Plugin14, exports_plan };
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make19,
5
5
  diffByKey2
6
- } from "./file-retention-t550f9t1.js";
6
+ } from "./plugin-t550f9t1.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2,
10
- available3,
11
- Service41,
12
- node44
13
- } from "./file-retention-ymkva6fh.js";
10
+ available2,
11
+ Service53,
12
+ node55
13
+ } from "./plugin-tefzd8kx.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./plugin-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions5 = {};
20
20
  __export(exports_instructions5, {
21
- Service: () => Service37,
21
+ Service: () => Service36,
22
22
  SkillInstructions: () => exports_instructions5,
23
- node: () => node40
23
+ node: () => node39
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,13 +60,13 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service37 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service36 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service37, Effect.gen(function* () {
66
- const skills = yield* Service41;
67
- return Service37.of({
65
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
66
+ const skills = yield* Service53;
67
+ return Service36.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- 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));
69
+ const available = available2(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));
70
70
  return make19({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node40 = makeLocationNode({ service: Service37, layer, deps: [node44] });
83
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [node55] });
84
84
 
85
- export { Service37, node40, exports_instructions5 };
85
+ export { Service36, node39, exports_instructions5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./plugin-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./plugin-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin22,
11
+ Plugin: () => Plugin45,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin22 = {
67
+ var Plugin45 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin22 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin22, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin45, exports_opencode };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-retention-2a5m3afh.js";
5
+ } from "./plugin-2a5m3afh.js";
6
6
  import {
7
- Service80
8
- } from "./file-retention-x5n5s6zj.js";
7
+ Service79
8
+ } from "./plugin-js9gsb9m.js";
9
9
  import {
10
- Service46
11
- } from "./file-retention-rxwegcwa.js";
10
+ Service64
11
+ } from "./plugin-4bcaa4pk.js";
12
12
  import {
13
- Service23
14
- } from "./file-retention-2cmv4prx.js";
13
+ Service21
14
+ } from "./plugin-2p0jthwz.js";
15
15
  import {
16
- Service21,
16
+ Service14,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-retention-7dd7hteq.js";
19
+ } from "./plugin-61rwkfw7.js";
20
20
  import {
21
- Service56
22
- } from "./file-retention-b1jpbdrv.js";
21
+ Service54
22
+ } from "./plugin-qq2xhrb8.js";
23
23
  import {
24
- Service13,
24
+ Service19,
25
25
  resolvePath2
26
- } from "./file-retention-3fdy5e26.js";
26
+ } from "./plugin-04d3ggy7.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./file-retention-6prwharc.js";
29
+ } from "./plugin-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./file-retention-9rqn6x4v.js";
32
+ } from "./plugin-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input5,
38
+ Input: () => Input6,
39
39
  Output: () => Output4,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin21,
42
- name: () => name5,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin41,
42
+ name: () => name6,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name5 = "patch";
89
- var Input5 = Schema.Struct({
88
+ var name6 = "patch";
89
+ var Input6 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -100,25 +100,25 @@ var Output4 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin21 = {
108
+ var Plugin41 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service46;
112
- const access = yield* Service13;
113
- const fileMutation = yield* Service21;
114
- const formatter = yield* Service23;
115
- const location = yield* Service80;
116
- const permission = yield* Service56;
111
+ const environment = yield* Service64;
112
+ const access = yield* Service19;
113
+ const fileMutation = yield* Service14;
114
+ const formatter = yield* Service21;
115
+ const location = yield* Service79;
116
+ const permission = yield* Service54;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name5,
118
+ name: name6,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input5,
121
+ input: Input6,
122
122
  output: Output4,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
@@ -266,7 +266,7 @@ var Plugin21 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name5, Input5, Applied2, Output4, toModelContent4, Plugin21, exports_patch };
329
+ export { name6, Input6, Applied2, Output4, toModelContent3, Plugin41, exports_patch };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-7gmg37r4.js";
3
+ } from "./plugin-afc78eap.js";
4
4
  import {
5
5
  call2
6
- } from "./file-retention-1ygqh575.js";
6
+ } from "./plugin-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin8,
14
+ Plugin: () => Plugin2,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint2 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin8 = define({
36
+ var Plugin2 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin8 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin8 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint4, Plugin8, exports_tinyfish };
76
+ export { endpoint2, Plugin2, exports_tinyfish };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./plugin-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./plugin-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info20,
12
+ Info: () => Info15,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info20 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info20, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./file-retention-gr0k9txt.js";
3
+ } from "./plugin-5p2w852e.js";
4
4
  import {
5
5
  apply3
6
- } from "./file-retention-2n1dscnb.js";
6
+ } from "./plugin-9s85hpde.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};