@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,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service66
4
- } from "./image-rbxccrva.js";
2
+ ID13,
3
+ Service73
4
+ } from "./file-access-08atjc0y.js";
5
5
  import {
6
6
  Ref2,
7
- Service72
8
- } from "./image-tcpw7e5e.js";
7
+ Service66
8
+ } from "./file-access-z3yhsc05.js";
9
9
  import {
10
10
  latest2,
11
- Service51
12
- } from "./image-m2yd4h25.js";
11
+ Service47
12
+ } from "./file-access-0fp6vpq7.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./image-jexxy024.js";
15
+ } from "./file-access-ndmv45hp.js";
16
16
  import {
17
- Service67
18
- } from "./image-jgphgq4c.js";
17
+ Service65
18
+ } from "./file-access-20pzmj15.js";
19
19
  import {
20
20
  evaluate2,
21
- Service63
22
- } from "./image-aa092tpj.js";
21
+ Service70
22
+ } from "./file-access-rf3sv4f6.js";
23
23
  import {
24
- Service26
25
- } from "./image-3646a87e.js";
24
+ Service25
25
+ } from "./file-access-sdmcn07b.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./image-x1ezjp6w.js";
28
+ } from "./file-access-x1ezjp6w.js";
29
29
  import {
30
- make5
31
- } from "./image-ve3nm955.js";
30
+ make4
31
+ } from "./file-access-we52gc0f.js";
32
32
  import {
33
33
  __export
34
- } from "./image-9rqn6x4v.js";
34
+ } from "./file-access-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input6,
40
- Output: () => Output4,
41
- Plugin: () => Plugin25,
39
+ Input: () => Input11,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin12,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name6
43
+ description: () => description5,
44
+ name: () => name11
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name6 = "subagent";
48
+ var name11 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input6 = Schema.Struct({
59
+ var Input11 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input6 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output4 = Schema.Struct({
75
+ var Output7 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description3 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin25 = {
89
+ var Plugin12 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
93
- const jobs = yield* Service67;
94
- const agents = yield* Service66;
95
- const config = yield* Service51;
96
- const permission = yield* Service63;
97
- const models = yield* Service72;
98
- const subagents = yield* make5;
92
+ const sessions = yield* Service25;
93
+ const jobs = yield* Service65;
94
+ const agents = yield* Service73;
95
+ const config = yield* Service47;
96
+ const permission = yield* Service70;
97
+ const models = yield* Service66;
98
+ const subagents = yield* make4;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin25 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name6,
118
+ name: name11,
119
119
  options: { codemode: false },
120
- description: description3,
121
- input: Input6,
122
- output: Output4,
120
+ description: description5,
121
+ input: Input11,
122
+ output: Output7,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin25 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name6,
142
+ action: name11,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin25 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID13.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name6];
221
+ const tool = event.tools[name11];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name6, Input6, Output4, description3, Plugin25, exports_subagent };
244
+ export { name11, Input11, Output7, description5, Plugin12, exports_subagent };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83
3
- } from "./image-rj372e5a.js";
3
+ } from "./file-access-nc0692wd.js";
4
4
  import {
5
- Service53,
6
- Event13
7
- } from "./image-p84br5ek.js";
5
+ Service49,
6
+ Event11
7
+ } from "./file-access-bjwsxpgk.js";
8
8
  import {
9
9
  __export
10
- } from "./image-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin32,
15
+ Plugin: () => Plugin48,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin32 = define({
20
+ var Plugin48 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service53;
24
+ const wellknown = yield* Service49;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin32 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin32, exports_plugin };
48
+ export { Plugin48, exports_plugin };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./image-0paq2nw3.js";
4
+ } from "./file-access-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./image-z9ee0mf2.js";
7
+ } from "./file-access-pszv7358.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./image-tcpw7e5e.js";
11
+ } from "./file-access-z3yhsc05.js";
12
12
  import {
13
13
  __export
14
- } from "./image-9rqn6x4v.js";
14
+ } from "./file-access-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID11,
3
- Info25,
2
+ ID14,
3
+ Info29,
4
4
  SessionSchema2
5
- } from "./image-jexxy024.js";
5
+ } from "./file-access-ndmv45hp.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./image-922hggd3.js";
8
+ } from "./file-access-922hggd3.js";
9
9
  import {
10
10
  Service84,
11
11
  node88
12
- } from "./image-v61m3kz8.js";
12
+ } from "./file-access-dwzbgcev.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service83,
16
16
  node87
17
- } from "./image-rj372e5a.js";
17
+ } from "./file-access-nc0692wd.js";
18
18
  import {
19
19
  Service81,
20
20
  node85
21
- } from "./image-924007vm.js";
21
+ } from "./file-access-48qh5hqp.js";
22
22
  import {
23
- Service61,
24
- node65
25
- } from "./image-ycjb11n5.js";
23
+ Service60,
24
+ node63
25
+ } from "./file-access-93ygb5af.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./image-ec1grn59.js";
28
+ } from "./file-access-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./image-a1bz86dw.js";
31
+ } from "./file-access-a1bz86dw.js";
32
32
  import {
33
- node64
34
- } from "./image-esh8cnfr.js";
33
+ node62
34
+ } from "./file-access-kw7v9xqj.js";
35
35
  import {
36
36
  current2
37
- } from "./image-cq37gk0t.js";
37
+ } from "./file-access-cq37gk0t.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./image-7keqm5b0.js";
40
+ } from "./file-access-65jejx4v.js";
41
41
  import {
42
42
  Slug2
43
- } from "./image-gebd4c9n.js";
43
+ } from "./file-access-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node31
47
- } from "./image-nxvwfbqw.js";
46
+ node32
47
+ } from "./file-access-mhv6gyqj.js";
48
48
  import {
49
49
  Metadata2,
50
- node61
51
- } from "./image-9z4sf5tv.js";
50
+ node54
51
+ } from "./file-access-n7xygqpe.js";
52
52
  import {
53
- NotFoundError9,
53
+ NotFoundError10,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./image-ybhbtxjg.js";
64
+ } from "./file-access-wrmrmykr.js";
65
65
  import {
66
66
  ListInput4,
67
- Service64,
68
- node68
69
- } from "./image-c6psv4me.js";
67
+ Service71,
68
+ node74
69
+ } from "./file-access-y97z94ck.js";
70
70
  import {
71
- Service67,
72
- node71
73
- } from "./image-jgphgq4c.js";
71
+ Service65,
72
+ node68
73
+ } from "./file-access-20pzmj15.js";
74
74
  import {
75
- Service58,
76
- node63
77
- } from "./image-jmvq68x6.js";
75
+ Service57,
76
+ node61
77
+ } from "./file-access-cjh1af7b.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./image-5t3nmthw.js";
80
+ } from "./file-access-5t3nmthw.js";
81
81
  import {
82
- Service36,
83
- node39
84
- } from "./image-xzz5rq5j.js";
82
+ Service34,
83
+ node38
84
+ } from "./file-access-qx03bd0a.js";
85
85
  import {
86
86
  generate2
87
- } from "./image-jbft8se4.js";
87
+ } from "./file-access-kdjb3rjh.js";
88
88
  import {
89
89
  execute2
90
- } from "./image-yw90mp9f.js";
90
+ } from "./file-access-19m0af1m.js";
91
91
  import {
92
- Service79,
93
- node83
94
- } from "./image-pk5pky18.js";
92
+ Service62,
93
+ node65
94
+ } from "./file-access-k100k1x5.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service27,
100
- node30
101
- } from "./image-m4emphp1.js";
99
+ Service28,
100
+ node31
101
+ } from "./file-access-00c8amp3.js";
102
102
  import {
103
- Service49,
104
- node52
105
- } from "./image-bh0zzf2s.js";
103
+ Service39,
104
+ node42
105
+ } from "./file-access-15nepkqg.js";
106
106
  import {
107
107
  make13
108
- } from "./image-kpx2s52a.js";
108
+ } from "./file-access-jtr1pbd3.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./image-09e552k5.js";
112
+ } from "./file-access-p2fa2w79.js";
113
113
  import {
114
114
  __export
115
- } from "./image-9rqn6x4v.js";
115
+ } from "./file-access-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID11,
126
+ ID: () => ID14,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info25,
128
+ Info: () => Info29,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError9,
133
+ NotFoundError: () => NotFoundError10,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service26,
135
+ Service: () => Service25,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node29
141
+ node: () => node28
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -149,26 +149,26 @@ import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
151
  var ListInput3 = ListInput4;
