@opencode/core 0.0.0-dev-19627 → 0.0.0-dev-19628

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{file-mutation-ryrj46hv.js → project-02npky8t.js} +15 -15
  8. package/dist/chunks/{file-mutation-es3fm114.js → project-07jqw2wt.js} +1 -1
  9. package/dist/chunks/{file-mutation-7k05wx0c.js → project-09j0jr97.js} +13 -13
  10. package/dist/chunks/{file-mutation-7rtzrs6z.js → project-0g8b3cp3.js} +18 -18
  11. package/dist/chunks/{file-mutation-wa2k838w.js → project-0mxbz6cg.js} +12 -12
  12. package/dist/chunks/{file-mutation-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-mutation-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{file-mutation-xb3f970q.js → project-17dw8pkg.js} +11 -11
  15. package/dist/chunks/{file-mutation-yphy50z6.js → project-1c0qdd4m.js} +20 -20
  16. package/dist/chunks/{file-mutation-wc8c3q07.js → project-1cnwdj7j.js} +8 -8
  17. package/dist/chunks/{file-mutation-s8yyarnz.js → project-1cp7rtfc.js} +13 -13
  18. package/dist/chunks/{file-mutation-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-mutation-c175xrn1.js → project-1vamtg20.js} +28 -28
  20. package/dist/chunks/{file-mutation-9fsxynh3.js → project-1vy54y9f.js} +11 -11
  21. package/dist/chunks/{file-mutation-qb9x24v0.js → project-1x12esvj.js} +15 -15
  22. package/dist/chunks/{file-mutation-2h5ctm2z.js → project-1x7pnkv6.js} +84 -84
  23. package/dist/chunks/{file-mutation-21r38tys.js → project-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-mutation-7w3s9kd0.js → project-23sxaqwc.js} +6 -6
  25. package/dist/chunks/{file-mutation-z1jek54d.js → project-259jgdne.js} +5 -5
  26. package/dist/chunks/{file-mutation-c5rw5aek.js → project-26xawcrj.js} +5 -5
  27. package/dist/chunks/{file-mutation-z63w68vq.js → project-29x78va6.js} +6 -6
  28. package/dist/chunks/{file-mutation-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-mutation-7dqw4kz8.js → project-2k8khapm.js} +5 -5
  30. package/dist/chunks/project-2pwzh2qj.js +247 -0
  31. package/dist/chunks/{file-mutation-9nygvg6d.js → project-2swtdwje.js} +11 -11
  32. package/dist/chunks/{file-mutation-06x8he3q.js → project-2vs2nh1n.js} +4 -4
  33. package/dist/chunks/{file-mutation-1306karf.js → project-2ywebzac.js} +44 -44
  34. package/dist/chunks/{file-mutation-ky2zf32z.js → project-353bn1fj.js} +11 -11
  35. package/dist/chunks/{file-mutation-rw337v24.js → project-3dvzgvsa.js} +8 -8
  36. package/dist/chunks/{file-mutation-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-mutation-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-mutation-f7j90zp2.js → project-3pe7sts8.js} +9 -9
  39. package/dist/chunks/{file-mutation-eajyy5ey.js → project-3sb64rq7.js} +43 -43
  40. package/dist/chunks/{file-mutation-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-mutation-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-mutation-5sj81wm5.js → project-3w2b2yj4.js} +5 -5
  43. package/dist/chunks/{file-mutation-4dgbcxzg.js → project-44h5tttr.js} +4 -4
  44. package/dist/chunks/{file-mutation-rz5kv9fq.js → project-4b4wdfnp.js} +15 -15
  45. package/dist/chunks/{file-mutation-rr1pnw44.js → project-4cf19nbk.js} +11 -11
  46. package/dist/chunks/{file-mutation-xyny64hx.js → project-4fa8k3k5.js} +23 -23
  47. package/dist/chunks/{file-mutation-x2fjf6jt.js → project-4jz9xskr.js} +1 -1
  48. package/dist/chunks/{file-mutation-1c76g24z.js → project-4kcff6vb.js} +6 -6
  49. package/dist/chunks/{file-mutation-sxzvkvgj.js → project-4mwpykj0.js} +6 -6
  50. package/dist/chunks/project-4nrdjra1.js +26 -0
  51. package/dist/chunks/{file-mutation-synq1jy2.js → project-4sg5w2a7.js} +13 -13
  52. package/dist/chunks/{file-mutation-25jpqk5v.js → project-4t5vzxby.js} +11 -11
  53. package/dist/chunks/{file-mutation-pvp0xbtq.js → project-55s1chmx.js} +3 -3
  54. package/dist/chunks/{file-mutation-24b9aadw.js → project-55skyyrc.js} +11 -11
  55. package/dist/chunks/{file-mutation-56gdpj1q.js → project-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{file-mutation-kjfdeayr.js → project-57e9z27j.js} +8 -8
  57. package/dist/chunks/{file-mutation-5daktx2q.js → project-5daktx2q.js} +1 -1
  58. package/dist/chunks/{file-mutation-xe94yqgp.js → project-5rtg8v4f.js} +6 -6
  59. package/dist/chunks/{file-mutation-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{file-mutation-qz3sdwq7.js → project-5zrne849.js} +4 -4
  61. package/dist/chunks/{file-mutation-5fxvnth9.js → project-60g3sj5v.js} +8 -8
  62. package/dist/chunks/{file-mutation-669tq793.js → project-669tq793.js} +1 -1
  63. package/dist/chunks/{file-mutation-cpy6gm2a.js → project-6anwy9fs.js} +5 -5
  64. package/dist/chunks/{file-mutation-rdwnzddt.js → project-6cnpzqq7.js} +40 -40
  65. package/dist/chunks/{file-mutation-cmwkp3r5.js → project-6f890ccd.js} +8 -8
  66. package/dist/chunks/{file-mutation-2402vzrj.js → project-6h73sxmp.js} +5 -5
  67. package/dist/chunks/project-6kdq0pjd.js +4 -0
  68. package/dist/chunks/{file-mutation-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{file-mutation-qxmaq0sm.js → project-757464b7.js} +8 -8
  70. package/dist/chunks/{file-mutation-nap3yrea.js → project-79fhh2gp.js} +47 -47
  71. package/dist/chunks/{file-mutation-dwvb776c.js → project-79wxqeje.js} +24 -24
  72. package/dist/chunks/{file-mutation-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{file-mutation-7hg3t1ht.js → project-7r6qqdtq.js} +18 -18
  74. package/dist/chunks/{file-mutation-hdh38a9b.js → project-8640cccz.js} +9 -9
  75. package/dist/chunks/{file-mutation-pf2ava87.js → project-898hvbcp.js} +19 -19
  76. package/dist/chunks/{file-mutation-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{file-mutation-ajwqadgf.js → project-8fpqe0dc.js} +15 -15
  78. package/dist/chunks/{file-mutation-dp45y3n1.js → project-8gcc4xjh.js} +17 -17
  79. package/dist/chunks/{file-mutation-dj2t23y0.js → project-8p4f9s12.js} +2 -2
  80. package/dist/chunks/{file-mutation-6zwemvqm.js → project-9daap1qz.js} +28 -28
  81. package/dist/chunks/{file-mutation-g1sxm558.js → project-9jbvj98d.js} +8 -8
  82. package/dist/chunks/{file-mutation-7ycsd0tm.js → project-9w8h378s.js} +18 -18
  83. package/dist/chunks/{file-mutation-11n3wfat.js → project-9wgmbypx.js} +27 -27
  84. package/dist/chunks/{file-mutation-5kh97ynp.js → project-9zz72r8a.js} +44 -44
  85. package/dist/chunks/{file-mutation-5c4hm403.js → project-a1bz86dw.js} +3 -3
  86. package/dist/chunks/{file-mutation-gr1f03ws.js → project-a881zpfh.js} +9 -9
  87. package/dist/chunks/{file-mutation-aaet6srn.js → project-aaet6srn.js} +2 -2
  88. package/dist/chunks/{file-mutation-tbb58408.js → project-akqwb96g.js} +41 -41
  89. package/dist/chunks/{file-mutation-wdzhm1dy.js → project-aq006y5y.js} +22 -22
  90. package/dist/chunks/{file-mutation-a04y0etw.js → project-at7enqjf.js} +26 -26
  91. package/dist/chunks/{file-mutation-7nam6z95.js → project-av0mmvpn.js} +8 -8
  92. package/dist/chunks/{file-mutation-gmp12gr6.js → project-avtdxkqt.js} +16 -16
  93. package/dist/chunks/{file-mutation-vtfn81vb.js → project-az8a2yam.js} +13 -13
  94. package/dist/chunks/{file-mutation-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  95. package/dist/chunks/{file-mutation-s5ech5g2.js → project-b9qgr8qp.js} +35 -35
  96. package/dist/chunks/{file-mutation-7avp506j.js → project-b9zj3kn1.js} +59 -59
  97. package/dist/chunks/{file-mutation-89smrnyf.js → project-bajakh74.js} +4 -4
  98. package/dist/chunks/{file-mutation-06dxphr1.js → project-bccb6npm.js} +4 -4
  99. package/dist/chunks/{file-mutation-gh317mre.js → project-bgqy63e3.js} +22 -22
  100. package/dist/chunks/{file-mutation-3qgtx68d.js → project-bkrjkb13.js} +14 -14
  101. package/dist/chunks/{file-mutation-pcvnxmb4.js → project-bmkfdkwx.js} +20 -20
  102. package/dist/chunks/{file-mutation-j4p8w3kg.js → project-bvejaycr.js} +35 -35
  103. package/dist/chunks/{file-mutation-3nmkgzqt.js → project-by0gsg89.js} +3 -3
  104. package/dist/chunks/{file-mutation-ayex3wth.js → project-c0480hwk.js} +25 -25
  105. package/dist/chunks/{file-mutation-6fkjc3gv.js → project-c3q8eaer.js} +24 -24
  106. package/dist/chunks/{file-mutation-t1eg3y3w.js → project-c84hgbnx.js} +13 -13
  107. package/dist/chunks/{file-mutation-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
  108. package/dist/chunks/{file-mutation-g87vc5p1.js → project-cgy3sbv3.js} +19 -19
  109. package/dist/chunks/{file-mutation-kyvf95r7.js → project-cshfpq41.js} +35 -35
  110. package/dist/chunks/{file-mutation-qyqjfx9x.js → project-cwp5xj07.js} +18 -18
  111. package/dist/chunks/{file-mutation-3aaqwtv7.js → project-cyevzdjf.js} +42 -42
  112. package/dist/chunks/{file-mutation-4sy6x2w1.js → project-d21w5bt1.js} +11 -11
  113. package/dist/chunks/{file-mutation-1x1ag7qp.js → project-d4t6hpm2.js} +15 -15
  114. package/dist/chunks/{file-mutation-v3fdhb9p.js → project-d5s5pf33.js} +35 -35
  115. package/dist/chunks/{file-mutation-dzrq5311.js → project-d7vf99ne.js} +9 -9
  116. package/dist/chunks/{file-mutation-tcdc8g31.js → project-dr36qrwc.js} +9 -9
  117. package/dist/chunks/{file-mutation-698497kr.js → project-dv1vx6t2.js} +18 -18
  118. package/dist/chunks/{file-mutation-2qcp78kg.js → project-dwghrtd7.js} +17 -17
  119. package/dist/chunks/{file-mutation-tv17mb0q.js → project-e15ntc4t.js} +7 -7
  120. package/dist/chunks/{file-mutation-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
  121. package/dist/chunks/{file-mutation-e5nv3ght.js → project-e5nv3ght.js} +2 -2
  122. package/dist/chunks/{file-mutation-bvdx5xp3.js → project-edvgyycs.js} +13 -13
  123. package/dist/chunks/{file-mutation-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{file-mutation-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{file-mutation-2tvcbkwg.js → project-f2b80ee2.js} +10 -10
  126. package/dist/chunks/{file-mutation-5p8vcd02.js → project-f7ty4j2n.js} +30 -30
  127. package/dist/chunks/{file-mutation-hdnk95c8.js → project-f828m53h.js} +2 -2
  128. package/dist/chunks/{file-mutation-dcq050h0.js → project-f9gg2skd.js} +29 -29
  129. package/dist/chunks/{file-mutation-rf848q2s.js → project-fcwr5x5c.js} +8 -8
  130. package/dist/chunks/{file-mutation-82adjhvd.js → project-feb5hr90.js} +8 -8
  131. package/dist/chunks/{file-mutation-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  132. package/dist/chunks/{file-mutation-48r4agm7.js → project-fxhv1aw0.js} +19 -19
  133. package/dist/chunks/{file-mutation-2v6a2rnj.js → project-fy2r6802.js} +12 -12
  134. package/dist/chunks/{file-mutation-6804x6mf.js → project-g0ke2vx6.js} +22 -22
  135. package/dist/chunks/{file-mutation-18db4y5c.js → project-g374vg8s.js} +27 -27
  136. package/dist/chunks/{file-mutation-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{file-mutation-eg6djbbr.js → project-grx711cr.js} +32 -32
  138. package/dist/chunks/{file-mutation-yyb7tjpc.js → project-gv6a8nnw.js} +2 -2
  139. package/dist/chunks/{file-mutation-g9nckgd1.js → project-gyrnz1ke.js} +27 -27
  140. package/dist/chunks/{file-mutation-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  141. package/dist/chunks/{file-mutation-x2c9waxa.js → project-h2hkvaqb.js} +8 -8
  142. package/dist/chunks/{file-mutation-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{file-mutation-aychzs8s.js → project-hc2rjyny.js} +16 -16
  144. package/dist/chunks/{file-mutation-t3swkhbg.js → project-hcz3zddy.js} +5 -5
  145. package/dist/chunks/{file-mutation-hjt4xg1x.js → project-hjt4xg1x.js} +1 -1
  146. package/dist/chunks/{file-mutation-ns5krr68.js → project-hmq12a4k.js} +2 -2
  147. package/dist/chunks/{file-mutation-xqk8sbne.js → project-hx5ww8wt.js} +12 -12
  148. package/dist/chunks/{file-mutation-gcavn3wx.js → project-j34dxvpb.js} +5 -5
  149. package/dist/chunks/{file-mutation-j56e64zr.js → project-j56e64zr.js} +1 -1
  150. package/dist/chunks/{file-mutation-pes8w8r9.js → project-j6cnd6pq.js} +30 -30
  151. package/dist/chunks/{file-mutation-k6v14n43.js → project-jbh7eaj6.js} +15 -15
  152. package/dist/chunks/{file-mutation-635mjk8g.js → project-jd3sm2cb.js} +25 -25
  153. package/dist/chunks/{file-mutation-bqnv8r25.js → project-jm41p8c9.js} +9 -9
  154. package/dist/chunks/{file-mutation-qr8mshgh.js → project-jse2t38q.js} +30 -30
  155. package/dist/chunks/{file-mutation-nw2nz702.js → project-jva4mgym.js} +4 -4
  156. package/dist/chunks/{file-mutation-30n84348.js → project-jvhzf42w.js} +11 -11
  157. package/dist/chunks/{file-mutation-ddg0keqc.js → project-jxhcm6a8.js} +7 -7
  158. package/dist/chunks/{file-mutation-5bbsmdtr.js → project-jzdd0kff.js} +4 -4
  159. package/dist/chunks/{file-mutation-ktak12d4.js → project-k8ye623y.js} +15 -15
  160. package/dist/chunks/{file-mutation-p2f53c8e.js → project-kj4rvgf1.js} +40 -40
  161. package/dist/chunks/{file-mutation-gw4zmj2g.js → project-kj91gjsx.js} +27 -27
  162. package/dist/chunks/{file-mutation-h71w788e.js → project-kp8q1t60.js} +8 -8
  163. package/dist/chunks/{file-mutation-jdcpnvpf.js → project-kr1k6zz7.js} +6 -6
  164. package/dist/chunks/{file-mutation-sqeh6kv1.js → project-kwtt87aw.js} +23 -23
  165. package/dist/chunks/{file-mutation-r8bq8m7e.js → project-kzs6j0ha.js} +3 -3
  166. package/dist/chunks/{file-mutation-2n0epbhs.js → project-m144tsf8.js} +6 -6
  167. package/dist/chunks/{file-mutation-a3k5zcqz.js → project-m437k757.js} +23 -23
  168. package/dist/chunks/{file-mutation-the10gxd.js → project-m8xkkgnz.js} +18 -18
  169. package/dist/chunks/{file-mutation-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{file-mutation-cyx09s2a.js → project-mar7rqed.js} +10 -10
  171. package/dist/chunks/{file-mutation-8fk85gr8.js → project-mmhn33zq.js} +4 -4
  172. package/dist/chunks/{file-mutation-a46v4e4v.js → project-mtq6xxnx.js} +7 -7
  173. package/dist/chunks/{file-mutation-mvfsc1pv.js → project-mvfsc1pv.js} +1 -1
  174. package/dist/chunks/{file-mutation-eqfn3g5k.js → project-mxvxyk3g.js} +22 -22
  175. package/dist/chunks/{file-mutation-xza6172n.js → project-myp5sw1f.js} +3 -3
  176. package/dist/chunks/{file-mutation-r1jcp9he.js → project-n34vayx2.js} +34 -34
  177. package/dist/chunks/{file-mutation-7v7yaejn.js → project-n3eh9z61.js} +10 -10
  178. package/dist/chunks/{file-mutation-yqf3qraq.js → project-n5vz0cry.js} +5 -5
  179. package/dist/chunks/{file-mutation-j7jqt5tj.js → project-n7gr9xxz.js} +8 -8
  180. package/dist/chunks/{file-mutation-0j4wr494.js → project-nd1a8rn4.js} +15 -15
  181. package/dist/chunks/{file-mutation-10s3487r.js → project-nfrhjm27.js} +13 -13
  182. package/dist/chunks/{file-mutation-x121vean.js → project-njsjzm26.js} +6 -6
  183. package/dist/chunks/{file-mutation-x5h3w8zq.js → project-nk3wpnq2.js} +26 -26
  184. package/dist/chunks/{file-mutation-qkxympve.js → project-nkg579ba.js} +50 -50
  185. package/dist/chunks/{file-mutation-q5rhn9x0.js → project-nsgsffy1.js} +9 -9
  186. package/dist/chunks/{file-mutation-sr25wdwa.js → project-nswt86ga.js} +16 -16
  187. package/dist/chunks/{file-mutation-13c44461.js → project-nvwv9vf6.js} +24 -24
  188. package/dist/chunks/{file-mutation-gj014zr3.js → project-p1cpmwyf.js} +17 -17
  189. package/dist/chunks/{file-mutation-yce1w55j.js → project-p33qzpjt.js} +9 -9
  190. package/dist/chunks/{file-mutation-jwbqhvyy.js → project-p44d8wdy.js} +5 -5
  191. package/dist/chunks/{file-mutation-azma9pmk.js → project-p6yda8sh.js} +16 -16
  192. package/dist/chunks/{file-mutation-tds7k197.js → project-pg94t5r8.js} +2 -2
  193. package/dist/chunks/{file-mutation-0nes3kdx.js → project-phrqe1n5.js} +31 -31
  194. package/dist/chunks/{file-mutation-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-mutation-pknna89w.js → project-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-mutation-ve4pfa0n.js → project-pmr4s4kc.js} +4 -4
  197. package/dist/chunks/{file-mutation-yf98xpe6.js → project-pr0pwz8z.js} +9 -9
  198. package/dist/chunks/{file-mutation-qebawg89.js → project-pzkk0785.js} +9 -9
  199. package/dist/chunks/{file-mutation-z2ab2b6j.js → project-q0bad23w.js} +11 -11
  200. package/dist/chunks/{file-mutation-n8j5ecm5.js → project-q0neqv3n.js} +4 -4
  201. package/dist/chunks/{file-mutation-3fz3b278.js → project-q38pj0tx.js} +25 -25
  202. package/dist/chunks/project-qc068m1q.js +18 -0
  203. package/dist/chunks/{file-mutation-x1r77kwh.js → project-qc7sfe0t.js} +3 -3
  204. package/dist/chunks/{file-mutation-dmgsj5zc.js → project-qjk0x4g8.js} +19 -19
  205. package/dist/chunks/{file-mutation-qsdy395h.js → project-qsdy395h.js} +1 -1
  206. package/dist/chunks/{file-mutation-kcm959y1.js → project-qt970c0q.js} +25 -25
  207. package/dist/chunks/{file-mutation-pcwvymat.js → project-qvd3kry0.js} +12 -12
  208. package/dist/chunks/{file-mutation-6k7rtajw.js → project-qwdvs2p0.js} +29 -29
  209. package/dist/chunks/{file-mutation-ssz2ek6x.js → project-qxydxzk3.js} +8 -8
  210. package/dist/chunks/{file-mutation-x3ykbdq0.js → project-qz4rfney.js} +27 -27
  211. package/dist/chunks/{file-mutation-5bdbc12f.js → project-r01t9b5y.js} +6 -6
  212. package/dist/chunks/{file-mutation-r9mregkx.js → project-r9mregkx.js} +2 -2
  213. package/dist/chunks/{file-mutation-2py7vkgw.js → project-raa1pnsf.js} +6 -6
  214. package/dist/chunks/{file-mutation-ekezzs5q.js → project-rbv3jq6k.js} +5 -5
  215. package/dist/chunks/{file-mutation-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{file-mutation-c765mh8b.js → project-rey5gbxv.js} +9 -9
  217. package/dist/chunks/{file-mutation-rmkqwdpg.js → project-rhp07p3k.js} +96 -96
  218. package/dist/chunks/{file-mutation-4afm2zz7.js → project-rhtmfbtp.js} +40 -40
  219. package/dist/chunks/{file-mutation-0tncbqge.js → project-rntk04yd.js} +24 -24
  220. package/dist/chunks/{file-mutation-bz85s9hh.js → project-ryt7pzqc.js} +1 -1
  221. package/dist/chunks/{file-mutation-9y2fz4rr.js → project-s3kdpa44.js} +10 -10
  222. package/dist/chunks/{file-mutation-h85ccg7e.js → project-s40sp0nv.js} +4 -4
  223. package/dist/chunks/{file-mutation-yrznvahk.js → project-s4enseaf.js} +2 -2
  224. package/dist/chunks/{file-mutation-8rsrtv6x.js → project-scxh138f.js} +25 -25
  225. package/dist/chunks/{file-mutation-cr1q0w15.js → project-sf2p8ett.js} +14 -14
  226. package/dist/chunks/{file-mutation-h23j7wn7.js → project-sjsffq0v.js} +10 -10
  227. package/dist/chunks/{file-mutation-06xhg51a.js → project-sz9x7shk.js} +26 -26
  228. package/dist/chunks/{file-mutation-9x4ccdjv.js → project-t0xwwvxm.js} +161 -161
  229. package/dist/chunks/{file-mutation-s8d7rejh.js → project-t550f9t1.js} +4 -4
  230. package/dist/chunks/{file-mutation-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{file-mutation-wejf0rdp.js → project-tbnjqe6a.js} +71 -71
  232. package/dist/chunks/{file-mutation-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{file-mutation-nng2ktcm.js → project-tdgd79rq.js} +2 -2
  234. package/dist/chunks/{file-mutation-tdstcens.js → project-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-mutation-ac5xk54v.js → project-tfp5y93d.js} +23 -23
  236. package/dist/chunks/{file-mutation-k9vs72wj.js → project-tfxfws18.js} +11 -11
  237. package/dist/chunks/{file-mutation-91sxxkcr.js → project-tq2ada0b.js} +5 -5
  238. package/dist/chunks/{file-mutation-d4fjsvxd.js → project-trgr6nw0.js} +36 -36
  239. package/dist/chunks/{file-mutation-0tbwr05t.js → project-tss6jp96.js} +7 -7
  240. package/dist/chunks/{file-mutation-z76rvear.js → project-tvp7ax91.js} +4 -4
  241. package/dist/chunks/{file-mutation-tvtrv512.js → project-tvtrv512.js} +1 -1
  242. package/dist/chunks/{file-mutation-tzz76ghp.js → project-txqerv78.js} +3 -3
  243. package/dist/chunks/{file-mutation-03nfxjzw.js → project-v1g6pdmp.js} +23 -23
  244. package/dist/chunks/{file-mutation-6h3wybc7.js → project-vbrdpthe.js} +6 -6
  245. package/dist/chunks/{file-mutation-veqvce7d.js → project-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-mutation-7w99qc9d.js → project-vjnb44yt.js} +3 -3
  247. package/dist/chunks/{file-mutation-xrv8p737.js → project-vk1xt8hv.js} +32 -32
  248. package/dist/chunks/{file-mutation-czzymjv3.js → project-vnga1qsf.js} +41 -41
  249. package/dist/chunks/{file-mutation-k86shhx4.js → project-vq10kw2f.js} +13 -13
  250. package/dist/chunks/{file-mutation-gcwb3twc.js → project-vqf2h3ad.js} +35 -35
  251. package/dist/chunks/{file-mutation-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{file-mutation-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{file-mutation-tgft0wfk.js → project-w4zzjw3g.js} +26 -26
  254. package/dist/chunks/{file-mutation-3ar42wrm.js → project-w7n777mq.js} +20 -20
  255. package/dist/chunks/{file-mutation-0c0n109p.js → project-waq9xepp.js} +31 -31
  256. package/dist/chunks/{file-mutation-wd87259q.js → project-wd87259q.js} +1 -1
  257. package/dist/chunks/{file-mutation-r8s4q6ph.js → project-wxata4c6.js} +14 -14
  258. package/dist/chunks/{file-mutation-xqhhrdfp.js → project-x0980x1d.js} +22 -22
  259. package/dist/chunks/{file-mutation-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-mutation-2fhwbkrm.js → project-x26jwgwx.js} +28 -28
  261. package/dist/chunks/{file-mutation-v0x321vx.js → project-xb0hfm2b.js} +40 -40
  262. package/dist/chunks/{file-mutation-91t2kvk6.js → project-xbnkan1d.js} +14 -14
  263. package/dist/chunks/{file-mutation-t5vtrxv1.js → project-xcvkpzh5.js} +22 -22
  264. package/dist/chunks/{file-mutation-f9yn9122.js → project-xd42nzb0.js} +16 -16
  265. package/dist/chunks/{file-mutation-qj8eh1ht.js → project-xdk9p2qn.js} +21 -21
  266. package/dist/chunks/{file-mutation-0j569f3z.js → project-xjb11nnv.js} +3 -3
  267. package/dist/chunks/{file-mutation-xx8we5ps.js → project-xrjwkp2r.js} +4 -4
  268. package/dist/chunks/{file-mutation-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-mutation-jfya27vc.js → project-y28p2mmz.js} +11 -11
  270. package/dist/chunks/{file-mutation-hfvv3mv3.js → project-y2f10e65.js} +31 -31
  271. package/dist/chunks/project-y5t6h2pv.js +474 -0
  272. package/dist/chunks/{file-mutation-y71avatq.js → project-y71avatq.js} +1 -1
  273. package/dist/chunks/{file-mutation-ynjpqawr.js → project-y9a3srbc.js} +11 -11
  274. package/dist/chunks/{file-mutation-k9avtbwf.js → project-ybrnvmsb.js} +9 -9
  275. package/dist/chunks/{file-mutation-1acjjqhc.js → project-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{file-mutation-4g2m7ccv.js → project-ypmnqm1w.js} +21 -21
  277. package/dist/chunks/{file-mutation-jxwjknq3.js → project-yr7v9wer.js} +5 -5
  278. package/dist/chunks/{file-mutation-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-mutation-my26e0c6.js → project-yw0bcj9m.js} +26 -26
  280. package/dist/chunks/{file-mutation-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-mutation-a5de4bcy.js → project-zca3g7cc.js} +59 -59
  282. package/dist/chunks/{file-mutation-rq775frq.js → project-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-mutation-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{file-mutation-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +122 -122
  293. package/dist/config/plugin/command.js +210 -210
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +129 -129
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +122 -122
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +141 -141
  308. package/dist/config/plugin/snapshot.js +120 -120
  309. package/dist/config/plugin/source.js +125 -125
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +125 -125
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +80 -80
  318. package/dist/database/database.js +69 -69
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +78 -78
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +362 -362
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +73 -73
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +219 -219
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +101 -101
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +2 -2
  425. package/dist/formatter.js +86 -86
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +98 -98
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +353 -353
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +84 -84
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +83 -83
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +350 -350
  464. package/dist/location.js +86 -86
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +99 -99
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +98 -98
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +81 -81
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +114 -114
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +101 -101
  485. package/dist/plugin/command.js +98 -98
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +325 -325
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +95 -95
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +99 -99
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  497. package/dist/plugin/provider/azure.js +121 -121
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +118 -118
  503. package/dist/plugin/provider/digitalocean.js +92 -92
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +92 -92
  508. package/dist/plugin/provider/gitlab.js +90 -90
  509. package/dist/plugin/provider/google-vertex.js +89 -89
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +121 -121
  513. package/dist/plugin/provider/modal.js +91 -91
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +121 -121
  516. package/dist/plugin/provider/openai.js +93 -93
  517. package/dist/plugin/provider/opencode.js +92 -92
  518. package/dist/plugin/provider/openrouter.js +90 -90
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +77 -77
  521. package/dist/plugin/provider/sap-ai-core.js +90 -90
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +89 -89
  526. package/dist/plugin/provider/vllm.js +121 -121
  527. package/dist/plugin/provider/xai.js +90 -90
  528. package/dist/plugin/provider/zenmux.js +1 -1
  529. package/dist/plugin/provider.js +157 -157
  530. package/dist/plugin/sdk.js +75 -75
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +138 -138
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +344 -344
  535. package/dist/plugin/update.js +4 -4
  536. package/dist/plugin/vcs/git.js +83 -83
  537. package/dist/plugin/vcs/hg.js +85 -85
  538. package/dist/plugin/warming.js +120 -120
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +9 -9
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin/websearch/tinyfish.js +8 -8
  546. package/dist/plugin.js +227 -227
  547. package/dist/project/schema.js +8 -8
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +89 -89
  550. package/dist/provider.js +98 -98
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +95 -95
  555. package/dist/reference/instructions.js +88 -88
  556. package/dist/reference.js +90 -90
  557. package/dist/repository-cache.js +80 -80
  558. package/dist/repository.js +3 -3
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +94 -94
  561. package/dist/rpc.js +85 -85
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +73 -73
  564. package/dist/session/compaction.js +130 -130
  565. package/dist/session/context.js +150 -150
  566. package/dist/session/diff.js +87 -87
  567. package/dist/session/environment.js +5 -5
  568. package/dist/session/error.js +7 -7
  569. package/dist/session/event.js +1 -1
  570. package/dist/session/execution/restart.js +222 -222
  571. package/dist/session/execution.js +125 -125
  572. package/dist/session/generate.js +151 -151
  573. package/dist/session/history.js +15 -15
  574. package/dist/session/inbox.js +87 -87
  575. package/dist/session/info.js +3 -3
  576. package/dist/session/instruction-entry.js +76 -76
  577. package/dist/session/instruction-state.js +8 -8
  578. package/dist/session/instructions.js +96 -96
  579. package/dist/session/message-updater.js +2 -2
  580. package/dist/session/message.js +1 -1
  581. package/dist/session/model-request.js +117 -117
  582. package/dist/session/model-transport.js +9 -9
  583. package/dist/session/move.js +129 -129
  584. package/dist/session/projector.js +85 -85
  585. package/dist/session/prompt.js +104 -104
  586. package/dist/session/provider-context.js +3 -3
  587. package/dist/session/revert.js +89 -89
  588. package/dist/session/run-coordinator.js +3 -3
  589. package/dist/session/runner/index.js +3 -3
  590. package/dist/session/runner/llm.js +228 -228
  591. package/dist/session/runner/max-steps.js +1 -1
  592. package/dist/session/runner/model.js +97 -97
  593. package/dist/session/runner/publish-llm-event.js +3 -3
  594. package/dist/session/runner/retry.js +113 -113
  595. package/dist/session/runner/step.js +124 -124
  596. package/dist/session/runner/to-llm-message.js +2 -2
  597. package/dist/session/schema.js +5 -5
  598. package/dist/session/session.js +169 -169
  599. package/dist/session/shell.js +137 -137
  600. package/dist/session/skill.js +102 -102
  601. package/dist/session/sql.js +5 -5
  602. package/dist/session/stats.js +74 -74
  603. package/dist/session/store.js +86 -86
  604. package/dist/session/subagent-completion.js +1 -1
  605. package/dist/session/subagent-job.js +208 -208
  606. package/dist/session/system-prompt.js +1 -1
  607. package/dist/session/title.js +154 -154
  608. package/dist/session/to-session-error.js +110 -110
  609. package/dist/session/transfer.js +221 -221
  610. package/dist/session/usage.js +1 -1
  611. package/dist/session.js +214 -214
  612. package/dist/shell/parse.js +6 -6
  613. package/dist/shell/result.js +1 -1
  614. package/dist/shell/scan.js +1 -1
  615. package/dist/shell/select.js +11 -11
  616. package/dist/shell.js +139 -139
  617. package/dist/skill/discovery.js +6 -6
  618. package/dist/skill/instructions.js +104 -104
  619. package/dist/skill.js +109 -109
  620. package/dist/snapshot.js +88 -88
  621. package/dist/state.js +1 -1
  622. package/dist/tool/html-markdown.js +1 -1
  623. package/dist/tool/http-body.js +1 -1
  624. package/dist/tool/mcp.js +123 -123
  625. package/dist/tool/plugin/edit.js +113 -113
  626. package/dist/tool/plugin/file-diff.js +1 -1
  627. package/dist/tool/plugin/glob.js +123 -123
  628. package/dist/tool/plugin/grep.js +123 -123
  629. package/dist/tool/plugin/opencode.js +3 -3
  630. package/dist/tool/plugin/patch.js +121 -121
  631. package/dist/tool/plugin/question.js +104 -104
  632. package/dist/tool/plugin/read.js +124 -124
  633. package/dist/tool/plugin/shell.js +213 -213
  634. package/dist/tool/plugin/skill.js +110 -110
  635. package/dist/tool/plugin/subagent.js +213 -213
  636. package/dist/tool/plugin/webfetch.js +109 -109
  637. package/dist/tool/plugin/websearch.js +111 -111
  638. package/dist/tool/plugin/write.js +115 -115
  639. package/dist/tool/read-filesystem.js +99 -99
  640. package/dist/tool/runtime.js +1 -1
  641. package/dist/tool-output.js +8 -8
  642. package/dist/tool.js +13 -13
  643. package/dist/util/error-summary.js +1 -1
  644. package/dist/util/error.js +1 -1
  645. package/dist/util/git-executable.js +2 -2
  646. package/dist/util/iife.js +1 -1
  647. package/dist/util/lazy.js +1 -1
  648. package/dist/util/slug.js +1 -1
  649. package/dist/util/token.js +1 -1
  650. package/dist/util/which.js +1 -1
  651. package/dist/util/wildcard.js +1 -1
  652. package/dist/v1/config/agent.js +7 -7
  653. package/dist/v1/config/attachment.js +4 -4
  654. package/dist/v1/config/command.js +5 -5
  655. package/dist/v1/config/config.js +16 -16
  656. package/dist/v1/config/error.js +4 -4
  657. package/dist/v1/config/formatter.js +5 -5
  658. package/dist/v1/config/layout.js +1 -1
  659. package/dist/v1/config/lsp.js +3 -3
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +91 -91
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/v1/config/server.js +2 -2
  667. package/dist/v1/config/skills.js +3 -3
  668. package/dist/v1/permission.js +1 -1
  669. package/dist/variant.js +92 -92
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +88 -88
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +77 -77
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +88 -88
  682. package/dist/worktree.js +93 -93
  683. package/package.json +8 -8
  684. package/dist/chunks/file-mutation-0mesazry.js +0 -4
  685. package/dist/chunks/file-mutation-11z0rz4y.js +0 -247
  686. package/dist/chunks/file-mutation-d1y9ts6h.js +0 -474
  687. package/dist/chunks/file-mutation-ht5y0zrb.js +0 -18
  688. package/dist/chunks/file-mutation-rjhhx3kh.js +0 -26
  689. /package/dist/chunks/{file-mutation-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-mutation-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-mutation-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-mutation-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-mutation-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-mutation-24dcb14g.js → project-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{file-mutation-2710q6r3.js → project-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{file-mutation-359p4xyc.js → project-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3asan66x.js → project-3asan66x.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{file-mutation-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{file-mutation-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-mutation-53557ph1.js → project-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-mutation-550bvhaj.js → project-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-mutation-6prwharc.js → project-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-mutation-7m9af43g.js → project-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-mutation-822emrt2.js → project-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-mutation-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-mutation-8n3pysct.js → project-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-mutation-922hggd3.js → project-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-mutation-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-mutation-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{file-mutation-af5trqkr.js → project-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{file-mutation-afrmfg78.js → project-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{file-mutation-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{file-mutation-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{file-mutation-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{file-mutation-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9fn303g.js → project-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{file-mutation-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dajrwvna.js → project-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{file-mutation-dap0rakb.js → project-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{file-mutation-df08tz66.js → project-df08tz66.js} +0 -0
  732. /package/dist/chunks/{file-mutation-dy18nga0.js → project-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-mutation-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-mutation-ec1grn59.js → project-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-mutation-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-mutation-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-mutation-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-mutation-faypxj3z.js → project-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fd410y7t.js → project-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-mutation-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-mutation-g86h250q.js → project-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-mutation-gftt206x.js → project-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{file-mutation-hk9envan.js → project-hk9envan.js} +0 -0
  749. /package/dist/chunks/{file-mutation-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-mutation-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-mutation-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mutation-mp448xyj.js → project-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-mutation-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-mutation-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-mutation-njntx4h6.js → project-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-mutation-q74kybfr.js → project-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{file-mutation-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-mutation-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-mutation-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-mutation-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-mutation-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-mutation-twg0f83k.js → project-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-mutation-w803qqfp.js → project-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-mutation-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{file-mutation-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{file-mutation-wtztk69x.js → project-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{file-mutation-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{file-mutation-x61499pn.js → project-x61499pn.js} +0 -0
  778. /package/dist/chunks/{file-mutation-y44na4kk.js → project-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{file-mutation-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{file-mutation-y8f7s663.js → project-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-mutation-ym463w8f.js → project-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-mutation-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-xb3f970q.js";
3
+ } from "./project-17dw8pkg.js";
4
4
  import {
5
5
  OAuth3,
6
- Service74
7
- } from "./file-mutation-kcm959y1.js";
6
+ Service73
7
+ } from "./project-qt970c0q.js";
8
8
  import {
9
9
  ID13,
10
10
  MethodID2
11
- } from "./file-mutation-8rsrtv6x.js";
11
+ } from "./project-scxh138f.js";
12
12
  import {
13
- ID12
14
- } from "./file-mutation-0nes3kdx.js";
13
+ ID11
14
+ } from "./project-phrqe1n5.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID12.make("xai");
26
+ var providerID = ID11.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -68,7 +68,7 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service74;
71
+ const credentials = yield* Service73;
72
72
  yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-mutation-qfa1cgps.js";
3
+ } from "./project-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service5,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node6
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service5.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node6 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node14, exports_discovery };
155
+ export { Service5, node6, exports_discovery };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service54
7
- } from "./file-mutation-4afm2zz7.js";
6
+ Service61
7
+ } from "./project-rhtmfbtp.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-mutation-2a5m3afh.js";
10
+ } from "./project-2a5m3afh.js";
11
11
  import {
12
- Service61
13
- } from "./file-mutation-6fkjc3gv.js";
12
+ Service68
13
+ } from "./project-c3q8eaer.js";
14
14
  import {
15
- Service43
16
- } from "./file-mutation-2qcp78kg.js";
15
+ Service56
16
+ } from "./project-dwghrtd7.js";
17
17
  import {
18
- Service64
19
- } from "./file-mutation-a5de4bcy.js";
18
+ Service45
19
+ } from "./project-zca3g7cc.js";
20
20
  import {
21
- Service63,
21
+ Service13,
22
22
  resolvePath2
23
- } from "./file-mutation-7ycsd0tm.js";
23
+ } from "./project-9w8h378s.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-mutation-fxbjtjnd.js";
29
+ } from "./project-fxbjtjnd.js";
30
30
  import {
31
- Service58,
31
+ Service70,
32
32
  name15
33
- } from "./file-mutation-gj014zr3.js";
33
+ } from "./project-p1cpmwyf.js";
34
34
  import {
35
- NotFoundError7,
36
- Service52
37
- } from "./file-mutation-qkxympve.js";
35
+ NotFoundError8,
36
+ Service59
37
+ } from "./project-nkg579ba.js";
38
38
  import {
39
- Service21
40
- } from "./file-mutation-rmkqwdpg.js";
39
+ Service25
40
+ } from "./project-rhp07p3k.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-mutation-5bbsmdtr.js";
43
+ } from "./project-jzdd0kff.js";
44
44
  import {
45
45
  __export
46
- } from "./file-mutation-9rqn6x4v.js";
46
+ } from "./project-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin23,
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin32,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name5
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input5 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin23 = {
118
+ var Plugin32 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service43;
121
+ const sessions = yield* Service25;
122
+ const jobs = yield* Service56;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service61;
125
- const access = yield* Service63;
126
- const shell = yield* Service52;
127
- const shellSelect = yield* Service58;
124
+ const environment = yield* Service68;
125
+ const access = yield* Service13;
126
+ const shell = yield* Service59;
127
+ const shellSelect = yield* Service70;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service64;
130
- const config = yield* Service54;
129
+ const permission = yield* Service45;
130
+ const config = yield* Service61;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin23 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin23 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name5,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin23 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError7({ id: info.id });
208
+ return yield* new NotFoundError8({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name5,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name5];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin23, exports_shell2 };
263
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin32, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info12
13
+ Info: () => Info19
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info12 = Schema.Struct({
30
+ var Info19 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info12, exports_attachment };
34
+ export { Image2, Info19, exports_attachment };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info27 = Connection.Info;
17
+ var Info24 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info27, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-xb3f970q.js";
3
+ } from "./project-17dw8pkg.js";
4
4
  import {
5
- Service80
6
- } from "./file-mutation-f9yn9122.js";
5
+ Service81
6
+ } from "./project-xd42nzb0.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18,
10
- Service74
11
- } from "./file-mutation-kcm959y1.js";
10
+ Service73
11
+ } from "./project-qt970c0q.js";
12
12
  import {
13
13
  ID13,
14
14
  MethodID2,
15
- Service73
16
- } from "./file-mutation-8rsrtv6x.js";
15
+ Service71
16
+ } from "./project-scxh138f.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./file-mutation-pjvnvgmy.js";
20
+ } from "./project-pjvnvgmy.js";
21
21
  import {
22
- ID12
23
- } from "./file-mutation-0nes3kdx.js";
22
+ ID11
23
+ } from "./project-phrqe1n5.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-mutation-2py7vkgw.js";
26
+ } from "./project-raa1pnsf.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID12.make("snowflake-cortex");
33
+ var providerID = ID11.make("snowflake-cortex");
34
34
  var integrationID = ID13.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service74;
57
- const integrations = yield* Service73;
58
- const bus = yield* Service80;
56
+ const credentials = yield* Service73;
57
+ const integrations = yield* Service71;
58
+ const bus = yield* Service81;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Info19
6
- } from "./file-mutation-qj8eh1ht.js";
5
+ Info21
6
+ } from "./project-xdk9p2qn.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info17
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info15
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info19)
47
+ permission: Schema.optional(Info21)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info17, exports_agent3 };
74
+ export { Info15, exports_agent4 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID12,
2
+ ID11,
3
3
  mergeOverlay2
4
- } from "./file-mutation-0nes3kdx.js";
4
+ } from "./project-phrqe1n5.js";
5
5
  import {
6
- ID11,
6
+ ID10,
7
7
  VariantID2,
8
- Info25,
8
+ Info22,
9
9
  compatibility2
10
- } from "./file-mutation-kyvf95r7.js";
10
+ } from "./project-cshfpq41.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID11.make(item.id);
78
+ const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID10.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info25.make({
98
- ...Info25.default(providerID, id),
97
+ return Info22.make({
98
+ ...Info22.default(providerID, id),
99
99
  id,
100
- modelID: ID11.make(remote.id),
100
+ modelID: ID10.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./file-mutation-tds7k197.js";
5
+ } from "./project-pg94t5r8.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./file-mutation-5daktx2q.js";
3
+ } from "./project-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./project-922hggd3.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2
10
- } from "./file-mutation-my26e0c6.js";
10
+ } from "./project-yw0bcj9m.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID4.make(id),
58
+ id: ID6.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service42,
10
- node: () => node44
9
+ Service: () => Service43,
10
+ node: () => node45
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service42 extends Context.Service()("@opencode/Instance") {
16
+ class Service43 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
18
+ var node45 = LayerNode.unbound(Service43, Node.tags.values.global);
19
19
 
20
- export { Service42, node44, exports_service2 };
20
+ export { Service43, node45, exports_service2 };