@opencode/core 0.0.0-dev-20003 → 0.0.0-dev-20010

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-5nsey3wr.js → file-access-05dyq9yx.js} +7 -7
  8. package/dist/chunks/{file-a2vvwmx1.js → file-access-08atjc0y.js} +24 -24
  9. package/dist/chunks/{file-txqar36n.js → file-access-09nm2wmq.js} +6 -6
  10. package/dist/chunks/{file-mg83p4ch.js → file-access-0a692sth.js} +33 -33
  11. package/dist/chunks/{file-cptt9y6c.js → file-access-0ehystez.js} +3 -3
  12. package/dist/chunks/{file-b6apyc6e.js → file-access-0fp6vpq7.js} +41 -41
  13. package/dist/chunks/{file-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-xyv4p6em.js → file-access-0rn0af91.js} +22 -22
  16. package/dist/chunks/{file-df9g2pwv.js → file-access-0t1q9tjc.js} +81 -81
  17. package/dist/chunks/{file-bf0ztrs3.js → file-access-0v53mg2y.js} +4 -4
  18. package/dist/chunks/{file-pj55ck15.js → file-access-11vq80p7.js} +30 -30
  19. package/dist/chunks/{file-99xay3p1.js → file-access-15nepkqg.js} +8 -8
  20. package/dist/chunks/{file-ze3aemja.js → file-access-16cax9zb.js} +11 -11
  21. package/dist/chunks/{file-zf6fk84t.js → file-access-19m0af1m.js} +8 -8
  22. package/dist/chunks/{file-yp2x3t23.js → file-access-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{file-syfkgjgr.js → file-access-1bnjjx40.js} +27 -27
  24. package/dist/chunks/{file-ypf2r24a.js → file-access-1cj8gcbx.js} +16 -16
  25. package/dist/chunks/{file-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{file-6z8pkecr.js → file-access-1jtbg6c9.js} +16 -16
  27. package/dist/chunks/{file-1yaq039p.js → file-access-20pzmj15.js} +17 -17
  28. package/dist/chunks/{file-21r38tys.js → file-access-21r38tys.js} +1 -1
  29. package/dist/chunks/{file-pqjwr6wn.js → file-access-227994hr.js} +32 -32
  30. package/dist/chunks/{file-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
  31. package/dist/chunks/{file-jgtvd3t4.js → file-access-24ct3y2e.js} +3 -3
  32. package/dist/chunks/{file-63kmhf8y.js → file-access-288g8677.js} +4 -4
  33. package/dist/chunks/{file-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-z3pw5915.js → file-access-2f0bjgcj.js} +5 -5
  35. package/dist/chunks/{file-bpr04gve.js → file-access-2h0wcn0e.js} +11 -11
  36. package/dist/chunks/{file-sqafhkxq.js → file-access-2hcvc8f1.js} +20 -20
  37. package/dist/chunks/{file-hqs29f2b.js → file-access-2ktg6p98.js} +16 -16
  38. package/dist/chunks/{file-ze7vmps7.js → file-access-2xszf6tt.js} +37 -37
  39. package/dist/chunks/{file-xe9t6z83.js → file-access-317cfnqd.js} +11 -11
  40. package/dist/chunks/{file-4j0j23ey.js → file-access-34e0h94d.js} +3 -3
  41. package/dist/chunks/{file-gtfshpks.js → file-access-34ptww8y.js} +88 -88
  42. package/dist/chunks/{file-4t3s258c.js → file-access-37svwymz.js} +10 -10
  43. package/dist/chunks/{file-0wcwk7gc.js → file-access-3dap0f8b.js} +15 -15
  44. package/dist/chunks/{file-f5gy8qwh.js → file-access-3emr59yt.js} +7 -7
  45. package/dist/chunks/{file-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{file-mh1qkymb.js → file-access-3hdyanjz.js} +4 -4
  47. package/dist/chunks/{file-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{file-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{file-q15mr003.js → file-access-46a1trkr.js} +17 -17
  51. package/dist/chunks/{file-84as8cq2.js → file-access-48qh5hqp.js} +8 -8
  52. package/dist/chunks/{file-80scg3y3.js → file-access-4bm5ja14.js} +4 -4
  53. package/dist/chunks/file-access-4cm67rrf.js +26 -0
  54. package/dist/chunks/{file-bgpx11m8.js → file-access-4dzg40rw.js} +12 -12
  55. package/dist/chunks/{file-eh0zrp3v.js → file-access-4f0fby6w.js} +2 -2
  56. package/dist/chunks/{file-b0smj49a.js → file-access-4s1tnqdt.js} +9 -9
  57. package/dist/chunks/{file-3gj0hb40.js → file-access-4sy0vzp4.js} +11 -11
  58. package/dist/chunks/{file-mfqp6xfm.js → file-access-56gdpj1q.js} +6 -6
  59. package/dist/chunks/{file-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{file-ppgzpeqf.js → file-access-58mcmt77.js} +23 -23
  61. package/dist/chunks/{file-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-5ekn9679.js → file-access-5ekn9679.js} +1 -1
  63. package/dist/chunks/{file-3cndm9je.js → file-access-5q8gz8g4.js} +26 -26
  64. package/dist/chunks/{file-e3qxr5gk.js → file-access-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{file-h04zhhvt.js → file-access-5rnnm2b5.js} +9 -9
  66. package/dist/chunks/{file-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-smt9nx56.js → file-access-5ww8yrxx.js} +25 -25
  68. package/dist/chunks/file-access-619r8v3y.js +18 -0
  69. package/dist/chunks/{file-d9dt1v1f.js → file-access-658p8faw.js} +4 -4
  70. package/dist/chunks/{file-xb4nz3yw.js → file-access-65jejx4v.js} +15 -15
  71. package/dist/chunks/{file-669tq793.js → file-access-669tq793.js} +1 -1
  72. package/dist/chunks/{file-gaqvx1xw.js → file-access-6enf0aw0.js} +3 -3
  73. package/dist/chunks/{file-sd5vfqt4.js → file-access-6gxdng4p.js} +28 -28
  74. package/dist/chunks/{file-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{file-mq6pntxv.js → file-access-6tw2ysqh.js} +11 -11
  76. package/dist/chunks/{file-mggvfrpa.js → file-access-6vnhfzx9.js} +6 -6
  77. package/dist/chunks/{file-mvfsc1pv.js → file-access-73tb2d7t.js} +3 -3
  78. package/dist/chunks/{file-94xx1xn7.js → file-access-752w5jz5.js} +28 -28
  79. package/dist/chunks/{file-rsc9fyh1.js → file-access-768gsh1v.js} +6 -6
  80. package/dist/chunks/{file-r4jnj0e8.js → file-access-773wjt79.js} +7 -7
  81. package/dist/chunks/{file-bp3526j7.js → file-access-78c73d7g.js} +31 -31
  82. package/dist/chunks/{file-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{file-yrtahcj6.js → file-access-7gy38z07.js} +24 -24
  84. package/dist/chunks/{file-1cq1dekj.js → file-access-7hcsbk7e.js} +46 -46
  85. package/dist/chunks/{file-25ajpb73.js → file-access-7pbtkrdy.js} +3 -3
  86. package/dist/chunks/{file-0vrwetc9.js → file-access-7v5p2n78.js} +15 -15
  87. package/dist/chunks/{file-5gs6ad6e.js → file-access-7v8yt572.js} +17 -17
  88. package/dist/chunks/{file-cgm0pb56.js → file-access-7x3ymcnd.js} +12 -12
  89. package/dist/chunks/{file-n9rh2a3m.js → file-access-859wm560.js} +24 -24
  90. package/dist/chunks/{file-yw8t9dwe.js → file-access-8ank75fn.js} +8 -8
  91. package/dist/chunks/{file-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{file-0nj76588.js → file-access-8g6xxsrk.js} +18 -18
  93. package/dist/chunks/{file-kpnhg8q0.js → file-access-8jq0bfkk.js} +5 -5
  94. package/dist/chunks/{file-hmr5kz4g.js → file-access-8na3c29k.js} +11 -11
  95. package/dist/chunks/{file-8p4f9s12.js → file-access-8p4f9s12.js} +2 -2
  96. package/dist/chunks/{file-9d2rp1cq.js → file-access-8ra6m1eq.js} +14 -14
  97. package/dist/chunks/{file-4h7fv3fp.js → file-access-90t26j8x.js} +20 -20
  98. package/dist/chunks/{file-9qwpg2je.js → file-access-919h9xp7.js} +37 -37
  99. package/dist/chunks/{file-vvf56fbk.js → file-access-91zmhnyh.js} +44 -44
  100. package/dist/chunks/{file-rnsnxg5k.js → file-access-93syhrr0.js} +10 -10
  101. package/dist/chunks/{file-sxzvkvgj.js → file-access-93ygb5af.js} +6 -6
  102. package/dist/chunks/{file-pyfqw2rm.js → file-access-9a0fsf8a.js} +5 -5
  103. package/dist/chunks/{file-qq4qjjy7.js → file-access-9namg634.js} +23 -23
  104. package/dist/chunks/{file-9d637bmc.js → file-access-9pk0fx53.js} +3 -3
  105. package/dist/chunks/{file-a1bz86dw.js → file-access-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{file-epe0b0fd.js → file-access-a8mbncqe.js} +20 -20
  107. package/dist/chunks/{file-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  108. package/dist/chunks/{file-9h3wk7z7.js → file-access-aah9qcnd.js} +10 -10
  109. package/dist/chunks/{file-2vs2nh1n.js → file-access-afdssyjb.js} +4 -4
  110. package/dist/chunks/{file-xmnpnma7.js → file-access-afknyawd.js} +12 -12
  111. package/dist/chunks/{file-pf9pgydg.js → file-access-ag580yac.js} +4 -4
  112. package/dist/chunks/{file-wk5z6jzv.js → file-access-b0dgvpy7.js} +9 -9
  113. package/dist/chunks/{file-qm374v6w.js → file-access-b4qmmyek.js} +11 -11
  114. package/dist/chunks/{file-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{file-1080qp6z.js → file-access-bjn91642.js} +4 -4
  116. package/dist/chunks/{file-az4mp36y.js → file-access-bjwsxpgk.js} +20 -20
  117. package/dist/chunks/{file-ppxkdq9b.js → file-access-bk7qdt7s.js} +11 -11
  118. package/dist/chunks/{file-7etxhnt7.js → file-access-bqm04z8x.js} +6 -6
  119. package/dist/chunks/{file-x3taryep.js → file-access-bvsk2pep.js} +17 -17
  120. package/dist/chunks/{file-xdvkratw.js → file-access-bxs86mwm.js} +23 -23
  121. package/dist/chunks/{file-9m26091w.js → file-access-c6e7fcwh.js} +28 -28
  122. package/dist/chunks/{file-cfpkc3c9.js → file-access-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{file-961898vc.js → file-access-cgq8fjpr.js} +6 -6
  124. package/dist/chunks/{file-c8gxxwp7.js → file-access-cjh1af7b.js} +38 -38
  125. package/dist/chunks/{file-rqhsstds.js → file-access-cjwredg8.js} +15 -15
  126. package/dist/chunks/{file-wjv2022v.js → file-access-cka7hfyn.js} +25 -25
  127. package/dist/chunks/{file-5xtgfte3.js → file-access-cmwkp3r5.js} +8 -8
  128. package/dist/chunks/{file-vkxpz7g2.js → file-access-cq37gk0t.js} +4 -4
  129. package/dist/chunks/{file-g8d3gcyj.js → file-access-d216944b.js} +4 -4
  130. package/dist/chunks/{file-cwa6csj7.js → file-access-d4he2qe1.js} +9 -9
  131. package/dist/chunks/{file-6kx7krqt.js → file-access-dp0d7rq6.js} +66 -66
  132. package/dist/chunks/{file-85s8v53t.js → file-access-dwzbgcev.js} +3 -3
  133. package/dist/chunks/{file-51egpm6x.js → file-access-dzbt8m9q.js} +31 -31
  134. package/dist/chunks/{file-bxf8jet0.js → file-access-e0833qeh.js} +21 -21
  135. package/dist/chunks/{file-kq8bq8dw.js → file-access-e0bnrhje.js} +169 -169
  136. package/dist/chunks/{file-zz2qg7p3.js → file-access-e37h8kwf.js} +12 -12
  137. package/dist/chunks/{file-hnr5yq9h.js → file-access-e6hmchc5.js} +5 -5
  138. package/dist/chunks/{file-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{file-bqytp8dw.js → file-access-ehatyybc.js} +5 -5
  140. package/dist/chunks/{file-dne7xynx.js → file-access-eqncpqrf.js} +17 -17
  141. package/dist/chunks/{file-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{file-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{file-zdtzvc09.js → file-access-etqc4x7c.js} +5 -5
  144. package/dist/chunks/{file-f828m53h.js → file-access-f828m53h.js} +2 -2
  145. package/dist/chunks/{file-fjcndyh6.js → file-access-fk0e1y1r.js} +9 -9
  146. package/dist/chunks/{file-ahfn6acx.js → file-access-frrq0hd0.js} +4 -4
  147. package/dist/chunks/{file-s08w5vyw.js → file-access-fs40rkt5.js} +43 -43
  148. package/dist/chunks/{file-qzenpgs1.js → file-access-fsx03azj.js} +7 -7
  149. package/dist/chunks/{file-ftcx6nj6.js → file-access-fz4sbwmc.js} +21 -21
  150. package/dist/chunks/{file-p51p3jcg.js → file-access-g190xswt.js} +21 -21
  151. package/dist/chunks/{file-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{file-vy4zg7qh.js → file-access-gmjq4p6e.js} +5 -5
  153. package/dist/chunks/{file-f8eamx95.js → file-access-gnr28544.js} +43 -43
  154. package/dist/chunks/{file-5bxvyw76.js → file-access-gsads2be.js} +16 -16
  155. package/dist/chunks/{file-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-d79a47f7.js → file-access-h5kmmphm.js} +5 -5
  157. package/dist/chunks/{file-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{file-r6bcthm8.js → file-access-h99jmrd9.js} +10 -10
  159. package/dist/chunks/{file-4j7mpkgx.js → file-access-hdp5644h.js} +19 -19
  160. package/dist/chunks/{file-hb5p3hph.js → file-access-hf63qasg.js} +3 -3
  161. package/dist/chunks/{file-ak8wweg5.js → file-access-hkagk5ex.js} +2 -2
  162. package/dist/chunks/{file-qnbxrd86.js → file-access-hkdbkshs.js} +13 -13
  163. package/dist/chunks/{file-jd2ww0mk.js → file-access-hntp1kvn.js} +1 -1
  164. package/dist/chunks/{file-9899r06h.js → file-access-hzzc25wh.js} +11 -11
  165. package/dist/chunks/{file-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  166. package/dist/chunks/{file-sg6affy2.js → file-access-jcvejxbn.js} +4 -4
  167. package/dist/chunks/{file-46mjq1pt.js → file-access-jqe22faw.js} +18 -18
  168. package/dist/chunks/{file-yqcrm5rh.js → file-access-jvv9dx74.js} +6 -6
  169. package/dist/chunks/{file-7z6w84v8.js → file-access-jx3n259w.js} +28 -28
  170. package/dist/chunks/{file-ck8hsc54.js → file-access-k100k1x5.js} +9 -9
  171. package/dist/chunks/{file-azx1z7rw.js → file-access-k16yeph6.js} +27 -27
  172. package/dist/chunks/{file-k3c624dm.js → file-access-k3c624dm.js} +3 -3
  173. package/dist/chunks/{file-fkjmw100.js → file-access-k9kj6xed.js} +2 -2
  174. package/dist/chunks/{file-3rqs9vk3.js → file-access-kdjb3rjh.js} +16 -16
  175. package/dist/chunks/{file-sn8k5w5s.js → file-access-km8beb5j.js} +13 -13
  176. package/dist/chunks/{file-rcgs7rjg.js → file-access-kr1sqef6.js} +20 -20
  177. package/dist/chunks/{file-p50sa4k8.js → file-access-ktvn187s.js} +18 -18
  178. package/dist/chunks/{file-3pbgv27k.js → file-access-kw7v9xqj.js} +24 -24
  179. package/dist/chunks/{file-0pf2e52h.js → file-access-kzp8v912.js} +6 -6
  180. package/dist/chunks/{file-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{file-6c4shfhc.js → file-access-m9rhymkd.js} +44 -44
  182. package/dist/chunks/{file-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{file-vstag346.js → file-access-mgj6pkkf.js} +24 -24
  184. package/dist/chunks/{file-m7zf272p.js → file-access-mgmtwba2.js} +5 -5
  185. package/dist/chunks/{file-wyfsrm3h.js → file-access-mgtp0e10.js} +25 -25
  186. package/dist/chunks/{file-nknv447d.js → file-access-mpgs1ntc.js} +50 -50
  187. package/dist/chunks/{file-f8drsx4b.js → file-access-mvgpk1ca.js} +23 -23
  188. package/dist/chunks/{file-j6cy3yns.js → file-access-n7xygqpe.js} +11 -11
  189. package/dist/chunks/{file-twrzm18h.js → file-access-n9ne1b93.js} +11 -11
  190. package/dist/chunks/{file-nrkwc0dg.js → file-access-nazk6ep5.js} +17 -17
  191. package/dist/chunks/{file-aj65n88x.js → file-access-nc0692wd.js} +4 -4
  192. package/dist/chunks/{file-fqka1xvk.js → file-access-ndmv45hp.js} +3 -3
  193. package/dist/chunks/{file-fhs97t90.js → file-access-nq7qbqzc.js} +9 -9
  194. package/dist/chunks/{file-ebe9bak5.js → file-access-nzyhnfxz.js} +4 -4
  195. package/dist/chunks/{file-eczzbh8s.js → file-access-p04pkz1c.js} +18 -18
  196. package/dist/chunks/{file-kncnnm9v.js → file-access-p2fa2w79.js} +11 -11
  197. package/dist/chunks/{file-ay0ceryn.js → file-access-p38vwk10.js} +29 -29
  198. package/dist/chunks/{file-54b10ezm.js → file-access-pber7c1w.js} +15 -15
  199. package/dist/chunks/{file-yt0fqk68.js → file-access-pecb0brz.js} +5 -5
  200. package/dist/chunks/{file-sezme2zf.js → file-access-pgrdd2ve.js} +11 -11
  201. package/dist/chunks/{file-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{file-pknna89w.js → file-access-pknna89w.js} +1 -1
  203. package/dist/chunks/{file-x911a3rn.js → file-access-pn68zg67.js} +14 -14
  204. package/dist/chunks/{file-8c801g49.js → file-access-pszv7358.js} +29 -29
  205. package/dist/chunks/{file-93x6jy41.js → file-access-pwn9j9sb.js} +2 -2
  206. package/dist/chunks/{file-pkvxx0dx.js → file-access-pz1h63jt.js} +22 -22
  207. package/dist/chunks/file-access-qapv375x.js +4 -0
  208. package/dist/chunks/{file-8zccz2ek.js → file-access-qc7betj8.js} +22 -22
  209. package/dist/chunks/{file-gam671ft.js → file-access-qfgq1c71.js} +1 -1
  210. package/dist/chunks/{file-qgn6gcr1.js → file-access-qgn6gcr1.js} +1 -1
  211. package/dist/chunks/{file-37mwd34b.js → file-access-qjxevsft.js} +1 -1
  212. package/dist/chunks/file-access-qr6m8t0g.js +252 -0
  213. package/dist/chunks/{file-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-nqcmdb0w.js → file-access-qtqgfzev.js} +27 -27
  215. package/dist/chunks/{file-1f5fh47k.js → file-access-qx03bd0a.js} +11 -11
  216. package/dist/chunks/{file-zvf7qddh.js → file-access-r036svgx.js} +11 -11
  217. package/dist/chunks/{file-at64addj.js → file-access-r0pc2tt6.js} +27 -27
  218. package/dist/chunks/{file-89e39zcy.js → file-access-r33ff4dw.js} +6 -6
  219. package/dist/chunks/{file-fp6js440.js → file-access-raf9h2ts.js} +10 -10
  220. package/dist/chunks/{file-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{file-wx970249.js → file-access-rf3sv4f6.js} +58 -58
  222. package/dist/chunks/{file-0gdmqesm.js → file-access-rhjbct0v.js} +4 -4
  223. package/dist/chunks/{file-n2q888ww.js → file-access-rjzssajw.js} +8 -8
  224. package/dist/chunks/{file-bgs9y14h.js → file-access-rmk2c50f.js} +5 -5
  225. package/dist/chunks/{file-fqj9nv8j.js → file-access-rtathh62.js} +5 -5
  226. package/dist/chunks/{file-jgvadg7f.js → file-access-rxvrk031.js} +27 -27
  227. package/dist/chunks/{file-d26jp9g7.js → file-access-s2tvr5dg.js} +14 -14
  228. package/dist/chunks/{file-3pt707jp.js → file-access-satvg6hp.js} +7 -7
  229. package/dist/chunks/{file-z2jtgbj0.js → file-access-saye24w9.js} +4 -4
  230. package/dist/chunks/{file-ycv0w0a9.js → file-access-sg3e8ft2.js} +24 -24
  231. package/dist/chunks/{file-4s7j885y.js → file-access-sng8r1vf.js} +24 -24
  232. package/dist/chunks/{file-yrf5hh55.js → file-access-sqm52wn7.js} +13 -13
  233. package/dist/chunks/{file-dsppwhma.js → file-access-t48g49hr.js} +11 -11
  234. package/dist/chunks/{file-0g3aqr52.js → file-access-t6r7h21p.js} +13 -13
  235. package/dist/chunks/{file-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-p28j5sbe.js → file-access-tbz0fdvh.js} +5 -5
  237. package/dist/chunks/{file-89znhe33.js → file-access-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{file-tdstcens.js → file-access-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-d5m60ny4.js → file-access-tgcdz44n.js} +32 -32
  240. package/dist/chunks/{file-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  241. package/dist/chunks/{file-np51y1wd.js → file-access-tzqjevm8.js} +9 -9
  242. package/dist/chunks/{file-48pac6vd.js → file-access-v6ndbskd.js} +13 -13
  243. package/dist/chunks/{file-vpwvqgnv.js → file-access-v6zy1qsv.js} +7 -7
  244. package/dist/chunks/{file-wgz7hchk.js → file-access-v76by4bg.js} +6 -6
  245. package/dist/chunks/{file-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-a42rk15d.js → file-access-vrz7xrs5.js} +23 -23
  247. package/dist/chunks/{file-k1es8bc8.js → file-access-vs2tehdm.js} +8 -8
  248. package/dist/chunks/{file-x4fdevfx.js → file-access-vt0e9y1w.js} +15 -15
  249. package/dist/chunks/{file-pjedbq3k.js → file-access-vyqn3nqs.js} +4 -4
  250. package/dist/chunks/{file-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{file-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-wd87259q.js → file-access-wd87259q.js} +1 -1
  253. package/dist/chunks/{file-9rsv4pta.js → file-access-wfxxyxds.js} +9 -9
  254. package/dist/chunks/{file-vdpncwhs.js → file-access-wn8y6sgg.js} +25 -25
  255. package/dist/chunks/{file-n7rhs6pj.js → file-access-wrmrmykr.js} +9 -9
  256. package/dist/chunks/{file-bk8ffd6t.js → file-access-wrtjp1mn.js} +24 -24
  257. package/dist/chunks/{file-8bnmerw3.js → file-access-wvmhvm0m.js} +23 -23
  258. package/dist/chunks/{file-tt8rvt36.js → file-access-x0f4f0m1.js} +5 -5
  259. package/dist/chunks/{file-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-drwq78ky.js → file-access-xfkkasph.js} +4 -4
  261. package/dist/chunks/{file-5xzfw7ns.js → file-access-xm5295m0.js} +4 -4
  262. package/dist/chunks/{file-crtqttvk.js → file-access-xn76h8hp.js} +22 -22
  263. package/dist/chunks/{file-n31tt50y.js → file-access-xs2bmay3.js} +22 -22
  264. package/dist/chunks/{file-d5d0dfzv.js → file-access-xxseqtyh.js} +24 -24
  265. package/dist/chunks/{file-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-w587stx7.js → file-access-y5phfrgc.js} +9 -9
  267. package/dist/chunks/{file-y71avatq.js → file-access-y71avatq.js} +1 -1
  268. package/dist/chunks/file-access-y8qxa0m2.js +503 -0
  269. package/dist/chunks/{file-0mpqr77g.js → file-access-y97z94ck.js} +16 -16
  270. package/dist/chunks/{file-gbfgt6sn.js → file-access-ybh0q6je.js} +47 -47
  271. package/dist/chunks/{file-1xagxxtw.js → file-access-ycrtq78m.js} +33 -33
  272. package/dist/chunks/{file-wpm2rk0p.js → file-access-ydgy0jv4.js} +4 -4
  273. package/dist/chunks/{file-kqjrebtm.js → file-access-ymmys65e.js} +18 -18
  274. package/dist/chunks/{file-g6dwdzmh.js → file-access-ynp3axf3.js} +5 -5
  275. package/dist/chunks/{file-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-j6m77yeb.js → file-access-yrpnr2zj.js} +30 -30
  277. package/dist/chunks/{file-s4enseaf.js → file-access-yrznvahk.js} +2 -2
  278. package/dist/chunks/{file-kz5gp9n9.js → file-access-ywyg2maf.js} +44 -44
  279. package/dist/chunks/{file-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{file-x5e9capc.js → file-access-z2cgntw0.js} +5 -5
  281. package/dist/chunks/{file-qqaq1tbn.js → file-access-z3yhsc05.js} +29 -29
  282. package/dist/chunks/{file-29x78va6.js → file-access-z63w68vq.js} +6 -6
  283. package/dist/chunks/{file-k8hpw67k.js → file-access-zd30eb5w.js} +5 -5
  284. package/dist/chunks/{file-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-f2y9n0vy.js → file-access-zfp10n8z.js} +11 -11
  286. package/dist/chunks/{file-jy05rcjm.js → file-access-zh7rgrks.js} +15 -15
  287. package/dist/chunks/{file-a0pvmwfx.js → file-access-zkx33n4v.js} +8 -8
  288. package/dist/chunks/{file-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-7wrm002y.js → file-access-zx4azftj.js} +7 -7
  290. package/dist/chunks/{file-ep1x895y.js → file-access-zx7j3hav.js} +35 -35
  291. package/dist/chunks/{file-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +82 -82
  297. package/dist/config/discovery.js +83 -83
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +122 -122
  301. package/dist/config/plugin/command.js +211 -211
  302. package/dist/config/plugin/compaction.js +159 -159
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +124 -124
  309. package/dist/config/plugin/mcp.js +129 -129
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +124 -124
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +120 -120
  317. package/dist/config/plugin/source.js +123 -123
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +123 -123
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +125 -125
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +80 -80
  326. package/dist/database/database.js +65 -65
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +75 -75
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +94 -94
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +69 -69
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +226 -226
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +102 -102
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +13 -13
  430. package/dist/filesystem.js +105 -105
  431. package/dist/form.js +83 -83
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +86 -86
  434. package/dist/generate.js +104 -104
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +98 -98
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +84 -84
  461. package/dist/instructions/builtins.js +82 -82
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +85 -85
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +131 -131
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +80 -80
  474. package/dist/managed-policy.js +3 -3
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +125 -125
  478. package/dist/mcp/oauth.js +77 -77
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +98 -98
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +101 -101
  484. package/dist/models-dev.js +102 -102
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +81 -81
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +118 -118
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +87 -87
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +101 -101
  495. package/dist/plugin/command.js +98 -98
  496. package/dist/plugin/compaction.js +130 -130
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +119 -119
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +91 -91
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +75 -75
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +140 -140
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +79 -79
  564. package/dist/provider.js +100 -100
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +88 -88
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +96 -96
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +127 -127
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +89 -89
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +78 -78
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +111 -111
  609. package/dist/session/runner/step.js +123 -123
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +86 -86
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +153 -153
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +213 -213
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -217
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +111 -111
  634. package/dist/snapshot.js +90 -90
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +124 -124
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +123 -123
  642. package/dist/tool/plugin/grep.js +119 -119
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +119 -119
  645. package/dist/tool/plugin/question.js +102 -102
  646. package/dist/tool/plugin/read.js +124 -124
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +112 -112
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +113 -113
  652. package/dist/tool/plugin/write.js +121 -121
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +1 -1
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +92 -92
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +81 -81
  687. package/dist/wellknown/plugin.js +73 -73
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +3 -3
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +73 -73
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +97 -97
  697. package/package.json +8 -8
  698. package/dist/chunks/file-0mesazry.js +0 -4
  699. package/dist/chunks/file-q509s3k3.js +0 -18
  700. package/dist/chunks/file-v3m8zswr.js +0 -26
  701. package/dist/chunks/file-xvs8zake.js +0 -252
  702. package/dist/chunks/file-zqjzf2ta.js +0 -503
  703. /package/dist/chunks/{file-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{file-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{file-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{file-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{file-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{file-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{file-3asan66x.js → file-access-3asan66x.js} +0 -0
  714. /package/dist/chunks/{file-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{file-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{file-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{file-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{file-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{file-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{file-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{file-53557ph1.js → file-access-53557ph1.js} +0 -0
  722. /package/dist/chunks/{file-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{file-6prwharc.js → file-access-6prwharc.js} +0 -0
  724. /package/dist/chunks/{file-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{file-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{file-822emrt2.js → file-access-822emrt2.js} +0 -0
  727. /package/dist/chunks/{file-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{file-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{file-922hggd3.js → file-access-922hggd3.js} +0 -0
  730. /package/dist/chunks/{file-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{file-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{file-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{file-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{file-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{file-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{file-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{file-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{file-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{file-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{file-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{file-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{file-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{file-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{file-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{file-df08tz66.js → file-access-df08tz66.js} +0 -0
  746. /package/dist/chunks/{file-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{file-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{file-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{file-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{file-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{file-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{file-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{file-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{file-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{file-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{file-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{file-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{file-g86h250q.js → file-access-g86h250q.js} +0 -0
  759. /package/dist/chunks/{file-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{file-gftt206x.js → file-access-gftt206x.js} +0 -0
  761. /package/dist/chunks/{file-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{file-hk9envan.js → file-access-hk9envan.js} +0 -0
  763. /package/dist/chunks/{file-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{file-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{file-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{file-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{file-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{file-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{file-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{file-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{file-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{file-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{file-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{file-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{file-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{file-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{file-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{file-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{file-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{file-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{file-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{file-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{file-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{file-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{file-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{file-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{file-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{file-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{file-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{file-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{file-x61499pn.js → file-access-x61499pn.js} +0 -0
  792. /package/dist/chunks/{file-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{file-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{file-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{file-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{file-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{file-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service62,
4
- node65
5
- } from "./file-wjv2022v.js";
2
+ ID9,
3
+ Service68,
4
+ node71
5
+ } from "./file-access-cka7hfyn.js";
6
6
  import {
7
- ID12,
7
+ ID8,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service61,
16
- node64
17
- } from "./file-8c801g49.js";
15
+ Service67,
16
+ node70
17
+ } from "./file-access-pszv7358.js";
18
18
  import {
19
- Service60,
20
- node63
21
- } from "./file-xe9t6z83.js";
19
+ Service64,
20
+ node67
21
+ } from "./file-access-317cfnqd.js";
22
22
  import {
23
- ID11,
23
+ ID7,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service59,
27
- node62
28
- } from "./file-qqaq1tbn.js";
26
+ Service66,
27
+ node69
28
+ } from "./file-access-z3yhsc05.js";
29
29
  import {
30
30
  __export
31
- } from "./file-9rqn6x4v.js";
31
+ } from "./file-access-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service58,
40
+ Service: () => Service63,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer22,
48
- node: () => node61,
47
+ layer: () => layer24,
48
+ node: () => node66,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID12,
59
- modelID: ID11,
58
+ providerID: ID8,
59
+ modelID: ID7,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID12,
69
- modelID: ID11,
68
+ providerID: ID8,
69
+ modelID: ID7,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID12,
80
- modelID: ID11,
79
+ providerID: ID8,
80
+ modelID: ID7,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID12,
91
- modelID: ID11,
90
+ providerID: ID8,
91
+ modelID: ID7,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID12,
103
- modelID: ID11,
102
+ providerID: ID8,
103
+ modelID: ID7,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID12,
113
- modelID: ID11,
112
+ providerID: ID8,
113
+ modelID: ID7,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service58 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service63 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
262
- const providers = yield* Service61;
263
- const models = yield* Service59;
264
- const integrations = yield* Service62;
261
+ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
262
+ const providers = yield* Service67;
263
+ const models = yield* Service66;
264
+ const integrations = yield* Service68;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service60;
266
+ const aisdk = yield* Service64;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -292,7 +292,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
292
292
  transport: provider?.settings?.transport
293
293
  };
294
294
  });
295
- return Service58.of({
295
+ return Service63.of({
296
296
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
297
297
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
298
298
  if (!selected)
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
309
309
  const name = packageName2(packageName);
310
310
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
311
311
  }
312
- var node61 = makeLocationNode({
313
- service: Service58,
314
- layer: layer22,
315
- deps: [node64, node62, node65, Npm.node, node63]
312
+ var node66 = makeLocationNode({
313
+ service: Service63,
314
+ layer: layer24,
315
+ deps: [node70, node69, node71, Npm.node, node67]
316
316
  });
317
317
 
318
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node61, exports_model_resolver };
318
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service63, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node66, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-ym463w8f.js";
3
+ } from "./file-access-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./file-d5d0dfzv.js";
3
+ } from "./file-access-xxseqtyh.js";
4
4
  import {
5
- ID13,
5
+ ID9,
6
6
  MethodID2
7
- } from "./file-wjv2022v.js";
7
+ } from "./file-access-cka7hfyn.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./file-pjvnvgmy.js";
11
+ } from "./file-access-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID13.make("poe");
17
+ var integrationID = ID9.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-aj65n88x.js";
4
+ } from "./file-access-nc0692wd.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./file-rdw6cm16.js";
8
+ } from "./file-access-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./file-93x6jy41.js";
12
+ } from "./file-access-pwn9j9sb.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID8,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service61,
20
- node64,
21
- Event13
22
- } from "./file-8c801g49.js";
19
+ Service67,
20
+ node70,
21
+ Event15
22
+ } from "./file-access-pszv7358.js";
23
23
  import {
24
24
  __export
25
- } from "./file-9rqn6x4v.js";
25
+ } from "./file-access-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event12,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
- ID: () => ID11,
36
- Info: () => Info23,
35
+ ID: () => ID7,
36
+ Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service59,
40
+ Service: () => Service66,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node62,
44
- parse: () => parse4
43
+ node: () => node69,
44
+ parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event12 } from "@opencode/schema/model";
51
- var ID11 = Model.ID;
50
+ import { Event as Event14 } from "@opencode/schema/model";
51
+ var ID7 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info23 = Model.Info;
59
+ var Info21 = Model.Info;
60
60
 
61
- class Service59 extends Context.Service()("@opencode/Model") {
61
+ class Service66 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service59, Effect.gen(function* () {
64
- const providers = yield* Service61;
63
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
64
+ const providers = yield* Service67;
65
65
  const bus = yield* Service83;
66
66
  const location = yield* Service80;
67
67
  let input;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info23.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service59.of({
200
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service66.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node64, node87, node84] });
220
+ var node69 = makeLocationNode({ service: Service66, layer, deps: [node70, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse4(input) {
228
+ function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info23, Service59, node62, compatibility2, parse4, exports_model2, Event12 };
236
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service66, node69, compatibility2, parse5, exports_model2, Event14 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./file-2axfhc9x.js";
3
+ } from "./file-access-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error2 = {};
10
- __export(exports_error2, {
11
- ConfigErrorV1: () => exports_error2,
9
+ var exports_error = {};
10
+ __export(exports_error, {
11
+ ConfigErrorV1: () => exports_error,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./file-3w5fmr99.js";
3
+ } from "./file-access-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin27,
11
+ Plugin: () => Plugin42,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin27 = define({
18
+ var Plugin42 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin27, exports_tool_input_repair };
123
+ export { Plugin42, exports_tool_input_repair };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./file-93x6jy41.js";
4
+ } from "./file-access-pwn9j9sb.js";
5
5
  import {
6
6
  create3
7
- } from "./file-rdw6cm16.js";
7
+ } from "./file-access-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node17
16
+ Service: () => Service21,
17
+ node: () => node24
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service21 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
27
27
  const location = yield* Service80;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service21.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node17 = makeLocationNode({
91
- service: Service15,
90
+ var node24 = makeLocationNode({
91
+ service: Service21,
92
92
  layer,
93
93
  deps: [node84, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node17, exports_formatter2 };
96
+ export { Service21, node24, exports_formatter2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-93x6jy41.js";
3
+ } from "./file-access-pwn9j9sb.js";
4
4
  import {
5
5
  latest2,
6
- Service51
7
- } from "./file-b6apyc6e.js";
6
+ Service47
7
+ } from "./file-access-0fp6vpq7.js";
8
8
  import {
9
- Service15
10
- } from "./file-f2y9n0vy.js";
9
+ Service21
10
+ } from "./file-access-zfp10n8z.js";
11
11
  import {
12
- make4
13
- } from "./file-mvfsc1pv.js";
12
+ make10
13
+ } from "./file-access-73tb2d7t.js";
14
14
  import {
15
15
  observe2
16
- } from "./file-qsdy395h.js";
16
+ } from "./file-access-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./file-access-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin6
25
+ Plugin: () => Plugin27
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin6 = define({
33
+ var Plugin27 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service51;
37
- const formatter = yield* Service15;
36
+ const config = yield* Service47;
37
+ const formatter = yield* Service21;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
40
  const location = yield* Service80;
@@ -45,7 +45,7 @@ var Plugin6 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make4({
48
+ const builtIns = make10({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin6 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin6, exports_formatter };
77
+ export { Plugin27, exports_formatter };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./file-b6apyc6e.js";
3
+ Service47
4
+ } from "./file-access-0fp6vpq7.js";
5
5
  import {
6
- Service55
7
- } from "./file-p50sa4k8.js";
6
+ Service40
7
+ } from "./file-access-ktvn187s.js";
8
8
  import {
9
9
  observe2
10
- } from "./file-qsdy395h.js";
10
+ } from "./file-access-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
@@ -23,8 +23,8 @@ import { Effect } from "effect";
23
23
  var Plugin15 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service51;
27
- const snapshot = yield* Service55;
26
+ const config = yield* Service47;
27
+ const snapshot = yield* Service40;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID11,
2
+ ID7,
3
3
  Family2
4
- } from "./file-qqaq1tbn.js";
4
+ } from "./file-access-z3yhsc05.js";
5
5
  import {
6
- Service51
7
- } from "./file-b6apyc6e.js";
6
+ Service47
7
+ } from "./file-access-0fp6vpq7.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-7etxhnt7.js";
10
+ } from "./file-access-bqm04z8x.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -36,7 +36,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service51;
39
+ const config = yield* Service47;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID11.make(item.key);
66
+ model.modelID = ID7.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {