@opencode/core 0.0.0-dev-20420 → 0.0.0-dev-20423

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 (804) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{image-bdw71yz3.js → file-access-054bnrcz.js} +12 -12
  8. package/dist/chunks/{image-mk3zm8w3.js → file-access-07esrmkr.js} +13 -13
  9. package/dist/chunks/{image-yc4m8b4c.js → file-access-07x4qw17.js} +48 -48
  10. package/dist/chunks/{image-8bzcbfjx.js → file-access-0e0js3rh.js} +19 -19
  11. package/dist/chunks/{image-kxpygcw9.js → file-access-0ft9cg2j.js} +4 -4
  12. package/dist/chunks/{image-kma0a23x.js → file-access-0k4n424v.js} +52 -52
  13. package/dist/chunks/{image-vgxhzj35.js → file-access-0maqqwr3.js} +11 -11
  14. package/dist/chunks/{image-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{image-gv6a8nnw.js → file-access-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{image-g6em3hs7.js → file-access-0x34zjfk.js} +11 -11
  17. package/dist/chunks/{image-44nyv85r.js → file-access-10a0p2jb.js} +11 -11
  18. package/dist/chunks/{image-x5c3aeq5.js → file-access-15nepkqg.js} +8 -8
  19. package/dist/chunks/{image-jv14matq.js → file-access-16v1444e.js} +7 -7
  20. package/dist/chunks/{image-y6bxn8ge.js → file-access-1cjqvqy6.js} +25 -25
  21. package/dist/chunks/{image-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{image-2ptzyb5x.js → file-access-1dth1b1r.js} +14 -14
  23. package/dist/chunks/{image-gfvb90ym.js → file-access-1dvck2a7.js} +2 -2
  24. package/dist/chunks/{image-e1gx0x5b.js → file-access-1garg717.js} +8 -8
  25. package/dist/chunks/{image-8tr76t7q.js → file-access-1kxeax12.js} +4 -4
  26. package/dist/chunks/{image-2ffw9mnr.js → file-access-1m0tad6c.js} +11 -11
  27. package/dist/chunks/{image-21r38tys.js → file-access-21r38tys.js} +1 -1
  28. package/dist/chunks/{image-pf9vtx43.js → file-access-22d7tj50.js} +12 -12
  29. package/dist/chunks/{image-bczcn6w4.js → file-access-288g8677.js} +4 -4
  30. package/dist/chunks/{image-44vdmdsx.js → file-access-29kk78yn.js} +5 -5
  31. package/dist/chunks/{image-bey9aa5n.js → file-access-29tbwe98.js} +21 -21
  32. package/dist/chunks/{image-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{image-fjzghbfh.js → file-access-2bh420nq.js} +23 -23
  34. package/dist/chunks/{image-6dcamqcs.js → file-access-2htbg7xg.js} +34 -34
  35. package/dist/chunks/{image-tbe0yh0n.js → file-access-2jyv8ggx.js} +20 -20
  36. package/dist/chunks/{image-fdv5t5g0.js → file-access-32wjb5vy.js} +25 -25
  37. package/dist/chunks/{image-rpg9mwd2.js → file-access-33fsjrfc.js} +23 -23
  38. package/dist/chunks/{image-nrbk2kv0.js → file-access-3c019r4e.js} +6 -6
  39. package/dist/chunks/{image-56b3zt1s.js → file-access-3emr59yt.js} +8 -8
  40. package/dist/chunks/{image-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{image-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{image-1sayd3qa.js → file-access-3jf042qv.js} +44 -44
  43. package/dist/chunks/{image-zqerc4cv.js → file-access-3rymjx9g.js} +20 -20
  44. package/dist/chunks/{image-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{image-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{image-57ez7d0k.js → file-access-3v5tjer0.js} +2 -2
  47. package/dist/chunks/{image-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{image-09vgy7d7.js → file-access-40x2t3h9.js} +26 -26
  49. package/dist/chunks/{image-w6s43q3f.js → file-access-43ka91pa.js} +11 -11
  50. package/dist/chunks/{image-z844dt8c.js → file-access-43qgvbm9.js} +22 -22
  51. package/dist/chunks/{image-98ya4gjh.js → file-access-4432mf64.js} +26 -26
  52. package/dist/chunks/{image-4xj83bvy.js → file-access-447efrsq.js} +10 -10
  53. package/dist/chunks/{image-ffpqsr69.js → file-access-46sp6zbs.js} +29 -29
  54. package/dist/chunks/{image-nr1s5933.js → file-access-47cwrk07.js} +19 -19
  55. package/dist/chunks/{image-0r7yqxbf.js → file-access-47jkzegy.js} +2 -2
  56. package/dist/chunks/{image-ygwcwb09.js → file-access-4hrvpbem.js} +4 -4
  57. package/dist/chunks/{image-yrznvahk.js → file-access-4ts7tf6z.js} +2 -2
  58. package/dist/chunks/{image-jfr8p1nc.js → file-access-4xp53jne.js} +6 -6
  59. package/dist/chunks/{image-eeyn7p3y.js → file-access-4xsrjhze.js} +5 -5
  60. package/dist/chunks/{image-a3r4dcrj.js → file-access-543tcfte.js} +2 -2
  61. package/dist/chunks/{image-r94pvvab.js → file-access-54ma36ye.js} +4 -4
  62. package/dist/chunks/{image-33w4ejhs.js → file-access-56gdpj1q.js} +6 -6
  63. package/dist/chunks/{image-e1vxf24z.js → file-access-587pgjr5.js} +20 -20
  64. package/dist/chunks/{image-98rjzhgf.js → file-access-59s176qy.js} +3 -3
  65. package/dist/chunks/{image-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  66. package/dist/chunks/{image-gq3rpds4.js → file-access-5f009fwt.js} +50 -50
  67. package/dist/chunks/{image-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{image-rk1r2hx8.js → file-access-5tat9ppm.js} +1 -1
  69. package/dist/chunks/{image-rr741bpx.js → file-access-5xzgptxk.js} +4 -4
  70. package/dist/chunks/{image-nkh7xb07.js → file-access-5yv40649.js} +13 -13
  71. package/dist/chunks/file-access-619r8v3y.js +18 -0
  72. package/dist/chunks/{image-669tq793.js → file-access-669tq793.js} +1 -1
  73. package/dist/chunks/{image-s349tpfq.js → file-access-68yjs0jb.js} +21 -21
  74. package/dist/chunks/{image-syx3683f.js → file-access-69qt02rp.js} +1 -1
  75. package/dist/chunks/{image-zm1zrekh.js → file-access-6cgtmdw1.js} +11 -11
  76. package/dist/chunks/{image-1yce9yd2.js → file-access-6d6skgds.js} +16 -16
  77. package/dist/chunks/{image-nsfzc1qf.js → file-access-6dgwpzzh.js} +26 -26
  78. package/dist/chunks/{image-8c98pape.js → file-access-6dy6aana.js} +29 -29
  79. package/dist/chunks/{image-x7g19880.js → file-access-6jv65q7g.js} +11 -11
  80. package/dist/chunks/{image-m9b9fvvz.js → file-access-6sf57f13.js} +12 -12
  81. package/dist/chunks/{image-3fh5m38b.js → file-access-6ygnexhm.js} +5 -5
  82. package/dist/chunks/{image-v08hbz58.js → file-access-6z5zeb5k.js} +15 -15
  83. package/dist/chunks/{image-pxye9d3v.js → file-access-70kv65rg.js} +85 -85
  84. package/dist/chunks/{image-54tcyq79.js → file-access-71az546q.js} +2 -2
  85. package/dist/chunks/{image-j6x1e07f.js → file-access-78jsw4m4.js} +22 -22
  86. package/dist/chunks/{image-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{image-sez2zsv2.js → file-access-7zydptxx.js} +6 -6
  88. package/dist/chunks/{image-zd755v0h.js → file-access-81mx0dd4.js} +7 -7
  89. package/dist/chunks/{image-84txncab.js → file-access-84txncab.js} +1 -1
  90. package/dist/chunks/{image-asb7s1px.js → file-access-89rb888m.js} +15 -15
  91. package/dist/chunks/{image-4w5f3qm5.js → file-access-8ank75fn.js} +8 -8
  92. package/dist/chunks/{image-9352f8b0.js → file-access-8d4fr1yn.js} +9 -9
  93. package/dist/chunks/{image-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{image-ts4697w6.js → file-access-8jngx5jr.js} +33 -33
  95. package/dist/chunks/{image-51rzsxjq.js → file-access-8jx1rcbm.js} +34 -34
  96. package/dist/chunks/{image-cm4676z0.js → file-access-8kwjs46x.js} +17 -17
  97. package/dist/chunks/{image-63pd56y5.js → file-access-8mb668b9.js} +12 -12
  98. package/dist/chunks/{image-vrpbqt8c.js → file-access-8p7e9d70.js} +17 -17
  99. package/dist/chunks/{image-zrr907e3.js → file-access-8q7xev84.js} +8 -8
  100. package/dist/chunks/{image-vdjkcp1a.js → file-access-8q91hsbg.js} +10 -10
  101. package/dist/chunks/{image-h9bcwp57.js → file-access-91z5rg67.js} +6 -6
  102. package/dist/chunks/{image-prmgem5b.js → file-access-93ygb5af.js} +6 -6
  103. package/dist/chunks/{image-z8a1da1q.js → file-access-9bnev7a1.js} +20 -20
  104. package/dist/chunks/{image-bjtzbw4r.js → file-access-9e5bzkjp.js} +3 -3
  105. package/dist/chunks/{image-zxwpcx7f.js → file-access-9pas2tb1.js} +10 -10
  106. package/dist/chunks/{image-aj1p7gt3.js → file-access-9vmwh205.js} +6 -6
  107. package/dist/chunks/{image-g80d2raz.js → file-access-9y6p8gkk.js} +5 -5
  108. package/dist/chunks/{image-eq1pz5kg.js → file-access-a1gpj94z.js} +3 -3
  109. package/dist/chunks/{image-ma9b7dad.js → file-access-a6h4nhc6.js} +3 -3
  110. package/dist/chunks/{image-wkkjk60x.js → file-access-a9vcwp68.js} +39 -39
  111. package/dist/chunks/{image-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  112. package/dist/chunks/{image-dnxkq42g.js → file-access-addxnjmp.js} +4 -4
  113. package/dist/chunks/{image-wabfeqb8.js → file-access-ae464gx1.js} +8 -8
  114. package/dist/chunks/{image-xtf7vn19.js → file-access-aej0er4j.js} +15 -15
  115. package/dist/chunks/{image-1gn2b5rd.js → file-access-af6t3a03.js} +6 -6
  116. package/dist/chunks/{image-rwm5vee1.js → file-access-afdssyjb.js} +4 -4
  117. package/dist/chunks/{image-spr7x8vd.js → file-access-apk1tfew.js} +27 -27
  118. package/dist/chunks/{image-vq5ej43a.js → file-access-b3180kyy.js} +28 -28
  119. package/dist/chunks/{image-87yk6njf.js → file-access-b4mn66r8.js} +21 -21
  120. package/dist/chunks/{image-py3kkmfq.js → file-access-b4twkq7r.js} +6 -6
  121. package/dist/chunks/{image-92pqcnfv.js → file-access-b5nepgw1.js} +30 -30
  122. package/dist/chunks/{image-1h2tf2pz.js → file-access-b6eekeg6.js} +5 -5
  123. package/dist/chunks/{image-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  124. package/dist/chunks/{image-yfs06vqd.js → file-access-bbxmjh93.js} +3 -3
  125. package/dist/chunks/{image-t9zs3egg.js → file-access-bct739vz.js} +4 -4
  126. package/dist/chunks/{image-fz0jyhtj.js → file-access-bt85z86c.js} +24 -24
  127. package/dist/chunks/{image-jr6nesqj.js → file-access-c1sht665.js} +43 -43
  128. package/dist/chunks/{image-cpneeje0.js → file-access-c765mh8b.js} +8 -8
  129. package/dist/chunks/{image-7hdbg4yw.js → file-access-cbckqvqg.js} +13 -13
  130. package/dist/chunks/file-access-ccba3199.js +26 -0
  131. package/dist/chunks/{image-9pgc1ftw.js → file-access-cggxzdeq.js} +83 -83
  132. package/dist/chunks/{image-2gw8ssgq.js → file-access-d171acjh.js} +14 -14
  133. package/dist/chunks/{image-nn1s08mm.js → file-access-d8mzv3s6.js} +16 -16
  134. package/dist/chunks/{image-yzyn3x45.js → file-access-d9245fkk.js} +15 -15
  135. package/dist/chunks/{image-wrbnapbr.js → file-access-dbfpw9fe.js} +3 -3
  136. package/dist/chunks/{image-y4f6tqdt.js → file-access-dg8dy2wg.js} +27 -27
  137. package/dist/chunks/{image-1vsy90zb.js → file-access-djvcp36f.js} +22 -22
  138. package/dist/chunks/{image-e3ygdm6b.js → file-access-dkfn8ta6.js} +20 -20
  139. package/dist/chunks/{image-n6bdjd7t.js → file-access-dkn8r4r6.js} +8 -8
  140. package/dist/chunks/{image-nxm207yx.js → file-access-dpkg50ah.js} +4 -4
  141. package/dist/chunks/{image-qq8x5mwt.js → file-access-dwvzh0g2.js} +4 -4
  142. package/dist/chunks/{image-87sgw6dv.js → file-access-dxa0ydqz.js} +26 -26
  143. package/dist/chunks/{image-xzbn3rqq.js → file-access-e2mpdzhr.js} +6 -6
  144. package/dist/chunks/{image-w4y2qeev.js → file-access-eex14ffc.js} +35 -35
  145. package/dist/chunks/{image-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{image-v4ya61sm.js → file-access-ehtcgea1.js} +17 -17
  147. package/dist/chunks/{image-anz9cf4w.js → file-access-ennsf284.js} +18 -18
  148. package/dist/chunks/{image-dhzxrwkg.js → file-access-eph4bszk.js} +9 -9
  149. package/dist/chunks/{image-etzz3kcr.js → file-access-et0rkxxj.js} +8 -8
  150. package/dist/chunks/{image-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{image-4txpgtd5.js → file-access-ezk3vef6.js} +9 -9
  152. package/dist/chunks/{image-7j5e6wjq.js → file-access-f0mwhmn1.js} +8 -8
  153. package/dist/chunks/{image-2yv7jqsy.js → file-access-fa4m3wax.js} +2 -2
  154. package/dist/chunks/{image-qcv1wgnv.js → file-access-fdtxgpnc.js} +10 -10
  155. package/dist/chunks/{image-x1dwmb2w.js → file-access-ffmntvx6.js} +16 -16
  156. package/dist/chunks/{image-sc24egzq.js → file-access-fqcgpcra.js} +9 -9
  157. package/dist/chunks/{image-chn746cp.js → file-access-fyecwx5s.js} +15 -15
  158. package/dist/chunks/{image-xfkkasph.js → file-access-g5w8qwbj.js} +4 -4
  159. package/dist/chunks/{image-hkfg6fzm.js → file-access-g6yfr6ja.js} +5 -5
  160. package/dist/chunks/{image-edxf7q0v.js → file-access-g7ewk93y.js} +24 -24
  161. package/dist/chunks/{image-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{image-410wgjg3.js → file-access-gm258srw.js} +13 -13
  163. package/dist/chunks/{image-0vwyq9fa.js → file-access-gvzs7mpe.js} +13 -13
  164. package/dist/chunks/{image-psazpmmj.js → file-access-h2b79v29.js} +2 -2
  165. package/dist/chunks/{image-dz3gce22.js → file-access-h2qz4qj9.js} +13 -13
  166. package/dist/chunks/{image-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{image-yvq70187.js → file-access-h7f3g3sa.js} +16 -16
  168. package/dist/chunks/{image-44zg68ra.js → file-access-h8t7xzdm.js} +25 -25
  169. package/dist/chunks/{image-hehaxqkv.js → file-access-hnr8f6ws.js} +4 -4
  170. package/dist/chunks/{image-abq6qjef.js → file-access-hxr59w64.js} +24 -24
  171. package/dist/chunks/{image-a8vt68jm.js → file-access-j4rw0q04.js} +18 -18
  172. package/dist/chunks/{image-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  173. package/dist/chunks/{image-9fxxshwk.js → file-access-j5xd1zzt.js} +38 -38
  174. package/dist/chunks/{image-74s3n81d.js → file-access-j899q2e9.js} +26 -26
  175. package/dist/chunks/{image-4m5fa9e1.js → file-access-jafprmqk.js} +30 -30
  176. package/dist/chunks/{image-thwj5qp5.js → file-access-jeg27h1n.js} +10 -10
  177. package/dist/chunks/{image-a89e0tac.js → file-access-jewzahs7.js} +4 -4
  178. package/dist/chunks/{image-f2ra6ejh.js → file-access-jmmkndc6.js} +28 -28
  179. package/dist/chunks/{image-f3ngv102.js → file-access-jw80jp6b.js} +4 -4
  180. package/dist/chunks/{image-3w0fmcng.js → file-access-jzzgdak2.js} +5 -5
  181. package/dist/chunks/{image-3pemy4mj.js → file-access-k1byq2gr.js} +40 -40
  182. package/dist/chunks/{image-nzks3jc8.js → file-access-k3c624dm.js} +3 -3
  183. package/dist/chunks/{image-h7ygw6q4.js → file-access-k70p9jzb.js} +5 -5
  184. package/dist/chunks/{image-e8syvjy6.js → file-access-k93tk05c.js} +17 -17
  185. package/dist/chunks/{image-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{image-m58kmhef.js → file-access-m58kmhef.js} +2 -2
  187. package/dist/chunks/{image-08cc3crx.js → file-access-m6qrnzrr.js} +12 -12
  188. package/dist/chunks/{image-6mk64feq.js → file-access-m7b5ps2s.js} +8 -8
  189. package/dist/chunks/{image-qww8dk20.js → file-access-m8frsg49.js} +23 -23
  190. package/dist/chunks/{image-e72dvkew.js → file-access-m92djcax.js} +25 -25
  191. package/dist/chunks/{image-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{image-zeh9ct20.js → file-access-mazbtkaa.js} +2 -2
  193. package/dist/chunks/{image-zeffrx5b.js → file-access-mhsta9mw.js} +5 -5
  194. package/dist/chunks/{image-hfz95zw3.js → file-access-mycw3te0.js} +16 -16
  195. package/dist/chunks/{image-jj72jhew.js → file-access-n57qrn3a.js} +6 -6
  196. package/dist/chunks/{image-wxfthr7h.js → file-access-n66sb98d.js} +156 -156
  197. package/dist/chunks/{image-wp2da0y2.js → file-access-n7cst2s3.js} +70 -70
  198. package/dist/chunks/{image-jexxy024.js → file-access-ndmv45hp.js} +3 -3
  199. package/dist/chunks/{image-39wagmdt.js → file-access-nkbqs3g6.js} +3 -3
  200. package/dist/chunks/{image-pf2g5091.js → file-access-nks5f63d.js} +39 -39
  201. package/dist/chunks/{image-d8sh9q4a.js → file-access-p3vbarsn.js} +25 -25
  202. package/dist/chunks/{image-g0445xdp.js → file-access-p42hj8p8.js} +8 -8
  203. package/dist/chunks/{image-gbp3tmc2.js → file-access-p5wv9msv.js} +9 -9
  204. package/dist/chunks/{image-f29mbr7f.js → file-access-pd7gvt3w.js} +4 -4
  205. package/dist/chunks/{image-bkhvbshk.js → file-access-phxk36rp.js} +25 -25
  206. package/dist/chunks/{image-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{image-pknna89w.js → file-access-pknna89w.js} +1 -1
  208. package/dist/chunks/{image-xdrba4jw.js → file-access-px76j0pk.js} +9 -9
  209. package/dist/chunks/file-access-q0xm7vwc.js +25 -0
  210. package/dist/chunks/file-access-q8av8z97.js +252 -0
  211. package/dist/chunks/{image-sadm9mde.js → file-access-q9gdr54j.js} +9 -9
  212. package/dist/chunks/{image-7npnsjne.js → file-access-qcxzt1z7.js} +14 -14
  213. package/dist/chunks/{image-7dqw4kz8.js → file-access-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{image-eh21xe1z.js → file-access-qjz9g255.js} +42 -42
  215. package/dist/chunks/{image-wzbyfwsn.js → file-access-qmjvrsyr.js} +3 -3
  216. package/dist/chunks/{image-6msgmcgs.js → file-access-qnc92qwc.js} +1 -1
  217. package/dist/chunks/{image-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  218. package/dist/chunks/{image-12htfbcb.js → file-access-r5mpbhf6.js} +11 -11
  219. package/dist/chunks/{image-257x5s3c.js → file-access-r651jaea.js} +41 -41
  220. package/dist/chunks/{image-rhraev7y.js → file-access-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{image-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{image-ywxndyv1.js → file-access-rk7s9xkn.js} +4 -4
  223. package/dist/chunks/{image-m50qhwfm.js → file-access-rkhbev71.js} +11 -11
  224. package/dist/chunks/{image-v6ghzfeb.js → file-access-rmk2c50f.js} +5 -5
  225. package/dist/chunks/{image-v9463pt3.js → file-access-rwk1fma6.js} +20 -20
  226. package/dist/chunks/{image-3dsy9998.js → file-access-s06my820.js} +24 -24
  227. package/dist/chunks/{image-3pbjq009.js → file-access-s5a4scn6.js} +8 -8
  228. package/dist/chunks/{image-9t7a50xb.js → file-access-s8d7rejh.js} +4 -4
  229. package/dist/chunks/{image-jmhnkzbv.js → file-access-skhcq9z8.js} +1 -1
  230. package/dist/chunks/{image-zen14cpe.js → file-access-sn8z9k01.js} +13 -13
  231. package/dist/chunks/{image-ave9n0d8.js → file-access-svgvjres.js} +15 -15
  232. package/dist/chunks/{image-94be766r.js → file-access-sxsbdwhb.js} +9 -9
  233. package/dist/chunks/{image-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{image-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{image-tdstcens.js → file-access-tdstcens.js} +1 -1
  236. package/dist/chunks/{image-s7vn0b15.js → file-access-tfzffy3q.js} +11 -11
  237. package/dist/chunks/{image-54pn5t4s.js → file-access-tj22pfav.js} +32 -32
  238. package/dist/chunks/{image-apxd6vqt.js → file-access-tjseg5r3.js} +13 -13
  239. package/dist/chunks/{image-n6gsfqsz.js → file-access-tjwy6fh9.js} +304 -304
  240. package/dist/chunks/{image-b27vhd2z.js → file-access-tkmwgdpd.js} +7 -7
  241. package/dist/chunks/{image-csx9mte4.js → file-access-tksfqv8e.js} +27 -27
  242. package/dist/chunks/{image-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  243. package/dist/chunks/{image-k0cjby8k.js → file-access-tzgjc6jt.js} +33 -33
  244. package/dist/chunks/{image-ngwfcb89.js → file-access-tzwh8jpw.js} +13 -13
  245. package/dist/chunks/{image-3yscd9tq.js → file-access-v211f8gj.js} +16 -16
  246. package/dist/chunks/{image-aphn2g51.js → file-access-v91tw74e.js} +11 -11
  247. package/dist/chunks/{image-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  248. package/dist/chunks/{image-8v60zwy0.js → file-access-vhd5ymgm.js} +11 -11
  249. package/dist/chunks/{image-qytp0p6t.js → file-access-vhw7yaa4.js} +3 -3
  250. package/dist/chunks/{image-g9698bze.js → file-access-vs96cb1a.js} +10 -10
  251. package/dist/chunks/{image-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{image-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{image-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{image-m6fsgx1c.js → file-access-w66xp1pe.js} +7 -7
  255. package/dist/chunks/{image-7w5kah94.js → file-access-w876dfzh.js} +37 -37
  256. package/dist/chunks/{image-5e9ex5tq.js → file-access-wasxgqrf.js} +11 -11
  257. package/dist/chunks/{image-wd87259q.js → file-access-wd87259q.js} +1 -1
  258. package/dist/chunks/{image-qygbw77c.js → file-access-wecqtg5s.js} +5 -5
  259. package/dist/chunks/{image-rc92zmyt.js → file-access-whtwaam7.js} +17 -17
  260. package/dist/chunks/{image-h6n47w4x.js → file-access-wr5v5dbh.js} +7 -7
  261. package/dist/chunks/{image-1mr17jyd.js → file-access-x0v4zbf6.js} +5 -5
  262. package/dist/chunks/{image-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{image-4pdbz8wr.js → file-access-xh77m8eb.js} +4 -4
  264. package/dist/chunks/{image-xkntkrq7.js → file-access-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{image-189xa6nw.js → file-access-xkqsw4zh.js} +8 -8
  266. package/dist/chunks/{image-pq8fxsmn.js → file-access-xp36mjrh.js} +34 -34
  267. package/dist/chunks/{image-ydz4e7k1.js → file-access-xs2bmay3.js} +11 -11
  268. package/dist/chunks/{image-xd3taepx.js → file-access-xxt1k2vd.js} +17 -17
  269. package/dist/chunks/{image-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{image-2smhrpmj.js → file-access-y1r30anr.js} +8 -8
  271. package/dist/chunks/{image-vev74ge2.js → file-access-y2j62e7h.js} +11 -11
  272. package/dist/chunks/{image-jr7yx8jc.js → file-access-y3mhqy61.js} +5 -5
  273. package/dist/chunks/{image-ra8smtek.js → file-access-y4z5w0q3.js} +20 -20
  274. package/dist/chunks/{image-vjjxy6yb.js → file-access-y6mjvh6p.js} +6 -6
  275. package/dist/chunks/{image-tpew0fxa.js → file-access-yertzaey.js} +11 -11
  276. package/dist/chunks/{image-dweptn8x.js → file-access-yk435ynq.js} +4 -4
  277. package/dist/chunks/{image-vq4s12sx.js → file-access-ym15945z.js} +25 -25
  278. package/dist/chunks/{image-awarry27.js → file-access-ymkdd6f8.js} +14 -14
  279. package/dist/chunks/{image-z8dtv2mk.js → file-access-ynx1p25z.js} +2 -2
  280. package/dist/chunks/{image-4a1xd2mc.js → file-access-ynzcn0sg.js} +33 -33
  281. package/dist/chunks/{image-5esmevc9.js → file-access-yraf8j13.js} +23 -23
  282. package/dist/chunks/{image-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{image-69hv900b.js → file-access-ys1n1pef.js} +11 -11
  284. package/dist/chunks/{image-xpb82v70.js → file-access-ytav440t.js} +20 -20
  285. package/dist/chunks/{image-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{image-922hggd3.js → file-access-z5v4ffb3.js} +1 -11
  287. package/dist/chunks/{image-q6hzchqe.js → file-access-z6t04ysw.js} +6 -6
  288. package/dist/chunks/{image-3p6vpnrg.js → file-access-zc5g640q.js} +5 -5
  289. package/dist/chunks/{image-3bc8czyk.js → file-access-zd30eb5w.js} +5 -5
  290. package/dist/chunks/{image-y1gke2m2.js → file-access-zfs8ae4p.js} +4 -4
  291. package/dist/chunks/{image-j9eqrz8s.js → file-access-zmj7yvkd.js} +15 -15
  292. package/dist/chunks/{image-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{image-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +79 -79
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +222 -222
  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 +13 -13
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +6 -6
  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 +18 -20
  445. package/dist/github-copilot/models.js +99 -99
  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/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +103 -103
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +103 -103
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +96 -96
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +224 -224
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +87 -87
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +2 -4
  578. package/dist/session/affinity.js +3 -3
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +220 -220
  587. package/dist/session/execution.js +124 -124
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +7 -7
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +4 -4
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +214 -214
  653. package/dist/tool/plugin/webfetch.js +108 -108
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +118 -118
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/types/github-copilot/copilot-provider.d.ts +0 -1
  661. package/dist/types/schema.d.ts +0 -21
  662. package/dist/types/v1/config/error.d.ts +48 -1433
  663. package/dist/util/error-summary.js +1 -1
  664. package/dist/util/error.js +1 -1
  665. package/dist/util/git-executable.js +2 -2
  666. package/dist/util/iife.js +1 -1
  667. package/dist/util/lazy.js +1 -1
  668. package/dist/util/slug.js +1 -1
  669. package/dist/util/token.js +1 -1
  670. package/dist/util/which.js +1 -1
  671. package/dist/util/wildcard.js +1 -1
  672. package/dist/v1/config/agent.js +5 -5
  673. package/dist/v1/config/attachment.js +4 -4
  674. package/dist/v1/config/command.js +5 -5
  675. package/dist/v1/config/config.js +16 -16
  676. package/dist/v1/config/error.js +3 -11
  677. package/dist/v1/config/formatter.js +3 -3
  678. package/dist/v1/config/layout.js +1 -1
  679. package/dist/v1/config/lsp.js +3 -3
  680. package/dist/v1/config/mcp.js +4 -4
  681. package/dist/v1/config/migrate.js +92 -92
  682. package/dist/v1/config/permission.js +3 -3
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +2 -2
  686. package/dist/v1/config/server.js +2 -2
  687. package/dist/v1/config/skills.js +3 -3
  688. package/dist/variant.js +93 -93
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +84 -84
  692. package/dist/wellknown/plugin.js +74 -74
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +78 -78
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +8 -8
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +85 -85
  701. package/dist/worktree.js +92 -92
  702. package/package.json +8 -8
  703. package/dist/chunks/image-2g0vd6zq.js +0 -26
  704. package/dist/chunks/image-qc068m1q.js +0 -18
  705. package/dist/chunks/image-y8w35d73.js +0 -252
  706. package/dist/chunks/image-z63w68vq.js +0 -46
  707. package/dist/types/v1/permission.d.ts +0 -27
  708. package/dist/v1/permission.js +0 -51
  709. /package/dist/chunks/{image-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{image-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{image-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{image-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{image-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{image-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{image-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{image-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{image-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{image-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
  719. /package/dist/chunks/{image-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{image-3asan66x.js → file-access-3asan66x.js} +0 -0
  721. /package/dist/chunks/{image-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{image-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  723. /package/dist/chunks/{image-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  724. /package/dist/chunks/{image-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  725. /package/dist/chunks/{image-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  726. /package/dist/chunks/{image-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{image-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{image-53557ph1.js → file-access-53557ph1.js} +0 -0
  729. /package/dist/chunks/{image-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{image-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  731. /package/dist/chunks/{image-6prwharc.js → file-access-6prwharc.js} +0 -0
  732. /package/dist/chunks/{image-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{image-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{image-822emrt2.js → file-access-822emrt2.js} +0 -0
  735. /package/dist/chunks/{image-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{image-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{image-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{image-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  739. /package/dist/chunks/{image-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  740. /package/dist/chunks/{image-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  741. /package/dist/chunks/{image-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  742. /package/dist/chunks/{image-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  743. /package/dist/chunks/{image-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  744. /package/dist/chunks/{image-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  745. /package/dist/chunks/{image-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  746. /package/dist/chunks/{image-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  747. /package/dist/chunks/{image-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  748. /package/dist/chunks/{image-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  749. /package/dist/chunks/{image-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  750. /package/dist/chunks/{image-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  751. /package/dist/chunks/{image-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  752. /package/dist/chunks/{image-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  753. /package/dist/chunks/{image-df08tz66.js → file-access-df08tz66.js} +0 -0
  754. /package/dist/chunks/{image-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  755. /package/dist/chunks/{image-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  756. /package/dist/chunks/{image-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  757. /package/dist/chunks/{image-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  758. /package/dist/chunks/{image-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  759. /package/dist/chunks/{image-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  760. /package/dist/chunks/{image-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  761. /package/dist/chunks/{image-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  762. /package/dist/chunks/{image-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  763. /package/dist/chunks/{image-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  764. /package/dist/chunks/{image-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  765. /package/dist/chunks/{image-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  766. /package/dist/chunks/{image-g86h250q.js → file-access-g86h250q.js} +0 -0
  767. /package/dist/chunks/{image-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  768. /package/dist/chunks/{image-gftt206x.js → file-access-gftt206x.js} +0 -0
  769. /package/dist/chunks/{image-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  770. /package/dist/chunks/{image-hk9envan.js → file-access-hk9envan.js} +0 -0
  771. /package/dist/chunks/{image-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  772. /package/dist/chunks/{image-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  773. /package/dist/chunks/{image-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  774. /package/dist/chunks/{image-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  775. /package/dist/chunks/{image-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  776. /package/dist/chunks/{image-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  777. /package/dist/chunks/{image-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{image-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{image-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{image-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{image-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{image-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  783. /package/dist/chunks/{image-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  784. /package/dist/chunks/{image-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  785. /package/dist/chunks/{image-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  786. /package/dist/chunks/{image-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  787. /package/dist/chunks/{image-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  788. /package/dist/chunks/{image-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  789. /package/dist/chunks/{image-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  790. /package/dist/chunks/{image-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  791. /package/dist/chunks/{image-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  792. /package/dist/chunks/{image-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{image-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  794. /package/dist/chunks/{image-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  795. /package/dist/chunks/{image-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  796. /package/dist/chunks/{image-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  797. /package/dist/chunks/{image-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  798. /package/dist/chunks/{image-x61499pn.js → file-access-x61499pn.js} +0 -0
  799. /package/dist/chunks/{image-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  800. /package/dist/chunks/{image-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  801. /package/dist/chunks/{image-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  802. /package/dist/chunks/{image-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  803. /package/dist/chunks/{image-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  804. /package/dist/chunks/{image-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./image-922hggd3.js";
3
+ } from "./file-access-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./image-f3ngv102.js";
7
- import {
8
- Info17
9
- } from "./image-3pbjq009.js";
6
+ } from "./file-access-jw80jp6b.js";
10
7
  import {
11
8
  Info15
12
- } from "./image-3w0fmcng.js";
9
+ } from "./file-access-s5a4scn6.js";
13
10
  import {
14
- Info16
15
- } from "./image-b27vhd2z.js";
11
+ Info18
12
+ } from "./file-access-jzzgdak2.js";
16
13
  import {
17
14
  Info12
18
- } from "./image-hkfg6fzm.js";
15
+ } from "./file-access-tkmwgdpd.js";
16
+ import {
17
+ Info11
18
+ } from "./file-access-g6yfr6ja.js";
19
19
  import {
20
20
  Spec2
21
- } from "./image-7dqw4kz8.js";
21
+ } from "./file-access-qgn6gcr1.js";
22
22
  import {
23
23
  Info14
24
- } from "./image-0r7yqxbf.js";
24
+ } from "./file-access-47jkzegy.js";
25
25
  import {
26
- Info10
27
- } from "./image-3pemy4mj.js";
26
+ Info9
27
+ } from "./file-access-k1byq2gr.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./image-ygwcwb09.js";
36
+ } from "./file-access-4hrvpbem.js";
37
37
  import {
38
38
  __export
39
- } from "./image-9rqn6x4v.js";
39
+ } from "./file-access-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info12, value, path, diagnostics);
228
+ const server = decodeValue(Info11, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./image-xfkkasph.js";
3
+ } from "./file-access-g5w8qwbj.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,44 +1,44 @@
1
1
  import {
2
- ID10,
3
- Service69
4
- } from "./image-s349tpfq.js";
2
+ ID13,
3
+ Service73
4
+ } from "./file-access-68yjs0jb.js";
5
5
  import {
6
6
  Ref2,
7
- Service74
8
- } from "./image-csx9mte4.js";
7
+ Service66
8
+ } from "./file-access-tksfqv8e.js";
9
9
  import {
10
10
  latest2,
11
- Service54
12
- } from "./image-9fxxshwk.js";
11
+ Service46
12
+ } from "./file-access-j5xd1zzt.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./image-jexxy024.js";
15
+ } from "./file-access-ndmv45hp.js";
16
16
  import {
17
17
  Service65
18
- } from "./image-2ptzyb5x.js";
18
+ } from "./file-access-1dth1b1r.js";
19
19
  import {
20
20
  evaluate2,
21
- Service66
22
- } from "./image-kma0a23x.js";
21
+ Service70
22
+ } from "./file-access-0k4n424v.js";
23
23
  import {
24
- Service26
25
- } from "./image-pxye9d3v.js";
24
+ Service25
25
+ } from "./file-access-70kv65rg.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./image-x1ezjp6w.js";
28
+ } from "./file-access-x1ezjp6w.js";
29
29
  import {
30
- make10
31
- } from "./image-9352f8b0.js";
30
+ make5
31
+ } from "./file-access-8d4fr1yn.js";
32
32
  import {
33
33
  __export
34
- } from "./image-9rqn6x4v.js";
34
+ } from "./file-access-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
39
  Input: () => Input7,
40
- Output: () => Output6,
41
- Plugin: () => Plugin8,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin9,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description3,
44
44
  name: () => name7
@@ -72,7 +72,7 @@ var Input7 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output6 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,16 +86,16 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin8 = {
89
+ var Plugin9 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
92
+ const sessions = yield* Service25;
93
93
  const jobs = yield* Service65;
94
- const agents = yield* Service69;
95
- const config = yield* Service54;
96
- const permission = yield* Service66;
97
- const models = yield* Service74;
98
- const subagents = yield* make10;
94
+ const agents = yield* Service73;
95
+ const config = yield* Service46;
96
+ const permission = yield* Service70;
97
+ const models = yield* Service66;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -119,7 +119,7 @@ var Plugin8 = {
119
119
  options: { codemode: false },
120
120
  description: description3,
121
121
  input: Input7,
122
- output: Output6,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -168,7 +168,7 @@ var Plugin8 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID13.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name7, Input7, Output6, description3, Plugin8, exports_subagent };
256
+ export { name7, Input7, Output5, description3, Plugin9, exports_subagent };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./image-jmhnkzbv.js";
5
+ } from "./file-access-skhcq9z8.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make24,
10
10
  makeWithDefaults2
11
- } from "./image-aj1p7gt3.js";
11
+ } from "./file-access-9vmwh205.js";
12
12
  import {
13
13
  __export
14
- } from "./image-9rqn6x4v.js";
14
+ } from "./file-access-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: () => make24,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./image-2a5m3afh.js";
5
+ } from "./file-access-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./image-9rqn6x4v.js";
8
+ } from "./file-access-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./image-csx9mte4.js";
2
+ ID7
3
+ } from "./file-access-tksfqv8e.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info11
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info11 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info11, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./image-wzbyfwsn.js";
4
+ } from "./file-access-qmjvrsyr.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./image-nxm207yx.js";
7
+ } from "./file-access-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node64
12
- } from "./image-jj72jhew.js";
11
+ node83
12
+ } from "./file-access-n57qrn3a.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./image-faypxj3z.js";
15
+ } from "./file-access-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info20,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service59,
27
+ Service: () => Service79,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node63
30
+ node: () => node82
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info20 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info31 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service59 extends Context.Service()("@opencode/Workspace") {
59
+ class Service79 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service59,
62
+ service: Service79,
63
63
  layer: layer(options),
64
- deps: [node88, node64]
64
+ deps: [node88, node83]
65
65
  });
66
- var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
67
67
  const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info20({
83
+ const info = (row, binding) => new Info31({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service59.of({
157
+ return Service79.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID16.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node63 = configured11();
224
+ var node82 = configured11();
225
225
 
226
- export { ID7, Info20, NotFound3, CreateConflict2, Service59, configured11, node63, exports_workspace };
226
+ export { ID16, Info31, NotFound3, CreateConflict2, Service79, configured11, node82, exports_workspace };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-dweptn8x.js";
4
+ } from "./file-access-yk435ynq.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./image-z8dtv2mk.js";
8
+ } from "./file-access-ynx1p25z.js";
9
9
  import {
10
- Service58,
11
- node62
12
- } from "./image-bey9aa5n.js";
10
+ Service78,
11
+ node81
12
+ } from "./file-access-29tbwe98.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./image-gd4qta3r.js";
15
+ } from "./file-access-gd4qta3r.js";
16
16
  import {
17
- Service57,
17
+ Service55,
18
18
  args2,
19
- node61
20
- } from "./image-ydz4e7k1.js";
19
+ node59
20
+ } from "./file-access-xs2bmay3.js";
21
21
  import {
22
- Service72,
23
- node76
24
- } from "./image-4w5f3qm5.js";
22
+ Service74,
23
+ node77
24
+ } from "./file-access-8ank75fn.js";
25
25
  import {
26
- Service52,
27
- node56
28
- } from "./image-x5c3aeq5.js";
26
+ Service39,
27
+ node42
28
+ } from "./file-access-15nepkqg.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./image-jexxy024.js";
31
+ } from "./file-access-ndmv45hp.js";
32
32
  import {
33
33
  latest2,
34
- Service54,
35
- node58
36
- } from "./image-9fxxshwk.js";
34
+ Service46,
35
+ node49
36
+ } from "./file-access-j5xd1zzt.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./image-08cc3crx.js";
40
+ } from "./file-access-m6qrnzrr.js";
41
41
  import {
42
42
  __export
43
- } from "./image-9rqn6x4v.js";
43
+ } from "./file-access-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError7,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service51,
51
+ Service: () => Service38,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node55
54
+ node: () => node41
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service51 extends Context.Service()("@opencode/Shell") {
74
+ class Service38 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service51, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service57;
95
- const environment = yield* Service58;
96
- const hooks = yield* Service72;
97
- const environments = yield* Service52;
98
- const config = yield* Service54;
94
+ const shell = yield* Service55;
95
+ const environment = yield* Service78;
96
+ const hooks = yield* Service74;
97
+ const environments = yield* Service39;
98
+ const config = yield* Service46;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service51, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError7({ id });
119
+ return yield* new NotFoundError5({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service51, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service51, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service51.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service38.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node55 = makeLocationNode({
329
- service: Service51,
328
+ var node41 = makeLocationNode({
329
+ service: Service38,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
333
  node84,
334
334
  Global.node,
335
- node61,
336
- node62,
337
- node76,
338
- node56,
339
- node58,
335
+ node59,
336
+ node81,
337
+ node77,
338
+ node42,
339
+ node49,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service51, cleanup2, node55, exports_shell4 };
344
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service38, cleanup2, node41, exports_shell4 };