@opencode/core 0.0.0-dev-21775 → 0.0.0-dev-21777

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +93 -93
  4. package/dist/aisdk.js +99 -99
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -76
  7. package/dist/chunks/{file-retention-zz0wb7w6.js → wellknown-04jxknxw.js} +28 -28
  8. package/dist/chunks/{file-retention-c2sed5cq.js → wellknown-08rawchj.js} +3 -3
  9. package/dist/chunks/{file-retention-jp659ej9.js → wellknown-0e55pn21.js} +9 -9
  10. package/dist/chunks/wellknown-0hg0mcp7.js +133 -0
  11. package/dist/chunks/{file-retention-30yerwvb.js → wellknown-0tjr8cgx.js} +35 -35
  12. package/dist/chunks/{file-retention-1z6jjy5p.js → wellknown-0vx028ky.js} +6 -6
  13. package/dist/chunks/{file-retention-jy12te0b.js → wellknown-0yg5t7s5.js} +10 -10
  14. package/dist/chunks/{file-retention-7zkdf223.js → wellknown-0zht2ra2.js} +13 -13
  15. package/dist/chunks/{file-retention-w46nxhz5.js → wellknown-156eqp0k.js} +7 -7
  16. package/dist/chunks/{file-retention-9qp5p8zq.js → wellknown-15npty3x.js} +15 -15
  17. package/dist/chunks/{file-retention-kmzgegqq.js → wellknown-160yv0cs.js} +8 -8
  18. package/dist/chunks/{file-retention-zt6m90gj.js → wellknown-1cdsvsw3.js} +11 -11
  19. package/dist/chunks/{file-retention-k6rztwfs.js → wellknown-1cxgtnbf.js} +21 -21
  20. package/dist/chunks/wellknown-1tzh2fwz.js +26 -0
  21. package/dist/chunks/{file-retention-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{file-retention-xk76yr4x.js → wellknown-1yjfvzjr.js} +24 -24
  23. package/dist/chunks/{file-retention-ehw7gamr.js → wellknown-24hqqhtt.js} +35 -35
  24. package/dist/chunks/{file-retention-1ep2p91f.js → wellknown-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{file-retention-t9bqp2qp.js → wellknown-2efa57sj.js} +7 -7
  26. package/dist/chunks/{file-retention-1hg0zxtx.js → wellknown-2jjbcsmh.js} +13 -13
  27. package/dist/chunks/{file-retention-2z1j29yd.js → wellknown-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{file-retention-8esf06c6.js → wellknown-31avdb49.js} +8 -8
  29. package/dist/chunks/wellknown-3879nz5k.js +517 -0
  30. package/dist/chunks/{file-retention-1htg6rk5.js → wellknown-3c7qpzd7.js} +8 -8
  31. package/dist/chunks/{file-retention-ayjs7tqn.js → wellknown-3cbjf1nt.js} +2 -2
  32. package/dist/chunks/{file-retention-xk8af61m.js → wellknown-3gen3464.js} +18 -18
  33. package/dist/chunks/{file-retention-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{file-retention-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{file-retention-05038jtd.js → wellknown-3q0rd7f0.js} +9 -9
  36. package/dist/chunks/{file-retention-a37vbyfx.js → wellknown-3vdvxvt6.js} +23 -23
  37. package/dist/chunks/{file-retention-d7tcj48j.js → wellknown-46p4nd0k.js} +3 -3
  38. package/dist/chunks/{file-retention-zjrarrrn.js → wellknown-471w593b.js} +9 -9
  39. package/dist/chunks/{file-retention-fhj25s52.js → wellknown-4bzv39yc.js} +35 -35
  40. package/dist/chunks/{file-retention-jc09y3gx.js → wellknown-4h8bx7yk.js} +5 -5
  41. package/dist/chunks/{file-retention-xw52kzy1.js → wellknown-4qr8kst0.js} +20 -20
  42. package/dist/chunks/{file-retention-6dw9a62t.js → wellknown-4tnne5r4.js} +86 -86
  43. package/dist/chunks/{file-retention-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
  44. package/dist/chunks/{file-retention-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
  45. package/dist/chunks/{file-retention-yzptcycq.js → wellknown-5248xpep.js} +1 -1
  46. package/dist/chunks/{file-retention-y755953d.js → wellknown-58gfgbrj.js} +21 -21
  47. package/dist/chunks/{file-retention-ks30mcjv.js → wellknown-59p1f3he.js} +6 -6
  48. package/dist/chunks/{file-retention-d6n7qg8p.js → wellknown-5btwyzmg.js} +19 -19
  49. package/dist/chunks/{file-retention-ffnxs1x0.js → wellknown-5cfa5pm8.js} +4 -4
  50. package/dist/chunks/{file-retention-ahrm6a4v.js → wellknown-5ch3p6j9.js} +24 -24
  51. package/dist/chunks/{file-retention-6tx8rgr5.js → wellknown-5cnbxcdc.js} +12 -12
  52. package/dist/chunks/{file-retention-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{file-retention-23nwgtns.js → wellknown-5pxxc420.js} +7 -7
  54. package/dist/chunks/{file-retention-q83y25yv.js → wellknown-5q6rg3ah.js} +7 -7
  55. package/dist/chunks/{file-retention-1a3825m9.js → wellknown-5sjqaaf3.js} +24 -24
  56. package/dist/chunks/{file-retention-bjhzkqyk.js → wellknown-61ennm6n.js} +4 -4
  57. package/dist/chunks/{file-retention-h31vq76g.js → wellknown-61g7nd3s.js} +10 -10
  58. package/dist/chunks/{file-retention-hz9cscar.js → wellknown-6b0wj5kz.js} +3 -3
  59. package/dist/chunks/{file-retention-tpm1qpxt.js → wellknown-6c5cd6ez.js} +9 -9
  60. package/dist/chunks/{file-retention-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
  61. package/dist/chunks/{file-retention-3r7w24g9.js → wellknown-6gctnm3n.js} +16 -16
  62. package/dist/chunks/{file-retention-kp5tvjar.js → wellknown-6n3yb10w.js} +8 -8
  63. package/dist/chunks/{file-retention-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
  64. package/dist/chunks/{file-retention-tp6pqz2g.js → wellknown-6pqc74hk.js} +12 -12
  65. package/dist/chunks/{file-retention-na64j5m8.js → wellknown-6r6h6sat.js} +19 -19
  66. package/dist/chunks/{file-retention-0c77ab74.js → wellknown-6s2cpg4s.js} +23 -23
  67. package/dist/chunks/{file-retention-szcgc7h4.js → wellknown-6y263vp8.js} +5 -5
  68. package/dist/chunks/{file-retention-wctyzwyk.js → wellknown-74jxnsy8.js} +30 -30
  69. package/dist/chunks/{file-retention-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
  70. package/dist/chunks/{file-retention-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{file-retention-kqhr5b96.js → wellknown-7bzgm6j7.js} +27 -27
  72. package/dist/chunks/{file-retention-6g7e0vcw.js → wellknown-7jxwkttf.js} +11 -11
  73. package/dist/chunks/{file-retention-9nz28cm2.js → wellknown-7p0gfk8r.js} +11 -11
  74. package/dist/chunks/{file-retention-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{file-retention-6cahmqzr.js → wellknown-7ye4ae45.js} +8 -8
  76. package/dist/chunks/{file-retention-m8f63jhp.js → wellknown-83txnp1n.js} +29 -29
  77. package/dist/chunks/{file-retention-m0ef4zea.js → wellknown-8ak2wtwm.js} +15 -15
  78. package/dist/chunks/{file-retention-dh62xe4r.js → wellknown-8bc2ahr8.js} +3 -3
  79. package/dist/chunks/{file-retention-xha7ydwr.js → wellknown-8fxn4ej1.js} +18 -18
  80. package/dist/chunks/{file-retention-mr15razv.js → wellknown-8jb500t8.js} +16 -16
  81. package/dist/chunks/{file-retention-qjgzc4b4.js → wellknown-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{file-retention-pdf3vz88.js → wellknown-8k68n2qp.js} +14 -14
  83. package/dist/chunks/{file-retention-frt8zmm9.js → wellknown-8qhb45tw.js} +11 -11
  84. package/dist/chunks/{file-retention-8r6n0qax.js → wellknown-8r6n0qax.js} +1 -1
  85. package/dist/chunks/{file-retention-4y5adm9d.js → wellknown-8tzs9as6.js} +46 -46
  86. package/dist/chunks/{file-retention-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
  87. package/dist/chunks/{file-retention-fg9nnp40.js → wellknown-91at89dk.js} +13 -13
  88. package/dist/chunks/{file-retention-91rj84md.js → wellknown-91rj84md.js} +1 -1
  89. package/dist/chunks/{file-retention-ztpn6ax8.js → wellknown-922cm4bg.js} +9 -9
  90. package/dist/chunks/{file-retention-mqcadzqw.js → wellknown-9g4cv0f3.js} +5 -5
  91. package/dist/chunks/{file-retention-1yq6n76y.js → wellknown-9rkgepac.js} +18 -18
  92. package/dist/chunks/{file-retention-p22znmy8.js → wellknown-9shqtmsr.js} +11 -11
  93. package/dist/chunks/{file-retention-yar054mm.js → wellknown-ac8m9jgw.js} +35 -35
  94. package/dist/chunks/{file-retention-0gqjs8xd.js → wellknown-acwbq7dh.js} +11 -11
  95. package/dist/chunks/{file-retention-s7xmnr8t.js → wellknown-agqd6nxz.js} +6 -6
  96. package/dist/chunks/{file-retention-034tev2y.js → wellknown-aj7mw0zk.js} +2 -2
  97. package/dist/chunks/{file-retention-7ta0ytq2.js → wellknown-atkrv4f1.js} +18 -18
  98. package/dist/chunks/{file-retention-mv7k79ef.js → wellknown-atvnxcjg.js} +48 -48
  99. package/dist/chunks/{file-retention-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
  100. package/dist/chunks/{file-retention-8k7fs4yk.js → wellknown-b13wcdxr.js} +5 -5
  101. package/dist/chunks/{file-retention-5784b4h2.js → wellknown-b88d5nwd.js} +9 -9
  102. package/dist/chunks/{file-retention-wj8797dk.js → wellknown-b8fyfga2.js} +21 -21
  103. package/dist/chunks/{file-retention-9bz5f2aq.js → wellknown-bb8x8cdz.js} +19 -19
  104. package/dist/chunks/{file-retention-y8dsb888.js → wellknown-bd0tpmaf.js} +8 -8
  105. package/dist/chunks/{file-retention-af63jp32.js → wellknown-be9dmfer.js} +21 -21
  106. package/dist/chunks/{file-retention-bstexjd6.js → wellknown-bstexjd6.js} +1 -1
  107. package/dist/chunks/{file-retention-yz0q7a5m.js → wellknown-bw273ec6.js} +26 -26
  108. package/dist/chunks/{file-retention-p2mqe0hz.js → wellknown-bxwc6da6.js} +12 -12
  109. package/dist/chunks/{file-retention-ymh0wyfn.js → wellknown-c50m9zrv.js} +20 -20
  110. package/dist/chunks/{file-retention-995kf3fb.js → wellknown-c59xc1n0.js} +26 -33
  111. package/dist/chunks/{file-retention-kf3903q6.js → wellknown-c81fqfqt.js} +2 -2
  112. package/dist/chunks/{file-retention-d2887f8n.js → wellknown-c9t2ty9q.js} +4 -4
  113. package/dist/chunks/{file-retention-3164ts83.js → wellknown-cda3ha6j.js} +4 -4
  114. package/dist/chunks/{file-retention-qqg9c0kv.js → wellknown-cpvd08na.js} +4 -4
  115. package/dist/chunks/{file-retention-zbkhh3g1.js → wellknown-cr39h6xc.js} +32 -32
  116. package/dist/chunks/{file-retention-5ej6fcjw.js → wellknown-csfpqy7c.js} +6 -6
  117. package/dist/chunks/{file-retention-y7gf4t9q.js → wellknown-cvc23dz4.js} +14 -14
  118. package/dist/chunks/{file-retention-x6n10bgh.js → wellknown-cx6bpn5t.js} +18 -18
  119. package/dist/chunks/{file-retention-cjy4375a.js → wellknown-cxpb5f81.js} +2 -2
  120. package/dist/chunks/{file-retention-7zkpzyeb.js → wellknown-czf0zymf.js} +27 -27
  121. package/dist/chunks/{file-retention-nnsghjk2.js → wellknown-d0tmt39w.js} +34 -34
  122. package/dist/chunks/{file-retention-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{file-retention-pnx1meeb.js → wellknown-dcmqjbj1.js} +51 -51
  124. package/dist/chunks/{file-retention-r8q5fgtf.js → wellknown-dp5wfbj1.js} +35 -35
  125. package/dist/chunks/{file-retention-en82s9xt.js → wellknown-dsknn1hy.js} +21 -21
  126. package/dist/chunks/{file-retention-s6rab191.js → wellknown-dzkbqkpx.js} +24 -24
  127. package/dist/chunks/{file-retention-ps196dw6.js → wellknown-e35j4gt7.js} +16 -16
  128. package/dist/chunks/{file-retention-adgmyams.js → wellknown-e6g5g1wq.js} +43 -43
  129. package/dist/chunks/{file-retention-mc4sw9w4.js → wellknown-e6y915td.js} +6 -6
  130. package/dist/chunks/{file-retention-e834z07m.js → wellknown-e834z07m.js} +1 -1
  131. package/dist/chunks/{file-retention-2qvs9jak.js → wellknown-e88t32tv.js} +11 -11
  132. package/dist/chunks/{file-retention-dk26t417.js → wellknown-eaem389f.js} +15 -15
  133. package/dist/chunks/{file-retention-2vejemke.js → wellknown-egcetw1q.js} +13 -13
  134. package/dist/chunks/{file-retention-5yw85qpw.js → wellknown-egz7d1cs.js} +26 -26
  135. package/dist/chunks/{file-retention-yhen3jxk.js → wellknown-ek6vqcaq.js} +4 -4
  136. package/dist/chunks/{file-retention-sfp4tb26.js → wellknown-esfv9gvv.js} +4 -4
  137. package/dist/chunks/{file-retention-mv49vzrc.js → wellknown-etxjsby2.js} +32 -32
  138. package/dist/chunks/{file-retention-6z77c2r8.js → wellknown-ey89v7jw.js} +16 -16
  139. package/dist/chunks/{file-retention-1e1kb1f8.js → wellknown-eya7ab03.js} +15 -15
  140. package/dist/chunks/{file-retention-6481hcqs.js → wellknown-ez3zn048.js} +11 -11
  141. package/dist/chunks/{file-retention-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{file-retention-fnrac0zs.js → wellknown-fy5bjxgv.js} +3 -3
  143. package/dist/chunks/{file-retention-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
  144. package/dist/chunks/{file-retention-0kpntjxf.js → wellknown-g7wmygc1.js} +3 -3
  145. package/dist/chunks/{file-retention-cf7x3ksa.js → wellknown-g9dq5tb6.js} +27 -27
  146. package/dist/chunks/{file-retention-gcjdgkn2.js → wellknown-gcjdgkn2.js} +2 -2
  147. package/dist/chunks/{file-retention-n0wvcyfn.js → wellknown-gh9c8abt.js} +3 -3
  148. package/dist/chunks/{file-retention-r09k0ff8.js → wellknown-gn2br83g.js} +16 -16
  149. package/dist/chunks/{file-retention-37rj4464.js → wellknown-gthfkf9z.js} +13 -13
  150. package/dist/chunks/{file-retention-62n5agxz.js → wellknown-h2hkdbmv.js} +2 -2
  151. package/dist/chunks/{file-retention-dbx6pzfq.js → wellknown-h4ja5x6t.js} +6 -6
  152. package/dist/chunks/{file-retention-atnbxq3j.js → wellknown-h51c97x2.js} +26 -26
  153. package/dist/chunks/{file-retention-x8570257.js → wellknown-h9927jyw.js} +9 -9
  154. package/dist/chunks/{file-retention-rkvrbxb1.js → wellknown-hbcsvp0f.js} +17 -11
  155. package/dist/chunks/{file-retention-c7nehh90.js → wellknown-hbstmyqp.js} +6 -6
  156. package/dist/chunks/{file-retention-c3cfh5w6.js → wellknown-hdfrs5mg.js} +5 -5
  157. package/dist/chunks/{file-retention-t8cetwdg.js → wellknown-hg41gd58.js} +1 -1
  158. package/dist/chunks/{file-retention-0dye9s24.js → wellknown-hs11k58z.js} +4 -4
  159. package/dist/chunks/{file-retention-wwyg2b72.js → wellknown-hwdyf90s.js} +24 -24
  160. package/dist/chunks/{file-retention-fbx1pf6w.js → wellknown-hz95n7rj.js} +28 -28
  161. package/dist/chunks/{file-retention-j113cymg.js → wellknown-j113cymg.js} +1 -1
  162. package/dist/chunks/{file-retention-8gaq3e8g.js → wellknown-j2vqej1t.js} +9 -9
  163. package/dist/chunks/{file-retention-0ex69mkq.js → wellknown-j3rp8z28.js} +43 -43
  164. package/dist/chunks/{file-retention-a0vny5h5.js → wellknown-j718j4p4.js} +17 -17
  165. package/dist/chunks/{file-retention-ycrb3cr5.js → wellknown-j8we4jgn.js} +15 -15
  166. package/dist/chunks/{file-retention-eqtjzdmt.js → wellknown-jenkz3h9.js} +15 -15
  167. package/dist/chunks/{file-retention-q404j35s.js → wellknown-jh1qsrkb.js} +39 -39
  168. package/dist/chunks/{file-retention-757kxfk5.js → wellknown-jhakfsh4.js} +1 -1
  169. package/dist/chunks/{file-retention-hfbj6knv.js → wellknown-jjvs5gfh.js} +17 -17
  170. package/dist/chunks/{file-retention-79zrs9sr.js → wellknown-jmc1s92r.js} +8 -8
  171. package/dist/chunks/{file-retention-5yj1svp7.js → wellknown-jns20v2e.js} +26 -26
  172. package/dist/chunks/{file-retention-5yvm9gq4.js → wellknown-jwec9qe4.js} +11 -11
  173. package/dist/chunks/{file-retention-ezw660nq.js → wellknown-jyr7n9x1.js} +3 -3
  174. package/dist/chunks/{file-retention-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
  175. package/dist/chunks/{file-retention-ymzrk7b3.js → wellknown-ka7gkb12.js} +1 -1
  176. package/dist/chunks/{file-retention-mamyemm0.js → wellknown-kd89nm9p.js} +14 -14
  177. package/dist/chunks/{file-retention-8aaegyc4.js → wellknown-kqtnm4zs.js} +2 -2
  178. package/dist/chunks/{file-retention-pfwczevg.js → wellknown-krs5mes8.js} +18 -18
  179. package/dist/chunks/wellknown-kt3bjfbg.js +26 -0
  180. package/dist/chunks/{file-retention-d356z46s.js → wellknown-kvgv58sm.js} +24 -24
  181. package/dist/chunks/{file-retention-kzcwk5ky.js → wellknown-kwd8yzj2.js} +11 -11
  182. package/dist/chunks/{file-retention-wbmtbw5y.js → wellknown-kxfvb65t.js} +5 -5
  183. package/dist/chunks/{file-retention-2mbjfaxd.js → wellknown-ky596kc3.js} +4 -4
  184. package/dist/chunks/{file-retention-4hh7j8bj.js → wellknown-m0ry6ynm.js} +18 -18
  185. package/dist/chunks/{file-retention-b3zqj1fn.js → wellknown-m126rssb.js} +21 -21
  186. package/dist/chunks/{file-retention-xjmvvx28.js → wellknown-m151rvrq.js} +22 -22
  187. package/dist/chunks/{file-retention-m1714858.js → wellknown-m1714858.js} +1 -1
  188. package/dist/chunks/{file-retention-dqyjxj68.js → wellknown-m1ka6wme.js} +14 -14
  189. package/dist/chunks/{file-retention-vmfhgzt5.js → wellknown-m37sd98t.js} +4 -4
  190. package/dist/chunks/{file-retention-fe3ptvc8.js → wellknown-m39qkr2j.js} +17 -17
  191. package/dist/chunks/{file-retention-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{file-retention-jchrqzf6.js → wellknown-masd7ga8.js} +4 -4
  193. package/dist/chunks/{file-retention-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
  194. package/dist/chunks/{file-retention-1dt1w7eh.js → wellknown-mdgpbx00.js} +58 -58
  195. package/dist/chunks/{file-retention-ktrds4tk.js → wellknown-mh0df1gn.js} +4 -4
  196. package/dist/chunks/{file-retention-feghes5g.js → wellknown-mke939yf.js} +16 -16
  197. package/dist/chunks/{file-retention-d3k5k72a.js → wellknown-mqa6tqca.js} +13 -13
  198. package/dist/chunks/{file-retention-043edbps.js → wellknown-mqy7jcc3.js} +20 -20
  199. package/dist/chunks/{file-retention-ay8p2qby.js → wellknown-mx37ejap.js} +72 -72
  200. package/dist/chunks/{file-retention-n0p0277s.js → wellknown-n0p0277s.js} +1 -1
  201. package/dist/chunks/{file-retention-d4yvfdjq.js → wellknown-n3cagxyt.js} +9 -9
  202. package/dist/chunks/{file-retention-8rqkymsz.js → wellknown-n58cmm6s.js} +8 -8
  203. package/dist/chunks/{file-retention-n9p72mjb.js → wellknown-n9p72mjb.js} +2 -2
  204. package/dist/chunks/{file-retention-nah043kf.js → wellknown-nah043kf.js} +1 -1
  205. package/dist/chunks/{file-retention-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
  206. package/dist/chunks/{file-retention-wv1byjhn.js → wellknown-p16j9thq.js} +50 -50
  207. package/dist/chunks/{file-retention-t39e16tb.js → wellknown-p23tmbza.js} +11 -11
  208. package/dist/chunks/{file-retention-p7vhpwh8.js → wellknown-p7vhpwh8.js} +1 -1
  209. package/dist/chunks/{file-retention-w4488581.js → wellknown-p9fn62m0.js} +4 -4
  210. package/dist/chunks/{file-retention-pknna89w.js → wellknown-pknna89w.js} +1 -1
  211. package/dist/chunks/{file-retention-prazahgm.js → wellknown-prazahgm.js} +2 -2
  212. package/dist/chunks/{file-retention-zfyb5tr4.js → wellknown-pre1sqds.js} +4 -4
  213. package/dist/chunks/{file-retention-h5dyhw6p.js → wellknown-q7pkjngt.js} +30 -30
  214. package/dist/chunks/{file-retention-bqwdyg2t.js → wellknown-qaz4f448.js} +9 -9
  215. package/dist/chunks/{file-retention-234ntbqc.js → wellknown-qewdp238.js} +22 -22
  216. package/dist/chunks/wellknown-qmh7vbk2.js +18 -0
  217. package/dist/chunks/{file-retention-c9x3pgse.js → wellknown-qp9nzqh8.js} +16 -16
  218. package/dist/chunks/{file-retention-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{file-retention-kv52dac4.js → wellknown-r8cv79ss.js} +12 -12
  220. package/dist/chunks/{file-retention-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{file-retention-d5wa0b2s.js → wellknown-rf1g2xr4.js} +5 -5
  222. package/dist/chunks/{file-retention-1v3pmt1f.js → wellknown-rh99e6cx.js} +34 -34
  223. package/dist/chunks/{file-retention-pv1g07z8.js → wellknown-rqwx01wv.js} +25 -25
  224. package/dist/chunks/{file-retention-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{file-retention-3xv5yes5.js → wellknown-rwvswa9y.js} +6 -6
  226. package/dist/chunks/{file-retention-ndyybwqb.js → wellknown-s315sn73.js} +17 -17
  227. package/dist/chunks/{file-retention-kd9fhfv6.js → wellknown-s9agp0wp.js} +16 -16
  228. package/dist/chunks/{file-retention-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
  229. package/dist/chunks/{file-retention-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{file-retention-66hxanz0.js → wellknown-t2adjgr6.js} +31 -31
  231. package/dist/chunks/{file-retention-802q13vp.js → wellknown-t401z26n.js} +7 -7
  232. package/dist/chunks/{file-retention-a1qdfkze.js → wellknown-tcp1bmnd.js} +13 -13
  233. package/dist/chunks/{file-retention-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{file-retention-hj1ah81s.js → wellknown-tnp0dwr6.js} +27 -27
  235. package/dist/chunks/{file-retention-3wb8nyxx.js → wellknown-tp3w5r6h.js} +17 -17
  236. package/dist/chunks/{file-retention-ys018t90.js → wellknown-tpwbr6cx.js} +41 -41
  237. package/dist/chunks/{file-retention-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
  238. package/dist/chunks/{file-retention-n1s97216.js → wellknown-tyfyb2y4.js} +17 -17
  239. package/dist/chunks/{file-retention-h7d4rbrg.js → wellknown-v0t96s7a.js} +4 -4
  240. package/dist/chunks/{file-retention-exyf3fed.js → wellknown-v27t7dvh.js} +10 -10
  241. package/dist/chunks/{file-retention-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{file-retention-nm4377q9.js → wellknown-v5gy4fh6.js} +5 -5
  243. package/dist/chunks/{file-retention-jsy02eqp.js → wellknown-v7bqyd8s.js} +17 -17
  244. package/dist/chunks/{file-retention-vd3b3yk9.js → wellknown-vd3b3yk9.js} +1 -1
  245. package/dist/chunks/{file-retention-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-retention-ja8b98rf.js → wellknown-vhbqcsjh.js} +8 -8
  247. package/dist/chunks/{file-retention-74by25sn.js → wellknown-vnhr9jck.js} +17 -17
  248. package/dist/chunks/{file-retention-d63vatx9.js → wellknown-vrpgx22b.js} +4 -4
  249. package/dist/chunks/{file-retention-hjznzsdn.js → wellknown-vsec61f7.js} +14 -14
  250. package/dist/chunks/{file-retention-vx3z2ta8.js → wellknown-vy5k7220.js} +14 -14
  251. package/dist/chunks/{file-retention-d0z36nkj.js → wellknown-vya0mwf0.js} +17 -17
  252. package/dist/chunks/{file-retention-as38c070.js → wellknown-vz4jdedr.js} +8 -8
  253. package/dist/chunks/{file-retention-8w0qx81v.js → wellknown-vzdp29pn.js} +25 -25
  254. package/dist/chunks/{file-retention-40za9wsf.js → wellknown-w2eysc6j.js} +9 -9
  255. package/dist/chunks/{file-retention-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-retention-ay3eg20d.js → wellknown-w49d6sjv.js} +21 -21
  257. package/dist/chunks/{file-retention-re267s79.js → wellknown-wag6p64v.js} +12 -12
  258. package/dist/chunks/{file-retention-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{file-retention-wd87259q.js → wellknown-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-retention-njc35j2b.js → wellknown-wdb5a6sv.js} +13 -13
  261. package/dist/chunks/{file-retention-av5ks0e5.js → wellknown-wj6vtssy.js} +9 -9
  262. package/dist/chunks/{file-retention-9xhfncsk.js → wellknown-wm15htn2.js} +39 -39
  263. package/dist/chunks/{file-retention-fznmdakp.js → wellknown-wr3re1en.js} +4 -4
  264. package/dist/chunks/{file-retention-cn5vzm85.js → wellknown-x3ms6r27.js} +2 -2
  265. package/dist/chunks/{file-retention-6a2eq7nz.js → wellknown-xc28g6rc.js} +26 -26
  266. package/dist/chunks/{file-retention-w0e5cwhb.js → wellknown-xcw3pgbc.js} +34 -34
  267. package/dist/chunks/{file-retention-he1xcvzj.js → wellknown-xfqmb1dp.js} +6 -6
  268. package/dist/chunks/{file-retention-qr4bptwr.js → wellknown-xfwmjqem.js} +31 -31
  269. package/dist/chunks/{file-retention-s27aztda.js → wellknown-xjnmf968.js} +6 -6
  270. package/dist/chunks/wellknown-xk4hcb07.js +261 -0
  271. package/dist/chunks/{file-retention-562s2c64.js → wellknown-xm65v1c6.js} +25 -25
  272. package/dist/chunks/{file-retention-xjvykbh7.js → wellknown-xs8zeem2.js} +24 -24
  273. package/dist/chunks/{file-retention-a5dtds7w.js → wellknown-xv5h0f8t.js} +3 -3
  274. package/dist/chunks/{file-retention-g2cjact9.js → wellknown-xvfjp7yw.js} +141 -141
  275. package/dist/chunks/{file-retention-sc8prgdb.js → wellknown-yactmmgv.js} +9 -9
  276. package/dist/chunks/{file-retention-fpecf9xp.js → wellknown-yad47j67.js} +4 -4
  277. package/dist/chunks/{file-retention-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{file-retention-5tw9zmff.js → wellknown-ym8pz2ff.js} +91 -91
  279. package/dist/chunks/{file-retention-f0cbaec5.js → wellknown-yv7rfcpt.js} +28 -28
  280. package/dist/chunks/{file-retention-w29j0fga.js → wellknown-yyw72xks.js} +8 -8
  281. package/dist/chunks/{file-retention-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-retention-86nyzsdp.js → wellknown-z0kx572n.js} +2 -2
  283. package/dist/chunks/{file-retention-wb3zghwg.js → wellknown-z1325g04.js} +45 -45
  284. package/dist/chunks/{file-retention-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
  285. package/dist/chunks/{file-retention-enz9anj1.js → wellknown-z5jgj3bn.js} +7 -7
  286. package/dist/chunks/{file-retention-mjagy123.js → wellknown-za6yq9hg.js} +5 -5
  287. package/dist/chunks/{file-retention-jd8b4czr.js → wellknown-zapb4bac.js} +16 -16
  288. package/dist/chunks/{file-retention-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{file-retention-4vc6yp1q.js → wellknown-zshj6dbt.js} +41 -41
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +86 -86
  295. package/dist/config/discovery.js +86 -86
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +103 -103
  298. package/dist/config/plugin/agent.js +119 -119
  299. package/dist/config/plugin/command.js +215 -215
  300. package/dist/config/plugin/compaction.js +156 -156
  301. package/dist/config/plugin/compatibility.js +136 -136
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +118 -118
  304. package/dist/config/plugin/image.js +117 -117
  305. package/dist/config/plugin/instruction.js +117 -117
  306. package/dist/config/plugin/location-watcher.js +119 -119
  307. package/dist/config/plugin/mcp.js +126 -126
  308. package/dist/config/plugin/policy.js +118 -118
  309. package/dist/config/plugin/provider.js +117 -117
  310. package/dist/config/plugin/reference.js +119 -119
  311. package/dist/config/plugin/shell.js +119 -119
  312. package/dist/config/plugin/skill-file.js +106 -106
  313. package/dist/config/plugin/skill-scan.js +1 -1
  314. package/dist/config/plugin/skill.js +139 -139
  315. package/dist/config/plugin/snapshot.js +117 -117
  316. package/dist/config/plugin/source.js +118 -118
  317. package/dist/config/plugin/tool-output.js +118 -118
  318. package/dist/config/plugin/websearch.js +118 -118
  319. package/dist/config/plugin/worktree.js +119 -119
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +118 -118
  323. package/dist/console-access.js +12 -0
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +82 -82
  326. package/dist/database/database.js +75 -75
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  392. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  393. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  394. package/dist/database/migration.gen.js +52 -52
  395. package/dist/database/migration.js +54 -54
  396. package/dist/database/path.js +2 -2
  397. package/dist/database/schema.gen.js +1 -1
  398. package/dist/database/schema.sql.js +1 -1
  399. package/dist/database/sqlite.bun.js +1 -1
  400. package/dist/database/sqlite.js +1 -1
  401. package/dist/database/sqlite.node.js +1 -1
  402. package/dist/database/sqlite.workerd.js +1 -1
  403. package/dist/database/v1-migration.bun.js +94 -94
  404. package/dist/database/v1-migration.js +1 -1
  405. package/dist/effect/app-node-builder.js +373 -371
  406. package/dist/effect/app-node-platform.js +2 -2
  407. package/dist/effect/keyed-mutex.js +3 -3
  408. package/dist/effect/websocket-constructor.js +1 -1
  409. package/dist/environment/driver.js +1 -1
  410. package/dist/environment/environment.js +97 -97
  411. package/dist/environment/exec-defaults.js +2 -2
  412. package/dist/environment/files.js +1 -1
  413. package/dist/environment/index.js +99 -99
  414. package/dist/environment/local.js +2 -2
  415. package/dist/environment/memory.js +2 -2
  416. package/dist/environment/unavailable.js +3 -3
  417. package/dist/event/sql.js +1 -1
  418. package/dist/event-logger.js +77 -77
  419. package/dist/file-access.js +108 -108
  420. package/dist/file-mutation.js +94 -94
  421. package/dist/file-retention.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +9 -9
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +81 -81
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +91 -91
  436. package/dist/generate.js +111 -111
  437. package/dist/git.js +11 -11
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +103 -103
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.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 +364 -362
  461. package/dist/instruction-discovery.js +87 -87
  462. package/dist/instructions/builtins.js +91 -91
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +81 -81
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +76 -76
  469. package/dist/location-activity.js +160 -160
  470. package/dist/location-lifecycle.js +109 -109
  471. package/dist/location-service-map.js +90 -90
  472. package/dist/location-services.js +361 -359
  473. package/dist/location.js +91 -91
  474. package/dist/managed-policy.js +8 -8
  475. package/dist/mcp/client.js +95 -95
  476. package/dist/mcp/index.js +113 -113
  477. package/dist/mcp/instructions.js +140 -140
  478. package/dist/mcp/oauth.js +81 -81
  479. package/dist/mcp/socket-client.js +1 -1
  480. package/dist/mcp/stdio.js +94 -94
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +103 -103
  483. package/dist/model-resolver.js +103 -103
  484. package/dist/model-retry.js +1 -1
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +111 -111
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +83 -83
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +109 -109
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +91 -91
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +78 -78
  496. package/dist/plugin/agent.js +79 -79
  497. package/dist/plugin/command.js +106 -106
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +219 -219
  500. package/dist/plugin/identity.js +5 -5
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +334 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +100 -100
  505. package/dist/plugin/module.js +118 -118
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +106 -106
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +94 -94
  510. package/dist/plugin/provider/azure.js +117 -117
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/chatgpt.js +117 -117
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +113 -113
  517. package/dist/plugin/provider/databricks.js +1 -1
  518. package/dist/plugin/provider/digitalocean.js +97 -97
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/github-copilot.js +99 -99
  522. package/dist/plugin/provider/gitlab.js +97 -97
  523. package/dist/plugin/provider/google-vertex.js +114 -114
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +81 -81
  526. package/dist/plugin/provider/lmstudio.js +126 -126
  527. package/dist/plugin/provider/local.js +123 -123
  528. package/dist/plugin/provider/modal.js +96 -96
  529. package/dist/plugin/provider/neon.js +1 -1
  530. package/dist/plugin/provider/nvidia.js +1 -1
  531. package/dist/plugin/provider/ollama.js +126 -126
  532. package/dist/plugin/provider/openai-context-caps.js +94 -94
  533. package/dist/plugin/provider/openai.js +119 -119
  534. package/dist/plugin/provider/opencode.js +103 -102
  535. package/dist/plugin/provider/openrouter.js +95 -95
  536. package/dist/plugin/provider/perplexity.js +2 -2
  537. package/dist/plugin/provider/poe.js +82 -82
  538. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  539. package/dist/plugin/provider/sap-ai-core.js +95 -95
  540. package/dist/plugin/provider/sdk-factory.js +1 -1
  541. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  542. package/dist/plugin/provider/vercel.js +94 -94
  543. package/dist/plugin/provider/vllm.js +126 -126
  544. package/dist/plugin/provider/xai.js +95 -95
  545. package/dist/plugin/provider/zenmux.js +1 -1
  546. package/dist/plugin/provider.js +170 -169
  547. package/dist/plugin/sdk.js +79 -79
  548. package/dist/plugin/service.js +3 -3
  549. package/dist/plugin/skill.js +135 -135
  550. package/dist/plugin/source-directory.js +1 -1
  551. package/dist/plugin/supervisor.js +353 -352
  552. package/dist/plugin/tool-input-repair.js +4 -4
  553. package/dist/plugin/update.js +6 -6
  554. package/dist/plugin/vcs/git.js +90 -90
  555. package/dist/plugin/vcs/hg.js +90 -90
  556. package/dist/plugin/verbosity.js +97 -97
  557. package/dist/plugin/warming.js +115 -115
  558. package/dist/plugin/websearch/exa.js +5 -5
  559. package/dist/plugin/websearch/firecrawl.js +8 -8
  560. package/dist/plugin/websearch/index.js +9 -9
  561. package/dist/plugin/websearch/mcp.js +6 -6
  562. package/dist/plugin/websearch/parallel.js +6 -6
  563. package/dist/plugin/websearch/tavily.js +6 -6
  564. package/dist/plugin/websearch/tinyfish.js +6 -6
  565. package/dist/plugin.js +226 -226
  566. package/dist/project/schema.js +4 -4
  567. package/dist/project/sql.js +4 -4
  568. package/dist/project.js +90 -90
  569. package/dist/provider.js +99 -99
  570. package/dist/pty/protocol.js +1 -1
  571. package/dist/pty/ticket.js +1 -1
  572. package/dist/pty.js +100 -100
  573. package/dist/reference/instructions.js +93 -93
  574. package/dist/reference.js +95 -95
  575. package/dist/repository-cache.js +85 -85
  576. package/dist/repository.js +1 -1
  577. package/dist/ripgrep/binary.js +2 -2
  578. package/dist/ripgrep.js +99 -99
  579. package/dist/rpc.js +90 -90
  580. package/dist/schema.js +1 -1
  581. package/dist/session/affinity.js +1 -1
  582. package/dist/session/command.js +77 -77
  583. package/dist/session/compaction.js +138 -138
  584. package/dist/session/context.js +166 -166
  585. package/dist/session/diff.js +92 -92
  586. package/dist/session/environment.js +5 -5
  587. package/dist/session/error.js +3 -3
  588. package/dist/session/event.js +1 -1
  589. package/dist/session/execution/restart.js +225 -225
  590. package/dist/session/execution.js +130 -130
  591. package/dist/session/generate.js +168 -168
  592. package/dist/session/history.js +13 -13
  593. package/dist/session/inbox.js +96 -96
  594. package/dist/session/info.js +3 -3
  595. package/dist/session/instruction-entry.js +80 -80
  596. package/dist/session/instruction-state.js +8 -8
  597. package/dist/session/instructions.js +101 -101
  598. package/dist/session/message-updater.js +2 -2
  599. package/dist/session/message.js +1 -1
  600. package/dist/session/model-request.js +122 -122
  601. package/dist/session/model-transport.js +7 -7
  602. package/dist/session/move.js +134 -134
  603. package/dist/session/projector.js +92 -92
  604. package/dist/session/prompt.js +109 -109
  605. package/dist/session/recent-text.js +1 -1
  606. package/dist/session/revert.js +98 -98
  607. package/dist/session/run-coordinator.js +3 -3
  608. package/dist/session/runner/index.js +3 -3
  609. package/dist/session/runner/llm.js +232 -232
  610. package/dist/session/runner/max-steps.js +1 -1
  611. package/dist/session/runner/model.js +104 -104
  612. package/dist/session/runner/publish-llm-event.js +117 -117
  613. package/dist/session/runner/retry.js +5 -5
  614. package/dist/session/runner/step.js +130 -130
  615. package/dist/session/runner/to-llm-message.js +14 -14
  616. package/dist/session/schema.js +5 -5
  617. package/dist/session/session.js +166 -166
  618. package/dist/session/shell.js +131 -131
  619. package/dist/session/skill.js +107 -107
  620. package/dist/session/sql.js +5 -5
  621. package/dist/session/stats.js +78 -78
  622. package/dist/session/store.js +88 -88
  623. package/dist/session/subagent-completion.js +1 -1
  624. package/dist/session/subagent-job.js +213 -213
  625. package/dist/session/system-prompt.js +3 -3
  626. package/dist/session/title.js +170 -170
  627. package/dist/session/to-session-error.js +116 -116
  628. package/dist/session/transfer.js +224 -224
  629. package/dist/session/usage.js +1 -1
  630. package/dist/session.js +215 -215
  631. package/dist/shell/parse.js +6 -6
  632. package/dist/shell/result.js +1 -1
  633. package/dist/shell/scan.js +1 -1
  634. package/dist/shell/select.js +7 -7
  635. package/dist/shell.js +133 -133
  636. package/dist/skill/discovery.js +2 -2
  637. package/dist/skill/instructions.js +109 -109
  638. package/dist/skill.js +116 -116
  639. package/dist/snapshot.js +91 -91
  640. package/dist/state.js +1 -1
  641. package/dist/tool/html-markdown.js +1 -1
  642. package/dist/tool/http-body.js +1 -1
  643. package/dist/tool/mcp.js +139 -139
  644. package/dist/tool/plugin/edit.js +124 -124
  645. package/dist/tool/plugin/file-diff.js +1 -1
  646. package/dist/tool/plugin/glob.js +128 -128
  647. package/dist/tool/plugin/grep.js +126 -126
  648. package/dist/tool/plugin/mcp-resource.js +128 -128
  649. package/dist/tool/plugin/opencode.js +111 -111
  650. package/dist/tool/plugin/patch.js +126 -126
  651. package/dist/tool/plugin/question.js +105 -105
  652. package/dist/tool/plugin/read.js +129 -129
  653. package/dist/tool/plugin/shell.js +218 -218
  654. package/dist/tool/plugin/skill.js +115 -115
  655. package/dist/tool/plugin/subagent.js +220 -220
  656. package/dist/tool/plugin/todo.js +139 -139
  657. package/dist/tool/plugin/webfetch.js +117 -117
  658. package/dist/tool/plugin/websearch.js +118 -118
  659. package/dist/tool/plugin/write.js +124 -124
  660. package/dist/tool/read-filesystem.js +106 -106
  661. package/dist/tool/runtime.js +1 -1
  662. package/dist/tool-output.js +7 -7
  663. package/dist/tool.js +12 -12
  664. package/dist/types/console-access.d.ts +7 -0
  665. package/dist/types/instance.d.ts +2 -1
  666. package/dist/types/usage-limits.d.ts +103 -0
  667. package/dist/usage-limits.js +97 -0
  668. package/dist/util/error-summary.js +1 -1
  669. package/dist/util/git-executable.js +3 -3
  670. package/dist/util/lazy.js +1 -1
  671. package/dist/util/slug.js +1 -1
  672. package/dist/util/token.js +1 -1
  673. package/dist/util/which.js +1 -1
  674. package/dist/util/wildcard.js +1 -1
  675. package/dist/v1/config/agent.js +5 -5
  676. package/dist/v1/config/command.js +3 -3
  677. package/dist/v1/config/mcp.js +2 -2
  678. package/dist/v1/config/migrate.js +96 -96
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +1 -1
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/variant.js +95 -95
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +93 -93
  686. package/dist/voice.js +89 -89
  687. package/dist/websearch.js +83 -83
  688. package/dist/wellknown/plugin.js +77 -77
  689. package/dist/wellknown.js +82 -82
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +85 -85
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +11 -11
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +93 -93
  697. package/dist/worktree.js +102 -102
  698. package/package.json +8 -8
  699. package/dist/chunks/file-retention-4t67gtqn.js +0 -257
  700. package/dist/chunks/file-retention-jztn5z23.js +0 -18
  701. package/dist/chunks/file-retention-q2x3hw9d.js +0 -26
  702. package/dist/chunks/file-retention-qegqjw48.js +0 -517
  703. /package/dist/chunks/{file-retention-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-retention-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-retention-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-retention-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-retention-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{file-retention-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{file-retention-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  710. /package/dist/chunks/{file-retention-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{file-retention-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{file-retention-3asan66x.js → wellknown-3asan66x.js} +0 -0
  713. /package/dist/chunks/{file-retention-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{file-retention-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{file-retention-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{file-retention-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{file-retention-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{file-retention-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{file-retention-53557ph1.js → wellknown-53557ph1.js} +0 -0
  720. /package/dist/chunks/{file-retention-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{file-retention-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
  722. /package/dist/chunks/{file-retention-6prwharc.js → wellknown-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-retention-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  724. /package/dist/chunks/{file-retention-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{file-retention-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{file-retention-822emrt2.js → wellknown-822emrt2.js} +0 -0
  727. /package/dist/chunks/{file-retention-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  728. /package/dist/chunks/{file-retention-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{file-retention-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{file-retention-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{file-retention-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{file-retention-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{file-retention-a058387c.js → wellknown-a058387c.js} +0 -0
  734. /package/dist/chunks/{file-retention-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{file-retention-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{file-retention-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{file-retention-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{file-retention-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{file-retention-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{file-retention-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{file-retention-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{file-retention-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
  743. /package/dist/chunks/{file-retention-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{file-retention-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{file-retention-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{file-retention-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{file-retention-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{file-retention-dbztejgq.js → wellknown-dbztejgq.js} +0 -0
  749. /package/dist/chunks/{file-retention-df08tz66.js → wellknown-df08tz66.js} +0 -0
  750. /package/dist/chunks/{file-retention-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{file-retention-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
  752. /package/dist/chunks/{file-retention-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{file-retention-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{file-retention-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{file-retention-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{file-retention-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{file-retention-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{file-retention-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{file-retention-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{file-retention-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{file-retention-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{file-retention-g86h250q.js → wellknown-g86h250q.js} +0 -0
  763. /package/dist/chunks/{file-retention-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{file-retention-gftt206x.js → wellknown-gftt206x.js} +0 -0
  765. /package/dist/chunks/{file-retention-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  766. /package/dist/chunks/{file-retention-hk9envan.js → wellknown-hk9envan.js} +0 -0
  767. /package/dist/chunks/{file-retention-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{file-retention-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{file-retention-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{file-retention-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{file-retention-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{file-retention-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  773. /package/dist/chunks/{file-retention-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{file-retention-m18g726c.js → wellknown-m18g726c.js} +0 -0
  775. /package/dist/chunks/{file-retention-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{file-retention-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{file-retention-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{file-retention-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{file-retention-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{file-retention-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{file-retention-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{file-retention-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{file-retention-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{file-retention-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{file-retention-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{file-retention-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{file-retention-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{file-retention-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{file-retention-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{file-retention-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  791. /package/dist/chunks/{file-retention-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{file-retention-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{file-retention-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{file-retention-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
  795. /package/dist/chunks/{file-retention-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{file-retention-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{file-retention-x61499pn.js → wellknown-x61499pn.js} +0 -0
  798. /package/dist/chunks/{file-retention-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{file-retention-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{file-retention-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{file-retention-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{file-retention-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  803. /package/dist/chunks/{file-retention-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin16
9
+ Plugin: () => Plugin41
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin16 = define({
16
+ var Plugin41 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin16 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin16, exports_mcp_codemode_defaults };
41
+ export { Plugin41, exports_mcp_codemode_defaults };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82
3
- } from "./file-retention-kd9fhfv6.js";
2
+ Service83
3
+ } from "./wellknown-s9agp0wp.js";
4
4
  import {
5
- Service64
6
- } from "./file-retention-1a3825m9.js";
5
+ Service66
6
+ } from "./wellknown-5sjqaaf3.js";
7
7
  import {
8
8
  Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-retention-q83y25yv.js";
11
+ } from "./wellknown-5q6rg3ah.js";
12
12
  import {
13
- Service18
14
- } from "./file-retention-ycrb3cr5.js";
13
+ Service50
14
+ } from "./wellknown-j8we4jgn.js";
15
15
  import {
16
- Service53
17
- } from "./file-retention-q404j35s.js";
16
+ Service56
17
+ } from "./wellknown-jh1qsrkb.js";
18
18
  import {
19
- Service19,
19
+ Service15,
20
20
  resolvePath2
21
- } from "./file-retention-x6n10bgh.js";
21
+ } from "./wellknown-cx6bpn5t.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-retention-6prwharc.js";
24
+ } from "./wellknown-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-retention-9rqn6x4v.js";
27
+ } from "./wellknown-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input12,
34
- Output: () => Output8,
35
- Plugin: () => Plugin30,
36
- name: () => name12
33
+ Input: () => Input6,
34
+ Output: () => Output5,
35
+ Plugin: () => Plugin24,
36
+ name: () => name6
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name12 = "edit";
43
- var Input12 = Schema.Struct({
42
+ var name6 = "edit";
43
+ var Input6 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output8 = Schema.Struct({
53
+ var Output5 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin30 = {
193
+ var Plugin24 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service19;
196
+ const access = yield* Service15;
197
197
  const fileMutation = yield* Service13;
198
- const environment = yield* Service64;
199
- const formatter = yield* Service18;
200
- const location = yield* Service82;
201
- const permission = yield* Service53;
198
+ const environment = yield* Service66;
199
+ const formatter = yield* Service50;
200
+ const location = yield* Service83;
201
+ const permission = yield* Service56;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name12,
203
+ name: name6,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input12,
207
- output: Output8,
206
+ input: Input6,
207
+ output: Output5,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin30 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name12, Input12, Output8, Plugin30, exports_edit };
279
+ export { name6, Input6, Output5, Plugin24, exports_edit };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-retention-qjgzc4b4.js";
3
+ } from "./wellknown-8jztxfpf.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service7 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service7.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service7, node9, exports_update };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-retention-5fjb7ams.js";
7
+ } from "./wellknown-5fjb7ams.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-retention-4xvmh7wp.js";
11
+ } from "./wellknown-4xvmh7wp.js";
12
12
  import {
13
13
  create3
14
- } from "./file-retention-vd3b3yk9.js";
14
+ } from "./wellknown-vd3b3yk9.js";
15
15
  import {
16
- Service43,
17
- node47
18
- } from "./file-retention-av5ks0e5.js";
16
+ Service47,
17
+ node50
18
+ } from "./wellknown-wj6vtssy.js";
19
19
  import {
20
- Service69,
21
- node72
22
- } from "./file-retention-6cahmqzr.js";
20
+ Service60,
21
+ node62
22
+ } from "./wellknown-7ye4ae45.js";
23
23
  import {
24
24
  match2
25
- } from "./file-retention-z38nccrw.js";
25
+ } from "./wellknown-z38nccrw.js";
26
26
  import {
27
27
  __export
28
- } from "./file-retention-9rqn6x4v.js";
28
+ } from "./wellknown-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service38,
38
+ Service: () => Service46,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node41
41
+ node: () => node49
42
42
  });
43
43
  import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service38 extends Context.Service()("@opencode/Tool") {
54
+ class Service46 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service38, Effect.gen(function* () {
57
- const hooks = yield* Service69;
58
- const image = yield* Service43;
56
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
57
+ const hooks = yield* Service60;
58
+ const image = yield* Service47;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service38.of({
187
+ return Service46.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node41 = makeLocationNode({
277
- service: Service38,
276
+ var node49 = makeLocationNode({
277
+ service: Service46,
278
278
  layer,
279
- deps: [node72, node47]
279
+ deps: [node62, node50]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service38, node41, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service46, node49, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./wellknown-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service37,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service37 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service37.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service37, awaitActivation2, exports_service };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service85
3
- } from "./file-retention-3r7w24g9.js";
2
+ Service86
3
+ } from "./wellknown-6gctnm3n.js";
4
4
  import {
5
- Service82
6
- } from "./file-retention-kd9fhfv6.js";
5
+ Service83
6
+ } from "./wellknown-s9agp0wp.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service29
10
- } from "./file-retention-mv7k79ef.js";
9
+ Service38
10
+ } from "./wellknown-atvnxcjg.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin14
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin47
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin14 = define({
196
+ var Plugin47 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service82;
200
- const mcp = yield* Service29;
201
- const bus = yield* Service85;
199
+ const location = yield* Service83;
200
+ const mcp = yield* Service38;
201
+ const bus = yield* Service86;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin14, exports_command };
283
+ export { Plugin47, exports_command2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-kzcwk5ky.js";
3
+ } from "./wellknown-kwd8yzj2.js";
4
4
  import {
5
- Service85
6
- } from "./file-retention-3r7w24g9.js";
5
+ Service86
6
+ } from "./wellknown-6gctnm3n.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./file-retention-b3zqj1fn.js";
10
+ } from "./wellknown-m126rssb.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./file-retention-ahrm6a4v.js";
14
+ } from "./wellknown-5ch3p6j9.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./file-retention-yb20nhc3.js";
18
+ } from "./wellknown-yb20nhc3.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./file-retention-562s2c64.js";
23
+ } from "./wellknown-xm65v1c6.js";
24
24
  import {
25
25
  get5
26
- } from "./file-retention-3nnrz6f6.js";
26
+ } from "./wellknown-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./file-retention-c7nehh90.js";
29
+ } from "./wellknown-hbstmyqp.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -164,10 +164,10 @@ var headless = (app) => ({
164
164
  }),
165
165
  refresh: (value) => refresh(headlessMethodID, value, app)
166
166
  });
167
- var OpenAIPlugin3 = define({
167
+ var OpenAIPlugin2 = define({
168
168
  id: "opencode.provider.openai",
169
169
  effect: Effect.fn(function* (ctx) {
170
- const bus = yield* Service85;
170
+ const bus = yield* Service86;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let chatgpt;
173
173
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -332,4 +332,4 @@ function claim(token) {
332
332
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
333
333
  }
334
334
 
335
- export { OpenAIPlugin3 };
335
+ export { OpenAIPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./file-retention-t8cetwdg.js";
5
+ } from "./wellknown-hg41gd58.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./file-retention-s27aztda.js";
11
+ } from "./wellknown-xjnmf968.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./wellknown-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./file-retention-3r7w24g9.js";
2
+ Service86,
3
+ node90
4
+ } from "./wellknown-6gctnm3n.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./file-retention-eqtjzdmt.js";
6
+ Service81,
7
+ node85
8
+ } from "./wellknown-jenkz3h9.js";
9
9
  import {
10
- Service83,
11
- node87
12
- } from "./file-retention-fbx1pf6w.js";
10
+ Service84,
11
+ node88
12
+ } from "./wellknown-hz95n7rj.js";
13
13
  import {
14
14
  Ref4,
15
- Service82,
16
- node86
17
- } from "./file-retention-kd9fhfv6.js";
15
+ Service83,
16
+ node87
17
+ } from "./wellknown-s9agp0wp.js";
18
18
  import {
19
19
  canonical3
20
- } from "./file-retention-x8570257.js";
20
+ } from "./wellknown-h9927jyw.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./file-retention-ec1grn59.js";
23
+ } from "./wellknown-ec1grn59.js";
24
24
  import {
25
- Service53,
26
- node56
27
- } from "./file-retention-q404j35s.js";
25
+ Service56,
26
+ node58
27
+ } from "./wellknown-jh1qsrkb.js";
28
28
  import {
29
- Service74,
30
- node78
31
- } from "./file-retention-xha7ydwr.js";
29
+ Service22,
30
+ node25
31
+ } from "./wellknown-8fxn4ej1.js";
32
32
  import {
33
33
  __export
34
- } from "./file-retention-9rqn6x4v.js";
34
+ } from "./wellknown-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service16,
40
+ Service: () => Service17,
41
41
  node: () => node19
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -45,15 +45,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service16, Effect.gen(function* () {
51
- const bus = yield* Service85;
52
- const location = yield* Service82;
53
- const permission = yield* Service53;
54
- const forms = yield* Service80;
55
- const rpc = yield* Service74;
56
- const project = yield* Service83;
50
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
51
+ const bus = yield* Service86;
52
+ const location = yield* Service83;
53
+ const permission = yield* Service56;
54
+ const forms = yield* Service81;
55
+ const rpc = yield* Service22;
56
+ const project = yield* Service84;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service16.of({
83
+ return Service17.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
88
  var node19 = makeLocationNode({
89
- service: Service16,
89
+ service: Service17,
90
90
  layer,
91
- deps: [node89, node86, node56, node87, node84, node78]
91
+ deps: [node90, node87, node58, node88, node85, node25]
92
92
  });
93
93
 
94
- export { Service16, node19, exports_location_lifecycle };
94
+ export { Service17, node19, exports_location_lifecycle };