@opencode/core 0.0.0-dev-20356 → 0.0.0-dev-20357
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{project-gynv5cx7.js → mime-08rawchj.js} +2 -2
- package/dist/chunks/{project-29qm0wq5.js → mime-0d46t3ec.js} +23 -23
- package/dist/chunks/{project-h6wyq11a.js → mime-0g48p6vr.js} +20 -20
- package/dist/chunks/{project-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-tfb7wsn7.js → mime-0qtc3cks.js} +11 -11
- package/dist/chunks/{project-ev5h5ydt.js → mime-0vrkqtc8.js} +18 -18
- package/dist/chunks/{project-vme540ew.js → mime-12hgr1bm.js} +3 -3
- package/dist/chunks/{project-tnj7w1ns.js → mime-1cnmjpf3.js} +89 -89
- package/dist/chunks/{project-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-0878msad.js → mime-1dszprzg.js} +14 -14
- package/dist/chunks/{project-6zkzrtmg.js → mime-1jt2n6st.js} +27 -27
- package/dist/chunks/{project-wt0nnffb.js → mime-1mtadfea.js} +41 -41
- package/dist/chunks/{project-qq9nedxw.js → mime-1v7wv6cb.js} +19 -19
- package/dist/chunks/{project-56gdpj1q.js → mime-1ygqh575.js} +9 -9
- package/dist/chunks/{project-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{project-3bxd3j1q.js → mime-24bqy9wh.js} +8 -8
- package/dist/chunks/{project-w8p5fr4d.js → mime-275560dt.js} +30 -30
- package/dist/chunks/{project-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{project-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-pf2hb43r.js → mime-2d57kztd.js} +4 -4
- package/dist/chunks/{project-cfebf2b3.js → mime-2gfh4smv.js} +18 -18
- package/dist/chunks/{project-gycsprcg.js → mime-2h9zfskj.js} +25 -25
- package/dist/chunks/{project-nzep5kp0.js → mime-2hev1hmr.js} +46 -46
- package/dist/chunks/{project-fzq9b8e0.js → mime-2m02hkrg.js} +4 -4
- package/dist/chunks/{project-8t1g6eyt.js → mime-30m2bfsy.js} +33 -33
- package/dist/chunks/{project-qt41wyaw.js → mime-31sg0ebh.js} +5 -5
- package/dist/chunks/{project-ncnm8wen.js → mime-3556dn8t.js} +1 -1
- package/dist/chunks/{project-t503hra4.js → mime-35w82194.js} +11 -11
- package/dist/chunks/{project-axs6pdy0.js → mime-3801kdgp.js} +5 -5
- package/dist/chunks/{project-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-6v6z346v.js → mime-3ftsqe3x.js} +11 -11
- package/dist/chunks/{project-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-zg5102wc.js → mime-3kzxhzwk.js} +25 -25
- package/dist/chunks/{project-m6m7f38k.js → mime-3nw8wjd1.js} +4 -4
- package/dist/chunks/{project-q6ffwytb.js → mime-3pwk07sq.js} +32 -32
- package/dist/chunks/{project-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-tcdk566h.js → mime-42e3yd9q.js} +26 -26
- package/dist/chunks/{project-8p1n5kzm.js → mime-436p0ree.js} +1 -1
- package/dist/chunks/{project-9x77fmbz.js → mime-44pdqs77.js} +4 -4
- package/dist/chunks/{project-vdzkh65a.js → mime-451p6gb0.js} +17 -17
- package/dist/chunks/{project-2d8g41z0.js → mime-4az0ap15.js} +5 -5
- package/dist/chunks/{project-cmet8kw7.js → mime-4rm2k9v5.js} +22 -22
- package/dist/chunks/{project-9tef4xa6.js → mime-4tg3npcq.js} +25 -25
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{project-zsr4wwhv.js → mime-4z58m4b4.js} +4 -4
- package/dist/chunks/{project-01b2nk25.js → mime-4z5b7cq3.js} +15 -15
- package/dist/chunks/{project-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{project-ckecvw8r.js → mime-54tcyq79.js} +2 -2
- package/dist/chunks/{project-fep3pdp6.js → mime-55g0mqff.js} +324 -324
- package/dist/chunks/{project-csmvz898.js → mime-56bnbftg.js} +9 -9
- package/dist/chunks/{project-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{project-6r8gf4vt.js → mime-585rwsxc.js} +13 -13
- package/dist/chunks/{project-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{project-qrj3wnkg.js → mime-5eb3a1ca.js} +12 -12
- package/dist/chunks/{project-wh0hmwac.js → mime-5q7w5dw4.js} +22 -22
- package/dist/chunks/{project-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-1tyxkk7v.js → mime-5ypay5ec.js} +45 -45
- package/dist/chunks/{project-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{project-cyaky418.js → mime-6bfgxdxy.js} +3 -3
- package/dist/chunks/{project-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-4sg0qqqr.js → mime-70ghbar0.js} +14 -14
- package/dist/chunks/{project-r5x6zcsm.js → mime-73tb2d7t.js} +3 -3
- package/dist/chunks/{project-tazp3vs0.js → mime-784hb5j4.js} +4 -4
- package/dist/chunks/{project-wgekj4qb.js → mime-78w2c962.js} +3 -3
- package/dist/chunks/{project-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-2tb6ny1p.js → mime-7d4sap7d.js} +32 -32
- package/dist/chunks/{project-607tc6va.js → mime-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-9y2xma3b.js → mime-7kjdg552.js} +20 -20
- package/dist/chunks/{project-a1a50ys5.js → mime-809q4hne.js} +5 -5
- package/dist/chunks/{project-pe58eyng.js → mime-81hwre94.js} +9 -9
- package/dist/chunks/{project-w1eejvng.js → mime-84txncab.js} +5 -5
- package/dist/chunks/{project-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-40ctg4xk.js → mime-8egjf8hv.js} +25 -25
- package/dist/chunks/{project-0s7psmf3.js → mime-8jk8106t.js} +1 -1
- package/dist/chunks/{project-0yzz1bpd.js → mime-8m4waq6v.js} +29 -29
- package/dist/chunks/{project-6a90sj0r.js → mime-8xtwbd7n.js} +23 -23
- package/dist/chunks/{project-b2bq2q2h.js → mime-9182tnph.js} +13 -13
- package/dist/chunks/{project-a694798e.js → mime-94s48bjb.js} +5 -5
- package/dist/chunks/{project-r2tk4372.js → mime-94wan21z.js} +15 -15
- package/dist/chunks/{project-ysyj05xv.js → mime-963afhp9.js} +30 -30
- package/dist/chunks/{project-ezzzks3g.js → mime-9m1c9bc6.js} +19 -19
- package/dist/chunks/{project-7zhqx0r2.js → mime-9tm41fxb.js} +19 -19
- package/dist/chunks/{project-dbqhdgwa.js → mime-9vy5z0j9.js} +9 -9
- package/dist/chunks/{project-8y61pqpd.js → mime-9yj7necg.js} +7 -7
- package/dist/chunks/{project-yw5zhsjr.js → mime-a1gftt2j.js} +6 -6
- package/dist/chunks/{project-gs3s1a1g.js → mime-a2qe2ev9.js} +8 -8
- package/dist/chunks/{project-n1gphgks.js → mime-a2snrrhh.js} +57 -57
- package/dist/chunks/{project-g8d3gcyj.js → mime-a46v4e4v.js} +7 -7
- package/dist/chunks/{project-r3knsq37.js → mime-a9b0w8ke.js} +44 -44
- package/dist/chunks/{project-zke1m8at.js → mime-a9jk16wk.js} +24 -24
- package/dist/chunks/{project-n6ay0naj.js → mime-a9m5xffm.js} +48 -48
- package/dist/chunks/{project-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{project-sr67wv65.js → mime-abtzwxnt.js} +44 -44
- package/dist/chunks/{project-77vbs49e.js → mime-adxscsa6.js} +25 -25
- package/dist/chunks/{project-ybkv2jt6.js → mime-are8fj85.js} +11 -11
- package/dist/chunks/{project-4qqqe9ph.js → mime-asnx69vs.js} +41 -41
- package/dist/chunks/{project-dzgh9fhm.js → mime-ayp5f77b.js} +17 -17
- package/dist/chunks/{project-0aqwtw9c.js → mime-azt1av7k.js} +13 -13
- package/dist/chunks/{project-mwx6kxq6.js → mime-azz8ttf1.js} +11 -11
- package/dist/chunks/{project-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-pykhz9mf.js → mime-bbq3sp3s.js} +5 -5
- package/dist/chunks/{project-r0xrbqbv.js → mime-bdkgyfqw.js} +6 -6
- package/dist/chunks/{project-c2pegpsk.js → mime-bf61bssj.js} +27 -27
- package/dist/chunks/{project-jj9pxt8a.js → mime-bhwmvv2r.js} +2 -2
- package/dist/chunks/{project-z07pqspn.js → mime-bjtzbw4r.js} +3 -3
- package/dist/chunks/{project-snw098qj.js → mime-bkc1xbmh.js} +8 -8
- package/dist/chunks/{project-v6t56ak3.js → mime-bwz9kms9.js} +11 -11
- package/dist/chunks/{project-17s5n6t0.js → mime-c0nc78gk.js} +93 -93
- package/dist/chunks/{project-g0shecj4.js → mime-cewa3bgj.js} +29 -29
- package/dist/chunks/{project-qwz4cyrr.js → mime-cp33fe45.js} +18 -18
- package/dist/chunks/{project-6c2v4ws9.js → mime-cqhqv80y.js} +26 -26
- package/dist/chunks/{project-tkmktw5m.js → mime-cqnjyvea.js} +13 -13
- package/dist/chunks/{project-b4cd6zbv.js → mime-csvhrtyy.js} +43 -43
- package/dist/chunks/{project-57dkzzcj.js → mime-cz2qe7qr.js} +10 -10
- package/dist/chunks/{project-mv21s43e.js → mime-d22yz40m.js} +33 -33
- package/dist/chunks/{project-6f50nh7r.js → mime-d4ht8xn7.js} +7 -7
- package/dist/chunks/{project-1shstth8.js → mime-dj2whpbc.js} +15 -15
- package/dist/chunks/{project-y6bex35g.js → mime-dnxkq42g.js} +4 -4
- package/dist/chunks/{project-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{project-3cfzdc8e.js → mime-dqmwfghx.js} +5 -5
- package/dist/chunks/{project-phstrbs2.js → mime-dv1qgsyq.js} +8 -8
- package/dist/chunks/{project-w0gv56zd.js → mime-e1hq19dm.js} +26 -26
- package/dist/chunks/{project-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{project-fcbbx3j9.js → mime-e4g6rnfs.js} +11 -11
- package/dist/chunks/{project-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
- package/dist/chunks/{project-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-bkr283zm.js → mime-ejndsc2m.js} +38 -38
- package/dist/chunks/{project-vz3kzhcq.js → mime-emq6k8s5.js} +28 -28
- package/dist/chunks/mime-ep6xxngp.js +252 -0
- package/dist/chunks/{project-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-jrc6xc47.js → mime-ewgg2vfd.js} +38 -38
- package/dist/chunks/{project-52d0evsq.js → mime-eyhtqccb.js} +9 -9
- package/dist/chunks/{project-nt9whnnx.js → mime-f1ztasbk.js} +19 -19
- package/dist/chunks/{project-kbwf032e.js → mime-f38wsw69.js} +2 -2
- package/dist/chunks/{project-5cks982w.js → mime-f673fv72.js} +6 -6
- package/dist/chunks/{project-easxsp29.js → mime-f9pj28cm.js} +2 -2
- package/dist/chunks/{project-pfvk3f1h.js → mime-fnf5adsy.js} +12 -12
- package/dist/chunks/{project-7maxm005.js → mime-fxwg9x87.js} +42 -42
- package/dist/chunks/{project-re3t6z20.js → mime-fyqp1ang.js} +10 -10
- package/dist/chunks/{project-m9ty708k.js → mime-fysazz09.js} +11 -11
- package/dist/chunks/{project-jaqv1zgp.js → mime-fzj3093f.js} +8 -8
- package/dist/chunks/{project-6xfxz08t.js → mime-fzn8jgnf.js} +20 -20
- package/dist/chunks/{project-vj6g15k9.js → mime-g3rtn128.js} +28 -28
- package/dist/chunks/{project-dc8a0e4c.js → mime-g7cpb448.js} +37 -37
- package/dist/chunks/{project-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-7zdfjpaf.js → mime-ge40smna.js} +8 -8
- package/dist/chunks/mime-gez9rmx3.js +26 -0
- package/dist/chunks/{project-rjb06q8w.js → mime-gf1x9zt8.js} +76 -76
- package/dist/chunks/{project-94ek1h2f.js → mime-gfvb90ym.js} +2 -2
- package/dist/chunks/{project-avb1xd8t.js → mime-gmn4g1vm.js} +13 -13
- package/dist/chunks/{project-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-072d3ke0.js → mime-h03px39b.js} +30 -30
- package/dist/chunks/{project-6d6xcght.js → mime-h6nxw0pd.js} +6 -6
- package/dist/chunks/{project-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-x3gqap9d.js → mime-h9pnpq88.js} +4 -4
- package/dist/chunks/{project-3j6fv4nn.js → mime-haceje86.js} +17 -17
- package/dist/chunks/{project-64mbz47k.js → mime-hafkgw1r.js} +6 -6
- package/dist/chunks/{project-f2k3y3vz.js → mime-hcb6asbt.js} +19 -19
- package/dist/chunks/{project-bkhdt41m.js → mime-hdax66s1.js} +10 -10
- package/dist/chunks/{project-5kmj8a77.js → mime-hn1syae9.js} +18 -18
- package/dist/chunks/{project-hqe4fdw9.js → mime-hv63nw24.js} +24 -24
- package/dist/chunks/{project-4ytqk5q0.js → mime-j301k1rd.js} +34 -34
- package/dist/chunks/{project-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{project-g2xem7mq.js → mime-j5behb2c.js} +15 -15
- package/dist/chunks/{project-jhkpzm07.js → mime-jc90xm0c.js} +13 -13
- package/dist/chunks/{project-kpt1qdq7.js → mime-jgjn4qh1.js} +11 -11
- package/dist/chunks/{project-0r7yqxbf.js → mime-jv01nqvq.js} +5 -5
- package/dist/chunks/{project-ddt2bs9e.js → mime-jvf3yq6v.js} +4 -4
- package/dist/chunks/{project-hstednbn.js → mime-jyhrke1x.js} +8 -8
- package/dist/chunks/{project-f7rj482f.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{project-6de9kzwx.js → mime-k5a199nr.js} +23 -23
- package/dist/chunks/{project-fqjdsq6b.js → mime-kt6f47v4.js} +35 -35
- package/dist/chunks/{project-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-q5ny0xm2.js → mime-mebn6vhz.js} +5 -5
- package/dist/chunks/{project-tj25kyyd.js → mime-mp7ts3gd.js} +8 -8
- package/dist/chunks/{project-q6r2g4xj.js → mime-mtkvqbm7.js} +18 -18
- package/dist/chunks/{project-d1mtykxg.js → mime-mx9vqzsb.js} +6 -6
- package/dist/chunks/{project-14pjqsw5.js → mime-mzq5qkcw.js} +35 -35
- package/dist/chunks/{project-a3ftg8j6.js → mime-n37c4crj.js} +9 -9
- package/dist/chunks/{project-1qpfrbew.js → mime-n46yc5jk.js} +15 -15
- package/dist/chunks/{project-erdet7sg.js → mime-n4yppvr1.js} +10 -10
- package/dist/chunks/{project-6j2q8pwq.js → mime-n5a03fey.js} +5 -5
- package/dist/chunks/{project-qsxf26yz.js → mime-n8c291r7.js} +6 -6
- package/dist/chunks/{project-n9cj0wre.js → mime-n8ycavnk.js} +20 -20
- package/dist/chunks/{project-veknk6k5.js → mime-na461qmw.js} +9 -9
- package/dist/chunks/{project-qm4097qr.js → mime-nazh9js1.js} +3 -3
- package/dist/chunks/{project-pnv527nz.js → mime-nq7qbqzc.js} +9 -9
- package/dist/chunks/{project-k3c624dm.js → mime-nzks3jc8.js} +3 -3
- package/dist/chunks/{project-bekm1yvf.js → mime-p4terpsa.js} +4 -4
- package/dist/chunks/{project-w099a06a.js → mime-p5sd9dfh.js} +9 -9
- package/dist/chunks/{project-bacyadyn.js → mime-pct1c8gm.js} +4 -4
- package/dist/chunks/{project-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{project-9bf000qt.js → mime-pp173efe.js} +11 -11
- package/dist/chunks/{project-wd3x2cqz.js → mime-psazpmmj.js} +2 -2
- package/dist/chunks/{project-2a4f6v5q.js → mime-pw9v3g6d.js} +5 -5
- package/dist/chunks/{project-rkprpv83.js → mime-py3kkmfq.js} +2 -2
- package/dist/chunks/{project-7fywwnp8.js → mime-qb34ym9h.js} +5 -5
- package/dist/chunks/{project-tj4fg8zh.js → mime-qjm70hfx.js} +7 -7
- package/dist/chunks/{project-g6q9qykm.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{project-t9zs3egg.js → mime-qq11w61w.js} +4 -4
- package/dist/chunks/{project-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{project-jwv1tpse.js → mime-qtf88vwk.js} +26 -26
- package/dist/chunks/{project-d7fjbfjm.js → mime-r6b72tt5.js} +4 -4
- package/dist/chunks/{project-xs98p9c0.js → mime-r8p3c49k.js} +3 -3
- package/dist/chunks/{project-395kcsa0.js → mime-r8rm2ttn.js} +9 -9
- package/dist/chunks/{project-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-amfjbzn6.js → mime-rhxgy7qf.js} +8 -8
- package/dist/chunks/{project-zb4gqkjh.js → mime-rnakma6c.js} +27 -27
- package/dist/chunks/{project-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{project-hx9j0tnp.js → mime-s9ebk3qw.js} +35 -35
- package/dist/chunks/{project-r4czcqfh.js → mime-sfb7zdnf.js} +11 -11
- package/dist/chunks/{project-nz3ky2x1.js → mime-std33n5a.js} +5 -5
- package/dist/chunks/{project-v28mczge.js → mime-sv1q03nr.js} +22 -22
- package/dist/chunks/{project-j8xxef54.js → mime-sva1dgt9.js} +4 -4
- package/dist/chunks/{project-tf6f15mf.js → mime-swmdjj48.js} +30 -30
- package/dist/chunks/{project-gec46073.js → mime-sx8nx28h.js} +19 -19
- package/dist/chunks/{project-39nh3gac.js → mime-t3mrdfz4.js} +14 -14
- package/dist/chunks/{project-0gdmqesm.js → mime-t550f9t1.js} +4 -4
- package/dist/chunks/{project-mhhs4gcd.js → mime-t9sqp817.js} +47 -47
- package/dist/chunks/{project-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-89znhe33.js → mime-tcezcvh9.js} +4 -4
- package/dist/chunks/{project-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{project-t5p73v1q.js → mime-tfswnq6h.js} +29 -29
- package/dist/chunks/{project-3s53nyp7.js → mime-tfwm1ee2.js} +29 -29
- package/dist/chunks/{project-cg278hgw.js → mime-tn1saqyh.js} +11 -11
- package/dist/chunks/{project-e72d9hmz.js → mime-tpztfyyv.js} +14 -14
- package/dist/chunks/{project-bkjffg37.js → mime-tq0k68j4.js} +26 -26
- package/dist/chunks/{project-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{project-fjw551ks.js → mime-tz95vf9q.js} +19 -19
- package/dist/chunks/{project-f322zf8a.js → mime-v4t1yx44.js} +10 -10
- package/dist/chunks/{project-3ca0bmfd.js → mime-v5ga0sqk.js} +29 -29
- package/dist/chunks/{project-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{project-7k5g5h3h.js → mime-vt9gyxc5.js} +11 -11
- package/dist/chunks/{project-mwhk2m9m.js → mime-vtw4ex8e.js} +5 -5
- package/dist/chunks/{project-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-9ybqhkdr.js → mime-vzp4eea0.js} +16 -16
- package/dist/chunks/{project-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-x04bbqq1.js → mime-w07y5snj.js} +24 -24
- package/dist/chunks/{project-1enaff33.js → mime-w1cfvdbk.js} +6 -6
- package/dist/chunks/{project-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-mcdwv36b.js → mime-wc73zry6.js} +11 -11
- package/dist/chunks/{project-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{project-je116bp6.js → mime-wdk9k2gs.js} +25 -25
- package/dist/chunks/{project-4qg7k24a.js → mime-wmz6q48y.js} +11 -11
- package/dist/chunks/{project-px6qakvs.js → mime-wzq3pt1n.js} +30 -30
- package/dist/chunks/{project-z59whknb.js → mime-x0g5kz9f.js} +180 -180
- package/dist/chunks/{project-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-1hzm83a3.js → mime-x43z2jw0.js} +13 -13
- package/dist/chunks/{project-w010rjay.js → mime-x617j8as.js} +30 -30
- package/dist/chunks/{project-7kzmyqxz.js → mime-xbjbtxzz.js} +24 -24
- package/dist/chunks/{project-cavr175a.js → mime-xdk9p2qn.js} +21 -21
- package/dist/chunks/{project-drwq78ky.js → mime-xfkkasph.js} +4 -4
- package/dist/chunks/{project-htevdsp6.js → mime-xh3nrjh6.js} +22 -22
- package/dist/chunks/{project-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{project-f2vmp4t1.js → mime-xn3bd7m9.js} +5 -5
- package/dist/chunks/{project-5m8wngbv.js → mime-xt1tzkvd.js} +23 -23
- package/dist/chunks/{project-h6b02349.js → mime-xvp1j2dc.js} +5 -5
- package/dist/chunks/{project-qxbk3bdb.js → mime-xyhkgzn6.js} +17 -17
- package/dist/chunks/{project-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-8n69n882.js → mime-y72zmemf.js} +8 -8
- package/dist/chunks/{project-afed7ext.js → mime-y93b664k.js} +12 -12
- package/dist/chunks/{project-mqp59dgv.js → mime-ybyj6r0c.js} +30 -30
- package/dist/chunks/{project-gcvekh3w.js → mime-yf7jzfb8.js} +11 -11
- package/dist/chunks/{project-3856nbqk.js → mime-ygsx1bjn.js} +16 -16
- package/dist/chunks/{project-z88ew3v7.js → mime-yke98s4n.js} +11 -11
- package/dist/chunks/{project-eatefz1s.js → mime-ynp8b50y.js} +11 -11
- package/dist/chunks/{project-f2n192rq.js → mime-yp2x3t23.js} +4 -4
- package/dist/chunks/{project-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-wx196b1m.js → mime-ytqnsxqy.js} +23 -23
- package/dist/chunks/{project-8ay87enk.js → mime-yyyrkqse.js} +13 -13
- package/dist/chunks/{project-ag37rm3p.js → mime-yzs15tep.js} +12 -12
- package/dist/chunks/{project-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-ws2zt9bt.js → mime-z88nfd5r.js} +11 -11
- package/dist/chunks/{project-qnmpdahd.js → mime-zdpjdk6q.js} +51 -51
- package/dist/chunks/{project-kxeqqz93.js → mime-ze42ap7x.js} +20 -20
- package/dist/chunks/{project-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-fad6j005.js → mime-zsm3phbg.js} +11 -11
- package/dist/chunks/{project-6xzdaz95.js → mime-zv3btv0d.js} +13 -13
- package/dist/chunks/{project-b6z5kj38.js → mime-zw8a836n.js} +31 -31
- package/dist/chunks/{project-fmj8bsa7.js → mime-zwctxk35.js} +56 -56
- package/dist/chunks/{project-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{project-cz67tnsk.js → mime-zzrjpn9x.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/project-9zdhvgqs.js +0 -18
- package/dist/chunks/project-agjs0zsw.js +0 -26
- package/dist/chunks/project-qgym36w0.js +0 -252
- /package/dist/chunks/{project-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node61
|
|
9
|
+
} from "./mime-zzrjpn9x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./mime-v5ga0sqk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service59;
|
|
335
|
+
return Service7.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node61] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service52,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node54
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service52 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service52, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service52.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node54 = makeGlobalNode({ service: Service52, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service52, node54, exports_environment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service84,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node88
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service84 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service84.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-bhwmvv2r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./mime-zzrjpn9x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service58,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-azt1av7k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./mime-tn1saqyh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service54
|
|
17
|
+
} from "./mime-a2snrrhh.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service17,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-j5behb2c.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input8,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin25,
|
|
36
|
+
name: () => name8
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name8 = "edit";
|
|
43
|
+
var Input8 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin25 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service17;
|
|
110
|
+
const fileMutation = yield* Service58;
|
|
111
|
+
const environment = yield* Service59;
|
|
112
|
+
const formatter = yield* Service16;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service54;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name8,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input8,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin23 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name8, Input8, Output5, Plugin25, exports_edit };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-963afhp9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node71
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID13,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service68 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service68.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node71 = makeLocationNode({ service: Service68, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service68, locationLayer2, node71, exports_aisdk };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./mime-56bnbftg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./mime-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service79
|
|
15
|
+
} from "./mime-a2qe2ev9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-eyhtqccb.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service47
|
|
23
|
+
} from "./mime-42e3yd9q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-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*
|
|
42
|
+
const instances = yield* Service45;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service79;
|
|
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*
|
|
64
|
+
const skillService = yield* Service47;
|
|
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*
|
|
129
|
+
const image = yield* Service78;
|
|
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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./mime-2hev1hmr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./mime-kt6f47v4.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin9 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin37, exports_compaction };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service48
|
|
7
|
+
} from "./mime-wzq3pt1n.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-08rawchj.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-eyhtqccb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service48;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|