@opencode/core 0.0.0-dev-20012 → 0.0.0-dev-20013

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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/{image-m4emphp1.js → file-access-00c8amp3.js} +49 -49
  8. package/dist/chunks/{image-vk0va4ns.js → file-access-05dyq9yx.js} +7 -7
  9. package/dist/chunks/{image-rbxccrva.js → file-access-08atjc0y.js} +21 -21
  10. package/dist/chunks/{image-3czpn3qn.js → file-access-09nm2wmq.js} +10 -10
  11. package/dist/chunks/{image-hbf5bmg6.js → file-access-0a692sth.js} +37 -37
  12. package/dist/chunks/{image-1r56tgej.js → file-access-0ehystez.js} +3 -3
  13. package/dist/chunks/{image-m2yd4h25.js → file-access-0fp6vpq7.js} +38 -38
  14. package/dist/chunks/{image-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{image-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{image-wz8tevja.js → file-access-0rn0af91.js} +12 -12
  17. package/dist/chunks/{image-sqmc1ypj.js → file-access-0t1q9tjc.js} +76 -76
  18. package/dist/chunks/{image-t9zs3egg.js → file-access-0v53mg2y.js} +4 -4
  19. package/dist/chunks/{image-6xh0g4kx.js → file-access-11vq80p7.js} +25 -25
  20. package/dist/chunks/{image-bh0zzf2s.js → file-access-15nepkqg.js} +8 -8
  21. package/dist/chunks/{image-g8jasmdt.js → file-access-16cax9zb.js} +8 -8
  22. package/dist/chunks/{image-yw90mp9f.js → file-access-19m0af1m.js} +8 -8
  23. package/dist/chunks/{image-rhraev7y.js → file-access-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{image-z0tsxkyk.js → file-access-1bnjjx40.js} +23 -23
  25. package/dist/chunks/{image-qbdtkhea.js → file-access-1cj8gcbx.js} +16 -16
  26. package/dist/chunks/{image-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{image-be95997k.js → file-access-1jtbg6c9.js} +14 -14
  28. package/dist/chunks/{image-jgphgq4c.js → file-access-20pzmj15.js} +17 -17
  29. package/dist/chunks/{image-21r38tys.js → file-access-21r38tys.js} +1 -1
  30. package/dist/chunks/{image-v8aah0kr.js → file-access-227994hr.js} +32 -32
  31. package/dist/chunks/{image-2402vzrj.js → file-access-2402vzrj.js} +1 -1
  32. package/dist/chunks/{image-tsr6kwcz.js → file-access-24ct3y2e.js} +3 -3
  33. package/dist/chunks/{image-nfd0y60j.js → file-access-288g8677.js} +4 -4
  34. package/dist/chunks/{image-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{image-3cfzdc8e.js → file-access-2f0bjgcj.js} +5 -5
  36. package/dist/chunks/{image-dks483fm.js → file-access-2h0wcn0e.js} +11 -11
  37. package/dist/chunks/{image-y5cwy1mn.js → file-access-2hcvc8f1.js} +20 -20
  38. package/dist/chunks/{image-2k2bn567.js → file-access-2ktg6p98.js} +16 -16
  39. package/dist/chunks/{image-ky514c0v.js → file-access-317cfnqd.js} +11 -11
  40. package/dist/chunks/{image-rstenykm.js → file-access-34e0h94d.js} +3 -3
  41. package/dist/chunks/{image-npq2n3tp.js → file-access-37svwymz.js} +10 -10
  42. package/dist/chunks/{image-258eh3rs.js → file-access-3dap0f8b.js} +26 -26
  43. package/dist/chunks/{image-f5gy8qwh.js → file-access-3emr59yt.js} +7 -7
  44. package/dist/chunks/{image-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{image-dz8x4rxg.js → file-access-3hdyanjz.js} +4 -4
  46. package/dist/chunks/{image-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{image-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{image-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{image-qd1nr1jp.js → file-access-46a1trkr.js} +12 -12
  50. package/dist/chunks/{image-924007vm.js → file-access-48qh5hqp.js} +8 -8
  51. package/dist/chunks/{image-kkp8zx71.js → file-access-4bm5ja14.js} +4 -4
  52. package/dist/chunks/file-access-4cm67rrf.js +26 -0
  53. package/dist/chunks/{image-en4eedd3.js → file-access-4dzg40rw.js} +9 -9
  54. package/dist/chunks/{image-1g4xhxjj.js → file-access-4f0fby6w.js} +2 -2
  55. package/dist/chunks/{image-c4spbmd0.js → file-access-4s1tnqdt.js} +9 -9
  56. package/dist/chunks/{image-56gdpj1q.js → file-access-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{image-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{image-a4rx6ejt.js → file-access-58mcmt77.js} +25 -25
  59. package/dist/chunks/{image-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  60. package/dist/chunks/{image-5ekn9679.js → file-access-5ekn9679.js} +1 -1
  61. package/dist/chunks/{image-3b7qpc67.js → file-access-5q8gz8g4.js} +22 -22
  62. package/dist/chunks/{image-anf0zms1.js → file-access-5rnnm2b5.js} +9 -9
  63. package/dist/chunks/{image-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{image-js7vnd8z.js → file-access-5ww8yrxx.js} +25 -25
  65. package/dist/chunks/file-access-619r8v3y.js +18 -0
  66. package/dist/chunks/{image-8krfq0r3.js → file-access-658p8faw.js} +4 -4
  67. package/dist/chunks/{image-7keqm5b0.js → file-access-65jejx4v.js} +13 -13
  68. package/dist/chunks/{image-669tq793.js → file-access-669tq793.js} +1 -1
  69. package/dist/chunks/{image-0rt1aerz.js → file-access-6enf0aw0.js} +3 -3
  70. package/dist/chunks/{image-v5w4drkp.js → file-access-6gxdng4p.js} +27 -27
  71. package/dist/chunks/{image-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{image-d04y4xb3.js → file-access-6tw2ysqh.js} +8 -8
  73. package/dist/chunks/{image-1f0kfkq1.js → file-access-6vnhfzx9.js} +6 -6
  74. package/dist/chunks/{image-7yh4e7ss.js → file-access-73tb2d7t.js} +3 -3
  75. package/dist/chunks/{image-nh4xrcr0.js → file-access-752w5jz5.js} +26 -26
  76. package/dist/chunks/{image-8d0p2m37.js → file-access-768gsh1v.js} +3 -3
  77. package/dist/chunks/{image-3tkhky9t.js → file-access-773wjt79.js} +7 -7
  78. package/dist/chunks/{image-10kf31pw.js → file-access-78c73d7g.js} +34 -34
  79. package/dist/chunks/{image-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{image-7ykc5hxq.js → file-access-7gy38z07.js} +24 -24
  81. package/dist/chunks/{image-kes097j4.js → file-access-7pbtkrdy.js} +3 -3
  82. package/dist/chunks/{image-0gy1wr0y.js → file-access-7v5p2n78.js} +13 -13
  83. package/dist/chunks/{image-d18skez3.js → file-access-7v8yt572.js} +15 -15
  84. package/dist/chunks/{image-ddk8b4gr.js → file-access-7x3ymcnd.js} +12 -12
  85. package/dist/chunks/{image-b7vxzd00.js → file-access-859wm560.js} +22 -22
  86. package/dist/chunks/{image-k1gkpfdk.js → file-access-8ank75fn.js} +8 -8
  87. package/dist/chunks/{image-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{image-wzhg77bf.js → file-access-8g6xxsrk.js} +10 -10
  89. package/dist/chunks/{image-tk2v6jy0.js → file-access-8jq0bfkk.js} +8 -8
  90. package/dist/chunks/{image-anb8rm3e.js → file-access-8na3c29k.js} +11 -11
  91. package/dist/chunks/{image-8p4f9s12.js → file-access-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{image-vtt0yr3x.js → file-access-8ra6m1eq.js} +7 -7
  93. package/dist/chunks/{image-weagdthn.js → file-access-90t26j8x.js} +13 -13
  94. package/dist/chunks/{image-5qfssqaz.js → file-access-93syhrr0.js} +10 -10
  95. package/dist/chunks/{image-ycjb11n5.js → file-access-93ygb5af.js} +6 -6
  96. package/dist/chunks/{image-ga8qx7mf.js → file-access-98jp8s51.js} +166 -166
  97. package/dist/chunks/{image-ezt9kfxv.js → file-access-9a0fsf8a.js} +5 -5
  98. package/dist/chunks/{image-hv8bfrwv.js → file-access-9b9bawht.js} +31 -31
  99. package/dist/chunks/{image-p28j5sbe.js → file-access-9cyfspf3.js} +6 -5
  100. package/dist/chunks/{image-1mp28asa.js → file-access-9namg634.js} +25 -25
  101. package/dist/chunks/{image-b340zwh0.js → file-access-9pk0fx53.js} +3 -3
  102. package/dist/chunks/{image-a1bz86dw.js → file-access-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{image-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  104. package/dist/chunks/{image-namhjc4y.js → file-access-aah9qcnd.js} +7 -7
  105. package/dist/chunks/{image-n4r3xatb.js → file-access-afdssyjb.js} +4 -4
  106. package/dist/chunks/{image-qrtzkn9f.js → file-access-afknyawd.js} +12 -12
  107. package/dist/chunks/{image-dg2cj1yd.js → file-access-ag580yac.js} +4 -4
  108. package/dist/chunks/{image-h71w788e.js → file-access-b0dgvpy7.js} +9 -9
  109. package/dist/chunks/{image-tjpj2e3q.js → file-access-b4qmmyek.js} +11 -11
  110. package/dist/chunks/{image-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{image-y67gsgy6.js → file-access-bjn91642.js} +4 -4
  112. package/dist/chunks/{image-p84br5ek.js → file-access-bjwsxpgk.js} +20 -20
  113. package/dist/chunks/{image-s4hm96va.js → file-access-bk7qdt7s.js} +11 -11
  114. package/dist/chunks/{image-g1cnsceh.js → file-access-bqm04z8x.js} +6 -6
  115. package/dist/chunks/{image-znepfjcf.js → file-access-bvsk2pep.js} +17 -17
  116. package/dist/chunks/{image-nab6jkb6.js → file-access-bxs86mwm.js} +12 -12
  117. package/dist/chunks/{image-p2safxe9.js → file-access-c6e7fcwh.js} +15 -15
  118. package/dist/chunks/{image-cfpkc3c9.js → file-access-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{image-ewnwpw42.js → file-access-cgq8fjpr.js} +9 -9
  120. package/dist/chunks/{image-jmvq68x6.js → file-access-cjh1af7b.js} +37 -37
  121. package/dist/chunks/{image-vca968f4.js → file-access-cjwredg8.js} +15 -15
  122. package/dist/chunks/{image-ad4z1jrs.js → file-access-cka7hfyn.js} +25 -25
  123. package/dist/chunks/{image-cmwkp3r5.js → file-access-cmwkp3r5.js} +1 -1
  124. package/dist/chunks/{image-cq37gk0t.js → file-access-cq37gk0t.js} +4 -4
  125. package/dist/chunks/{image-a2ew8a62.js → file-access-d216944b.js} +7 -7
  126. package/dist/chunks/{image-mp3sjqb3.js → file-access-d2554jjm.js} +26 -26
  127. package/dist/chunks/{image-c765mh8b.js → file-access-d4he2qe1.js} +9 -9
  128. package/dist/chunks/{image-fng32zf3.js → file-access-d4x8y6s3.js} +68 -68
  129. package/dist/chunks/{image-4hxys4rp.js → file-access-d9qy0tkw.js} +46 -46
  130. package/dist/chunks/{image-v61m3kz8.js → file-access-dwzbgcev.js} +3 -3
  131. package/dist/chunks/{image-59fd7wwn.js → file-access-dzbt8m9q.js} +31 -31
  132. package/dist/chunks/{image-n8yas6hm.js → file-access-e0833qeh.js} +21 -21
  133. package/dist/chunks/{image-mzvzs703.js → file-access-e37h8kwf.js} +12 -12
  134. package/dist/chunks/{image-qte5z7bc.js → file-access-e6hmchc5.js} +5 -5
  135. package/dist/chunks/{image-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{image-77fp0bkd.js → file-access-ehatyybc.js} +8 -8
  137. package/dist/chunks/{image-hbw0vr81.js → file-access-eqncpqrf.js} +15 -15
  138. package/dist/chunks/{image-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{image-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{image-9dpmj859.js → file-access-etqc4x7c.js} +5 -5
  141. package/dist/chunks/{image-f828m53h.js → file-access-f828m53h.js} +2 -2
  142. package/dist/chunks/file-access-fadsvk8f.js +252 -0
  143. package/dist/chunks/{image-bhk8ct5v.js → file-access-fk0e1y1r.js} +9 -9
  144. package/dist/chunks/{image-svndcwjb.js → file-access-frrq0hd0.js} +4 -4
  145. package/dist/chunks/{image-0e37k7hs.js → file-access-fs40rkt5.js} +43 -43
  146. package/dist/chunks/{image-78ys8twf.js → file-access-fsx03azj.js} +7 -7
  147. package/dist/chunks/{image-xc3aj2tv.js → file-access-fz4sbwmc.js} +21 -21
  148. package/dist/chunks/{image-cavr175a.js → file-access-g190xswt.js} +4 -4
  149. package/dist/chunks/{image-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{image-dq0v80fr.js → file-access-gmjq4p6e.js} +5 -5
  151. package/dist/chunks/{image-3mtz8sw0.js → file-access-gnr28544.js} +43 -43
  152. package/dist/chunks/{image-685dn0bf.js → file-access-gsads2be.js} +16 -16
  153. package/dist/chunks/{image-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{image-r646k28t.js → file-access-h5kmmphm.js} +5 -5
  155. package/dist/chunks/{image-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{image-j6nsp1g7.js → file-access-h99jmrd9.js} +10 -10
  157. package/dist/chunks/{image-qnqyg1a6.js → file-access-hdp5644h.js} +20 -20
  158. package/dist/chunks/{image-dp942mfh.js → file-access-hf63qasg.js} +6 -6
  159. package/dist/chunks/{image-a3r4dcrj.js → file-access-hkagk5ex.js} +2 -2
  160. package/dist/chunks/{image-n5skym8n.js → file-access-hkdbkshs.js} +13 -13
  161. package/dist/chunks/{image-2zvss1h4.js → file-access-hntp1kvn.js} +1 -1
  162. package/dist/chunks/{image-57x4wt21.js → file-access-hqzg2801.js} +313 -313
  163. package/dist/chunks/{image-zndykydc.js → file-access-hzzc25wh.js} +11 -11
  164. package/dist/chunks/{image-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  165. package/dist/chunks/{image-aktb84ke.js → file-access-jcvejxbn.js} +4 -4
  166. package/dist/chunks/{image-kpx2s52a.js → file-access-jtr1pbd3.js} +37 -30
  167. package/dist/chunks/{image-rxf9y2mx.js → file-access-jvv9dx74.js} +4 -4
  168. package/dist/chunks/{image-gxyd6y7v.js → file-access-jx3n259w.js} +30 -30
  169. package/dist/chunks/{image-pk5pky18.js → file-access-k100k1x5.js} +9 -9
  170. package/dist/chunks/{image-4beex6cr.js → file-access-k16yeph6.js} +23 -23
  171. package/dist/chunks/{image-k3c624dm.js → file-access-k3c624dm.js} +3 -3
  172. package/dist/chunks/{image-k9kj6xed.js → file-access-k9kj6xed.js} +2 -2
  173. package/dist/chunks/{image-jbft8se4.js → file-access-kdjb3rjh.js} +16 -16
  174. package/dist/chunks/{image-3zzqeb10.js → file-access-kr1sqef6.js} +17 -17
  175. package/dist/chunks/{image-fxxz233w.js → file-access-ktvn187s.js} +25 -25
  176. package/dist/chunks/{image-esh8cnfr.js → file-access-kw7v9xqj.js} +18 -18
  177. package/dist/chunks/{image-eba62b5m.js → file-access-kzp8v912.js} +6 -6
  178. package/dist/chunks/{image-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{image-vke24a77.js → file-access-m9rhymkd.js} +44 -44
  180. package/dist/chunks/{image-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{image-vh6t508r.js → file-access-mgj6pkkf.js} +18 -18
  182. package/dist/chunks/{image-8vqgfadx.js → file-access-mgmtwba2.js} +5 -5
  183. package/dist/chunks/{image-te1zgf92.js → file-access-mgtp0e10.js} +25 -25
  184. package/dist/chunks/{image-nxvwfbqw.js → file-access-mhv6gyqj.js} +19 -18
  185. package/dist/chunks/{image-npdbymj2.js → file-access-mvgpk1ca.js} +22 -22
  186. package/dist/chunks/{image-9z4sf5tv.js → file-access-n7xygqpe.js} +11 -11
  187. package/dist/chunks/{image-g05h3mtq.js → file-access-n9ne1b93.js} +11 -11
  188. package/dist/chunks/{image-0dgp5q1e.js → file-access-nazk6ep5.js} +15 -15
  189. package/dist/chunks/{image-rj372e5a.js → file-access-nc0692wd.js} +4 -4
  190. package/dist/chunks/{image-jexxy024.js → file-access-ndmv45hp.js} +3 -3
  191. package/dist/chunks/{image-9a912s85.js → file-access-nq7qbqzc.js} +9 -9
  192. package/dist/chunks/{image-h6r3nrb9.js → file-access-nzyhnfxz.js} +4 -4
  193. package/dist/chunks/{image-7q7be7w2.js → file-access-p04pkz1c.js} +12 -12
  194. package/dist/chunks/{image-4p8kdyd3.js → file-access-p2ahdppn.js} +23 -23
  195. package/dist/chunks/{image-09e552k5.js → file-access-p2fa2w79.js} +11 -11
  196. package/dist/chunks/{image-rztbak21.js → file-access-p38vwk10.js} +26 -26
  197. package/dist/chunks/{image-bcqffep5.js → file-access-pber7c1w.js} +15 -15
  198. package/dist/chunks/{image-p44d8wdy.js → file-access-pecb0brz.js} +5 -5
  199. package/dist/chunks/{image-edekhrx7.js → file-access-pgrdd2ve.js} +11 -11
  200. package/dist/chunks/{image-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{image-pknna89w.js → file-access-pknna89w.js} +1 -1
  202. package/dist/chunks/{image-kh9grtd6.js → file-access-pn68zg67.js} +14 -14
  203. package/dist/chunks/{image-z9ee0mf2.js → file-access-pszv7358.js} +29 -29
  204. package/dist/chunks/{image-711fd8qe.js → file-access-pwn9j9sb.js} +2 -2
  205. package/dist/chunks/{image-1gbzvb32.js → file-access-pz1h63jt.js} +15 -15
  206. package/dist/chunks/file-access-qapv375x.js +4 -0
  207. package/dist/chunks/{image-kawpmg25.js → file-access-qc7betj8.js} +11 -11
  208. package/dist/chunks/{image-20bz03sg.js → file-access-qfgq1c71.js} +1 -1
  209. package/dist/chunks/{image-2k8khapm.js → file-access-qgn6gcr1.js} +5 -5
  210. package/dist/chunks/{image-k53npxr2.js → file-access-qjxevsft.js} +1 -1
  211. package/dist/chunks/{image-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  212. package/dist/chunks/{image-xzz5rq5j.js → file-access-qx03bd0a.js} +9 -9
  213. package/dist/chunks/{image-bvw3rxww.js → file-access-r036svgx.js} +11 -11
  214. package/dist/chunks/{image-2z66ez54.js → file-access-r0pc2tt6.js} +25 -25
  215. package/dist/chunks/{image-rph3zd4r.js → file-access-r33ff4dw.js} +6 -6
  216. package/dist/chunks/{image-c2a7rk0z.js → file-access-raf9h2ts.js} +9 -9
  217. package/dist/chunks/{image-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{image-trt3e8v7.js → file-access-re1s176r.js} +13 -13
  219. package/dist/chunks/{image-aa092tpj.js → file-access-rf3sv4f6.js} +52 -52
  220. package/dist/chunks/{image-rhjbct0v.js → file-access-rhjbct0v.js} +1 -1
  221. package/dist/chunks/{image-k10ne33k.js → file-access-rjzssajw.js} +8 -8
  222. package/dist/chunks/{image-1cfb3ja4.js → file-access-rmk2c50f.js} +5 -5
  223. package/dist/chunks/{image-mw934p8z.js → file-access-rtathh62.js} +6 -6
  224. package/dist/chunks/{image-27ja88b0.js → file-access-rxvrk031.js} +27 -27
  225. package/dist/chunks/{image-bw7h3gmz.js → file-access-s2tvr5dg.js} +11 -11
  226. package/dist/chunks/{image-ea7y8w96.js → file-access-s4w7jzgz.js} +44 -44
  227. package/dist/chunks/{image-ha494qqn.js → file-access-satvg6hp.js} +10 -10
  228. package/dist/chunks/{image-r16rx7t1.js → file-access-saye24w9.js} +4 -4
  229. package/dist/chunks/{image-3646a87e.js → file-access-sdmcn07b.js} +83 -82
  230. package/dist/chunks/{image-pqkzp7xy.js → file-access-sg3e8ft2.js} +20 -20
  231. package/dist/chunks/{image-d10jp6w6.js → file-access-sng8r1vf.js} +24 -24
  232. package/dist/chunks/{image-krva6jg1.js → file-access-sqm52wn7.js} +13 -13
  233. package/dist/chunks/{image-y89pgm7x.js → file-access-t48g49hr.js} +11 -11
  234. package/dist/chunks/{image-e5e98ep7.js → file-access-t6r7h21p.js} +13 -13
  235. package/dist/chunks/{image-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{image-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{image-tdstcens.js → file-access-tdstcens.js} +1 -1
  238. package/dist/chunks/{image-jba61rz3.js → file-access-tgcdz44n.js} +26 -26
  239. package/dist/chunks/{image-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  240. package/dist/chunks/{image-79j02bcx.js → file-access-tyh0qh3n.js} +18 -18
  241. package/dist/chunks/{image-ge4xn9w4.js → file-access-tzqjevm8.js} +9 -9
  242. package/dist/chunks/{image-kbt3g993.js → file-access-v6ndbskd.js} +13 -13
  243. package/dist/chunks/{image-v3vqqm9f.js → file-access-v6zy1qsv.js} +7 -7
  244. package/dist/chunks/{image-vdptz04f.js → file-access-v76by4bg.js} +6 -6
  245. package/dist/chunks/{image-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  246. package/dist/chunks/{image-g9fca82e.js → file-access-vrz7xrs5.js} +17 -17
  247. package/dist/chunks/{image-k9je938h.js → file-access-vs2tehdm.js} +3 -3
  248. package/dist/chunks/{image-var6jwka.js → file-access-vt0e9y1w.js} +14 -14
  249. package/dist/chunks/{image-4jv7e9dq.js → file-access-vyqn3nqs.js} +9 -9
  250. package/dist/chunks/{image-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{image-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{image-pxa5h1bq.js → file-access-wd18fn92.js} +24 -24
  253. package/dist/chunks/{image-wd87259q.js → file-access-wd87259q.js} +1 -1
  254. package/dist/chunks/{image-ve3nm955.js → file-access-we52gc0f.js} +11 -11
  255. package/dist/chunks/{image-6zh7jmm8.js → file-access-wfxxyxds.js} +9 -9
  256. package/dist/chunks/{image-4m2d68p8.js → file-access-wn8y6sgg.js} +25 -25
  257. package/dist/chunks/{image-ybhbtxjg.js → file-access-wrmrmykr.js} +6 -6
  258. package/dist/chunks/{image-jq4avm79.js → file-access-wrtjp1mn.js} +24 -24
  259. package/dist/chunks/{image-nh3m5kwx.js → file-access-x0f4f0m1.js} +5 -5
  260. package/dist/chunks/{image-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{image-xfkkasph.js → file-access-xfkkasph.js} +1 -1
  262. package/dist/chunks/{image-8k5gf81b.js → file-access-xm5295m0.js} +4 -4
  263. package/dist/chunks/{image-afkq326b.js → file-access-xn76h8hp.js} +22 -22
  264. package/dist/chunks/{image-s6pmxk2t.js → file-access-xs2bmay3.js} +11 -11
  265. package/dist/chunks/{image-aj20rtze.js → file-access-xxseqtyh.js} +20 -20
  266. package/dist/chunks/{image-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{image-vr11qtph.js → file-access-y5phfrgc.js} +9 -9
  268. package/dist/chunks/{image-y71avatq.js → file-access-y71avatq.js} +1 -1
  269. package/dist/chunks/{image-c6psv4me.js → file-access-y97z94ck.js} +12 -12
  270. package/dist/chunks/{image-x619ew4b.js → file-access-ybh0q6je.js} +47 -47
  271. package/dist/chunks/{image-6qr3rp4k.js → file-access-ydgy0jv4.js} +6 -6
  272. package/dist/chunks/{image-t9kz1x1h.js → file-access-ymmys65e.js} +18 -18
  273. package/dist/chunks/{image-6r2bcfeg.js → file-access-ynp3axf3.js} +5 -5
  274. package/dist/chunks/{image-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{image-qz83qt6n.js → file-access-yrpnr2zj.js} +30 -30
  276. package/dist/chunks/{image-yrznvahk.js → file-access-yrznvahk.js} +2 -2
  277. package/dist/chunks/{image-8g5g8mdr.js → file-access-ywyg2maf.js} +42 -42
  278. package/dist/chunks/{image-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{image-e255wkp1.js → file-access-z2cgntw0.js} +5 -5
  280. package/dist/chunks/{image-tcpw7e5e.js → file-access-z3yhsc05.js} +27 -27
  281. package/dist/chunks/{image-z63w68vq.js → file-access-z63w68vq.js} +2 -2
  282. package/dist/chunks/{image-x2d9qy7d.js → file-access-zd30eb5w.js} +5 -5
  283. package/dist/chunks/{image-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{image-w5mxr70m.js → file-access-zfp10n8z.js} +14 -14
  285. package/dist/chunks/{image-qx10sz7d.js → file-access-zh7rgrks.js} +15 -15
  286. package/dist/chunks/{image-bbfngs8v.js → file-access-zkx33n4v.js} +11 -11
  287. package/dist/chunks/{image-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{image-6gfs34nh.js → file-access-zx4azftj.js} +10 -10
  289. package/dist/chunks/{image-b90q3vwg.js → file-access-zx7j3hav.js} +23 -23
  290. package/dist/chunks/{image-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +80 -80
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +104 -104
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +3 -3
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +105 -105
  476. package/dist/mcp/instructions.js +123 -123
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +95 -95
  482. package/dist/model.js +99 -99
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +112 -112
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +99 -99
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +119 -119
  527. package/dist/plugin/provider/openai.js +91 -91
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -346
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +93 -93
  568. package/dist/reference/instructions.js +86 -86
  569. package/dist/reference.js +84 -84
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +85 -85
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +116 -116
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +84 -84
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +153 -153
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +7 -7
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +122 -122
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +117 -117
  641. package/dist/tool/plugin/grep.js +121 -121
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +112 -112
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +107 -107
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +12 -12
  656. package/dist/types/session/session.d.ts +3 -0
  657. package/dist/types/session.d.ts +4 -0
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +7 -7
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +91 -91
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +92 -92
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +88 -88
  687. package/dist/websearch.js +83 -83
  688. package/dist/wellknown/plugin.js +75 -75
  689. package/dist/wellknown.js +80 -80
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +79 -79
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +88 -88
  697. package/dist/worktree.js +93 -93
  698. package/package.json +8 -8
  699. package/dist/chunks/image-6kdq0pjd.js +0 -4
  700. package/dist/chunks/image-b89j7fds.js +0 -26
  701. package/dist/chunks/image-by5v678g.js +0 -18
  702. package/dist/chunks/image-v3603nqe.js +0 -252
  703. /package/dist/chunks/{image-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{image-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{image-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{image-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{image-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{image-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{image-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{image-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{image-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{image-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{image-3asan66x.js → file-access-3asan66x.js} +0 -0
  714. /package/dist/chunks/{image-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{image-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{image-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{image-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{image-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{image-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{image-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{image-53557ph1.js → file-access-53557ph1.js} +0 -0
  722. /package/dist/chunks/{image-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{image-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{image-6prwharc.js → file-access-6prwharc.js} +0 -0
  725. /package/dist/chunks/{image-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{image-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{image-822emrt2.js → file-access-822emrt2.js} +0 -0
  728. /package/dist/chunks/{image-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{image-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{image-922hggd3.js → file-access-922hggd3.js} +0 -0
  731. /package/dist/chunks/{image-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{image-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{image-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{image-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{image-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{image-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{image-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{image-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{image-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{image-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{image-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{image-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{image-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{image-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{image-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{image-df08tz66.js → file-access-df08tz66.js} +0 -0
  747. /package/dist/chunks/{image-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{image-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{image-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{image-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{image-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{image-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{image-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{image-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{image-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{image-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{image-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{image-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{image-g86h250q.js → file-access-g86h250q.js} +0 -0
  760. /package/dist/chunks/{image-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{image-gftt206x.js → file-access-gftt206x.js} +0 -0
  762. /package/dist/chunks/{image-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{image-hk9envan.js → file-access-hk9envan.js} +0 -0
  764. /package/dist/chunks/{image-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{image-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{image-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{image-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{image-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{image-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{image-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{image-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{image-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{image-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{image-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{image-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{image-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{image-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{image-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{image-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{image-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{image-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{image-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{image-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{image-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{image-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{image-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  787. /package/dist/chunks/{image-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{image-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{image-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{image-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{image-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{image-x61499pn.js → file-access-x61499pn.js} +0 -0
  793. /package/dist/chunks/{image-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{image-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{image-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{image-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{image-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{image-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./image-922hggd3.js";
4
+ } from "./file-access-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./image-y71avatq.js";
7
+ } from "./file-access-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./image-tazgh4e4.js";
12
+ } from "./file-access-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./image-ef5x83kb.js";
15
+ } from "./file-access-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./image-922hggd3.js";
5
- import {
6
- Info13
7
- } from "./image-cavr175a.js";
8
- import {
9
- Info12
10
- } from "./image-g8jasmdt.js";
4
+ } from "./file-access-922hggd3.js";
11
5
  import {
12
6
  Info16
13
- } from "./image-3cfzdc8e.js";
7
+ } from "./file-access-g190xswt.js";
8
+ import {
9
+ Info14
10
+ } from "./file-access-16cax9zb.js";
14
11
  import {
15
12
  Info18
16
- } from "./image-a2ew8a62.js";
13
+ } from "./file-access-2f0bjgcj.js";
17
14
  import {
18
- Info17
19
- } from "./image-4jv7e9dq.js";
15
+ Info11
16
+ } from "./file-access-d216944b.js";
17
+ import {
18
+ Info12
19
+ } from "./file-access-vyqn3nqs.js";
20
20
  import {
21
21
  Layout2
22
- } from "./image-21r38tys.js";
22
+ } from "./file-access-21r38tys.js";
23
23
  import {
24
- Info15
25
- } from "./image-rph3zd4r.js";
24
+ Info17
25
+ } from "./file-access-r33ff4dw.js";
26
26
  import {
27
- Info14
28
- } from "./image-p44d8wdy.js";
27
+ Info10
28
+ } from "./file-access-pecb0brz.js";
29
29
  import {
30
30
  Spec2
31
- } from "./image-2k8khapm.js";
31
+ } from "./file-access-qgn6gcr1.js";
32
32
  import {
33
- Info19
34
- } from "./image-qte5z7bc.js";
33
+ Info13
34
+ } from "./file-access-e6hmchc5.js";
35
35
  import {
36
36
  Server2
37
- } from "./image-zeh9ct20.js";
37
+ } from "./file-access-zeh9ct20.js";
38
38
  import {
39
- Info11
40
- } from "./image-t9zs3egg.js";
39
+ Info15
40
+ } from "./file-access-0v53mg2y.js";
41
41
  import {
42
42
  __export
43
- } from "./image-9rqn6x4v.js";
43
+ } from "./file-access-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info10,
49
+ Info: () => Info9,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info10 = Schema.Struct({
62
+ var Info9 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info11).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info10 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info12),
119
- build: Schema.optional(Info12),
120
- general: Schema.optional(Info12),
121
- explore: Schema.optional(Info12),
122
- title: Schema.optional(Info12),
123
- summary: Schema.optional(Info12),
124
- compaction: Schema.optional(Info12)
125
- }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info19)).annotate({
118
+ plan: Schema.optional(Info14),
119
+ build: Schema.optional(Info14),
120
+ general: Schema.optional(Info14),
121
+ explore: Schema.optional(Info14),
122
+ title: Schema.optional(Info14),
123
+ summary: Schema.optional(Info14),
124
+ compaction: Schema.optional(Info14)
125
+ }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info14, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info17).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info10, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info12).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info15).annotate({
133
+ lsp: Schema.optional(Info17).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info13),
140
+ permission: Schema.optional(Info16),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info16).annotate({
142
+ attachment: Schema.optional(Info18).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info10, exports_config2 };
194
+ export { WellKnown2, Info9, exports_config2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-rj372e5a.js";
4
+ } from "./file-access-nc0692wd.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./image-tazgh4e4.js";
9
+ } from "./file-access-tazgh4e4.js";
10
10
  import {
11
11
  Service80,
12
12
  node84
13
- } from "./image-711fd8qe.js";
13
+ } from "./file-access-pwn9j9sb.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./image-rdw6cm16.js";
17
+ } from "./file-access-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./image-9rqn6x4v.js";
20
+ } from "./file-access-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info9,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service46,
31
+ Service: () => Service22,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node49
33
+ node: () => node25
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service46 extends Context.Service()("@opencode/Vcs") {
48
+ class Service22 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service46, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service80;
53
53
  const bus = yield* Service83;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service46.of({
121
+ return Service22.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node49 = makeLocationNode({
168
- service: Service46,
167
+ var node25 = makeLocationNode({
168
+ service: Service22,
169
169
  layer,
170
170
  deps: [FSUtil.node, node84, node87]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, Service46, node49, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service22, node25, exports_vcs };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./image-z9ee0mf2.js";
2
+ ID8
3
+ } from "./file-access-pszv7358.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./image-hjbc5kem.js";
6
+ } from "./file-access-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./image-v61m3kz8.js";
4
+ } from "./file-access-dwzbgcev.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./image-3hepkmqq.js";
7
+ } from "./file-access-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./image-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service69,
17
- node: () => node73
16
+ Service: () => Service76,
17
+ node: () => node79
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service69 extends Context.Service()("@opencode/KV") {
22
+ class Service76 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service69, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service69.of({
26
+ return Service76.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88] });
54
+ var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
55
55
 
56
- export { Service69, node73, exports_kv };
56
+ export { Service76, node79, exports_kv };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./image-rj372e5a.js";
3
+ } from "./file-access-nc0692wd.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event20
7
- } from "./image-aj20rtze.js";
7
+ } from "./file-access-xxseqtyh.js";
8
8
  import {
9
- ID14,
9
+ ID9,
10
10
  MethodID2
11
- } from "./image-ad4z1jrs.js";
11
+ } from "./file-access-cka7hfyn.js";
12
12
  import {
13
13
  key2
14
- } from "./image-h6r3nrb9.js";
14
+ } from "./file-access-nzyhnfxz.js";
15
15
  import {
16
- Service14
17
- } from "./image-f5gy8qwh.js";
16
+ Service13
17
+ } from "./file-access-3emr59yt.js";
18
18
  import {
19
- ID13,
19
+ ID8,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./image-z9ee0mf2.js";
22
+ } from "./file-access-pszv7358.js";
23
23
  import {
24
- ID3,
25
- Input13,
24
+ ID6,
25
+ Input14,
26
26
  Response2
27
- } from "./image-a4rx6ejt.js";
27
+ } from "./file-access-58mcmt77.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID3
42
+ providerID: ID6
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
64
64
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
65
65
  function oauth(http) {
66
66
  return {
67
- integrationID: ID14.make("opencode"),
67
+ integrationID: ID9.make("opencode"),
68
68
  method: {
69
69
  id: methodID,
70
70
  type: "oauth",
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
120
120
  effect: Effect.fn(function* (ctx) {
121
121
  const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service14;
123
+ const managed = yield* Service13;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
153
153
  providers.update(providerID, (provider) => {
154
154
  if (source && source.provider !== provider)
155
155
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
156
- provider.integrationID = ID14.make("opencode");
156
+ provider.integrationID = ID9.make("opencode");
157
157
  if (item.canonical !== undefined)
158
158
  provider.canonical = item.canonical;
159
159
  if (item.name !== undefined)
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
223
223
  sourceConnection: snapshot.connection
224
224
  });
225
225
  }
226
- const item = providers.get(ID13.opencode);
226
+ const item = providers.get(ID8.opencode);
227
227
  if (!item)
228
228
  return;
229
229
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
235
235
  });
236
236
  });
237
237
  yield* ctx.model.transform((models) => {
238
- const item = models.provider.get(ID13.opencode);
238
+ const item = models.provider.get(ID8.opencode);
239
239
  if (!item)
240
240
  return;
241
241
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
269
269
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
270
270
  const token = credential.type === "oauth" ? credential.access : credential.key;
271
271
  const server = yield* normalizeServer(serverUrl(credential));
272
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
272
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
273
273
  query: input.query,
274
274
  providerID: descriptor.providerID
275
275
  }));
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./image-ec1grn59.js";
3
+ } from "./file-access-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./image-8krfq0r3.js";
6
+ } from "./file-access-658p8faw.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./file-access-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make7,
16
+ make: () => make5,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
100
100
  return true;
101
101
  })
102
102
  });
103
- var make7 = (bus, sessionID) => Effect.gen(function* () {
103
+ var make5 = (bus, sessionID) => Effect.gen(function* () {
104
104
  const decide = yield* policy2(sessionID);
105
105
  const wait = (input) => Effect.gen(function* () {
106
106
  const scheduled = yield* Clock.currentTimeMillis;
@@ -117,4 +117,4 @@ var make7 = (bus, sessionID) => Effect.gen(function* () {
117
117
  return { decide, wait };
118
118
  });
119
119
 
120
- export { isRetryable2, policy2, transient2, make7, exports_retry };
120
+ export { isRetryable2, policy2, transient2, make5, exports_retry };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./image-922hggd3.js";
4
+ } from "./file-access-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./image-jexxy024.js";
7
+ } from "./file-access-ndmv45hp.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./image-711fd8qe.js";
6
+ } from "./file-access-pwn9j9sb.js";
7
7
  import {
8
- Service51
9
- } from "./image-m2yd4h25.js";
8
+ Service47
9
+ } from "./file-access-0fp6vpq7.js";
10
10
  import {
11
- Service17
12
- } from "./image-be95997k.js";
11
+ Service15
12
+ } from "./file-access-1jtbg6c9.js";
13
13
  import {
14
14
  observe2
15
- } from "./image-qsdy395h.js";
15
+ } from "./file-access-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin4
24
+ Plugin: () => Plugin17
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin4 = define({
30
+ var Plugin17 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service51;
33
+ const config = yield* Service47;
34
34
  const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service17;
36
+ const worktrees = yield* Service15;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin4 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin4, exports_worktree };
51
+ export { Plugin17, exports_worktree };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./image-z9ee0mf2.js";
4
+ } from "./file-access-pszv7358.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";