152
- class Service26 extends Context.Service()("@opencode/Session") {
152
+ class Service25 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service26, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service84;
157
157
  const db = database.db;
158
158
  const bus = yield* Service83;
159
159
  const projects = yield* Service81;
160
- const execution = yield* Service58;
160
+ const execution = yield* Service57;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service36;
163
- const store = yield* Service64;
164
- const instances = yield* Service61;
165
- const moves = yield* Service27;
166
- const jobs = yield* Service67;
167
- const environments = yield* Service49;
168
- const locations = yield* Service79;
162
+ const transport = yield* Service34;
163
+ const store = yield* Service71;
164
+ const instances = yield* Service60;
165
+ const moves = yield* Service28;
166
+ const jobs = yield* Service65;
167
+ const environments = yield* Service39;
168
+ const locations = yield* Service62;
169
169
  const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service26.of({
171
+ const result = Service25.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError9({ sessionID: input.parentID });
179
+ return yield* new NotFoundError10({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,17 +281,18 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service60, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
292
292
  switchAgent: (input) => sessions.forSession(input.sessionID).switchAgent(input),
293
293
  switchModel: (input) => sessions.forSession(input.sessionID).switchModel(input),
294
294
  rename: (input) => sessions.forSession(input.sessionID).rename(input),
295
+ setMetadata: (input) => sessions.forSession(input.sessionID).setMetadata(input),
295
296
  setPermissions: (input) => sessions.forSession(input.sessionID).setPermissions(input),
296
297
  move: moves.move,
297
298
  compact: (input) => sessions.forSession(input.sessionID).compact(input),
@@ -326,27 +327,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
326
327
  });
327
328
  return result;
328
329
  }));
329
- var node29 = Node.makeGlobalNode({
330
- service: Service26,
330
+ var node28 = Node.makeGlobalNode({
331
+ service: Service25,
331
332
  layer,
332
333
  deps: [
333
- node71,
334
- node52,
334
+ node68,
335
+ node42,
335
336
  node88,
336
337
  node87,
337
338
  node85,
338
- node63,
339
- node39,
339
+ node61,
340
+ node38,
340
341
  llmClient2,
341
- node68,
342
- node65,
343
- node64,
344
- node30,
342
+ node74,
343
+ node63,
344
+ node62,
345
345
  node31,
346
- node83,
346
+ node32,
347
+ node65,
347
348
  FSUtil.node,
348
- node61
349
+ node54
349
350
  ]
350
351
  });
351
352
 
352
- export { ListAnchor2, ListInput3, Service26, node29, exports_session };
353
+ export { ListAnchor2, ListInput3, Service25, node28, exports_session };
@@ -2,35 +2,35 @@ 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
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make20,
11
11
  diffByKey2
12
- } from "./image-rhjbct0v.js";
12
+ } from "./file-access-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./image-922hggd3.js";
15
+ } from "./file-access-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./image-rdw6cm16.js";
18
+ } from "./file-access-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./image-9rqn6x4v.js";
21
+ } from "./file-access-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event9,
26
+ Event: () => Event8,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service40,
31
- configured: () => configured6,
29
+ Options: () => Options5,
30
+ Service: () => Service44,
31
+ configured: () => configured5,
32
32
  layer: () => layer16,
33
- node: () => node43
33
+ node: () => node47
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event9 = {
45
+ var Event8 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options5 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
55
+ var layer16 = (options) => Layer.effect(Service44, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,7 +72,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make20({
78
78
  key,
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service40.of({
93
+ return Service44.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service40,
109
+ service: Service44,
110
110
  layer: layer16(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node43 = configured6();
114
+ var node47 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event9, Options6, Service40, layer16, configured6, node43, exports_instruction_discovery };
145
+ export { File2, Event8, Options5, Service44, layer16, configured5, node47, exports_instruction_discovery };