@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
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./image-rj372e5a.js";
5
+ } from "./file-access-nc0692wd.js";
6
6
  import {
7
- Service69,
8
- node73
9
- } from "./image-j6nsp1g7.js";
7
+ Service76,
8
+ node79
9
+ } from "./file-access-h99jmrd9.js";
10
10
  import {
11
11
  __export
12
- } from "./image-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event13,
19
+ Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service53,
22
+ Service: () => Service49,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node56,
26
- resolve: () => resolve3
25
+ node: () => node52,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service53 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service49 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event13 = {
51
+ var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service53, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service69;
80
+ const kv = yield* Service76;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event13.Updated, {});
112
+ yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service53.of({
115
+ return Service49.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event13.Updated, {});
128
+ yield* bus.publish(Event11.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event13.Updated, {});
141
+ yield* bus.publish(Event11.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node73, node87] });
146
+ var node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node79, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event13, inspect2, resolve3, node56, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event11, inspect2, resolve2, node52, exports_wellknown };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./image-m2yd4h25.js";
2
+ Service47
3
+ } from "./file-access-0fp6vpq7.js";
4
4
  import {
5
- Service10
6
- } from "./image-3b7qpc67.js";
5
+ Service9
6
+ } from "./file-access-5q8gz8g4.js";
7
7
  import {
8
8
  observe2
9
- } from "./image-qsdy395h.js";
9
+ } from "./file-access-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./image-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin17
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin17 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service47;
26
+ const compaction = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin17 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin17, exports_compaction };
42
+ export { Plugin20, exports_compaction };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service74
4
- } from "./image-z9ee0mf2.js";
3
+ Service67
4
+ } from "./file-access-pszv7358.js";
5
5
  import {
6
- Service51
7
- } from "./image-m2yd4h25.js";
6
+ Service47
7
+ } from "./file-access-0fp6vpq7.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service74;
12
+ const providers = yield* Service67;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service51);
14
+ const service = yield* Effect.serviceOption(Service47);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID10
3
- } from "./image-rbxccrva.js";
2
+ ID13
3
+ } from "./file-access-08atjc0y.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./image-922hggd3.js";
6
+ } from "./file-access-922hggd3.js";
7
7
  import {
8
- Info12
9
- } from "./image-g8jasmdt.js";
8
+ Info14
9
+ } from "./file-access-16cax9zb.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./image-r16rx7t1.js";
12
+ } from "./file-access-saye24w9.js";
13
13
  import {
14
14
  latest2,
15
- Service51
16
- } from "./image-m2yd4h25.js";
15
+ Service47
16
+ } from "./file-access-0fp6vpq7.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./image-5daktx2q.js";
19
+ } from "./file-access-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./image-9rqn6x4v.js";
22
+ } from "./file-access-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin8
28
+ Plugin: () => Plugin18
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin8 = define({
47
+ var Plugin18 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service51;
50
+ const config = yield* Service47;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin8 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID10.make(configuredDefault));
79
+ editor.default(ID13.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID10.make(id);
85
+ const agentID = ID13.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin8, exports_agent };
164
+ export { Plugin18, exports_agent };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  mergeOverlay2
4
- } from "./image-z9ee0mf2.js";
4
+ } from "./file-access-pszv7358.js";
5
5
  import {
6
- ID12,
6
+ ID7,
7
7
  VariantID2,
8
- Info26,
8
+ Info21,
9
9
  compatibility2
10
- } from "./image-tcpw7e5e.js";
10
+ } from "./file-access-z3yhsc05.js";
11
11
  import {
12
12
  __export
13
- } from "./image-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -22,7 +22,7 @@ __export(exports_models2, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID8.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID7.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info26.make({
98
- ...Info26.default(providerID, id),
97
+ return Info21.make({
98
+ ...Info21.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID7.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,48 +1,48 @@
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
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./image-2402vzrj.js";
11
+ } from "./file-access-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./image-922hggd3.js";
14
+ } from "./file-access-922hggd3.js";
15
15
  import {
16
- Service43,
17
- node46
18
- } from "./image-3zzqeb10.js";
16
+ Service46,
17
+ node49
18
+ } from "./file-access-kr1sqef6.js";
19
19
  import {
20
20
  create3
21
- } from "./image-rdw6cm16.js";
21
+ } from "./file-access-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./image-9rqn6x4v.js";
24
+ } from "./file-access-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event10,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
31
  Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
