@opencode/core 0.0.0-dev-20357 → 0.0.0-dev-20359
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/{mime-t550f9t1.js → workspace-02nrjc1r.js} +8 -8
- package/dist/chunks/{mime-r6b72tt5.js → workspace-042m1axd.js} +4 -4
- package/dist/chunks/{mime-cqnjyvea.js → workspace-0jtjgnd7.js} +13 -13
- package/dist/chunks/{mime-wmz6q48y.js → workspace-0k8f4c0k.js} +11 -11
- package/dist/chunks/{mime-tz95vf9q.js → workspace-0n0r6k3x.js} +15 -15
- package/dist/chunks/{mime-qtf88vwk.js → workspace-0njgvdwy.js} +28 -28
- package/dist/chunks/{mime-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-a9m5xffm.js → workspace-0smrbp39.js} +48 -48
- package/dist/chunks/{mime-sfb7zdnf.js → workspace-0vwkra70.js} +11 -11
- package/dist/chunks/{mime-w1cfvdbk.js → workspace-0zwreqvq.js} +6 -6
- package/dist/chunks/{mime-275560dt.js → workspace-166t1a3y.js} +19 -19
- package/dist/chunks/{mime-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-n5a03fey.js → workspace-1sznmg0n.js} +5 -5
- package/dist/chunks/{mime-yyyrkqse.js → workspace-1xg3275b.js} +13 -13
- package/dist/chunks/{mime-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2m02hkrg.js → workspace-22xq6rx4.js} +4 -4
- package/dist/chunks/{mime-n4yppvr1.js → workspace-23pvap42.js} +10 -10
- package/dist/chunks/{mime-cz2qe7qr.js → workspace-273zbexb.js} +10 -10
- package/dist/chunks/{mime-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-xt1tzkvd.js → workspace-2e222wf4.js} +21 -21
- package/dist/chunks/{mime-y72zmemf.js → workspace-2hr5nhwa.js} +8 -8
- package/dist/chunks/{mime-n8ycavnk.js → workspace-2jvjmskk.js} +34 -34
- package/dist/chunks/{mime-qmqgtz8f.js → workspace-2mq1h16s.js} +9 -9
- package/dist/chunks/{mime-3801kdgp.js → workspace-2p623br6.js} +5 -5
- package/dist/chunks/{mime-f1ztasbk.js → workspace-2sjp2rx5.js} +19 -19
- package/dist/chunks/{mime-3556dn8t.js → workspace-2tsm52y3.js} +1 -1
- package/dist/chunks/{mime-jvf3yq6v.js → workspace-2vs2nh1n.js} +4 -4
- package/dist/chunks/{mime-963afhp9.js → workspace-2w78a64w.js} +32 -32
- package/dist/chunks/{mime-56bnbftg.js → workspace-2zmfhp2c.js} +9 -9
- package/dist/chunks/{mime-2d57kztd.js → workspace-35agz59w.js} +4 -4
- package/dist/chunks/{mime-qjm70hfx.js → workspace-365m56hx.js} +7 -7
- package/dist/chunks/{mime-436p0ree.js → workspace-38fpg76h.js} +1 -1
- package/dist/chunks/{mime-k5a199nr.js → workspace-39zkfw6n.js} +12 -12
- package/dist/chunks/{mime-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-wzq3pt1n.js → workspace-3grdzngc.js} +26 -26
- package/dist/chunks/{mime-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-xh3nrjh6.js → workspace-3k76vmqf.js} +20 -20
- package/dist/chunks/{mime-swmdjj48.js → workspace-3mgjdyz7.js} +30 -30
- package/dist/chunks/{mime-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-g3rtn128.js → workspace-3wc6ggek.js} +23 -23
- package/dist/chunks/{mime-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-ayp5f77b.js → workspace-4m6nhjq1.js} +20 -20
- package/dist/chunks/{mime-mx9vqzsb.js → workspace-4mwpykj0.js} +6 -6
- package/dist/chunks/{mime-r8p3c49k.js → workspace-4t72cs1k.js} +3 -3
- package/dist/chunks/{mime-d22yz40m.js → workspace-4tbjs8wm.js} +35 -35
- package/dist/chunks/{mime-mzq5qkcw.js → workspace-4yxb5t6h.js} +35 -35
- package/dist/chunks/{mime-jv01nqvq.js → workspace-510m7gjw.js} +5 -5
- package/dist/chunks/{mime-1dszprzg.js → workspace-52zrzax5.js} +14 -14
- package/dist/chunks/{mime-54ma36ye.js → workspace-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-xfkkasph.js → workspace-57b9ws8p.js} +7 -7
- package/dist/chunks/{mime-57ez7d0k.js → workspace-57ez7d0k.js} +2 -2
- package/dist/chunks/{mime-4rm2k9v5.js → workspace-58qjwad6.js} +25 -25
- package/dist/chunks/{mime-3kzxhzwk.js → workspace-59h4mhd4.js} +25 -25
- package/dist/chunks/{mime-70ghbar0.js → workspace-5d0c5ad8.js} +16 -16
- package/dist/chunks/{mime-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-p5sd9dfh.js → workspace-5enjc9kj.js} +9 -9
- package/dist/chunks/{mime-8egjf8hv.js → workspace-5je6ahr9.js} +25 -25
- package/dist/chunks/{mime-0g48p6vr.js → workspace-5krfbr7p.js} +20 -20
- package/dist/chunks/{mime-e3qxr5gk.js → workspace-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-c0nc78gk.js → workspace-5r63gr7v.js} +78 -78
- package/dist/chunks/{mime-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-7dqw4kz8.js → workspace-607tc6va.js} +5 -5
- package/dist/chunks/{mime-a2snrrhh.js → workspace-609adeff.js} +57 -57
- package/dist/chunks/{mime-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{mime-v4t1yx44.js → workspace-66kez2h7.js} +10 -10
- package/dist/chunks/{mime-4z5b7cq3.js → workspace-6cqpxvp7.js} +15 -15
- package/dist/chunks/{mime-n37c4crj.js → workspace-6fatt4mk.js} +9 -9
- package/dist/chunks/{mime-3ftsqe3x.js → workspace-6hdpv820.js} +11 -11
- package/dist/chunks/{mime-xbjbtxzz.js → workspace-6ksk10bg.js} +24 -24
- package/dist/chunks/{mime-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-h9pnpq88.js → workspace-6t4hr8r6.js} +4 -4
- package/dist/chunks/{mime-9yj7necg.js → workspace-6w7cfkdj.js} +7 -7
- package/dist/chunks/{mime-ybyj6r0c.js → workspace-7732sr32.js} +27 -27
- package/dist/chunks/{mime-30m2bfsy.js → workspace-795kcfpc.js} +33 -33
- package/dist/chunks/{mime-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-qb34ym9h.js → workspace-7bzp0d3c.js} +5 -5
- package/dist/chunks/{mime-jyhrke1x.js → workspace-7dntqyrh.js} +8 -8
- package/dist/chunks/{mime-zwctxk35.js → workspace-7fg0zqgq.js} +45 -45
- package/dist/chunks/{mime-xvp1j2dc.js → workspace-7pr2hkwv.js} +5 -5
- package/dist/chunks/{mime-xn3bd7m9.js → workspace-7t3sew6m.js} +5 -5
- package/dist/chunks/{mime-fzn8jgnf.js → workspace-7tggkdet.js} +19 -19
- package/dist/chunks/{mime-yf7jzfb8.js → workspace-80f8ra5w.js} +11 -11
- package/dist/chunks/{mime-tcezcvh9.js → workspace-89znhe33.js} +4 -4
- package/dist/chunks/{mime-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-sva1dgt9.js → workspace-8n2t31b8.js} +4 -4
- package/dist/chunks/{mime-585rwsxc.js → workspace-8sc9trf7.js} +13 -13
- package/dist/chunks/{mime-tfwm1ee2.js → workspace-8ta0krmw.js} +29 -29
- package/dist/chunks/{mime-dv1qgsyq.js → workspace-8v6pyhej.js} +8 -8
- package/dist/chunks/{mime-fxwg9x87.js → workspace-90hnf2pp.js} +39 -39
- package/dist/chunks/{mime-gfvb90ym.js → workspace-94ek1h2f.js} +2 -2
- package/dist/chunks/{mime-zv3btv0d.js → workspace-987cgqwa.js} +13 -13
- package/dist/chunks/{mime-azz8ttf1.js → workspace-9rj7ywpq.js} +11 -11
- package/dist/chunks/{mime-cqhqv80y.js → workspace-9tkh92yn.js} +31 -31
- package/dist/chunks/{mime-x617j8as.js → workspace-9v18rkg6.js} +32 -32
- package/dist/chunks/{mime-csvhrtyy.js → workspace-a0afhmy4.js} +43 -43
- package/dist/chunks/{mime-t9sqp817.js → workspace-a4amtzg2.js} +46 -46
- package/dist/chunks/{mime-xdk9p2qn.js → workspace-a8bn8zg0.js} +21 -21
- package/dist/chunks/{mime-hafkgw1r.js → workspace-a8gf35f3.js} +6 -6
- package/dist/chunks/{mime-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-809q4hne.js → workspace-af04s6ss.js} +5 -5
- package/dist/chunks/{mime-y93b664k.js → workspace-afed7ext.js} +12 -12
- package/dist/chunks/{mime-ze42ap7x.js → workspace-ahp2gs6p.js} +20 -20
- package/dist/chunks/{mime-asnx69vs.js → workspace-an4batsq.js} +42 -42
- package/dist/chunks/{mime-bdkgyfqw.js → workspace-as89bwzh.js} +6 -6
- package/dist/chunks/{mime-jc90xm0c.js → workspace-av3tbz7h.js} +16 -16
- package/dist/chunks/{mime-0d46t3ec.js → workspace-aw1jas3v.js} +25 -25
- package/dist/chunks/{mime-9182tnph.js → workspace-b0z85by2.js} +13 -13
- package/dist/chunks/workspace-b18pqbx3.js +26 -0
- package/dist/chunks/{mime-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-z88nfd5r.js → workspace-b7gemn6d.js} +9 -9
- package/dist/chunks/{mime-hn1syae9.js → workspace-bags37mz.js} +15 -15
- package/dist/chunks/{mime-cewa3bgj.js → workspace-bkymrhgh.js} +26 -26
- package/dist/chunks/{mime-ge40smna.js → workspace-brg2881f.js} +8 -8
- package/dist/chunks/{mime-pw9v3g6d.js → workspace-c5pd54gy.js} +5 -5
- package/dist/chunks/{mime-ynp8b50y.js → workspace-cg3j3sj2.js} +8 -8
- package/dist/chunks/{mime-78w2c962.js → workspace-ch351t34.js} +6 -6
- package/dist/chunks/{mime-54tcyq79.js → workspace-ckecvw8r.js} +2 -2
- package/dist/chunks/{mime-7kjdg552.js → workspace-cm793v40.js} +22 -22
- package/dist/chunks/{mime-31sg0ebh.js → workspace-cxc1f4sh.js} +5 -5
- package/dist/chunks/{mime-yke98s4n.js → workspace-d5jmfkqv.js} +11 -11
- package/dist/chunks/{mime-8jk8106t.js → workspace-d5t0ryg1.js} +1 -1
- package/dist/chunks/{mime-are8fj85.js → workspace-d6e8xd99.js} +11 -11
- package/dist/chunks/{mime-55g0mqff.js → workspace-d762xrq4.js} +324 -324
- package/dist/chunks/{mime-2h9zfskj.js → workspace-d8q4jj3q.js} +21 -21
- package/dist/chunks/{mime-1v7wv6cb.js → workspace-dbdfkxme.js} +19 -19
- package/dist/chunks/{mime-hdax66s1.js → workspace-dfgaaeg0.js} +12 -12
- package/dist/chunks/{mime-6bfgxdxy.js → workspace-dgr42h9h.js} +3 -3
- package/dist/chunks/{mime-dqmwfghx.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{mime-08rawchj.js → workspace-dm1py9b3.js} +3 -3
- package/dist/chunks/{mime-5q7w5dw4.js → workspace-dp1rnrcc.js} +22 -22
- package/dist/chunks/{mime-s9ebk3qw.js → workspace-dtjvj8dv.js} +32 -32
- package/dist/chunks/{mime-azt1av7k.js → workspace-e7gqmxbr.js} +13 -13
- package/dist/chunks/{mime-ecfe7b91.js → workspace-ecfe7b91.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-8m4waq6v.js → workspace-emfscqt4.js} +33 -33
- package/dist/chunks/{mime-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-94s48bjb.js → workspace-ex0pka66.js} +5 -5
- package/dist/chunks/{mime-94wan21z.js → workspace-f6eyqz7h.js} +25 -25
- package/dist/chunks/workspace-f79kc9pj.js +252 -0
- package/dist/chunks/{mime-std33n5a.js → workspace-fhbpyr5f.js} +5 -5
- package/dist/chunks/{mime-rhxgy7qf.js → workspace-fmfg6twz.js} +8 -8
- package/dist/chunks/{mime-mebn6vhz.js → workspace-g373kk4k.js} +8 -8
- package/dist/chunks/{mime-vtw4ex8e.js → workspace-g38ra9vv.js} +5 -5
- package/dist/chunks/{mime-e1hq19dm.js → workspace-g6km6r9m.js} +24 -24
- package/dist/chunks/{mime-f38wsw69.js → workspace-g84cjvn9.js} +2 -2
- package/dist/chunks/{mime-abtzwxnt.js → workspace-gd0ajznh.js} +44 -44
- package/dist/chunks/{mime-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-bbq3sp3s.js → workspace-gg7e4432.js} +5 -5
- package/dist/chunks/{mime-9m1c9bc6.js → workspace-gj9znxmq.js} +19 -19
- package/dist/chunks/{mime-fzj3093f.js → workspace-gnh8e0g9.js} +8 -8
- package/dist/chunks/{mime-a2qe2ev9.js → workspace-gs3s1a1g.js} +8 -8
- package/dist/chunks/{mime-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-zdpjdk6q.js → workspace-gx70k8vt.js} +49 -49
- package/dist/chunks/{mime-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-2hev1hmr.js → workspace-ha1a9vn7.js} +46 -46
- package/dist/chunks/{mime-a1gftt2j.js → workspace-haztpmzc.js} +4 -4
- package/dist/chunks/{mime-jgjn4qh1.js → workspace-hf1pa3fg.js} +11 -11
- package/dist/chunks/{mime-vzp4eea0.js → workspace-hh91cbnw.js} +16 -16
- package/dist/chunks/{mime-1jt2n6st.js → workspace-hpgrj06s.js} +27 -27
- package/dist/chunks/{mime-j301k1rd.js → workspace-hvcd2htz.js} +34 -34
- package/dist/chunks/{mime-bwz9kms9.js → workspace-j14xg3fh.js} +14 -14
- package/dist/chunks/{mime-a9jk16wk.js → workspace-j2gahf3s.js} +24 -24
- package/dist/chunks/{mime-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-tpztfyyv.js → workspace-j9qb7fb2.js} +14 -14
- package/dist/chunks/{mime-vt9gyxc5.js → workspace-jcr6t940.js} +11 -11
- package/dist/chunks/{mime-bf61bssj.js → workspace-jfb6jrkz.js} +27 -27
- package/dist/chunks/{mime-p4terpsa.js → workspace-jj3wfm74.js} +4 -4
- package/dist/chunks/{mime-nq7qbqzc.js → workspace-jjs74g98.js} +9 -9
- package/dist/chunks/{mime-v5ga0sqk.js → workspace-jxma9bgh.js} +29 -29
- package/dist/chunks/{mime-nzks3jc8.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{mime-1mtadfea.js → workspace-k51mr0ff.js} +36 -36
- package/dist/chunks/{mime-44pdqs77.js → workspace-kb6gw2zp.js} +4 -4
- package/dist/chunks/{mime-haceje86.js → workspace-kecz6zd2.js} +15 -15
- package/dist/chunks/{mime-mtkvqbm7.js → workspace-khc6q2z0.js} +20 -20
- package/dist/chunks/{mime-j5behb2c.js → workspace-kjtsr4k8.js} +15 -15
- package/dist/chunks/{mime-3nw8wjd1.js → workspace-kqs8v9eh.js} +4 -4
- package/dist/chunks/{mime-gf1x9zt8.js → workspace-ktnepc1b.js} +65 -65
- package/dist/chunks/{mime-tn1saqyh.js → workspace-kxar1n7f.js} +11 -11
- package/dist/chunks/{mime-pct1c8gm.js → workspace-kzc3h1h3.js} +4 -4
- package/dist/chunks/{mime-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-tq0k68j4.js → workspace-m4c0hmgr.js} +24 -24
- package/dist/chunks/{mime-eyhtqccb.js → workspace-m6q4hanw.js} +9 -9
- package/dist/chunks/{mime-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-t3mrdfz4.js → workspace-maq8crnd.js} +14 -14
- package/dist/chunks/{mime-fnf5adsy.js → workspace-megef7mv.js} +12 -12
- package/dist/chunks/{mime-1ygqh575.js → workspace-mfqp6xfm.js} +6 -6
- package/dist/chunks/{mime-24bqy9wh.js → workspace-mgmaefw5.js} +5 -5
- package/dist/chunks/{mime-yzs15tep.js → workspace-mh8yxg4b.js} +12 -12
- package/dist/chunks/{mime-n46yc5jk.js → workspace-mmdjb5nv.js} +15 -15
- package/dist/chunks/{mime-bhwmvv2r.js → workspace-mmjzft12.js} +2 -2
- package/dist/chunks/{mime-73tb2d7t.js → workspace-mvfsc1pv.js} +3 -3
- package/dist/chunks/{mime-hv63nw24.js → workspace-n01j6b4q.js} +24 -24
- package/dist/chunks/{mime-k1qrnqst.js → workspace-n9k80d2m.js} +8 -8
- package/dist/chunks/{mime-8xtwbd7n.js → workspace-nak702g0.js} +23 -23
- package/dist/chunks/{mime-bkc1xbmh.js → workspace-ngtcg17t.js} +8 -8
- package/dist/chunks/{mime-9vy5z0j9.js → workspace-p234cjcc.js} +9 -9
- package/dist/chunks/{mime-d4ht8xn7.js → workspace-p391mv5r.js} +7 -7
- package/dist/chunks/{mime-4tg3npcq.js → workspace-p9pevwxx.js} +25 -25
- package/dist/chunks/{mime-0qtc3cks.js → workspace-pcfn9t39.js} +11 -11
- package/dist/chunks/{mime-zw8a836n.js → workspace-pe7kch95.js} +31 -31
- package/dist/chunks/{mime-35w82194.js → workspace-pghjyxz3.js} +11 -11
- package/dist/chunks/{mime-adxscsa6.js → workspace-ph33e0th.js} +26 -26
- package/dist/chunks/{mime-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{mime-qq11w61w.js → workspace-pmr4s4kc.js} +4 -4
- package/dist/chunks/{mime-4az0ap15.js → workspace-pp4y3v5z.js} +5 -5
- package/dist/chunks/{mime-5eb3a1ca.js → workspace-pz73s8hm.js} +12 -12
- package/dist/chunks/{mime-rnakma6c.js → workspace-q5c722pm.js} +27 -27
- package/dist/chunks/{mime-a46v4e4v.js → workspace-qa3qhgw8.js} +4 -4
- package/dist/chunks/{mime-kt6f47v4.js → workspace-qdn0q154.js} +35 -35
- package/dist/chunks/{mime-cp33fe45.js → workspace-qhac4xeb.js} +18 -18
- package/dist/chunks/{mime-fysazz09.js → workspace-qkf6gvgz.js} +11 -11
- package/dist/chunks/{mime-mp7ts3gd.js → workspace-qs3fdmq5.js} +8 -8
- package/dist/chunks/{mime-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-f673fv72.js → workspace-qsnec2sf.js} +6 -6
- package/dist/chunks/{mime-wc73zry6.js → workspace-r8p8ps6c.js} +11 -11
- package/dist/chunks/workspace-rap9a73h.js +18 -0
- package/dist/chunks/{mime-gmn4g1vm.js → workspace-rc2sfy9r.js} +13 -13
- package/dist/chunks/{mime-tfswnq6h.js → workspace-rcce6csd.js} +29 -29
- package/dist/chunks/{mime-12hgr1bm.js → workspace-rd66r63n.js} +3 -3
- package/dist/chunks/{mime-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-g7cpb448.js → workspace-re831bdp.js} +34 -34
- package/dist/chunks/{mime-7d4sap7d.js → workspace-rk2t49m6.js} +34 -34
- package/dist/chunks/{mime-f9pj28cm.js → workspace-rsczgrzb.js} +2 -2
- package/dist/chunks/{mime-4z58m4b4.js → workspace-rywzfdxh.js} +4 -4
- package/dist/chunks/{mime-e4g6rnfs.js → workspace-s1kmd63q.js} +17 -17
- package/dist/chunks/{mime-wdk9k2gs.js → workspace-sctspsp8.js} +16 -16
- package/dist/chunks/{mime-n8c291r7.js → workspace-spt9fbav.js} +6 -6
- package/dist/chunks/{mime-h03px39b.js → workspace-sqsaqrgg.js} +32 -32
- package/dist/chunks/{mime-ewgg2vfd.js → workspace-sw8qz8bf.js} +40 -40
- package/dist/chunks/{mime-81hwre94.js → workspace-szh3vrax.js} +9 -9
- package/dist/chunks/{mime-fyqp1ang.js → workspace-t5m8v8y6.js} +10 -10
- package/dist/chunks/{mime-a9b0w8ke.js → workspace-t7h3wj9w.js} +44 -44
- package/dist/chunks/{mime-42e3yd9q.js → workspace-t7m81bzt.js} +22 -22
- package/dist/chunks/{mime-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{mime-na461qmw.js → workspace-tt5smvf2.js} +9 -9
- package/dist/chunks/{mime-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-hcb6asbt.js → workspace-vasrcznk.js} +19 -19
- package/dist/chunks/{mime-zzrjpn9x.js → workspace-vekn316g.js} +21 -21
- package/dist/chunks/{mime-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-2gfh4smv.js → workspace-vfbvqc9n.js} +15 -15
- package/dist/chunks/{mime-5ypay5ec.js → workspace-vp6c7j34.js} +40 -40
- package/dist/chunks/{mime-r8rm2ttn.js → workspace-vyaa4tze.js} +6 -6
- package/dist/chunks/{mime-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-1cnmjpf3.js → workspace-w0cm7t4f.js} +75 -75
- package/dist/chunks/{mime-nazh9js1.js → workspace-w19bbebh.js} +3 -3
- package/dist/chunks/{mime-84txncab.js → workspace-w1eejvng.js} +5 -5
- package/dist/chunks/{mime-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-py3kkmfq.js → workspace-w92k2e0p.js} +8 -8
- package/dist/chunks/{mime-ytqnsxqy.js → workspace-wbbhybet.js} +20 -20
- package/dist/chunks/{mime-psazpmmj.js → workspace-wd3x2cqz.js} +2 -2
- package/dist/chunks/{mime-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{mime-784hb5j4.js → workspace-wgtcm0m7.js} +4 -4
- package/dist/chunks/{mime-sv1q03nr.js → workspace-wj2j7jcc.js} +11 -11
- package/dist/chunks/{mime-h6nxw0pd.js → workspace-wpm2rk0p.js} +8 -8
- package/dist/chunks/{mime-451p6gb0.js → workspace-wysdjmt2.js} +17 -17
- package/dist/chunks/{mime-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-ygsx1bjn.js → workspace-x2k3yq52.js} +16 -16
- package/dist/chunks/{mime-emq6k8s5.js → workspace-x3b45c7h.js} +30 -30
- package/dist/chunks/{mime-9tm41fxb.js → workspace-x4jv5vb5.js} +21 -21
- package/dist/chunks/{mime-dj2whpbc.js → workspace-x4z0ydwa.js} +15 -15
- package/dist/chunks/{mime-dnxkq42g.js → workspace-x661k3y3.js} +4 -4
- package/dist/chunks/{mime-0vrkqtc8.js → workspace-xd4155nf.js} +16 -16
- package/dist/chunks/{mime-ejndsc2m.js → workspace-xgjcsjr6.js} +34 -34
- package/dist/chunks/{mime-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-3pwk07sq.js → workspace-xmsrnx3p.js} +32 -32
- package/dist/chunks/{mime-w07y5snj.js → workspace-xnj1nhcy.js} +24 -24
- package/dist/chunks/{mime-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-dpkg50ah.js → workspace-y71avatq.js} +4 -4
- package/dist/chunks/{mime-zsm3phbg.js → workspace-y7x142mt.js} +11 -11
- package/dist/chunks/{mime-xyhkgzn6.js → workspace-y86ytwkf.js} +17 -17
- package/dist/chunks/{mime-x0g5kz9f.js → workspace-yjgm4wcb.js} +175 -173
- package/dist/chunks/{mime-yp2x3t23.js → workspace-yp2x3t23.js} +1 -1
- package/dist/chunks/{mime-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-x43z2jw0.js → workspace-ywwxwnda.js} +13 -13
- package/dist/chunks/{mime-sx8nx28h.js → workspace-yzrz4qk4.js} +19 -19
- package/dist/chunks/{mime-bjtzbw4r.js → workspace-z07pqspn.js} +3 -3
- package/dist/chunks/{mime-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-29x78va6.js → workspace-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-pp173efe.js → workspace-zf1fk0v2.js} +11 -11
- package/dist/chunks/{mime-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +85 -85
- 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 +105 -105
- 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 +91 -91
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- 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 +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- 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 +88 -88
- 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 +4 -4
- 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 +95 -95
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +149 -149
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +126 -126
- package/dist/session/projector.js +84 -84
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +5 -5
- package/dist/session/session.js +170 -170
- 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 +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- 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 +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +3 -3
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-ep6xxngp.js +0 -252
- package/dist/chunks/mime-gez9rmx3.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info18,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info18, exports_lsp };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-mmjzft12.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-4m6nhjq1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin27 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service80;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin27, exports_hg };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-2w78a64w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-xmsrnx3p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function 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(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.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
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./workspace-afed7ext.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-mmjzft12.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service47,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node49,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,18 +36,18 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service47 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node49 = makeLocationNode({
|
|
144
|
+
service: Service47,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error2, Service47, node49, noopLayer3, exports_snapshot2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./workspace-6hdpv820.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./workspace-hh91cbnw.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./workspace-wd3x2cqz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-z07pqspn.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./workspace-g6km6r9m.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./workspace-wgtcm0m7.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./workspace-bags37mz.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./workspace-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./workspace-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
280
|
-
const db = (yield*
|
|
279
|
+
const bus = yield* Service83;
|
|
280
|
+
const db = (yield* Service84).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
283
283
|
id: event.data.sessionID,
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [
|
|
462
|
+
var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
464
|
export { SessionAlreadyProjected2, node30, exports_projector };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./workspace-hh91cbnw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node73
|
|
8
|
+
} from "./workspace-q5c722pm.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-mmdjb5nv.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service80,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-mmjzft12.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-p234cjcc.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node67
|
|
27
|
+
} from "./workspace-609adeff.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service24,
|
|
30
|
+
node27
|
|
31
|
+
} from "./workspace-maq8crnd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service23,
|
|
41
|
+
node: () => node26
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service23 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
50
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
52
|
const location = yield* Service80;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service64;
|
|
54
|
+
const forms = yield* Service70;
|
|
55
|
+
const rpc = yield* Service24;
|
|
56
56
|
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service23.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node26 = makeLocationNode({
|
|
84
|
+
service: Service23,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node84, node67, node85, node73, node27]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service23, node26, exports_location_lifecycle };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./workspace-hh91cbnw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Service: () => Service46,
|
|
21
21
|
layer: () => layer18,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node48
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError3 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var layer18 = Layer.effect(
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service46.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError3({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
74
|
+
var node48 = makeLocationNode({
|
|
75
|
+
service: Service46,
|
|
76
76
|
layer: layer18,
|
|
77
|
-
deps: [
|
|
77
|
+
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError3, ExecutionError2, Service46, layer18, node48, exports_command4, Event7 };
|