@opencode/core 0.0.0-dev-20401 → 0.0.0-dev-20402

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 (800) 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 +3 -3
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{wellknown-1ap25sbt.js → file-retention-07ehc897.js} +21 -21
  8. package/dist/chunks/{wellknown-h2h81cz1.js → file-retention-07v38qck.js} +16 -16
  9. package/dist/chunks/{wellknown-a6gmg8e2.js → file-retention-08cyycf1.js} +9 -9
  10. package/dist/chunks/{wellknown-q4mn6wkk.js → file-retention-0by5znvt.js} +6 -6
  11. package/dist/chunks/{wellknown-pqvx7e34.js → file-retention-0jy993ce.js} +32 -32
  12. package/dist/chunks/{wellknown-1a854nj1.js → file-retention-0kt9y2yg.js} +3 -3
  13. package/dist/chunks/{wellknown-ca3j46nd.js → file-retention-0mc7b5yt.js} +25 -25
  14. package/dist/chunks/{wellknown-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{wellknown-744r2be4.js → file-retention-0t1hj50p.js} +48 -48
  16. package/dist/chunks/{wellknown-wckr6wjf.js → file-retention-0tpv2kjk.js} +14 -14
  17. package/dist/chunks/{wellknown-tneh0x7b.js → file-retention-0y9112s8.js} +15 -15
  18. package/dist/chunks/{wellknown-z0gc4jcf.js → file-retention-0ydfd3tt.js} +11 -11
  19. package/dist/chunks/{wellknown-8hydgdhp.js → file-retention-16b29q1p.js} +6 -6
  20. package/dist/chunks/{wellknown-r8xr0va3.js → file-retention-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{wellknown-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{wellknown-b3s8px0x.js → file-retention-1h6fgt3y.js} +8 -8
  23. package/dist/chunks/{wellknown-wkh0553f.js → file-retention-1s8bbjk0.js} +22 -22
  24. package/dist/chunks/{wellknown-3zjyq5kp.js → file-retention-1tnfewyb.js} +11 -11
  25. package/dist/chunks/{wellknown-x70jfmtc.js → file-retention-1tp0pegs.js} +9 -9
  26. package/dist/chunks/{wellknown-zggzp6kd.js → file-retention-1v17rnrm.js} +32 -32
  27. package/dist/chunks/{wellknown-jhcj5yx9.js → file-retention-1vp4gevy.js} +14 -14
  28. package/dist/chunks/{wellknown-21r38tys.js → file-retention-21r38tys.js} +1 -1
  29. package/dist/chunks/{wellknown-zsmpz0g2.js → file-retention-23vhgpjn.js} +44 -44
  30. package/dist/chunks/{wellknown-k4tadaxs.js → file-retention-26wtd377.js} +15 -15
  31. package/dist/chunks/{wellknown-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{wellknown-c78bbtc9.js → file-retention-2f0bjgcj.js} +5 -5
  33. package/dist/chunks/{wellknown-1eh65fmh.js → file-retention-2q4jbtx6.js} +14 -14
  34. package/dist/chunks/{wellknown-adcm3a54.js → file-retention-2qr48v8r.js} +12 -12
  35. package/dist/chunks/{wellknown-4e8vs6eh.js → file-retention-30846h32.js} +8 -8
  36. package/dist/chunks/{wellknown-vjjxy6yb.js → file-retention-32ymn5e1.js} +3 -3
  37. package/dist/chunks/{wellknown-bqar0n6y.js → file-retention-382s30hz.js} +5 -5
  38. package/dist/chunks/{wellknown-sy8pvrsp.js → file-retention-3a9d28fc.js} +20 -20
  39. package/dist/chunks/{wellknown-dbf65cva.js → file-retention-3aw7vgta.js} +22 -22
  40. package/dist/chunks/{wellknown-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{wellknown-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{wellknown-ax139gcc.js → file-retention-3m0ax14b.js} +20 -20
  43. package/dist/chunks/{wellknown-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{wellknown-ns267dy3.js → file-retention-3t81ps34.js} +44 -44
  45. package/dist/chunks/{wellknown-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{wellknown-8jjxrpth.js → file-retention-3v25ja2b.js} +12 -12
  47. package/dist/chunks/{wellknown-kydcancx.js → file-retention-3wa3ckeq.js} +5 -5
  48. package/dist/chunks/{wellknown-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{wellknown-ff98bvnp.js → file-retention-4agzmtjj.js} +28 -28
  50. package/dist/chunks/{wellknown-4j4tgtq5.js → file-retention-4j4tgtq5.js} +1 -1
  51. package/dist/chunks/{wellknown-gx58f99x.js → file-retention-4kc82and.js} +13 -13
  52. package/dist/chunks/{wellknown-str9awg2.js → file-retention-4pk7p1z9.js} +23 -23
  53. package/dist/chunks/{wellknown-vp65ztdf.js → file-retention-4q7jz6f3.js} +42 -42
  54. package/dist/chunks/{wellknown-sfkbasvm.js → file-retention-4wct8n2q.js} +6 -6
  55. package/dist/chunks/{wellknown-vv07ew10.js → file-retention-4xykdr3j.js} +5 -5
  56. package/dist/chunks/{wellknown-1xp5crwf.js → file-retention-4ygabsyh.js} +33 -33
  57. package/dist/chunks/{wellknown-qn6tktv7.js → file-retention-5178wfd8.js} +30 -30
  58. package/dist/chunks/{wellknown-vsxynn42.js → file-retention-53ms7kcc.js} +33 -33
  59. package/dist/chunks/{wellknown-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  60. package/dist/chunks/{wellknown-damkmrvb.js → file-retention-555wn5z1.js} +21 -21
  61. package/dist/chunks/{wellknown-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
  62. package/dist/chunks/{wellknown-57ez7d0k.js → file-retention-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{wellknown-e6m8eg10.js → file-retention-5ar0959a.js} +11 -11
  64. package/dist/chunks/{wellknown-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  65. package/dist/chunks/{wellknown-hysx2fj2.js → file-retention-5hd43tkx.js} +30 -30
  66. package/dist/chunks/{wellknown-6yaj9rt4.js → file-retention-5sm82are.js} +6 -6
  67. package/dist/chunks/{wellknown-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{wellknown-y1gke2m2.js → file-retention-5xpznt2d.js} +4 -4
  69. package/dist/chunks/{wellknown-rybxqfgf.js → file-retention-5xychhr1.js} +31 -31
  70. package/dist/chunks/{wellknown-s595vrx0.js → file-retention-61wct4zt.js} +25 -24
  71. package/dist/chunks/{wellknown-669tq793.js → file-retention-669tq793.js} +1 -1
  72. package/dist/chunks/{wellknown-0w11ndwm.js → file-retention-68dcddmz.js} +8 -8
  73. package/dist/chunks/{wellknown-55kxqpgg.js → file-retention-6es9zfpy.js} +34 -34
  74. package/dist/chunks/{wellknown-qm0v3jhh.js → file-retention-6hh8tjw2.js} +7 -7
  75. package/dist/chunks/{wellknown-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{wellknown-xphsq29y.js → file-retention-6psg71na.js} +1 -1
  77. package/dist/chunks/{wellknown-k12yqhfe.js → file-retention-6r9q50nc.js} +17 -17
  78. package/dist/chunks/{wellknown-97qfe4sr.js → file-retention-6x3ncgzs.js} +48 -48
  79. package/dist/chunks/{wellknown-szbq6dpj.js → file-retention-70e78xk1.js} +2 -2
  80. package/dist/chunks/{wellknown-vn5vaeq1.js → file-retention-73880a7e.js} +9 -9
  81. package/dist/chunks/{wellknown-wpsrzqaa.js → file-retention-76tq4jpv.js} +51 -51
  82. package/dist/chunks/{wellknown-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{wellknown-qgn6gcr1.js → file-retention-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{wellknown-k3zp8qmd.js → file-retention-7q81yew2.js} +12 -12
  85. package/dist/chunks/{wellknown-rmp2r1td.js → file-retention-7qkbk131.js} +11 -11
  86. package/dist/chunks/{wellknown-jexxy024.js → file-retention-7w99qc9d.js} +3 -3
  87. package/dist/chunks/{wellknown-v359qcvd.js → file-retention-8142ayq4.js} +30 -30
  88. package/dist/chunks/{wellknown-84txncab.js → file-retention-84txncab.js} +1 -1
  89. package/dist/chunks/{wellknown-y4aaa54v.js → file-retention-8csa8wgg.js} +28 -28
  90. package/dist/chunks/{wellknown-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{wellknown-bsnpd98z.js → file-retention-8fm7fx0h.js} +1 -1
  92. package/dist/chunks/{wellknown-9534deet.js → file-retention-8g4srgx8.js} +30 -30
  93. package/dist/chunks/{wellknown-gebtr55s.js → file-retention-8ryk0bb9.js} +5 -5
  94. package/dist/chunks/{wellknown-py3kkmfq.js → file-retention-8sze2n9a.js} +6 -6
  95. package/dist/chunks/{wellknown-260gyq39.js → file-retention-8wshxwa8.js} +24 -24
  96. package/dist/chunks/{wellknown-whrrw1yc.js → file-retention-901fz9t0.js} +23 -23
  97. package/dist/chunks/{wellknown-css27r41.js → file-retention-914z0d4t.js} +5 -5
  98. package/dist/chunks/{wellknown-xjjqthj5.js → file-retention-92nsqna1.js} +1 -1
  99. package/dist/chunks/{wellknown-gfvb90ym.js → file-retention-94ek1h2f.js} +2 -2
  100. package/dist/chunks/{wellknown-x9zaehp5.js → file-retention-96kfm23h.js} +8 -8
  101. package/dist/chunks/{wellknown-tnvxdpm3.js → file-retention-9965yrjj.js} +12 -12
  102. package/dist/chunks/{wellknown-wj3fzgk4.js → file-retention-9cvt8pvp.js} +21 -21
  103. package/dist/chunks/{wellknown-wh176n5n.js → file-retention-9zmzhm3z.js} +12 -12
  104. package/dist/chunks/{wellknown-3hrymav8.js → file-retention-a2w2trrv.js} +29 -29
  105. package/dist/chunks/{wellknown-q58mka6k.js → file-retention-a7bcxdzj.js} +9 -9
  106. package/dist/chunks/{wellknown-aqyyhm0b.js → file-retention-a8ymkhm3.js} +15 -15
  107. package/dist/chunks/{wellknown-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  108. package/dist/chunks/{wellknown-ebxxptf3.js → file-retention-ae141jqd.js} +15 -15
  109. package/dist/chunks/{wellknown-0f9afca0.js → file-retention-af04s6ss.js} +5 -5
  110. package/dist/chunks/{wellknown-kf8xccby.js → file-retention-azw3908z.js} +18 -18
  111. package/dist/chunks/{wellknown-g1q8vb0g.js → file-retention-b0a6mgz0.js} +2 -2
  112. package/dist/chunks/{wellknown-tq61de9h.js → file-retention-b34228va.js} +23 -23
  113. package/dist/chunks/{wellknown-a8xwqxmq.js → file-retention-b6c8hgaq.js} +7 -7
  114. package/dist/chunks/{wellknown-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{wellknown-t9ew0xaf.js → file-retention-ba15hegp.js} +12 -12
  116. package/dist/chunks/{wellknown-4e0602pb.js → file-retention-bah76z4e.js} +14 -14
  117. package/dist/chunks/{wellknown-q07vqkz7.js → file-retention-bjc78pkx.js} +5 -5
  118. package/dist/chunks/{wellknown-5phqnecy.js → file-retention-bscb95cy.js} +9 -9
  119. package/dist/chunks/{wellknown-t4nchsx9.js → file-retention-bw7f9m3t.js} +22 -22
  120. package/dist/chunks/{wellknown-mwwxnxty.js → file-retention-c651xxjb.js} +4 -4
  121. package/dist/chunks/{wellknown-k74fhpa0.js → file-retention-car3yqh5.js} +4 -4
  122. package/dist/chunks/{wellknown-scn1m38n.js → file-retention-ccy2pgf3.js} +10 -10
  123. package/dist/chunks/{wellknown-wrvpnekj.js → file-retention-cgsggtpg.js} +89 -89
  124. package/dist/chunks/{wellknown-54tcyq79.js → file-retention-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{wellknown-aan7x28a.js → file-retention-cst1g9ty.js} +91 -91
  126. package/dist/chunks/{wellknown-henaaq5n.js → file-retention-cw1stz9h.js} +17 -17
  127. package/dist/chunks/{wellknown-ncqsayf8.js → file-retention-cx4jqw99.js} +1 -1
  128. package/dist/chunks/{wellknown-zvsfaaqm.js → file-retention-d0xdxexk.js} +32 -32
  129. package/dist/chunks/{wellknown-c765mh8b.js → file-retention-d4he2qe1.js} +9 -9
  130. package/dist/chunks/{wellknown-r7yf4sta.js → file-retention-d5grx31m.js} +9 -9
  131. package/dist/chunks/{wellknown-0v53mg2y.js → file-retention-dfe8djrf.js} +4 -4
  132. package/dist/chunks/{wellknown-sjn3sca5.js → file-retention-dhfqkfjw.js} +27 -27
  133. package/dist/chunks/{wellknown-nap4pwna.js → file-retention-dk1ph2hs.js} +9 -9
  134. package/dist/chunks/{wellknown-xkntkrq7.js → file-retention-dmqcgk4z.js} +5 -5
  135. package/dist/chunks/{wellknown-dnxkq42g.js → file-retention-dnxkq42g.js} +1 -1
  136. package/dist/chunks/{wellknown-e3farn9z.js → file-retention-e75wa3q3.js} +18 -18
  137. package/dist/chunks/{wellknown-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{wellknown-08f2t3aa.js → file-retention-efkdte57.js} +16 -16
  139. package/dist/chunks/{wellknown-b0wk2k2j.js → file-retention-en6tpsg7.js} +7 -7
  140. package/dist/chunks/{wellknown-eep4qv10.js → file-retention-enghkq7s.js} +33 -33
  141. package/dist/chunks/{wellknown-hwa5qdjj.js → file-retention-epdvd4ev.js} +2 -2
  142. package/dist/chunks/{wellknown-1s6gcy5s.js → file-retention-er0xdfmw.js} +43 -43
  143. package/dist/chunks/{wellknown-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{wellknown-n513yaqk.js → file-retention-exx9ekpx.js} +11 -11
  145. package/dist/chunks/{wellknown-rh7p7pce.js → file-retention-f1mm0mp4.js} +18 -18
  146. package/dist/chunks/{wellknown-z8jvdxfg.js → file-retention-f36tabf2.js} +6 -6
  147. package/dist/chunks/{wellknown-nngs6syj.js → file-retention-f3v49yrq.js} +11 -11
  148. package/dist/chunks/{wellknown-2k64ycz1.js → file-retention-f5gy8qwh.js} +8 -8
  149. package/dist/chunks/{wellknown-j594h3t6.js → file-retention-fnge4047.js} +4 -4
  150. package/dist/chunks/{wellknown-c8g3m7qr.js → file-retention-fpn03fpt.js} +20 -20
  151. package/dist/chunks/{wellknown-a2em79jn.js → file-retention-frt7t1he.js} +16 -16
  152. package/dist/chunks/{wellknown-y56ehv6b.js → file-retention-ftjf86m5.js} +2 -2
  153. package/dist/chunks/{wellknown-hsteyg0z.js → file-retention-g2jqna9d.js} +25 -25
  154. package/dist/chunks/{wellknown-rjyargxg.js → file-retention-g9jwfn6x.js} +11 -11
  155. package/dist/chunks/{wellknown-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{wellknown-q4pkjmzp.js → file-retention-gp2fw5da.js} +12 -12
  157. package/dist/chunks/{wellknown-kfr3jwev.js → file-retention-gqbx8pvk.js} +8 -8
  158. package/dist/chunks/{wellknown-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{wellknown-jzmza1h1.js → file-retention-gxjs0nkc.js} +28 -28
  160. package/dist/chunks/{wellknown-atm8t10z.js → file-retention-gztggq6p.js} +5 -5
  161. package/dist/chunks/{wellknown-xywe86jr.js → file-retention-h0ddtxn3.js} +67 -67
  162. package/dist/chunks/{wellknown-kbqjp078.js → file-retention-h4z1mxff.js} +5 -5
  163. package/dist/chunks/{wellknown-p73e7djm.js → file-retention-h67bwh8a.js} +33 -33
  164. package/dist/chunks/{wellknown-h6b02349.js → file-retention-h6b02349.js} +2 -2
  165. package/dist/chunks/{wellknown-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{wellknown-w21bzq9q.js → file-retention-h896pcm5.js} +6 -6
  167. package/dist/chunks/{wellknown-hd8vw2pw.js → file-retention-hd8vw2pw.js} +1 -1
  168. package/dist/chunks/{wellknown-4df3h35c.js → file-retention-hkw967g2.js} +11 -11
  169. package/dist/chunks/{wellknown-5r2av5gd.js → file-retention-hphkqdz5.js} +20 -20
  170. package/dist/chunks/{wellknown-hbgyr91g.js → file-retention-hv3sa1e0.js} +11 -11
  171. package/dist/chunks/{wellknown-e7vk2sgk.js → file-retention-hwhbafy2.js} +15 -15
  172. package/dist/chunks/{wellknown-d57jdqnp.js → file-retention-hyd4csjw.js} +9 -9
  173. package/dist/chunks/{wellknown-f6bdtgrs.js → file-retention-hyt73fgk.js} +19 -19
  174. package/dist/chunks/{wellknown-9qny7dd3.js → file-retention-hznfsya8.js} +22 -22
  175. package/dist/chunks/{wellknown-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  176. package/dist/chunks/{wellknown-0hrf2yhq.js → file-retention-j6c2djjz.js} +3 -3
  177. package/dist/chunks/{wellknown-w4mba9tq.js → file-retention-jdcs44sz.js} +15 -15
  178. package/dist/chunks/{wellknown-7a838fem.js → file-retention-jjctv81n.js} +18 -18
  179. package/dist/chunks/file-retention-jqh9b0xq.js +18 -0
  180. package/dist/chunks/{wellknown-1sa7dz1e.js → file-retention-jqryekp8.js} +12 -12
  181. package/dist/chunks/file-retention-js7f2ndc.js +507 -0
  182. package/dist/chunks/{wellknown-k3c624dm.js → file-retention-k3c624dm.js} +3 -3
  183. package/dist/chunks/{wellknown-71zbrv9g.js → file-retention-k9xjptez.js} +24 -24
  184. package/dist/chunks/{wellknown-akzntyag.js → file-retention-kbq17jxs.js} +17 -17
  185. package/dist/chunks/{wellknown-21t3v64e.js → file-retention-kd88yaz5.js} +36 -36
  186. package/dist/chunks/{wellknown-k25a84m3.js → file-retention-kjwwdp92.js} +28 -28
  187. package/dist/chunks/{wellknown-mj4mdxkv.js → file-retention-kkcecp2w.js} +27 -27
  188. package/dist/chunks/{wellknown-4bm5ja14.js → file-retention-kkp8zx71.js} +4 -4
  189. package/dist/chunks/{wellknown-5mp13bbv.js → file-retention-kp34pf0p.js} +9 -9
  190. package/dist/chunks/{wellknown-vach4kr4.js → file-retention-m12j2t06.js} +14 -14
  191. package/dist/chunks/{wellknown-nscznvay.js → file-retention-m2d0j7c0.js} +9 -9
  192. package/dist/chunks/{wellknown-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{wellknown-m58kmhef.js → file-retention-m58kmhef.js} +2 -2
  194. package/dist/chunks/{wellknown-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{wellknown-mjymc32g.js → file-retention-magykp64.js} +4 -4
  196. package/dist/chunks/{wellknown-dh75pk8w.js → file-retention-mm5kxf07.js} +8 -8
  197. package/dist/chunks/{wellknown-kg8gd9a1.js → file-retention-mt193r2g.js} +29 -29
  198. package/dist/chunks/{wellknown-kccjvgj9.js → file-retention-n3sb98w8.js} +25 -25
  199. package/dist/chunks/file-retention-n4ksp8v5.js +26 -0
  200. package/dist/chunks/{wellknown-dgeqw13h.js → file-retention-n7hfvk42.js} +1 -1
  201. package/dist/chunks/{wellknown-sf76q7np.js → file-retention-na8089pj.js} +8 -8
  202. package/dist/chunks/{wellknown-hs334ye3.js → file-retention-ndc9tmhz.js} +28 -28
  203. package/dist/chunks/{wellknown-a3r4dcrj.js → file-retention-nng2ktcm.js} +2 -2
  204. package/dist/chunks/{wellknown-1jgmt200.js → file-retention-nvymb3gw.js} +20 -20
  205. package/dist/chunks/{wellknown-dpkg50ah.js → file-retention-nxm207yx.js} +4 -4
  206. package/dist/chunks/{wellknown-0q1f136w.js → file-retention-nxy4r4q2.js} +46 -46
  207. package/dist/chunks/{wellknown-w4arg62q.js → file-retention-p0b4ytnr.js} +6 -6
  208. package/dist/chunks/{wellknown-hsed1dh0.js → file-retention-p4h43hm5.js} +9 -9
  209. package/dist/chunks/{wellknown-h4jx48xg.js → file-retention-p8g5gece.js} +10 -10
  210. package/dist/chunks/{wellknown-tdhe5xga.js → file-retention-pb1eahw5.js} +8 -8
  211. package/dist/chunks/{wellknown-v0kzg6mz.js → file-retention-pfvbrrxt.js} +13 -13
  212. package/dist/chunks/{wellknown-k1s1cxft.js → file-retention-pgk2xcsw.js} +58 -58
  213. package/dist/chunks/{wellknown-6h3wybc7.js → file-retention-phjaars8.js} +6 -6
  214. package/dist/chunks/{wellknown-br0tr5aq.js → file-retention-phstrbs2.js} +8 -8
  215. package/dist/chunks/{wellknown-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  216. package/dist/chunks/{wellknown-cq038mp1.js → file-retention-pkkyf0r9.js} +8 -8
  217. package/dist/chunks/{wellknown-pknna89w.js → file-retention-pknna89w.js} +1 -1
  218. package/dist/chunks/{wellknown-bv20hq7b.js → file-retention-psm6mvq2.js} +23 -23
  219. package/dist/chunks/{wellknown-g4fbrt4z.js → file-retention-ptg1zr2n.js} +5 -5
  220. package/dist/chunks/{wellknown-6kqa1629.js → file-retention-pvx6jnbt.js} +13 -13
  221. package/dist/chunks/file-retention-pwvtcxk6.js +252 -0
  222. package/dist/chunks/{wellknown-7q1q4j24.js → file-retention-pyhnah5r.js} +22 -22
  223. package/dist/chunks/{wellknown-z8qfc15h.js → file-retention-q4qpptcn.js} +23 -23
  224. package/dist/chunks/{wellknown-642recst.js → file-retention-qj12mzv5.js} +12 -12
  225. package/dist/chunks/{wellknown-eq23s0y6.js → file-retention-qn4ba14w.js} +5 -5
  226. package/dist/chunks/{wellknown-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  227. package/dist/chunks/{wellknown-rzs3gq0x.js → file-retention-qvb3nf84.js} +8 -8
  228. package/dist/chunks/{wellknown-r5x6zcsm.js → file-retention-r5x6zcsm.js} +1 -1
  229. package/dist/chunks/{wellknown-bfqjkbr4.js → file-retention-rd456c9t.js} +22 -22
  230. package/dist/chunks/{wellknown-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{wellknown-vys9s7rq.js → file-retention-rfkk6xr1.js} +18 -18
  232. package/dist/chunks/{wellknown-52my5p2r.js → file-retention-rjkh2wef.js} +3 -3
  233. package/dist/chunks/{wellknown-n5hqsxyz.js → file-retention-rjreqr61.js} +24 -24
  234. package/dist/chunks/{wellknown-67cr51g4.js → file-retention-rsper1ey.js} +23 -23
  235. package/dist/chunks/{wellknown-5747269g.js → file-retention-rsrs7t03.js} +4 -4
  236. package/dist/chunks/{wellknown-5bzm3rcx.js → file-retention-s16mhmbj.js} +4 -4
  237. package/dist/chunks/{wellknown-9t7a50xb.js → file-retention-s8d7rejh.js} +4 -4
  238. package/dist/chunks/{wellknown-q2vdjp2s.js → file-retention-t3kdfj5b.js} +9 -9
  239. package/dist/chunks/{wellknown-2bdw8h48.js → file-retention-t5nr2mq2.js} +13 -13
  240. package/dist/chunks/{wellknown-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{wellknown-t12g5egd.js → file-retention-tc5he9wg.js} +43 -43
  242. package/dist/chunks/{wellknown-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{wellknown-ax5feq3k.js → file-retention-tckasdr8.js} +18 -18
  244. package/dist/chunks/{wellknown-tdstcens.js → file-retention-tdstcens.js} +1 -1
  245. package/dist/chunks/{wellknown-t7cg42xb.js → file-retention-tjhbrvq4.js} +13 -13
  246. package/dist/chunks/{wellknown-zj9f3ba2.js → file-retention-tnnwyf4v.js} +13 -13
  247. package/dist/chunks/{wellknown-vc0vbezj.js → file-retention-tqqs58hf.js} +11 -11
  248. package/dist/chunks/{wellknown-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  249. package/dist/chunks/{wellknown-hvv902j1.js → file-retention-tzhaj3et.js} +16 -16
  250. package/dist/chunks/{wellknown-kcg2nfx1.js → file-retention-v1c9ckpm.js} +13 -13
  251. package/dist/chunks/{wellknown-6ebn15x8.js → file-retention-v2yybn63.js} +3 -3
  252. package/dist/chunks/{wellknown-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  253. package/dist/chunks/{wellknown-wt5vxt9k.js → file-retention-vyr41dye.js} +23 -23
  254. package/dist/chunks/{wellknown-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{wellknown-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{wellknown-bn97v1ss.js → file-retention-w1ym612x.js} +1 -1
  257. package/dist/chunks/{wellknown-c231s8ta.js → file-retention-w3bcvcpc.js} +10 -10
  258. package/dist/chunks/{wellknown-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{wellknown-psazpmmj.js → file-retention-wd3x2cqz.js} +2 -2
  260. package/dist/chunks/{wellknown-wd87259q.js → file-retention-wd87259q.js} +1 -1
  261. package/dist/chunks/{wellknown-4hzg1grx.js → file-retention-wgm89zzg.js} +6 -6
  262. package/dist/chunks/{wellknown-768rm808.js → file-retention-wvje6e6q.js} +18 -18
  263. package/dist/chunks/{wellknown-eqntm3rh.js → file-retention-wycphyd6.js} +29 -29
  264. package/dist/chunks/{wellknown-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{wellknown-npn1b5xx.js → file-retention-x2gkbbe6.js} +5 -5
  266. package/dist/chunks/{wellknown-sfe33gz0.js → file-retention-x2t18wqz.js} +8 -8
  267. package/dist/chunks/{wellknown-354df1dc.js → file-retention-x757zt7n.js} +24 -24
  268. package/dist/chunks/{wellknown-jbxd6gbx.js → file-retention-xf1sebn0.js} +11 -11
  269. package/dist/chunks/{wellknown-xfkkasph.js → file-retention-xfkkasph.js} +1 -1
  270. package/dist/chunks/{wellknown-f5xysmby.js → file-retention-xj3m6db3.js} +14 -14
  271. package/dist/chunks/{wellknown-dtq5dwqq.js → file-retention-y042j87z.js} +21 -21
  272. package/dist/chunks/{wellknown-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{wellknown-2x9aqbrw.js → file-retention-y3yyngt1.js} +12 -12
  274. package/dist/chunks/{wellknown-jpqeh2wc.js → file-retention-y5rf7nzv.js} +4 -4
  275. package/dist/chunks/{wellknown-a0gecma7.js → file-retention-ycgx5mwh.js} +14 -14
  276. package/dist/chunks/{wellknown-j02apccs.js → file-retention-yebp4zhw.js} +5 -5
  277. package/dist/chunks/{wellknown-2mqye2yj.js → file-retention-yktqjfap.js} +10 -10
  278. package/dist/chunks/{wellknown-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{wellknown-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
  280. package/dist/chunks/{wellknown-bjtzbw4r.js → file-retention-z07pqspn.js} +3 -3
  281. package/dist/chunks/{wellknown-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{wellknown-d7hrbx3g.js → file-retention-z1h4hzgz.js} +41 -41
  283. package/dist/chunks/{wellknown-h09p1vgn.js → file-retention-z5s5xvpn.js} +16 -16
  284. package/dist/chunks/{wellknown-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
  285. package/dist/chunks/{wellknown-21tvsb8b.js → file-retention-z8bdrrqs.js} +142 -142
  286. package/dist/chunks/{wellknown-kne8f3cn.js → file-retention-zav06jzw.js} +4 -4
  287. package/dist/chunks/{wellknown-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{wellknown-4s51ma40.js → file-retention-zj4ah9h6.js} +17 -17
  289. package/dist/chunks/{wellknown-h5k0xyz2.js → file-retention-znjk7567.js} +15 -15
  290. package/dist/chunks/{wellknown-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{wellknown-3n9eh797.js → file-retention-ztwp6n71.js} +5 -5
  292. package/dist/chunks/{wellknown-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +100 -100
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +74 -74
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +81 -81
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +94 -94
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +105 -105
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +120 -120
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +2 -2
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +84 -84
  552. package/dist/plugin/verbosity.js +91 -91
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +93 -93
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +2 -2
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +151 -151
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +215 -215
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +118 -118
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +116 -116
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +107 -107
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/wellknown-443fwh93.js +0 -252
  701. package/dist/chunks/wellknown-9sh4wc5j.js +0 -18
  702. package/dist/chunks/wellknown-c6jdrc5c.js +0 -26
  703. package/dist/chunks/wellknown-hm6dp6d2.js +0 -507
  704. /package/dist/chunks/{wellknown-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{wellknown-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{wellknown-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{wellknown-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{wellknown-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{wellknown-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{wellknown-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{wellknown-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{wellknown-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{wellknown-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{wellknown-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{wellknown-3asan66x.js → file-retention-3asan66x.js} +0 -0
  716. /package/dist/chunks/{wellknown-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{wellknown-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{wellknown-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{wellknown-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{wellknown-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{wellknown-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{wellknown-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{wellknown-53557ph1.js → file-retention-53557ph1.js} +0 -0
  724. /package/dist/chunks/{wellknown-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{wellknown-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{wellknown-6prwharc.js → file-retention-6prwharc.js} +0 -0
  727. /package/dist/chunks/{wellknown-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{wellknown-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{wellknown-822emrt2.js → file-retention-822emrt2.js} +0 -0
  730. /package/dist/chunks/{wellknown-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{wellknown-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{wellknown-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{wellknown-922hggd3.js → file-retention-922hggd3.js} +0 -0
  734. /package/dist/chunks/{wellknown-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{wellknown-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{wellknown-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{wellknown-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{wellknown-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{wellknown-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{wellknown-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{wellknown-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{wellknown-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{wellknown-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{wellknown-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{wellknown-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{wellknown-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{wellknown-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{wellknown-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{wellknown-df08tz66.js → file-retention-df08tz66.js} +0 -0
  750. /package/dist/chunks/{wellknown-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{wellknown-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{wellknown-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{wellknown-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{wellknown-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{wellknown-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{wellknown-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{wellknown-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{wellknown-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{wellknown-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{wellknown-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{wellknown-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{wellknown-g86h250q.js → file-retention-g86h250q.js} +0 -0
  763. /package/dist/chunks/{wellknown-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{wellknown-gftt206x.js → file-retention-gftt206x.js} +0 -0
  765. /package/dist/chunks/{wellknown-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{wellknown-hk9envan.js → file-retention-hk9envan.js} +0 -0
  767. /package/dist/chunks/{wellknown-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{wellknown-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{wellknown-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{wellknown-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{wellknown-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{wellknown-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{wellknown-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{wellknown-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{wellknown-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{wellknown-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{wellknown-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{wellknown-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{wellknown-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{wellknown-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{wellknown-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{wellknown-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{wellknown-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{wellknown-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{wellknown-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{wellknown-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{wellknown-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{wellknown-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{wellknown-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{wellknown-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{wellknown-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{wellknown-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{wellknown-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{wellknown-x61499pn.js → file-retention-x61499pn.js} +0 -0
  795. /package/dist/chunks/{wellknown-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{wellknown-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{wellknown-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{wellknown-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{wellknown-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{wellknown-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make21,
5
5
  diffByKey2
6
- } from "./wellknown-9t7a50xb.js";
6
+ } from "./file-retention-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./wellknown-3fc6dm20.js";
11
+ } from "./file-retention-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions2 = {};
18
- __export(exports_instructions2, {
19
- CodeModeInstructions: () => exports_instructions2,
17
+ var exports_instructions4 = {};
18
+ __export(exports_instructions4, {
19
+ CodeModeInstructions: () => exports_instructions4,
20
20
  make: () => make14,
21
21
  render: () => render2,
22
- update: () => update3
22
+ update: () => update2
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -43,7 +43,7 @@ function render2(catalog) {
43
43
  ${tools.join(`
44
44
  `)}`;
45
45
  }
46
- function update3(previous, current) {
46
+ function update2(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
49
  ${render2(current)}`;
@@ -113,16 +113,16 @@ var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
114
  var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make22({
116
+ return make21({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
121
  initial: render2,
122
- changed: update3,
122
+ changed: update2,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make14, exports_instructions2 };
128
+ export { render2, update2, make14, exports_instructions4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./wellknown-dbf65cva.js";
4
+ } from "./file-retention-3aw7vgta.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
8
  Info26,
9
9
  compatibility2
10
- } from "./wellknown-dtq5dwqq.js";
10
+ } from "./file-retention-y042j87z.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Service80
6
- } from "./wellknown-wckr6wjf.js";
5
+ Service79
6
+ } from "./file-retention-0tpv2kjk.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service80;
26
+ const location = yield* Service79;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
- var exports_formatter2 = {};
7
- __export(exports_formatter2, {
8
- ConfigFormatterV1: () => exports_formatter2,
9
- Entry: () => Entry4,
10
- Info: () => Info12
6
+ var exports_formatter3 = {};
7
+ __export(exports_formatter3, {
8
+ ConfigFormatterV1: () => exports_formatter3,
9
+ Entry: () => Entry3,
10
+ Info: () => Info11
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry4 = Schema.Struct({
13
+ var Entry3 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
19
+ var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry4, Info12, exports_formatter2 };
21
+ export { Entry3, Info11, exports_formatter3 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./wellknown-5t3nmthw.js";
3
+ } from "./file-retention-5t3nmthw.js";
4
4
  import {
5
- Service59,
6
- node63
7
- } from "./wellknown-y4aaa54v.js";
5
+ Service72,
6
+ node76
7
+ } from "./file-retention-8csa8wgg.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./file-retention-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: () => Service58,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer22,
20
- node: () => node62
17
+ Service: () => Service46,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer18,
20
+ node: () => node49
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 UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError3 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 Service58 extends Context.Service()("@opencode/Generate") {
37
+ class Service46 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
39
+ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service59;
41
+ const resolver = yield* Service72;
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 layer22 = Layer.effect(Service58, 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 UnavailableError2({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer22 = Layer.effect(Service58, 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 UnavailableError2({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError3({
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 UnavailableError2({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service58.of({ text });
71
+ return Service46.of({ text });
72
72
  }));
73
- var node62 = makeLocationNode({
74
- service: Service58,
75
- layer: layer22,
76
- deps: [node63, llmClient2]
73
+ var node49 = makeLocationNode({
74
+ service: Service46,
75
+ layer: layer18,
76
+ deps: [node76, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service58, layer22, node62, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError3, Service46, layer18, node49, exports_generate2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./file-retention-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: () => Plugin23,
11
+ Plugin: () => Plugin7,
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 Plugin23 = {
67
+ var Plugin7 = {
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 Plugin23 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin23, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin7, exports_opencode };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./wellknown-0paq2nw3.js";
4
+ } from "./file-retention-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./wellknown-dbf65cva.js";
7
+ } from "./file-retention-3aw7vgta.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./wellknown-dtq5dwqq.js";
11
+ } from "./file-retention-y042j87z.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Service80
6
- } from "./wellknown-wckr6wjf.js";
5
+ Service79
6
+ } from "./file-retention-0tpv2kjk.js";
7
7
  import {
8
- Service38
9
- } from "./wellknown-ns267dy3.js";
8
+ Service53
9
+ } from "./file-retention-3t81ps34.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./wellknown-kg8gd9a1.js";
13
+ } from "./file-retention-mt193r2g.js";
14
14
  import {
15
15
  observe2
16
- } from "./wellknown-qsdy395h.js";
16
+ } from "./file-retention-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./wellknown-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
@@ -31,8 +31,8 @@ import { Global } from "@opencode/util/global";
31
31
  var Plugin15 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service38;
35
- const location = yield* Service80;
34
+ const config = yield* Service53;
35
+ const location = yield* Service79;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -1,118 +1,118 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./wellknown-hbgyr91g.js";
2
+ Service83,
3
+ node87
4
+ } from "./file-retention-hv3sa1e0.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./wellknown-wckr6wjf.js";
6
+ Service79,
7
+ node83
8
+ } from "./file-retention-0tpv2kjk.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service75,
13
- node79
14
- } from "./wellknown-dtq5dwqq.js";
12
+ Service74,
13
+ node78
14
+ } from "./file-retention-y042j87z.js";
15
15
  import {
16
- ID10,
17
- Service70,
18
- node74
19
- } from "./wellknown-wkh0553f.js";
16
+ ID9,
17
+ Service66,
18
+ node69
19
+ } from "./file-retention-1s8bbjk0.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./wellknown-vjjxy6yb.js";
22
+ } from "./file-retention-32ymn5e1.js";
23
23
  import {
24
24
  combine2
25
- } from "./wellknown-9t7a50xb.js";
25
+ } from "./file-retention-s8d7rejh.js";
26
26
  import {
27
27
  provenance2
28
- } from "./wellknown-4j4tgtq5.js";
28
+ } from "./file-retention-4j4tgtq5.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./wellknown-kfr3jwev.js";
31
+ } from "./file-retention-gqbx8pvk.js";
32
32
  import {
33
- Service68,
34
- node72
35
- } from "./wellknown-4s51ma40.js";
33
+ Service65,
34
+ node68
35
+ } from "./file-retention-zj4ah9h6.js";
36
36
  import {
37
37
  merge2
38
- } from "./wellknown-0q1f136w.js";
38
+ } from "./file-retention-nxy4r4q2.js";
39
39
  import {
40
40
  make14
41
- } from "./wellknown-t9ew0xaf.js";
41
+ } from "./file-retention-ba15hegp.js";
42
42
  import {
43
- Service34,
44
- node37
45
- } from "./wellknown-ff98bvnp.js";
43
+ Service35,
44
+ node39
45
+ } from "./file-retention-4agzmtjj.js";
46
46
  import {
47
- Service26,
48
- node30
49
- } from "./wellknown-hvv902j1.js";
47
+ Service28,
48
+ node31
49
+ } from "./file-retention-tzhaj3et.js";
50
50
  import {
51
- Service71,
52
- node75
53
- } from "./wellknown-260gyq39.js";
51
+ Service59,
52
+ node62
53
+ } from "./file-retention-8wshxwa8.js";
54
54
  import {
55
- Service30,
56
- node34
57
- } from "./wellknown-zvsfaaqm.js";
55
+ Service29,
56
+ node32
57
+ } from "./file-retention-d0xdxexk.js";
58
58
  import {
59
- Service25,
60
- node29
61
- } from "./wellknown-tq61de9h.js";
59
+ Service27,
60
+ node30
61
+ } from "./file-retention-b34228va.js";
62
62
  import {
63
- Service24,
64
- node28
65
- } from "./wellknown-rh7p7pce.js";
63
+ Service33,
64
+ node37
65
+ } from "./file-retention-f1mm0mp4.js";
66
66
  import {
67
- Service31,
68
- node35
69
- } from "./wellknown-sy8pvrsp.js";
67
+ Service26,
68
+ node29
69
+ } from "./file-retention-3a9d28fc.js";
70
70
  import {
71
- Service27,
72
- node31
73
- } from "./wellknown-e3farn9z.js";
71
+ Service32,
72
+ node36
73
+ } from "./file-retention-e75wa3q3.js";
74
74
  import {
75
- Service28,
76
- node32
77
- } from "./wellknown-qn6tktv7.js";
75
+ Service30,
76
+ node33
77
+ } from "./file-retention-5178wfd8.js";
78
78
  import {
79
- Service45,
80
- node48
81
- } from "./wellknown-t7cg42xb.js";
79
+ Service49,
80
+ node51
81
+ } from "./file-retention-tjhbrvq4.js";
82
82
  import {
83
83
  __export
84
- } from "./wellknown-9rqn6x4v.js";
84
+ } from "./file-retention-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service23,
89
+ Service: () => Service25,
90
90
  SessionContext: () => exports_context,
91
- node: () => node27
91
+ node: () => node28
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service23 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service25 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service23, Effect.gen(function* () {
98
- const agents = yield* Service70;
99
- const builtins = yield* Service26;
100
- const model = yield* Service75;
101
- const db = (yield* Service84).db;
102
- const discovery = yield* Service34;
103
- const entries = yield* Service27;
104
- const location = yield* Service80;
105
- const mcpInstructions = yield* Service25;
106
- const mcpTools = yield* Service30;
107
- const models = yield* Service45;
108
- const request = yield* Service28;
109
- const referenceInstructions = yield* Service24;
110
- const skillInstructions = yield* Service31;
111
- const store = yield* Service68;
112
- const registry = yield* Service71;
97
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
98
+ const agents = yield* Service66;
99
+ const builtins = yield* Service28;
100
+ const model = yield* Service74;
101
+ const db = (yield* Service83).db;
102
+ const discovery = yield* Service35;
103
+ const entries = yield* Service32;
104
+ const location = yield* Service79;
105
+ const mcpInstructions = yield* Service27;
106
+ const mcpTools = yield* Service29;
107
+ const models = yield* Service49;
108
+ const request = yield* Service30;
109
+ const referenceInstructions = yield* Service33;
110
+ const skillInstructions = yield* Service26;
111
+ const store = yield* Service65;
112
+ const registry = yield* Service59;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
- const agent = yield* agents.get(ID10.make("title"));
115
+ const agent = yield* agents.get(ID9.make("title"));
116
116
  if (!agent)
117
117
  return;
118
118
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service23.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service25.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node27 = makeLocationNode({
195
- service: Service23,
194
+ var node28 = makeLocationNode({
195
+ service: Service25,
196
196
  layer,
197
197
  deps: [
198
- node74,
199
- node79,
200
- node88,
198
+ node69,
199
+ node78,
200
+ node87,
201
+ node31,
202
+ node39,
203
+ node36,
204
+ node83,
201
205
  node30,
206
+ node32,
202
207
  node37,
203
- node31,
204
- node84,
208
+ node51,
209
+ node33,
210
+ node68,
205
211
  node29,
206
- node34,
207
- node28,
208
- node48,
209
- node32,
210
- node72,
211
- node35,
212
- node75
212
+ node62
213
213
  ]
214
214
  });
215
215
 
216
- export { Service23, node27, exports_context };
216
+ export { Service25, node28, exports_context };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./wellknown-qfa1cgps.js";
3
+ } from "./file-retention-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./wellknown-psazpmmj.js";
6
+ } from "./file-retention-wd3x2cqz.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";