34
  Service: () => Service42,
35
- Source: () => Source4,
35
+ Source: () => Source3,
36
36
  node: () => node45
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event10 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source4 = Reference.Source;
45
+ var Source3 = Reference.Source;
46
46
  var Info7 = Reference.Info;
47
47
 
48
48
  class Service42 extends Context.Service()("@opencode/Reference") {
@@ -50,7 +50,7 @@ class Service42 extends Context.Service()("@opencode/Reference") {
50
50
  var layer = Layer.effect(Service42, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service43;
53
+ const cache = yield* Service46;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
115
115
  var node45 = makeLocationNode({
116
116
  service: Service42,
117
117
  layer,
118
- deps: [Global.node, node87, node46]
118
+ deps: [Global.node, node87, node49]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info7, Service42, node45, exports_reference2, Event10 };
121
+ export { LocalSource2, GitSource2, Source3, Info7, Service42, node45, exports_reference2, Event7 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./image-6msgmcgs.js";
3
+ } from "./file-access-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./image-8p4f9s12.js";
6
+ } from "./file-access-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-9z4sf5tv.js";
3
+ } from "./file-access-n7xygqpe.js";
4
4
  import {
5
5
  call2
6
- } from "./image-56gdpj1q.js";
6
+ } from "./file-access-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./file-access-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin33,
14
+ Plugin: () => Plugin38,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://search.parallel.ai/mcp";
21
+ var endpoint6 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin33 = define({
50
+ var Plugin38 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin33 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin33 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint2, Plugin33, exports_parallel };
96
+ export { endpoint6, Plugin38, exports_parallel };
@@ -1,59 +1,59 @@
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
  Service83,
7
7
  node87
8
- } from "./image-rj372e5a.js";
8
+ } from "./file-access-nc0692wd.js";
9
9
  import {
10
- Service67,
11
- node71
12
- } from "./image-jgphgq4c.js";
10
+ Service65,
11
+ node68
12
+ } from "./file-access-20pzmj15.js";
13
13
  import {
14
- Service61,
15
- node65
16
- } from "./image-ycjb11n5.js";
14
+ Service60,
15
+ node63
16
+ } from "./file-access-93ygb5af.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./image-ec1grn59.js";
19
+ } from "./file-access-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./image-rhraev7y.js";
21
+ make17
22
+ } from "./file-access-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service59
26
- } from "./image-n4r3xatb.js";
25
+ Service58
26
+ } from "./file-access-afdssyjb.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./image-ybhbtxjg.js";
29
+ } from "./file-access-wrmrmykr.js";
30
30
  import {
31
- Service64,
32
- node68
33
- } from "./image-c6psv4me.js";
31
+ Service71,
32
+ node74
33
+ } from "./file-access-y97z94ck.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./image-8krfq0r3.js";
36
+ } from "./file-access-658p8faw.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./image-esh8cnfr.js";
39
+ } from "./file-access-kw7v9xqj.js";
40
40
  import {
41
41
  __export
42
- } from "./image-9rqn6x4v.js";
42
+ } from "./file-access-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service58,
47
+ Service: () => Service57,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
50
- node: () => node63,
49
+ layer: () => layer22,
50
+ node: () => node61,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service58 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service57 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service58, Effect.gen(function* () {
69
- const store = yield* Service64;
70
- const instances = yield* Service61;
68
+ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
69
+ const store = yield* Service71;
70
+ const instances = yield* Service60;
71
71
  const bus = yield* Service83;
72
- const jobs = yield* Service67;
72
+ const jobs = yield* Service65;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service59.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make19({
92
+ const coordinator = yield* make17({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service58.of({
113
+ return Service57.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node63 = makeGlobalNode({
133
- service: Service58,
134
- layer: layer21,
135
- deps: [node68, node65, node87, node88, node71]
132
+ var node61 = makeGlobalNode({
133
+ service: Service57,
134
+ layer: layer22,
135
+ deps: [node74, node63, node87, node88, node68]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service58, Service58.of({
137
+ var noopLayer3 = Layer.succeed(Service57, Service57.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service58, terminal2, layer21, node63, noopLayer3, exports_execution };
146
+ export { Service57, terminal2, layer22, node61, noopLayer3, exports_execution };