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

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 (796) 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/{file-access-p2fa2w79.js → image-09e552k5.js} +11 -11
  8. package/dist/chunks/{file-access-nazk6ep5.js → image-0dgp5q1e.js} +15 -15
  9. package/dist/chunks/{file-access-fs40rkt5.js → image-0e37k7hs.js} +43 -43
  10. package/dist/chunks/{file-access-7v5p2n78.js → image-0gy1wr0y.js} +13 -13
  11. package/dist/chunks/{file-access-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-access-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{file-access-6enf0aw0.js → image-0rt1aerz.js} +3 -3
  14. package/dist/chunks/{file-access-78c73d7g.js → image-10kf31pw.js} +34 -34
  15. package/dist/chunks/{file-access-rmk2c50f.js → image-1cfb3ja4.js} +5 -5
  16. package/dist/chunks/{file-access-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{file-access-6vnhfzx9.js → image-1f0kfkq1.js} +6 -6
  18. package/dist/chunks/{file-access-4f0fby6w.js → image-1g4xhxjj.js} +2 -2
  19. package/dist/chunks/{file-access-pz1h63jt.js → image-1gbzvb32.js} +15 -15
  20. package/dist/chunks/{file-access-9namg634.js → image-1mp28asa.js} +25 -25
  21. package/dist/chunks/{file-access-0ehystez.js → image-1r56tgej.js} +3 -3
  22. package/dist/chunks/{file-access-qfgq1c71.js → image-20bz03sg.js} +1 -1
  23. package/dist/chunks/{file-access-21r38tys.js → image-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-access-2402vzrj.js → image-2402vzrj.js} +1 -1
  25. package/dist/chunks/{file-access-3dap0f8b.js → image-258eh3rs.js} +26 -26
  26. package/dist/chunks/{file-access-rxvrk031.js → image-27ja88b0.js} +27 -27
  27. package/dist/chunks/{file-access-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-access-2ktg6p98.js → image-2k2bn567.js} +16 -16
  29. package/dist/chunks/{file-access-qgn6gcr1.js → image-2k8khapm.js} +5 -5
  30. package/dist/chunks/{file-access-r0pc2tt6.js → image-2z66ez54.js} +25 -25
  31. package/dist/chunks/{file-access-hntp1kvn.js → image-2zvss1h4.js} +1 -1
  32. package/dist/chunks/{file-access-34ptww8y.js → image-3646a87e.js} +82 -82
  33. package/dist/chunks/{file-access-5q8gz8g4.js → image-3b7qpc67.js} +22 -22
  34. package/dist/chunks/{file-access-2f0bjgcj.js → image-3cfzdc8e.js} +5 -5
  35. package/dist/chunks/{file-access-09nm2wmq.js → image-3czpn3qn.js} +10 -10
  36. package/dist/chunks/{file-access-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-access-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-access-gnr28544.js → image-3mtz8sw0.js} +43 -43
  39. package/dist/chunks/{file-access-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{file-access-773wjt79.js → image-3tkhky9t.js} +7 -7
  41. package/dist/chunks/{file-access-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-access-kr1sqef6.js → image-3zzqeb10.js} +17 -17
  43. package/dist/chunks/{file-access-k16yeph6.js → image-4beex6cr.js} +23 -23
  44. package/dist/chunks/{file-access-7hcsbk7e.js → image-4hxys4rp.js} +46 -46
  45. package/dist/chunks/{file-access-vyqn3nqs.js → image-4jv7e9dq.js} +9 -9
  46. package/dist/chunks/{file-access-wn8y6sgg.js → image-4m2d68p8.js} +25 -25
  47. package/dist/chunks/{file-access-wvmhvm0m.js → image-4p8kdyd3.js} +23 -23
  48. package/dist/chunks/{file-access-56gdpj1q.js → image-56gdpj1q.js} +2 -2
  49. package/dist/chunks/{file-access-57ez7d0k.js → image-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{file-access-y8qxa0m2.js → image-57x4wt21.js} +313 -313
  51. package/dist/chunks/{file-access-dzbt8m9q.js → image-59fd7wwn.js} +31 -31
  52. package/dist/chunks/{file-access-5daktx2q.js → image-5daktx2q.js} +1 -1
  53. package/dist/chunks/{file-access-5ekn9679.js → image-5ekn9679.js} +1 -1
  54. package/dist/chunks/{file-access-93syhrr0.js → image-5qfssqaz.js} +10 -10
  55. package/dist/chunks/{file-access-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{file-access-669tq793.js → image-669tq793.js} +1 -1
  57. package/dist/chunks/{file-access-gsads2be.js → image-685dn0bf.js} +16 -16
  58. package/dist/chunks/{file-access-zx4azftj.js → image-6gfs34nh.js} +10 -10
  59. package/dist/chunks/image-6kdq0pjd.js +4 -0
  60. package/dist/chunks/{file-access-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{file-access-ydgy0jv4.js → image-6qr3rp4k.js} +6 -6
  62. package/dist/chunks/{file-access-ynp3axf3.js → image-6r2bcfeg.js} +5 -5
  63. package/dist/chunks/{file-access-11vq80p7.js → image-6xh0g4kx.js} +25 -25
  64. package/dist/chunks/{file-access-wfxxyxds.js → image-6zh7jmm8.js} +9 -9
  65. package/dist/chunks/{file-access-pwn9j9sb.js → image-711fd8qe.js} +2 -2
  66. package/dist/chunks/{file-access-ehatyybc.js → image-77fp0bkd.js} +8 -8
  67. package/dist/chunks/{file-access-fsx03azj.js → image-78ys8twf.js} +7 -7
  68. package/dist/chunks/{file-access-a8mbncqe.js → image-79j02bcx.js} +18 -18
  69. package/dist/chunks/{file-access-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{file-access-65jejx4v.js → image-7keqm5b0.js} +13 -13
  71. package/dist/chunks/{file-access-p04pkz1c.js → image-7q7be7w2.js} +12 -12
  72. package/dist/chunks/{file-access-73tb2d7t.js → image-7yh4e7ss.js} +3 -3
  73. package/dist/chunks/{file-access-7gy38z07.js → image-7ykc5hxq.js} +24 -24
  74. package/dist/chunks/{file-access-768gsh1v.js → image-8d0p2m37.js} +3 -3
  75. package/dist/chunks/{file-access-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{file-access-ywyg2maf.js → image-8g5g8mdr.js} +42 -42
  77. package/dist/chunks/{file-access-xm5295m0.js → image-8k5gf81b.js} +4 -4
  78. package/dist/chunks/{file-access-658p8faw.js → image-8krfq0r3.js} +4 -4
  79. package/dist/chunks/{file-access-8p4f9s12.js → image-8p4f9s12.js} +2 -2
  80. package/dist/chunks/{file-access-mgmtwba2.js → image-8vqgfadx.js} +5 -5
  81. package/dist/chunks/{file-access-48qh5hqp.js → image-924007vm.js} +8 -8
  82. package/dist/chunks/{file-access-nq7qbqzc.js → image-9a912s85.js} +9 -9
  83. package/dist/chunks/{file-access-etqc4x7c.js → image-9dpmj859.js} +5 -5
  84. package/dist/chunks/{file-access-n7xygqpe.js → image-9z4sf5tv.js} +11 -11
  85. package/dist/chunks/{file-access-a1bz86dw.js → image-a1bz86dw.js} +3 -3
  86. package/dist/chunks/{file-access-d216944b.js → image-a2ew8a62.js} +7 -7
  87. package/dist/chunks/{file-access-hkagk5ex.js → image-a3r4dcrj.js} +2 -2
  88. package/dist/chunks/{file-access-58mcmt77.js → image-a4rx6ejt.js} +25 -25
  89. package/dist/chunks/{file-access-rf3sv4f6.js → image-aa092tpj.js} +52 -52
  90. package/dist/chunks/{file-access-aaet6srn.js → image-aaet6srn.js} +2 -2
  91. package/dist/chunks/{file-access-cka7hfyn.js → image-ad4z1jrs.js} +25 -25
  92. package/dist/chunks/{file-access-xn76h8hp.js → image-afkq326b.js} +22 -22
  93. package/dist/chunks/{file-access-xxseqtyh.js → image-aj20rtze.js} +20 -20
  94. package/dist/chunks/{file-access-jcvejxbn.js → image-aktb84ke.js} +4 -4
  95. package/dist/chunks/{file-access-8na3c29k.js → image-anb8rm3e.js} +11 -11
  96. package/dist/chunks/{file-access-5rnnm2b5.js → image-anf0zms1.js} +9 -9
  97. package/dist/chunks/{file-access-9pk0fx53.js → image-b340zwh0.js} +3 -3
  98. package/dist/chunks/{file-access-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{file-access-859wm560.js → image-b7vxzd00.js} +22 -22
  100. package/dist/chunks/image-b89j7fds.js +26 -0
  101. package/dist/chunks/{file-access-zx7j3hav.js → image-b90q3vwg.js} +23 -23
  102. package/dist/chunks/{file-access-zkx33n4v.js → image-bbfngs8v.js} +11 -11
  103. package/dist/chunks/{file-access-pber7c1w.js → image-bcqffep5.js} +15 -15
  104. package/dist/chunks/{file-access-1jtbg6c9.js → image-be95997k.js} +14 -14
  105. package/dist/chunks/{file-access-15nepkqg.js → image-bh0zzf2s.js} +8 -8
  106. package/dist/chunks/{file-access-fk0e1y1r.js → image-bhk8ct5v.js} +9 -9
  107. package/dist/chunks/{file-access-r036svgx.js → image-bvw3rxww.js} +11 -11
  108. package/dist/chunks/{file-access-s2tvr5dg.js → image-bw7h3gmz.js} +11 -11
  109. package/dist/chunks/image-by5v678g.js +18 -0
  110. package/dist/chunks/{file-access-raf9h2ts.js → image-c2a7rk0z.js} +9 -9
  111. package/dist/chunks/{file-access-4s1tnqdt.js → image-c4spbmd0.js} +9 -9
  112. package/dist/chunks/{file-access-y97z94ck.js → image-c6psv4me.js} +12 -12
  113. package/dist/chunks/{file-access-d4he2qe1.js → image-c765mh8b.js} +9 -9
  114. package/dist/chunks/{file-access-g190xswt.js → image-cavr175a.js} +4 -4
  115. package/dist/chunks/{file-access-cfpkc3c9.js → image-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{file-access-cmwkp3r5.js → image-cmwkp3r5.js} +1 -1
  117. package/dist/chunks/{file-access-cq37gk0t.js → image-cq37gk0t.js} +4 -4
  118. package/dist/chunks/{file-access-6tw2ysqh.js → image-d04y4xb3.js} +8 -8
  119. package/dist/chunks/{file-access-sng8r1vf.js → image-d10jp6w6.js} +24 -24
  120. package/dist/chunks/{file-access-7v8yt572.js → image-d18skez3.js} +15 -15
  121. package/dist/chunks/{file-access-7x3ymcnd.js → image-ddk8b4gr.js} +12 -12
  122. package/dist/chunks/{file-access-ag580yac.js → image-dg2cj1yd.js} +4 -4
  123. package/dist/chunks/{file-access-2h0wcn0e.js → image-dks483fm.js} +11 -11
  124. package/dist/chunks/{file-access-hf63qasg.js → image-dp942mfh.js} +6 -6
  125. package/dist/chunks/{file-access-gmjq4p6e.js → image-dq0v80fr.js} +5 -5
  126. package/dist/chunks/{file-access-3hdyanjz.js → image-dz8x4rxg.js} +4 -4
  127. package/dist/chunks/{file-access-z2cgntw0.js → image-e255wkp1.js} +5 -5
  128. package/dist/chunks/{file-access-t6r7h21p.js → image-e5e98ep7.js} +13 -13
  129. package/dist/chunks/{file-access-91zmhnyh.js → image-ea7y8w96.js} +44 -44
  130. package/dist/chunks/{file-access-kzp8v912.js → image-eba62b5m.js} +6 -6
  131. package/dist/chunks/{file-access-pgrdd2ve.js → image-edekhrx7.js} +11 -11
  132. package/dist/chunks/{file-access-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{file-access-4dzg40rw.js → image-en4eedd3.js} +9 -9
  134. package/dist/chunks/{file-access-erw5rpbs.js → image-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{file-access-kw7v9xqj.js → image-esh8cnfr.js} +18 -18
  136. package/dist/chunks/{file-access-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{file-access-cgq8fjpr.js → image-ewnwpw42.js} +9 -9
  138. package/dist/chunks/{file-access-9a0fsf8a.js → image-ezt9kfxv.js} +5 -5
  139. package/dist/chunks/{file-access-3emr59yt.js → image-f5gy8qwh.js} +7 -7
  140. package/dist/chunks/{file-access-f828m53h.js → image-f828m53h.js} +2 -2
  141. package/dist/chunks/{file-access-dp0d7rq6.js → image-fng32zf3.js} +68 -68
  142. package/dist/chunks/{file-access-ktvn187s.js → image-fxxz233w.js} +25 -25
  143. package/dist/chunks/{file-access-n9ne1b93.js → image-g05h3mtq.js} +11 -11
  144. package/dist/chunks/{file-access-bqm04z8x.js → image-g1cnsceh.js} +6 -6
  145. package/dist/chunks/{file-access-16cax9zb.js → image-g8jasmdt.js} +8 -8
  146. package/dist/chunks/{file-access-vrz7xrs5.js → image-g9fca82e.js} +17 -17
  147. package/dist/chunks/{file-access-e0bnrhje.js → image-ga8qx7mf.js} +166 -166
  148. package/dist/chunks/{file-access-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{file-access-tzqjevm8.js → image-ge4xn9w4.js} +9 -9
  150. package/dist/chunks/{file-access-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{file-access-jx3n259w.js → image-gxyd6y7v.js} +30 -30
  152. package/dist/chunks/{file-access-nzyhnfxz.js → image-h6r3nrb9.js} +4 -4
  153. package/dist/chunks/{file-access-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-access-b0dgvpy7.js → image-h71w788e.js} +9 -9
  155. package/dist/chunks/{file-access-satvg6hp.js → image-ha494qqn.js} +10 -10
  156. package/dist/chunks/{file-access-0a692sth.js → image-hbf5bmg6.js} +37 -37
  157. package/dist/chunks/{file-access-eqncpqrf.js → image-hbw0vr81.js} +15 -15
  158. package/dist/chunks/{file-access-2xszf6tt.js → image-hv8bfrwv.js} +31 -31
  159. package/dist/chunks/{file-access-j56e64zr.js → image-j56e64zr.js} +1 -1
  160. package/dist/chunks/{file-access-h99jmrd9.js → image-j6nsp1g7.js} +10 -10
  161. package/dist/chunks/{file-access-tgcdz44n.js → image-jba61rz3.js} +26 -26
  162. package/dist/chunks/{file-access-kdjb3rjh.js → image-jbft8se4.js} +16 -16
  163. package/dist/chunks/{file-access-ndmv45hp.js → image-jexxy024.js} +3 -3
  164. package/dist/chunks/{file-access-20pzmj15.js → image-jgphgq4c.js} +17 -17
  165. package/dist/chunks/{file-access-cjh1af7b.js → image-jmvq68x6.js} +37 -37
  166. package/dist/chunks/{file-access-wrtjp1mn.js → image-jq4avm79.js} +24 -24
  167. package/dist/chunks/{file-access-5ww8yrxx.js → image-js7vnd8z.js} +25 -25
  168. package/dist/chunks/{file-access-rjzssajw.js → image-k10ne33k.js} +8 -8
  169. package/dist/chunks/{file-access-8ank75fn.js → image-k1gkpfdk.js} +8 -8
  170. package/dist/chunks/{file-access-k3c624dm.js → image-k3c624dm.js} +3 -3
  171. package/dist/chunks/{file-access-qjxevsft.js → image-k53npxr2.js} +1 -1
  172. package/dist/chunks/{file-access-vs2tehdm.js → image-k9je938h.js} +3 -3
  173. package/dist/chunks/{file-access-k9kj6xed.js → image-k9kj6xed.js} +2 -2
  174. package/dist/chunks/{file-access-qc7betj8.js → image-kawpmg25.js} +11 -11
  175. package/dist/chunks/{file-access-v6ndbskd.js → image-kbt3g993.js} +13 -13
  176. package/dist/chunks/{file-access-7pbtkrdy.js → image-kes097j4.js} +3 -3
  177. package/dist/chunks/{file-access-pn68zg67.js → image-kh9grtd6.js} +14 -14
  178. package/dist/chunks/{file-access-4bm5ja14.js → image-kkp8zx71.js} +4 -4
  179. package/dist/chunks/{file-access-ycrtq78m.js → image-kpx2s52a.js} +30 -30
  180. package/dist/chunks/{file-access-sqm52wn7.js → image-krva6jg1.js} +13 -13
  181. package/dist/chunks/{file-access-317cfnqd.js → image-ky514c0v.js} +11 -11
  182. package/dist/chunks/{file-access-0fp6vpq7.js → image-m2yd4h25.js} +38 -38
  183. package/dist/chunks/{file-access-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{file-access-mpgs1ntc.js → image-m4emphp1.js} +49 -49
  185. package/dist/chunks/{file-access-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{file-access-919h9xp7.js → image-mp3sjqb3.js} +26 -26
  187. package/dist/chunks/{file-access-rtathh62.js → image-mw934p8z.js} +6 -6
  188. package/dist/chunks/{file-access-e37h8kwf.js → image-mzvzs703.js} +12 -12
  189. package/dist/chunks/{file-access-afdssyjb.js → image-n4r3xatb.js} +4 -4
  190. package/dist/chunks/{file-access-hkdbkshs.js → image-n5skym8n.js} +13 -13
  191. package/dist/chunks/{file-access-e0833qeh.js → image-n8yas6hm.js} +21 -21
  192. package/dist/chunks/{file-access-bxs86mwm.js → image-nab6jkb6.js} +12 -12
  193. package/dist/chunks/{file-access-aah9qcnd.js → image-namhjc4y.js} +7 -7
  194. package/dist/chunks/{file-access-288g8677.js → image-nfd0y60j.js} +4 -4
  195. package/dist/chunks/{file-access-x0f4f0m1.js → image-nh3m5kwx.js} +5 -5
  196. package/dist/chunks/{file-access-752w5jz5.js → image-nh4xrcr0.js} +26 -26
  197. package/dist/chunks/{file-access-mvgpk1ca.js → image-npdbymj2.js} +22 -22
  198. package/dist/chunks/{file-access-37svwymz.js → image-npq2n3tp.js} +10 -10
  199. package/dist/chunks/{file-access-jqe22faw.js → image-nxvwfbqw.js} +18 -18
  200. package/dist/chunks/{file-access-tbz0fdvh.js → image-p28j5sbe.js} +5 -5
  201. package/dist/chunks/{file-access-c6e7fcwh.js → image-p2safxe9.js} +15 -15
  202. package/dist/chunks/{file-access-pecb0brz.js → image-p44d8wdy.js} +5 -5
  203. package/dist/chunks/{file-access-bjwsxpgk.js → image-p84br5ek.js} +20 -20
  204. package/dist/chunks/{file-access-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-access-k100k1x5.js → image-pk5pky18.js} +9 -9
  206. package/dist/chunks/{file-access-pknna89w.js → image-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-access-sg3e8ft2.js → image-pqkzp7xy.js} +20 -20
  208. package/dist/chunks/{file-access-qtqgfzev.js → image-pxa5h1bq.js} +24 -24
  209. package/dist/chunks/{file-access-1cj8gcbx.js → image-qbdtkhea.js} +16 -16
  210. package/dist/chunks/{file-access-46a1trkr.js → image-qd1nr1jp.js} +12 -12
  211. package/dist/chunks/{file-access-hdp5644h.js → image-qnqyg1a6.js} +20 -20
  212. package/dist/chunks/{file-access-afknyawd.js → image-qrtzkn9f.js} +12 -12
  213. package/dist/chunks/{file-access-qsdy395h.js → image-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-access-e6hmchc5.js → image-qte5z7bc.js} +5 -5
  215. package/dist/chunks/{file-access-zh7rgrks.js → image-qx10sz7d.js} +15 -15
  216. package/dist/chunks/{file-access-yrpnr2zj.js → image-qz83qt6n.js} +30 -30
  217. package/dist/chunks/{file-access-saye24w9.js → image-r16rx7t1.js} +4 -4
  218. package/dist/chunks/{file-access-h5kmmphm.js → image-r646k28t.js} +5 -5
  219. package/dist/chunks/{file-access-08atjc0y.js → image-rbxccrva.js} +21 -21
  220. package/dist/chunks/{file-access-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{file-access-rhjbct0v.js → image-rhjbct0v.js} +1 -1
  222. package/dist/chunks/{file-access-1acjjqhc.js → image-rhraev7y.js} +4 -4
  223. package/dist/chunks/{file-access-nc0692wd.js → image-rj372e5a.js} +4 -4
  224. package/dist/chunks/{file-access-r33ff4dw.js → image-rph3zd4r.js} +6 -6
  225. package/dist/chunks/{file-access-34e0h94d.js → image-rstenykm.js} +3 -3
  226. package/dist/chunks/{file-access-jvv9dx74.js → image-rxf9y2mx.js} +4 -4
  227. package/dist/chunks/{file-access-p38vwk10.js → image-rztbak21.js} +26 -26
  228. package/dist/chunks/{file-access-bk7qdt7s.js → image-s4hm96va.js} +11 -11
  229. package/dist/chunks/{file-access-xs2bmay3.js → image-s6pmxk2t.js} +11 -11
  230. package/dist/chunks/{file-access-0t1q9tjc.js → image-sqmc1ypj.js} +76 -76
  231. package/dist/chunks/{file-access-frrq0hd0.js → image-svndcwjb.js} +4 -4
  232. package/dist/chunks/{file-access-ymmys65e.js → image-t9kz1x1h.js} +18 -18
  233. package/dist/chunks/{file-access-0v53mg2y.js → image-t9zs3egg.js} +4 -4
  234. package/dist/chunks/{file-access-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{file-access-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{file-access-z3yhsc05.js → image-tcpw7e5e.js} +27 -27
  237. package/dist/chunks/{file-access-tdstcens.js → image-tdstcens.js} +1 -1
  238. package/dist/chunks/{file-access-mgtp0e10.js → image-te1zgf92.js} +25 -25
  239. package/dist/chunks/{file-access-b4qmmyek.js → image-tjpj2e3q.js} +11 -11
  240. package/dist/chunks/{file-access-8jq0bfkk.js → image-tk2v6jy0.js} +8 -8
  241. package/dist/chunks/{file-access-km8beb5j.js → image-trt3e8v7.js} +13 -13
  242. package/dist/chunks/{file-access-24ct3y2e.js → image-tsr6kwcz.js} +3 -3
  243. package/dist/chunks/{file-access-tvtrv512.js → image-tvtrv512.js} +1 -1
  244. package/dist/chunks/image-v3603nqe.js +252 -0
  245. package/dist/chunks/{file-access-v6zy1qsv.js → image-v3vqqm9f.js} +7 -7
  246. package/dist/chunks/{file-access-6gxdng4p.js → image-v5w4drkp.js} +27 -27
  247. package/dist/chunks/{file-access-dwzbgcev.js → image-v61m3kz8.js} +3 -3
  248. package/dist/chunks/{file-access-227994hr.js → image-v8aah0kr.js} +32 -32
  249. package/dist/chunks/{file-access-vt0e9y1w.js → image-var6jwka.js} +14 -14
  250. package/dist/chunks/{file-access-cjwredg8.js → image-vca968f4.js} +15 -15
  251. package/dist/chunks/{file-access-v76by4bg.js → image-vdptz04f.js} +6 -6
  252. package/dist/chunks/{file-access-4sy0vzp4.js → image-ve3nm955.js} +11 -11
  253. package/dist/chunks/{file-access-veqvce7d.js → image-veqvce7d.js} +1 -1
  254. package/dist/chunks/{file-access-mgj6pkkf.js → image-vh6t508r.js} +18 -18
  255. package/dist/chunks/{file-access-05dyq9yx.js → image-vk0va4ns.js} +7 -7
  256. package/dist/chunks/{file-access-m9rhymkd.js → image-vke24a77.js} +44 -44
  257. package/dist/chunks/{file-access-y5phfrgc.js → image-vr11qtph.js} +9 -9
  258. package/dist/chunks/{file-access-8ra6m1eq.js → image-vtt0yr3x.js} +7 -7
  259. package/dist/chunks/{file-access-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{file-access-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{file-access-zfp10n8z.js → image-w5mxr70m.js} +14 -14
  262. package/dist/chunks/{file-access-wd87259q.js → image-wd87259q.js} +1 -1
  263. package/dist/chunks/{file-access-90t26j8x.js → image-weagdthn.js} +13 -13
  264. package/dist/chunks/{file-access-0rn0af91.js → image-wz8tevja.js} +12 -12
  265. package/dist/chunks/{file-access-8g6xxsrk.js → image-wzhg77bf.js} +10 -10
  266. package/dist/chunks/{file-access-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{file-access-zd30eb5w.js → image-x2d9qy7d.js} +5 -5
  268. package/dist/chunks/{file-access-ybh0q6je.js → image-x619ew4b.js} +47 -47
  269. package/dist/chunks/{file-access-fz4sbwmc.js → image-xc3aj2tv.js} +21 -21
  270. package/dist/chunks/{file-access-xfkkasph.js → image-xfkkasph.js} +1 -1
  271. package/dist/chunks/{file-access-qx03bd0a.js → image-xzz5rq5j.js} +9 -9
  272. package/dist/chunks/{file-access-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{file-access-2hcvc8f1.js → image-y5cwy1mn.js} +20 -20
  274. package/dist/chunks/{file-access-bjn91642.js → image-y67gsgy6.js} +4 -4
  275. package/dist/chunks/{file-access-y71avatq.js → image-y71avatq.js} +1 -1
  276. package/dist/chunks/{file-access-t48g49hr.js → image-y89pgm7x.js} +11 -11
  277. package/dist/chunks/{file-access-wrmrmykr.js → image-ybhbtxjg.js} +6 -6
  278. package/dist/chunks/{file-access-93ygb5af.js → image-ycjb11n5.js} +6 -6
  279. package/dist/chunks/{file-access-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{file-access-yrznvahk.js → image-yrznvahk.js} +2 -2
  281. package/dist/chunks/{file-access-19m0af1m.js → image-yw90mp9f.js} +8 -8
  282. package/dist/chunks/{file-access-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{file-access-1bnjjx40.js → image-z0tsxkyk.js} +23 -23
  284. package/dist/chunks/{file-access-z63w68vq.js → image-z63w68vq.js} +2 -2
  285. package/dist/chunks/{file-access-pszv7358.js → image-z9ee0mf2.js} +29 -29
  286. package/dist/chunks/{file-access-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-access-hzzc25wh.js → image-zndykydc.js} +11 -11
  288. package/dist/chunks/{file-access-bvsk2pep.js → image-znepfjcf.js} +17 -17
  289. package/dist/chunks/{file-access-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{file-access-zxq2ej10.js → image-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/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +93 -93
  696. package/package.json +8 -8
  697. package/dist/chunks/file-access-4cm67rrf.js +0 -26
  698. package/dist/chunks/file-access-619r8v3y.js +0 -18
  699. package/dist/chunks/file-access-qapv375x.js +0 -4
  700. package/dist/chunks/file-access-qr6m8t0g.js +0 -252
  701. /package/dist/chunks/{file-access-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{file-access-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{file-access-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{file-access-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{file-access-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{file-access-24dcb14g.js → image-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{file-access-2710q6r3.js → image-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{file-access-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{file-access-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{file-access-359p4xyc.js → image-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{file-access-3asan66x.js → image-3asan66x.js} +0 -0
  712. /package/dist/chunks/{file-access-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{file-access-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{file-access-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{file-access-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{file-access-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{file-access-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{file-access-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{file-access-53557ph1.js → image-53557ph1.js} +0 -0
  720. /package/dist/chunks/{file-access-550bvhaj.js → image-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{file-access-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{file-access-6prwharc.js → image-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-access-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-access-7m9af43g.js → image-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-access-822emrt2.js → image-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-access-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{file-access-8n3pysct.js → image-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{file-access-922hggd3.js → image-922hggd3.js} +0 -0
  729. /package/dist/chunks/{file-access-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{file-access-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{file-access-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{file-access-af5trqkr.js → image-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{file-access-afrmfg78.js → image-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{file-access-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{file-access-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{file-access-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{file-access-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{file-access-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{file-access-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{file-access-d9fn303g.js → image-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{file-access-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{file-access-dajrwvna.js → image-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{file-access-dap0rakb.js → image-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{file-access-df08tz66.js → image-df08tz66.js} +0 -0
  745. /package/dist/chunks/{file-access-dy18nga0.js → image-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{file-access-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{file-access-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{file-access-ec1grn59.js → image-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{file-access-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{file-access-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{file-access-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{file-access-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{file-access-faypxj3z.js → image-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{file-access-fd410y7t.js → image-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{file-access-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{file-access-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{file-access-g86h250q.js → image-g86h250q.js} +0 -0
  758. /package/dist/chunks/{file-access-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{file-access-gftt206x.js → image-gftt206x.js} +0 -0
  760. /package/dist/chunks/{file-access-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{file-access-hk9envan.js → image-hk9envan.js} +0 -0
  762. /package/dist/chunks/{file-access-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{file-access-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{file-access-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{file-access-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{file-access-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{file-access-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{file-access-mp448xyj.js → image-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{file-access-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{file-access-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{file-access-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{file-access-njntx4h6.js → image-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{file-access-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{file-access-q74kybfr.js → image-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{file-access-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{file-access-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{file-access-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{file-access-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{file-access-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{file-access-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{file-access-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{file-access-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{file-access-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{file-access-twg0f83k.js → image-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{file-access-w803qqfp.js → image-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{file-access-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{file-access-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{file-access-wtztk69x.js → image-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{file-access-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{file-access-x61499pn.js → image-x61499pn.js} +0 -0
  791. /package/dist/chunks/{file-access-y44na4kk.js → image-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{file-access-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{file-access-y8f7s663.js → image-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{file-access-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{file-access-ym463w8f.js → image-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{file-access-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./file-access-nc0692wd.js";
5
+ } from "./image-rj372e5a.js";
6
6
  import {
7
- Service76,
8
- node79
9
- } from "./file-access-h99jmrd9.js";
7
+ Service69,
8
+ node73
9
+ } from "./image-j6nsp1g7.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./image-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: () => Event11,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service49,
22
+ Service: () => Service53,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node52,
26
- resolve: () => resolve2
25
+ node: () => node56,
26
+ resolve: () => resolve3
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 Service49 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service53 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event13 = {
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 resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = 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(Service49, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service76;
80
+ const kv = yield* Service69;
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(Service49, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service49.of({
115
+ return Service53.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(Service49, 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(Event11.Updated, {});
128
+ yield* bus.publish(Event13.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(Service49, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event13.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 node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node79, node87] });
146
+ var node56 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node73, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event11, inspect2, resolve2, node52, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event13, inspect2, resolve3, node56, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./file-access-pwn9j9sb.js";
3
+ } from "./image-711fd8qe.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service62,
12
+ Service: () => Service79,
13
13
  canonical: () => canonical3,
14
- node: () => node65,
14
+ node: () => node83,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service62 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service79 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service62, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service79, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node65 = LayerNode.unbound(Service62, Node.tags.values.global);
27
+ var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service62;
29
+ const locations = yield* Service79;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service62, node65, reload2, canonical3, exports_location_service_map };
48
+ export { Service79, node83, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-access-qfa1cgps.js";
3
+ } from "./image-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./file-access-nc0692wd.js";
5
+ } from "./image-rj372e5a.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make20,
11
11
  diffByKey2
12
- } from "./file-access-rhjbct0v.js";
12
+ } from "./image-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-access-922hggd3.js";
15
+ } from "./image-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-access-rdw6cm16.js";
18
+ } from "./image-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-access-9rqn6x4v.js";
21
+ } from "./image-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event8,
26
+ Event: () => Event9,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service44,
31
- configured: () => configured5,
29
+ Options: () => Options6,
30
+ Service: () => Service40,
31
+ configured: () => configured6,
32
32
  layer: () => layer16,
33
- node: () => node47
33
+ node: () => node43
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 Event8 = {
45
+ var Event9 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer16 = (options) => Layer.effect(Service44, Effect.gen(function* () {
55
+ var layer16 = (options) => Layer.effect(Service40, 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(Service44, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make20({
78
78
  key,
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service44, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service44.of({
93
+ return Service40.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(Service44, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service44,
109
+ service: Service40,
110
110
  layer: layer16(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node47 = configured5();
114
+ var node43 = configured6();
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, Event8, Options5, Service44, layer16, configured5, node47, exports_instruction_discovery };
145
+ export { File2, Event9, Options6, Service40, layer16, configured6, node43, exports_instruction_discovery };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-access-nc0692wd.js";
4
+ } from "./image-rj372e5a.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./file-access-gmjq4p6e.js";
8
+ } from "./image-dq0v80fr.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./file-access-pwn9j9sb.js";
12
+ } from "./image-711fd8qe.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./file-access-619r8v3y.js";
15
+ } from "./image-by5v678g.js";
16
16
  import {
17
- Service48,
18
- node51
19
- } from "./file-access-xn76h8hp.js";
17
+ Service52,
18
+ node55
19
+ } from "./image-afkq326b.js";
20
20
  import {
21
- node15
22
- } from "./file-access-a8mbncqe.js";
21
+ node18
22
+ } from "./image-79j02bcx.js";
23
23
  import {
24
- Service8,
25
- node10
26
- } from "./file-access-d4he2qe1.js";
24
+ Service7,
25
+ node9
26
+ } from "./image-c765mh8b.js";
27
27
  import {
28
28
  __export
29
- } from "./file-access-9rqn6x4v.js";
29
+ } from "./image-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
35
+ Service: () => Service3,
36
+ node: () => node4
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service48;
47
+ const watcher = yield* Service52;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service8;
51
+ const policy = yield* Service7;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service3.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node4 = makeLocationNode({
106
+ service: Service3,
107
107
  layer,
108
- deps: [node51, FSUtil.node, node84, node86, node87, node15, node10]
108
+ deps: [node55, FSUtil.node, node84, node86, node87, node18, node9]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service3, node4, exports_location_watcher };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service50
3
- } from "./file-access-5rnnm2b5.js";
2
+ Service57
3
+ } from "./image-anf0zms1.js";
4
4
  import {
5
- Service60
6
- } from "./file-access-93ygb5af.js";
5
+ Service61
6
+ } from "./image-ycjb11n5.js";
7
7
  import {
8
8
  detect2
9
- } from "./file-access-3smtnn6g.js";
9
+ } from "./image-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./file-access-619r8v3y.js";
12
+ } from "./image-by5v678g.js";
13
13
  import {
14
- Service74
15
- } from "./file-access-8ank75fn.js";
14
+ Service68
15
+ } from "./image-k1gkpfdk.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./file-access-wrmrmykr.js";
19
+ } from "./image-ybhbtxjg.js";
20
20
  import {
21
21
  prepare3,
22
- Service45
23
- } from "./file-access-mgj6pkkf.js";
22
+ Service39
23
+ } from "./image-vh6t508r.js";
24
24
  import {
25
25
  __export
26
- } from "./file-access-9rqn6x4v.js";
26
+ } from "./image-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service60;
42
+ const instances = yield* Service61;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service74;
45
+ const hooks = yield* Service68;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service45;
64
+ const skillService = yield* Service39;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service50;
129
+ const image = yield* Service57;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-access-nc0692wd.js";
3
+ } from "./image-rj372e5a.js";
4
4
  import {
5
5
  key2
6
- } from "./file-access-nzyhnfxz.js";
6
+ } from "./image-h6r3nrb9.js";
7
7
  import {
8
8
  Event20
9
- } from "./file-access-xxseqtyh.js";
9
+ } from "./image-aj20rtze.js";
10
10
  import {
11
- ID9
12
- } from "./file-access-cka7hfyn.js";
11
+ ID14
12
+ } from "./image-ad4z1jrs.js";
13
13
  import {
14
- ID8,
15
- Service67
16
- } from "./file-access-pszv7358.js";
14
+ ID13,
15
+ Service74
16
+ } from "./image-z9ee0mf2.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./file-access-bxs86mwm.js";
20
+ } from "./image-nab6jkb6.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID8.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service67;
29
+ const providers = yield* Service74;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-access-nc0692wd.js";
3
+ } from "./image-rj372e5a.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event20
7
- } from "./file-access-xxseqtyh.js";
7
+ } from "./image-aj20rtze.js";
8
8
  import {
9
- ID9,
9
+ ID14,
10
10
  MethodID2
11
- } from "./file-access-cka7hfyn.js";
11
+ } from "./image-ad4z1jrs.js";
12
12
  import {
13
13
  key2
14
- } from "./file-access-nzyhnfxz.js";
14
+ } from "./image-h6r3nrb9.js";
15
15
  import {
16
- Service13
17
- } from "./file-access-3emr59yt.js";
16
+ Service14
17
+ } from "./image-f5gy8qwh.js";
18
18
  import {
19
- ID8,
19
+ ID13,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./file-access-pszv7358.js";
22
+ } from "./image-z9ee0mf2.js";
23
23
  import {
24
- ID6,
25
- Input14,
24
+ ID3,
25
+ Input13,
26
26
  Response2
27
- } from "./file-access-58mcmt77.js";
27
+ } from "./image-a4rx6ejt.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID6
42
+ providerID: ID3
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
64
64
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
65
65
  function oauth(http) {
66
66
  return {
67
- integrationID: ID9.make("opencode"),
67
+ integrationID: ID14.make("opencode"),
68
68
  method: {
69
69
  id: methodID,
70
70
  type: "oauth",
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
120
120
  effect: Effect.fn(function* (ctx) {
121
121
  const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service13;
123
+ const managed = yield* Service14;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
153
153
  providers.update(providerID, (provider) => {
154
154
  if (source && source.provider !== provider)
155
155
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
156
- provider.integrationID = ID9.make("opencode");
156
+ provider.integrationID = ID14.make("opencode");
157
157
  if (item.canonical !== undefined)
158
158
  provider.canonical = item.canonical;
159
159
  if (item.name !== undefined)
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
223
223
  sourceConnection: snapshot.connection
224
224
  });
225
225
  }
226
- const item = providers.get(ID8.opencode);
226
+ const item = providers.get(ID13.opencode);
227
227
  if (!item)
228
228
  return;
229
229
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
235
235
  });
236
236
  });
237
237
  yield* ctx.model.transform((models) => {
238
- const item = models.provider.get(ID8.opencode);
238
+ const item = models.provider.get(ID13.opencode);
239
239
  if (!item)
240
240
  return;
241
241
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
269
269
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
270
270
  const token = credential.type === "oauth" ? credential.access : credential.key;
271
271
  const server = yield* normalizeServer(serverUrl(credential));
272
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
272
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
273
273
  query: input.query,
274
274
  providerID: descriptor.providerID
275
275
  }));
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });