@opencode-ai/core 0.0.0-beta-18387 → 0.0.0-beta-18593
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{project-02dbfq60.js → persistent-pty-02dbfq60.js} +1 -1
- package/dist/chunks/{project-vcx09kjb.js → persistent-pty-02s8hgfb.js} +5 -5
- package/dist/chunks/{project-ztjk4rav.js → persistent-pty-0687t5rp.js} +5 -5
- package/dist/chunks/{project-9f249168.js → persistent-pty-0dfzjmdz.js} +25 -25
- package/dist/chunks/{project-7thnevmq.js → persistent-pty-0gcqkg3x.js} +3 -4
- package/dist/chunks/{project-0kvmztkf.js → persistent-pty-0kvmztkf.js} +1 -1
- package/dist/chunks/{project-nvbw3dns.js → persistent-pty-0tya1wfq.js} +3 -3
- package/dist/chunks/persistent-pty-0xkrc3c3.js +126 -0
- package/dist/chunks/{project-7gqqz1s8.js → persistent-pty-10p29vm9.js} +2 -2
- package/dist/chunks/{project-de3g1gpb.js → persistent-pty-12pms3sx.js} +7 -8
- package/dist/chunks/{project-999qd968.js → persistent-pty-15hpbjb6.js} +4 -4
- package/dist/chunks/{project-18pv8fg3.js → persistent-pty-18pv8fg3.js} +2 -2
- package/dist/chunks/{project-56tj48z7.js → persistent-pty-1xq8v1tm.js} +7 -7
- package/dist/chunks/{project-kpvfv19m.js → persistent-pty-22h5xaqn.js} +10 -7
- package/dist/chunks/{project-zetp0g5z.js → persistent-pty-264e1nfp.js} +16 -27
- package/dist/chunks/{project-bmknfyv0.js → persistent-pty-2knkewgs.js} +5 -5
- package/dist/chunks/persistent-pty-2kyxeqh2.js +33 -0
- package/dist/chunks/{project-2m0hgr65.js → persistent-pty-2m0hgr65.js} +1 -1
- package/dist/chunks/{project-2nmyybe0.js → persistent-pty-2nmyybe0.js} +1 -1
- package/dist/chunks/{project-2wds5nk3.js → persistent-pty-2wds5nk3.js} +1 -1
- package/dist/chunks/{project-d406hwse.js → persistent-pty-2wsc5t7f.js} +2 -2
- package/dist/chunks/{project-3qj9jcya.js → persistent-pty-318s80v9.js} +5 -5
- package/dist/chunks/{project-9hhhwjb6.js → persistent-pty-31t50p8f.js} +7 -7
- package/dist/chunks/{project-vycjsnjm.js → persistent-pty-37ng30jt.js} +11 -6
- package/dist/chunks/{project-k42t1tha.js → persistent-pty-393a352g.js} +2 -2
- package/dist/chunks/{project-3g8vftxb.js → persistent-pty-3g8vftxb.js} +2 -2
- package/dist/chunks/{project-70xksvhs.js → persistent-pty-3mn74f4q.js} +21 -24
- package/dist/chunks/{project-3qv8nf0b.js → persistent-pty-3qv8nf0b.js} +1 -1
- package/dist/chunks/{project-zztghhyy.js → persistent-pty-3sj8e5dd.js} +8 -11
- package/dist/chunks/{project-3thh6229.js → persistent-pty-3thh6229.js} +2 -2
- package/dist/chunks/{project-taeshe6q.js → persistent-pty-3x0b9mtx.js} +7 -7
- package/dist/chunks/{project-6fxwm8sg.js → persistent-pty-3xa942qf.js} +10 -10
- package/dist/chunks/{project-2f2nw00g.js → persistent-pty-4fpv6vze.js} +12 -9
- package/dist/chunks/{project-0j3q9xkr.js → persistent-pty-4n5anbj9.js} +3 -3
- package/dist/chunks/{project-4s2xwh5d.js → persistent-pty-4s2xwh5d.js} +3 -3
- package/dist/chunks/{project-hd1rgdxr.js → persistent-pty-4szn0afa.js} +10 -11
- package/dist/chunks/{project-kbbbjrn0.js → persistent-pty-4vx29khk.js} +6 -6
- package/dist/chunks/{project-4zzdwbaz.js → persistent-pty-4zzdwbaz.js} +2 -2
- package/dist/chunks/{project-50jxp3hw.js → persistent-pty-50jxp3hw.js} +1 -1
- package/dist/chunks/{project-ehktr312.js → persistent-pty-513bkrxw.js} +3 -3
- package/dist/chunks/{project-5z4zwtb4.js → persistent-pty-57ej80dx.js} +6 -5
- package/dist/chunks/{project-57tzwnz4.js → persistent-pty-57tzwnz4.js} +1 -1
- package/dist/chunks/{project-58xdvehb.js → persistent-pty-58xdvehb.js} +1 -1
- package/dist/chunks/{project-dsgsf6t8.js → persistent-pty-5b7b3wgr.js} +6 -6
- package/dist/chunks/{project-5cdnkd94.js → persistent-pty-5cdnkd94.js} +3 -3
- package/dist/chunks/{project-5fe026tx.js → persistent-pty-5fe026tx.js} +3 -3
- package/dist/chunks/{project-5rs65q6p.js → persistent-pty-5rs65q6p.js} +1 -1
- package/dist/chunks/{project-5vcssjzn.js → persistent-pty-5vcssjzn.js} +1 -1
- package/dist/chunks/{project-6272rtjg.js → persistent-pty-6272rtjg.js} +1 -1
- package/dist/chunks/{project-mqqvpcq4.js → persistent-pty-68wbtxd0.js} +155 -155
- package/dist/chunks/{project-txf013zk.js → persistent-pty-68ypegzg.js} +5 -5
- package/dist/chunks/{project-yfqpw9zc.js → persistent-pty-6d0q94xv.js} +7 -7
- package/dist/chunks/{project-qy4nss8j.js → persistent-pty-6dfpv9a6.js} +3 -3
- package/dist/chunks/{project-6ky7rqk7.js → persistent-pty-6ky7rqk7.js} +1 -1
- package/dist/chunks/{project-7vg519fb.js → persistent-pty-6nthn2wf.js} +5 -5
- package/dist/chunks/{project-6wkzvma0.js → persistent-pty-6wkzvma0.js} +2 -2
- package/dist/chunks/{project-75h1hfe2.js → persistent-pty-75h1hfe2.js} +2 -2
- package/dist/chunks/{project-js0s00qy.js → persistent-pty-76wzch5c.js} +42 -47
- package/dist/chunks/{project-y6702ndx.js → persistent-pty-7f6z5n6f.js} +4 -4
- package/dist/chunks/{project-fzmr1kdy.js → persistent-pty-7hq60rpc.js} +15 -15
- package/dist/chunks/{project-7khw64yh.js → persistent-pty-7khw64yh.js} +1 -1
- package/dist/chunks/{project-7mrpdsq5.js → persistent-pty-7mrpdsq5.js} +1 -1
- package/dist/chunks/{project-7wcmqxrc.js → persistent-pty-7wcmqxrc.js} +1 -1
- package/dist/chunks/{project-rameyvmv.js → persistent-pty-83ba1yz6.js} +5 -11
- package/dist/chunks/{project-xvk4yk4s.js → persistent-pty-83vcrt0q.js} +8 -8
- package/dist/chunks/{project-mkqy0gf0.js → persistent-pty-854jnr3z.js} +10 -8
- package/dist/chunks/{project-tkcv9emb.js → persistent-pty-85s0s238.js} +3 -3
- package/dist/chunks/{project-t86111fa.js → persistent-pty-8a0sxteh.js} +11 -12
- package/dist/chunks/{project-mb0mcgky.js → persistent-pty-8a4hfbqs.js} +9 -8
- package/dist/chunks/{project-5dkj9jex.js → persistent-pty-8dqs26x1.js} +6 -6
- package/dist/chunks/{project-ggwv3nzk.js → persistent-pty-8hsta5jz.js} +89 -89
- package/dist/chunks/{project-0p8g4tc4.js → persistent-pty-8n5xz4y2.js} +4 -4
- package/dist/chunks/{project-8pngjawd.js → persistent-pty-8pngjawd.js} +2 -2
- package/dist/chunks/{project-jt8kmcaa.js → persistent-pty-9507whzk.js} +3 -3
- package/dist/chunks/{project-9f0rnpkn.js → persistent-pty-9f0rnpkn.js} +1 -1
- package/dist/chunks/{project-86x1mnp7.js → persistent-pty-9kqpqjvx.js} +2 -2
- package/dist/chunks/{project-gqn2zsfg.js → persistent-pty-9maxscqf.js} +134 -52
- package/dist/chunks/{project-e6atjbt4.js → persistent-pty-9xg84z6j.js} +4 -4
- package/dist/chunks/{project-bd7yndfd.js → persistent-pty-a0ys31qc.js} +12 -12
- package/dist/chunks/{project-v7mh9m05.js → persistent-pty-a25nnbkb.js} +29 -83
- package/dist/chunks/{project-wxv7hsvv.js → persistent-pty-a7xc44k8.js} +4 -4
- package/dist/chunks/{project-d55ah2nc.js → persistent-pty-agy32ytt.js} +3 -3
- package/dist/chunks/{project-32f3grv8.js → persistent-pty-aj1419k0.js} +6 -6
- package/dist/chunks/{project-cqwe0zy2.js → persistent-pty-aj48n7zh.js} +3 -3
- package/dist/chunks/{project-cx7n25xa.js → persistent-pty-arfafmgx.js} +4 -4
- package/dist/chunks/{project-awg5d31a.js → persistent-pty-awg5d31a.js} +1 -1
- package/dist/chunks/{project-mkaeg0rc.js → persistent-pty-ayrkq19e.js} +17 -13
- package/dist/chunks/{project-fkwnpnbc.js → persistent-pty-b11hynfv.js} +3 -3
- package/dist/chunks/{project-8nphtxqs.js → persistent-pty-b1rr41z2.js} +10 -10
- package/dist/chunks/{project-1vzxtn3p.js → persistent-pty-b4gc6pz2.js} +50 -45
- package/dist/chunks/{project-4y8apnnd.js → persistent-pty-b7tctcvf.js} +6 -9
- package/dist/chunks/{project-6fhdrzhr.js → persistent-pty-b9k0650j.js} +3 -3
- package/dist/chunks/{project-csrx180a.js → persistent-pty-bbhffenw.js} +9 -5
- package/dist/chunks/{project-bh1wr8rq.js → persistent-pty-bh1wr8rq.js} +2 -2
- package/dist/chunks/{project-mbbvc7tp.js → persistent-pty-bk1nj3vy.js} +7 -7
- package/dist/chunks/{project-x33dyhcx.js → persistent-pty-bm9ah9hr.js} +5 -5
- package/dist/chunks/{project-ymjrx39x.js → persistent-pty-by5251yx.js} +20 -18
- package/dist/chunks/{project-byab506k.js → persistent-pty-byab506k.js} +1 -1
- package/dist/chunks/{project-f3cfbmnf.js → persistent-pty-bysvf6ep.js} +3 -3
- package/dist/chunks/{project-c4wcb9vc.js → persistent-pty-c4wcb9vc.js} +2 -2
- package/dist/chunks/{project-88jbfw8z.js → persistent-pty-c8ya26sa.js} +4 -4
- package/dist/chunks/{project-yvm8e5zy.js → persistent-pty-caycsp33.js} +2 -2
- package/dist/chunks/{project-5ev0hagv.js → persistent-pty-chdf1j2d.js} +6 -6
- package/dist/chunks/{project-rzd353vk.js → persistent-pty-ckw7ggwg.js} +12 -12
- package/dist/chunks/{project-fm2nfar1.js → persistent-pty-cqf8rezx.js} +8 -8
- package/dist/chunks/{project-cgjhhpfw.js → persistent-pty-cznxnepa.js} +8 -12
- package/dist/chunks/{project-d2gk9vpf.js → persistent-pty-d2gk9vpf.js} +2 -2
- package/dist/chunks/{project-bc5dx6ta.js → persistent-pty-d2k1eqgv.js} +6 -6
- package/dist/chunks/{project-nesb2rcz.js → persistent-pty-d4h7vwhh.js} +2 -2
- package/dist/chunks/{project-m9g7vbdc.js → persistent-pty-d88p9jy9.js} +6 -6
- package/dist/chunks/{project-dhphtf1x.js → persistent-pty-dhphtf1x.js} +1 -1
- package/dist/chunks/{project-crcfx7c6.js → persistent-pty-dmnn2ttb.js} +19 -13
- package/dist/chunks/{project-j0yk5xzn.js → persistent-pty-dssj2s1h.js} +23 -24
- package/dist/chunks/{project-e1z9a0ts.js → persistent-pty-e1z9a0ts.js} +2 -2
- package/dist/chunks/{project-ec8vrfw5.js → persistent-pty-ec8vrfw5.js} +1 -1
- package/dist/chunks/{project-skmdv22a.js → persistent-pty-edmk8q4v.js} +7 -9
- package/dist/chunks/{project-pdp9vdkd.js → persistent-pty-eeta29b7.js} +4 -4
- package/dist/chunks/persistent-pty-egt387mf.js +187 -0
- package/dist/chunks/{project-enpg66yn.js → persistent-pty-enpg66yn.js} +1 -1
- package/dist/chunks/persistent-pty-ep35cpen.js +32 -0
- package/dist/chunks/{project-sqsackq5.js → persistent-pty-ext14ctb.js} +56 -80
- package/dist/chunks/{project-djtxvcnb.js → persistent-pty-ey12fzze.js} +6 -9
- package/dist/chunks/{project-27jjns4j.js → persistent-pty-f01b69za.js} +13 -13
- package/dist/chunks/{project-drean1vx.js → persistent-pty-f1jj19e8.js} +1 -1
- package/dist/chunks/{project-4ngx5mmk.js → persistent-pty-f74fncf5.js} +5 -5
- package/dist/chunks/{project-f7q7a28y.js → persistent-pty-f7q7a28y.js} +4 -4
- package/dist/chunks/{project-f9wt0tjw.js → persistent-pty-f9wt0tjw.js} +2 -2
- package/dist/chunks/{project-fb7nfzf2.js → persistent-pty-fb7nfzf2.js} +3 -3
- package/dist/chunks/{project-fj7j2b3f.js → persistent-pty-fbnkj2ks.js} +9 -9
- package/dist/chunks/{project-4e7fkx2j.js → persistent-pty-fck3954k.js} +8 -8
- package/dist/chunks/{project-fgyjabww.js → persistent-pty-fgyjabww.js} +2 -2
- package/dist/chunks/persistent-pty-fm2xjscy.js +304 -0
- package/dist/chunks/{project-ybhfpy64.js → persistent-pty-fm3b2wbt.js} +4 -6
- package/dist/chunks/{project-skw8v6gh.js → persistent-pty-g01v88ve.js} +13 -14
- package/dist/chunks/{project-wwd7emcy.js → persistent-pty-g2tg9rrx.js} +1 -1
- package/dist/chunks/{project-mh28new4.js → persistent-pty-gb1z7yet.js} +2 -2
- package/dist/chunks/{project-gcay93cp.js → persistent-pty-gcay93cp.js} +1 -1
- package/dist/chunks/{project-gd2xppx8.js → persistent-pty-gd2xppx8.js} +1 -1
- package/dist/chunks/{project-h12kt9pa.js → persistent-pty-h12kt9pa.js} +2 -2
- package/dist/chunks/{project-r1c3r2q5.js → persistent-pty-h40g2pf4.js} +5 -5
- package/dist/chunks/{project-mqnm4bmb.js → persistent-pty-h7dqnnw7.js} +10 -10
- package/dist/chunks/{project-h94zdhz8.js → persistent-pty-h94zdhz8.js} +2 -2
- package/dist/chunks/{project-sq000y3g.js → persistent-pty-hg1dj728.js} +3 -3
- package/dist/chunks/{project-8m11m4e9.js → persistent-pty-hggmzd1z.js} +19 -29
- package/dist/chunks/{project-gz5f51ks.js → persistent-pty-hjndjhyq.js} +3 -3
- package/dist/chunks/{project-hp6rpdnc.js → persistent-pty-hp6rpdnc.js} +1 -1
- package/dist/chunks/{project-3exk6c8a.js → persistent-pty-hs1p9dz7.js} +10 -10
- package/dist/chunks/persistent-pty-j32vdj8r.js +16 -0
- package/dist/chunks/{project-4bpp3tz5.js → persistent-pty-j39d0gcp.js} +16 -18
- package/dist/chunks/{project-fzp6ntht.js → persistent-pty-j8t12rx3.js} +17 -9
- package/dist/chunks/{project-ppjzdvsh.js → persistent-pty-jm9yfqhv.js} +3 -11
- package/dist/chunks/{project-awwcqzj5.js → persistent-pty-jmn1sgkw.js} +7 -7
- package/dist/chunks/{project-k4w3wsd5.js → persistent-pty-jmntmgq9.js} +35 -39
- package/dist/chunks/{project-cezw36z8.js → persistent-pty-jn3nfbk7.js} +2 -2
- package/dist/chunks/{project-7fr2g77j.js → persistent-pty-jp7a1crg.js} +7 -7
- package/dist/chunks/{project-ck5pgha0.js → persistent-pty-jqms80b0.js} +2 -2
- package/dist/chunks/{project-qxp8yvck.js → persistent-pty-jrzh7nr2.js} +4 -4
- package/dist/chunks/{project-wjypv8r3.js → persistent-pty-ke19p6qk.js} +6 -9
- package/dist/chunks/{project-kg1345f7.js → persistent-pty-kg1345f7.js} +1 -1
- package/dist/chunks/{project-kp1t5rcy.js → persistent-pty-kp1t5rcy.js} +1 -1
- package/dist/chunks/{project-krsqcmnj.js → persistent-pty-krsqcmnj.js} +1 -1
- package/dist/chunks/{project-gpybhmhb.js → persistent-pty-krzvywyt.js} +6 -6
- package/dist/chunks/{project-rt37qqhk.js → persistent-pty-kt491qp2.js} +9 -11
- package/dist/chunks/{project-xfdr1rzh.js → persistent-pty-kxet89mv.js} +3 -3
- package/dist/chunks/{project-m55whf0h.js → persistent-pty-m55whf0h.js} +2 -2
- package/dist/chunks/{project-q28mzdb8.js → persistent-pty-m6kd9m0n.js} +5 -5
- package/dist/chunks/{project-yc2vxtaa.js → persistent-pty-mankezgy.js} +93 -35
- package/dist/chunks/{project-cdyja1rk.js → persistent-pty-mctnftah.js} +6 -6
- package/dist/chunks/{project-m3xhkz0r.js → persistent-pty-mdbd9v7n.js} +23 -17
- package/dist/chunks/{project-mf0hyk7z.js → persistent-pty-mf0hyk7z.js} +1 -1
- package/dist/chunks/{project-91x65vsv.js → persistent-pty-mjkw59em.js} +8 -8
- package/dist/chunks/{project-mnb85w6b.js → persistent-pty-mnb85w6b.js} +2 -2
- package/dist/chunks/{project-whk0g8cz.js → persistent-pty-mxjff6xk.js} +10 -5
- package/dist/chunks/{project-mxvw03gv.js → persistent-pty-mxvw03gv.js} +1 -1
- package/dist/chunks/{project-xt0068v8.js → persistent-pty-n6ag8q95.js} +19 -23
- package/dist/chunks/{project-k9s98avy.js → persistent-pty-n8twstac.js} +37 -39
- package/dist/chunks/{project-h9c8w22v.js → persistent-pty-ngph9rhx.js} +13 -13
- package/dist/chunks/{project-nr76rjj3.js → persistent-pty-nr76rjj3.js} +2 -2
- package/dist/chunks/{project-y980s7ka.js → persistent-pty-ns0sdez7.js} +5 -5
- package/dist/chunks/{project-gz9cds71.js → persistent-pty-nt76vjs4.js} +6 -6
- package/dist/chunks/{project-nzrjycs5.js → persistent-pty-nzrjycs5.js} +1 -1
- package/dist/chunks/{project-akppyv5r.js → persistent-pty-p91cgptf.js} +4 -4
- package/dist/chunks/{project-k417vscg.js → persistent-pty-pp6dntfs.js} +7 -7
- package/dist/chunks/{project-pq4b4pqk.js → persistent-pty-pq4b4pqk.js} +2 -2
- package/dist/chunks/{project-sf08ck76.js → persistent-pty-q1jag6n4.js} +121 -99
- package/dist/chunks/{project-ym31qssr.js → persistent-pty-q22ck3r9.js} +9 -9
- package/dist/chunks/{project-bnh2cn12.js → persistent-pty-q3p77hqf.js} +9 -14
- package/dist/chunks/{project-ygy0xbqa.js → persistent-pty-q606pcse.js} +3 -3
- package/dist/chunks/{project-b9e9mfxw.js → persistent-pty-q6qnq55y.js} +3 -3
- package/dist/chunks/{project-d3r4ps5n.js → persistent-pty-q6skr8rp.js} +8 -8
- package/dist/chunks/{project-qe0d689s.js → persistent-pty-qe0d689s.js} +2 -2
- package/dist/chunks/{project-r13w8t0w.js → persistent-pty-r13w8t0w.js} +2 -2
- package/dist/chunks/{project-r3k9abhd.js → persistent-pty-r3k9abhd.js} +2 -2
- package/dist/chunks/{project-45navbfs.js → persistent-pty-r5b5j3z1.js} +11 -11
- package/dist/chunks/{project-rfbm65k8.js → persistent-pty-r9d3d23r.js} +5 -33
- package/dist/chunks/{project-rahat93a.js → persistent-pty-rahat93a.js} +1 -1
- package/dist/chunks/{project-rbnp2c85.js → persistent-pty-rbnp2c85.js} +3 -3
- package/dist/chunks/{project-5v62jj9e.js → persistent-pty-rjhyt7an.js} +12 -13
- package/dist/chunks/{project-wn3rpk3t.js → persistent-pty-rttzjz69.js} +3 -3
- package/dist/chunks/{project-5ym3qvb4.js → persistent-pty-rywejs85.js} +10 -10
- package/dist/chunks/{project-ferp39wg.js → persistent-pty-rz6kjcfr.js} +10 -10
- package/dist/chunks/persistent-pty-s2kjqxd3.js +21 -0
- package/dist/chunks/{project-s33fw6zm.js → persistent-pty-s33fw6zm.js} +1 -1
- package/dist/chunks/{project-qnrg9ptq.js → persistent-pty-shjty0r5.js} +10 -10
- package/dist/chunks/{project-smpeg8c9.js → persistent-pty-smpeg8c9.js} +2 -2
- package/dist/chunks/{project-sw84ckhj.js → persistent-pty-sw84ckhj.js} +1 -1
- package/dist/chunks/{project-gp6nnez7.js → persistent-pty-t0msbthe.js} +3 -3
- package/dist/chunks/{project-t14kykx1.js → persistent-pty-t14kykx1.js} +1 -1
- package/dist/chunks/{project-c7yarf1b.js → persistent-pty-t4x64zgs.js} +8 -16
- package/dist/chunks/{project-8dxjsdhj.js → persistent-pty-tayw3q5q.js} +8 -16
- package/dist/chunks/{project-tcptxgyq.js → persistent-pty-tcptxgyq.js} +1 -1
- package/dist/chunks/{project-7ajc89c4.js → persistent-pty-tg194hwa.js} +4 -4
- package/dist/chunks/{project-tgbb2ckq.js → persistent-pty-tgbb2ckq.js} +2 -2
- package/dist/chunks/{project-thstd87d.js → persistent-pty-thstd87d.js} +1 -1
- package/dist/chunks/{project-d4ax61k3.js → persistent-pty-tjrfm0xh.js} +38 -39
- package/dist/chunks/{project-mrpn47r7.js → persistent-pty-tpzhmg20.js} +4 -4
- package/dist/chunks/{project-a09abg6q.js → persistent-pty-tqf07m3e.js} +7 -5
- package/dist/chunks/persistent-pty-ttxf0gsy.js +0 -0
- package/dist/chunks/{project-emda4gf1.js → persistent-pty-twtt8bhh.js} +5 -5
- package/dist/chunks/{project-v2wshkax.js → persistent-pty-v2wshkax.js} +1 -1
- package/dist/chunks/{project-v80zsxnb.js → persistent-pty-v80zsxnb.js} +1 -1
- package/dist/chunks/{project-v972xay6.js → persistent-pty-v972xay6.js} +1 -1
- package/dist/chunks/{project-v9bfv94f.js → persistent-pty-v9bfv94f.js} +1 -1
- package/dist/chunks/{project-kcacmy5c.js → persistent-pty-vac9eqd2.js} +1 -5
- package/dist/chunks/{project-vcwr2vpf.js → persistent-pty-vcwr2vpf.js} +1 -1
- package/dist/chunks/{project-hs6vajzr.js → persistent-pty-vh1dz6e7.js} +18 -10
- package/dist/chunks/{project-26hk4g12.js → persistent-pty-vjsse407.js} +2 -2
- package/dist/chunks/{project-vqbmgfq1.js → persistent-pty-vqbmgfq1.js} +3 -3
- package/dist/chunks/{project-k6anep7v.js → persistent-pty-vqha1kn3.js} +15 -15
- package/dist/chunks/{project-752n680m.js → persistent-pty-vyrk4dbp.js} +41 -43
- package/dist/chunks/{project-vz89hfgr.js → persistent-pty-vz89hfgr.js} +1 -1
- package/dist/chunks/{project-m0j38ah3.js → persistent-pty-w4aa5eza.js} +11 -11
- package/dist/chunks/{project-k17ah5wk.js → persistent-pty-w6dbrh59.js} +19 -19
- package/dist/chunks/{project-4rcfaa94.js → persistent-pty-wa3apvnh.js} +6 -6
- package/dist/chunks/{project-wbkt8qpj.js → persistent-pty-wbkt8qpj.js} +1 -1
- package/dist/chunks/persistent-pty-we6kp80b.js +234 -0
- package/dist/chunks/{project-wmxdh12w.js → persistent-pty-wmxdh12w.js} +1 -1
- package/dist/chunks/{project-kmwxkk1w.js → persistent-pty-wpak3cn2.js} +3 -3
- package/dist/chunks/{project-wps8gh8n.js → persistent-pty-wps8gh8n.js} +2 -2
- package/dist/chunks/{project-36pd2x65.js → persistent-pty-wr6wwww9.js} +19 -20
- package/dist/chunks/{project-3cq0d38n.js → persistent-pty-wskcpn5r.js} +17 -17
- package/dist/chunks/{project-z259d721.js → persistent-pty-ww589d89.js} +81 -35
- package/dist/chunks/{project-x89rah0x.js → persistent-pty-x89rah0x.js} +1 -1
- package/dist/chunks/{project-xczfw7dq.js → persistent-pty-xczfw7dq.js} +1 -1
- package/dist/chunks/{project-xgv25zxy.js → persistent-pty-xgv25zxy.js} +1 -1
- package/dist/chunks/{project-p8fr6x1v.js → persistent-pty-xj0xhwdw.js} +2 -2
- package/dist/chunks/{project-ag9e5ja9.js → persistent-pty-xkdg511d.js} +3 -3
- package/dist/chunks/{project-0s0avyhy.js → persistent-pty-xqzpjgmh.js} +57 -63
- package/dist/chunks/{project-xwftk1fd.js → persistent-pty-xwftk1fd.js} +2 -2
- package/dist/chunks/{project-xxpvz42q.js → persistent-pty-xxpvz42q.js} +3 -3
- package/dist/chunks/{project-y0x38cee.js → persistent-pty-y0x38cee.js} +1 -1
- package/dist/chunks/{project-y198y2ra.js → persistent-pty-y198y2ra.js} +1 -1
- package/dist/chunks/{project-y67x6rf6.js → persistent-pty-y67x6rf6.js} +1 -1
- package/dist/chunks/{project-dndvd0y6.js → persistent-pty-y85nmh9b.js} +11 -11
- package/dist/chunks/{project-ebyp015j.js → persistent-pty-ybp6xw39.js} +7 -7
- package/dist/chunks/{project-2gjcj4rv.js → persistent-pty-yd381zvh.js} +19 -23
- package/dist/chunks/{project-yf0knd5z.js → persistent-pty-yf0knd5z.js} +2 -2
- package/dist/chunks/{project-c3ca4w0m.js → persistent-pty-ym92bbkh.js} +8 -5
- package/dist/chunks/{project-wc13d4t1.js → persistent-pty-yq3dvva9.js} +6 -6
- package/dist/chunks/{project-ff75mv0b.js → persistent-pty-yx19m5fk.js} +8 -8
- package/dist/chunks/{project-t8fspa0t.js → persistent-pty-z3cp4eqm.js} +16 -11
- package/dist/chunks/{project-0bvw1e9j.js → persistent-pty-z6p4m7fm.js} +34 -34
- package/dist/chunks/{project-zbqqnp0n.js → persistent-pty-zbqqnp0n.js} +1 -1
- package/dist/chunks/{project-zdkg1k91.js → persistent-pty-zdkg1k91.js} +1 -1
- package/dist/chunks/{project-xsz86f10.js → persistent-pty-zggp0jtk.js} +61 -61
- package/dist/chunks/{project-q9b4qnv8.js → persistent-pty-zs1qer6v.js} +7 -11
- package/dist/chunks/{project-zxcy6vhn.js → persistent-pty-zxcy6vhn.js} +1 -1
- package/dist/chunks/{project-zxe9jjhn.js → persistent-pty-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +70 -70
- package/dist/config/file.js +128 -0
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +132 -136
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +146 -150
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +131 -130
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +103 -109
- package/dist/config/plugin/skill.js +135 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -115
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +77 -93
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +333 -328
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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 +3 -3
- package/dist/filesystem/location-watcher.js +309 -304
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +99 -98
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +20 -20
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +99 -98
- package/dist/image.js +99 -98
- package/dist/instance.js +341 -0
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +85 -85
- package/dist/location-mutation.js +87 -85
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +334 -331
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +128 -129
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +127 -129
- package/dist/mcp/oauth.js +5 -13
- package/dist/mcp/stdio.js +93 -93
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +100 -106
- package/dist/persistent-pty/binary.bun.js +6 -6
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +80 -71
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -70
- package/dist/plugin/agent.js +101 -107
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +174 -171
- package/dist/plugin/instance.js +13 -0
- package/dist/plugin/internal.js +302 -298
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +101 -107
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +123 -121
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +122 -120
- package/dist/plugin/provider/dynamic.js +3 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -114
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +120 -114
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -3
- package/dist/plugin/provider/sdk-factory.js +7 -0
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +120 -114
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +159 -157
- package/dist/plugin/runtime.js +162 -159
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +133 -137
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +308 -303
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +175 -172
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +3 -3
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +70 -70
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +118 -122
- package/dist/session/context.js +318 -313
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +165 -164
- package/dist/session/execution.js +122 -126
- package/dist/session/generate-node.js +319 -314
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -94
- package/dist/session/inbox.js +79 -91
- package/dist/session/info.js +4 -92
- package/dist/session/instruction-entry.js +73 -90
- package/dist/session/instruction-state.js +10 -91
- package/dist/session/instructions.js +94 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +139 -139
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +83 -101
- package/dist/session/revert.js +90 -94
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +324 -320
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +151 -149
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -87
- package/dist/session/stats.js +78 -94
- package/dist/session/store.js +79 -101
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +319 -314
- package/dist/session/to-session-error.js +113 -117
- package/dist/session/transfer.js +168 -163
- package/dist/session/usage.js +2 -2
- package/dist/session.js +157 -157
- package/dist/shell/parse.js +7 -6
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +6 -4
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +102 -108
- package/dist/skill.js +101 -107
- package/dist/snapshot.js +85 -85
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +126 -128
- package/dist/tool/plugin/edit.js +113 -116
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +116 -118
- package/dist/tool/plugin/grep.js +116 -118
- package/dist/tool/plugin/patch.js +115 -118
- package/dist/tool/plugin/question.js +104 -110
- package/dist/tool/plugin/read.js +119 -121
- package/dist/tool/plugin/shell.js +190 -187
- package/dist/tool/plugin/skill.js +102 -108
- package/dist/tool/plugin/subagent.js +187 -184
- package/dist/tool/plugin/webfetch.js +103 -109
- package/dist/tool/plugin/websearch.js +105 -111
- package/dist/tool/plugin/write.js +115 -118
- package/dist/tool/read-filesystem.js +101 -98
- package/dist/tool/runtime.js +7 -3
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +119 -121
- package/dist/types/config/file.d.ts +17 -0
- package/dist/types/config/plugin/mcp.d.ts +4 -4
- package/dist/types/config.d.ts +1 -9
- package/dist/types/filesystem/search.d.ts +1 -1
- package/dist/types/github-copilot/responses/openai-error.d.ts +1 -1
- package/dist/types/instance.d.ts +58 -0
- package/dist/types/instruction-discovery.d.ts +2 -0
- package/dist/types/location-mutation.d.ts +9 -5
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +3 -47
- package/dist/types/location.d.ts +3 -1
- package/dist/types/mcp/client.d.ts +20 -20
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/mcp/instructions.d.ts +2 -2
- package/dist/types/mcp/oauth.d.ts +1 -1
- package/dist/types/mcp/stdio.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model.d.ts +14 -2
- package/dist/types/persistent-pty/daemon.d.ts +142 -2
- package/dist/types/persistent-pty/index.d.ts +18 -5
- package/dist/types/plugin/command.d.ts +2 -2
- package/dist/types/plugin/host.d.ts +16 -8
- package/dist/types/plugin/instance.d.ts +27 -0
- package/dist/types/plugin/internal.d.ts +4 -4
- package/dist/types/plugin/mcp-codemode-exclusion.d.ts +1 -1
- package/dist/types/plugin/provider/azure.d.ts +3 -1
- package/dist/types/plugin/provider/configured.d.ts +5 -0
- package/dist/types/plugin/provider/sdk-factory.d.ts +3 -0
- package/dist/types/plugin/runtime.d.ts +7 -5
- package/dist/types/plugin/supervisor.d.ts +2 -1
- package/dist/types/project/markers.d.ts +3 -1
- package/dist/types/project.d.ts +3 -1
- package/dist/types/pty/pty.node.d.ts +2 -1
- package/dist/types/schema.d.ts +1 -1
- package/dist/types/session/inbox.d.ts +82 -0
- package/dist/types/session/info.d.ts +1 -1
- package/dist/types/session/message-updater.d.ts +11 -11
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -183
- package/dist/types/session/runner/step.d.ts +124 -1
- package/dist/types/session/schema.d.ts +1 -0
- package/dist/types/session/sql.d.ts +3 -1
- package/dist/types/session/transfer.d.ts +2 -1
- package/dist/types/session/usage.d.ts +1 -1
- package/dist/types/session.d.ts +3 -2
- package/dist/types/shell/select.d.ts +3 -0
- package/dist/types/tool/mcp.d.ts +2 -2
- package/dist/types/tool/plugin/edit.d.ts +2 -2
- package/dist/types/tool/plugin/glob.d.ts +2 -2
- package/dist/types/tool/plugin/grep.d.ts +2 -2
- package/dist/types/tool/plugin/patch.d.ts +3 -3
- package/dist/types/tool/plugin/question.d.ts +3 -3
- package/dist/types/tool/plugin/read.d.ts +2 -2
- package/dist/types/tool/plugin/shell.d.ts +2 -2
- package/dist/types/tool/plugin/skill.d.ts +2 -2
- package/dist/types/tool/plugin/subagent.d.ts +2 -2
- package/dist/types/tool/plugin/webfetch.d.ts +2 -2
- package/dist/types/tool/plugin/websearch.d.ts +2 -2
- package/dist/types/tool/plugin/write.d.ts +3 -3
- package/dist/types/tool/read-filesystem.d.ts +1 -0
- package/dist/types/tool/runtime.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +2 -2
- package/dist/types/workspace/driver.d.ts +2 -2
- package/dist/types/workspace.d.ts +2 -2
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +43 -7
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -87
- package/package.json +12 -12
- package/dist/chunks/project-3hhqtqv0.js +0 -227
- package/dist/chunks/project-3q6gbwmd.js +0 -26
- package/dist/chunks/project-8tv6syt7.js +0 -46
- package/dist/chunks/project-hwf0phwc.js +0 -300
- package/dist/chunks/project-km33gj80.js +0 -119
- package/dist/chunks/project-wd268jeg.js +0 -83
- package/dist/session/prompt-cache-diagnostics.js +0 -11
- package/dist/types/session/prompt-cache-diagnostics.d.ts +0 -29
- /package/dist/chunks/{project-0cgt0xh2.js → persistent-pty-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{project-0f48qthw.js → persistent-pty-0f48qthw.js} +0 -0
- /package/dist/chunks/{project-0zz82cjq.js → persistent-pty-0zz82cjq.js} +0 -0
- /package/dist/chunks/{project-1fb7bmpf.js → persistent-pty-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{project-1wcz8fvj.js → persistent-pty-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{project-29n7vfk2.js → persistent-pty-29n7vfk2.js} +0 -0
- /package/dist/chunks/{project-2qdx6zz3.js → persistent-pty-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{project-2xb0r1c6.js → persistent-pty-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{project-39ktntah.js → persistent-pty-39ktntah.js} +0 -0
- /package/dist/chunks/{project-3g3rpp2x.js → persistent-pty-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{project-3w3ybtfd.js → persistent-pty-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{project-47ty4mvs.js → persistent-pty-47ty4mvs.js} +0 -0
- /package/dist/chunks/{project-4b2tz2m9.js → persistent-pty-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{project-5a5ch9ts.js → persistent-pty-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{project-5va1yh78.js → persistent-pty-5va1yh78.js} +0 -0
- /package/dist/chunks/{project-61ek4hj9.js → persistent-pty-61ek4hj9.js} +0 -0
- /package/dist/chunks/{project-69qrqpw0.js → persistent-pty-69qrqpw0.js} +0 -0
- /package/dist/chunks/{project-6zqxzw0a.js → persistent-pty-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{project-7n9qwqk4.js → persistent-pty-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{project-8nn8kqcn.js → persistent-pty-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{project-8rpfd2h6.js → persistent-pty-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{project-8sj3ajy5.js → persistent-pty-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{project-8w9tzfz1.js → persistent-pty-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{project-906y0b6d.js → persistent-pty-906y0b6d.js} +0 -0
- /package/dist/chunks/{project-9dct5xhx.js → persistent-pty-9dct5xhx.js} +0 -0
- /package/dist/chunks/{project-9sdtsapf.js → persistent-pty-9sdtsapf.js} +0 -0
- /package/dist/chunks/{project-a02svayp.js → persistent-pty-a02svayp.js} +0 -0
- /package/dist/chunks/{project-a83yvq99.js → persistent-pty-a83yvq99.js} +0 -0
- /package/dist/chunks/{project-a9vdgkgd.js → persistent-pty-a9vdgkgd.js} +0 -0
- /package/dist/chunks/{project-ayevdmef.js → persistent-pty-ayevdmef.js} +0 -0
- /package/dist/chunks/{project-b02txbh8.js → persistent-pty-b02txbh8.js} +0 -0
- /package/dist/chunks/{project-bbqs2y60.js → persistent-pty-bbqs2y60.js} +0 -0
- /package/dist/chunks/{project-bjwj8hwv.js → persistent-pty-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{project-brsh5f65.js → persistent-pty-brsh5f65.js} +0 -0
- /package/dist/chunks/{project-bxdhjb3y.js → persistent-pty-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{project-c77ad0vh.js → persistent-pty-c77ad0vh.js} +0 -0
- /package/dist/chunks/{project-cm67rqy2.js → persistent-pty-cm67rqy2.js} +0 -0
- /package/dist/chunks/{project-df3v2q6j.js → persistent-pty-df3v2q6j.js} +0 -0
- /package/dist/chunks/{project-dhcq6c44.js → persistent-pty-dhcq6c44.js} +0 -0
- /package/dist/chunks/{project-dht5baf0.js → persistent-pty-dht5baf0.js} +0 -0
- /package/dist/chunks/{project-dkmkay92.js → persistent-pty-dkmkay92.js} +0 -0
- /package/dist/chunks/{project-ehj9csmv.js → persistent-pty-ehj9csmv.js} +0 -0
- /package/dist/chunks/{project-em6xpscd.js → persistent-pty-em6xpscd.js} +0 -0
- /package/dist/chunks/{project-emmqknsm.js → persistent-pty-emmqknsm.js} +0 -0
- /package/dist/chunks/{project-ezs3tagn.js → persistent-pty-ezs3tagn.js} +0 -0
- /package/dist/chunks/{project-f14r7hfz.js → persistent-pty-f14r7hfz.js} +0 -0
- /package/dist/chunks/{project-f4cp4g4a.js → persistent-pty-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{project-faypg4r1.js → persistent-pty-faypg4r1.js} +0 -0
- /package/dist/chunks/{project-ttxf0gsy.js → persistent-pty-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{project-fgbfdq62.js → persistent-pty-fgbfdq62.js} +0 -0
- /package/dist/chunks/{project-gd5xeqc2.js → persistent-pty-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{project-ghm4673n.js → persistent-pty-ghm4673n.js} +0 -0
- /package/dist/chunks/{project-ghwjy7my.js → persistent-pty-ghwjy7my.js} +0 -0
- /package/dist/chunks/{project-gy500k2r.js → persistent-pty-gy500k2r.js} +0 -0
- /package/dist/chunks/{project-hzeg9cfr.js → persistent-pty-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{project-j07kk359.js → persistent-pty-j07kk359.js} +0 -0
- /package/dist/chunks/{project-jve7t217.js → persistent-pty-jve7t217.js} +0 -0
- /package/dist/chunks/{project-k3e42drn.js → persistent-pty-k3e42drn.js} +0 -0
- /package/dist/chunks/{project-k8b45nas.js → persistent-pty-k8b45nas.js} +0 -0
- /package/dist/chunks/{project-kpdbz7gn.js → persistent-pty-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{project-kxy11nzk.js → persistent-pty-kxy11nzk.js} +0 -0
- /package/dist/chunks/{project-kyyqvx4s.js → persistent-pty-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{project-m8cbvarh.js → persistent-pty-m8cbvarh.js} +0 -0
- /package/dist/chunks/{project-ma60vzgv.js → persistent-pty-ma60vzgv.js} +0 -0
- /package/dist/chunks/{project-n3m50c2t.js → persistent-pty-n3m50c2t.js} +0 -0
- /package/dist/chunks/{project-nkm1m8dz.js → persistent-pty-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{project-nsc0c3zb.js → persistent-pty-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{project-qaarhjrp.js → persistent-pty-qaarhjrp.js} +0 -0
- /package/dist/chunks/{project-qc167nrn.js → persistent-pty-qc167nrn.js} +0 -0
- /package/dist/chunks/{project-qp95y4jb.js → persistent-pty-qp95y4jb.js} +0 -0
- /package/dist/chunks/{project-r8f4w671.js → persistent-pty-r8f4w671.js} +0 -0
- /package/dist/chunks/{project-rdfev9jy.js → persistent-pty-rdfev9jy.js} +0 -0
- /package/dist/chunks/{project-rvfvac9x.js → persistent-pty-rvfvac9x.js} +0 -0
- /package/dist/chunks/{project-s7whb9gt.js → persistent-pty-s7whb9gt.js} +0 -0
- /package/dist/chunks/{project-se76j685.js → persistent-pty-se76j685.js} +0 -0
- /package/dist/chunks/{project-sem2g21k.js → persistent-pty-sem2g21k.js} +0 -0
- /package/dist/chunks/{project-sp575ygv.js → persistent-pty-sp575ygv.js} +0 -0
- /package/dist/chunks/{project-tmb1f636.js → persistent-pty-tmb1f636.js} +0 -0
- /package/dist/chunks/{project-tvmhrvfj.js → persistent-pty-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{project-v2adqbbe.js → persistent-pty-v2adqbbe.js} +0 -0
- /package/dist/chunks/{project-wj4sxzqa.js → persistent-pty-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{project-wwntjmk1.js → persistent-pty-wwntjmk1.js} +0 -0
- /package/dist/chunks/{project-wyqjaaa5.js → persistent-pty-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{project-x4q807cx.js → persistent-pty-x4q807cx.js} +0 -0
- /package/dist/chunks/{project-yrqrg4vp.js → persistent-pty-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{project-z47nswr2.js → persistent-pty-z47nswr2.js} +0 -0
- /package/dist/chunks/{project-zsf8rs93.js → persistent-pty-zsf8rs93.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as McpInstructions from "./instructions.js";
|
|
2
2
|
import { Context, Effect, Layer } from "effect";
|
|
3
3
|
import { Agent } from "../agent.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Mcp } from "./index.js";
|
|
5
5
|
import { Instructions } from "../instructions/index.js";
|
|
6
6
|
export interface Interface {
|
|
7
7
|
readonly load: (agent: Agent.Selection) => Effect.Effect<Instructions.List>;
|
|
@@ -9,5 +9,5 @@ export interface Interface {
|
|
|
9
9
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/McpInstructions", Interface>;
|
|
10
10
|
export declare class Service extends Service_base {
|
|
11
11
|
}
|
|
12
|
-
export declare const layer: Layer.Layer<Service, never,
|
|
12
|
+
export declare const layer: Layer.Layer<Service, never, Mcp.Service>;
|
|
13
13
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as McpOAuth from "./oauth.js";
|
|
2
2
|
import { type OAuthClientProvider } from "@modelcontextprotocol/sdk/client/auth.js";
|
|
3
3
|
import type { OAuthClientInformationMixed, OAuthTokens } from "@modelcontextprotocol/sdk/shared/auth.js";
|
|
4
4
|
import { Effect } from "effect";
|
|
@@ -97,7 +97,7 @@ export declare const fromCatalogModel: (model: Info, credential?: Credential.Val
|
|
|
97
97
|
export declare const resolveModel: (model: Info, variant: VariantID | undefined, credential?: Credential.Value, dependencies?: Dependencies) => Effect.Effect<LanguageModel<{
|
|
98
98
|
readonly [x: string]: unknown;
|
|
99
99
|
}>, VariantUnavailableError | UnsupportedPackageError | UnresolvedProviderVariablesError, never>;
|
|
100
|
-
export declare const
|
|
100
|
+
export declare const hasPackage: (model: Info) => boolean;
|
|
101
101
|
/** Resolves catalog selections into runtime models for the current Location. */
|
|
102
102
|
export declare const layer: Layer.Layer<Service, never, Npm.Service | AISDK.Service | Integration.Service | Catalog.Service>;
|
|
103
103
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/model.d.ts
CHANGED
|
@@ -22,7 +22,13 @@ export declare const Capabilities: import("effect/Schema").Struct<{
|
|
|
22
22
|
readonly input: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
23
23
|
readonly output: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
24
24
|
readonly responsesWebsockets: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
25
|
-
}
|
|
25
|
+
}> & {
|
|
26
|
+
default: () => {
|
|
27
|
+
tools: true;
|
|
28
|
+
input: string[];
|
|
29
|
+
output: string[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
26
32
|
export type Capabilities = Model.Capabilities;
|
|
27
33
|
export declare const Cost: import("effect/Schema").Struct<{
|
|
28
34
|
readonly tier: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
@@ -77,7 +83,13 @@ export declare const Info: import("effect/Schema").Struct<{
|
|
|
77
83
|
readonly input: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
78
84
|
readonly output: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
79
85
|
readonly responsesWebsockets: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
80
|
-
}
|
|
86
|
+
}> & {
|
|
87
|
+
default: () => {
|
|
88
|
+
tools: true;
|
|
89
|
+
input: string[];
|
|
90
|
+
output: string[];
|
|
91
|
+
};
|
|
92
|
+
};
|
|
81
93
|
readonly variants: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
82
94
|
readonly settings: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Any>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Any>>, never, never>;
|
|
83
95
|
readonly headers: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>, never, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Effect, Schema } from "effect";
|
|
2
|
+
import type { Handoff } from "@opencode-ai/schema/persistent-pty";
|
|
2
3
|
export declare const WireTerminal: Schema.Struct<{
|
|
3
4
|
readonly id: Schema.Number;
|
|
4
5
|
readonly pid: Schema.NullOr<Schema.Number>;
|
|
@@ -77,6 +78,12 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
|
|
|
77
78
|
}>>;
|
|
78
79
|
}>, Schema.Struct<{
|
|
79
80
|
readonly type: Schema.Literal<"ok">;
|
|
81
|
+
}>, Schema.Struct<{
|
|
82
|
+
readonly type: Schema.Literal<"owned">;
|
|
83
|
+
}>, Schema.Struct<{
|
|
84
|
+
readonly type: Schema.Literal<"handoff">;
|
|
85
|
+
readonly ticket: Schema.String;
|
|
86
|
+
readonly expires_at: Schema.Number;
|
|
80
87
|
}>, Schema.Struct<{
|
|
81
88
|
readonly type: Schema.Literal<"snapshot">;
|
|
82
89
|
readonly terminal: Schema.Struct<{
|
|
@@ -105,6 +112,33 @@ export declare const WireResponse: Schema.Union<readonly [Schema.Struct<{
|
|
|
105
112
|
readonly checkpoint_base64: Schema.String;
|
|
106
113
|
readonly cursor_x: Schema.Number;
|
|
107
114
|
readonly cursor_y: Schema.Number;
|
|
115
|
+
}>, Schema.Struct<{
|
|
116
|
+
readonly type: Schema.Literal<"rows">;
|
|
117
|
+
readonly terminal: Schema.Struct<{
|
|
118
|
+
readonly id: Schema.Number;
|
|
119
|
+
readonly pid: Schema.NullOr<Schema.Number>;
|
|
120
|
+
readonly title: Schema.String;
|
|
121
|
+
readonly foreground_process: Schema.NullOr<Schema.String>;
|
|
122
|
+
readonly group_id: Schema.String;
|
|
123
|
+
readonly command: Schema.$Array<Schema.String>;
|
|
124
|
+
readonly cwd: Schema.String;
|
|
125
|
+
readonly cols: Schema.Number;
|
|
126
|
+
readonly rows: Schema.Number;
|
|
127
|
+
readonly lifecycle: Schema.Union<readonly [Schema.Struct<{
|
|
128
|
+
readonly status: Schema.Literal<"running">;
|
|
129
|
+
}>, Schema.Struct<{
|
|
130
|
+
readonly status: Schema.Literal<"exited">;
|
|
131
|
+
readonly exit_code: Schema.NullOr<Schema.Number>;
|
|
132
|
+
}>, Schema.Struct<{
|
|
133
|
+
readonly status: Schema.Literal<"failed">;
|
|
134
|
+
readonly message: Schema.String;
|
|
135
|
+
}>]>;
|
|
136
|
+
readonly output_head: Schema.Number;
|
|
137
|
+
readonly output_tail: Schema.Number;
|
|
138
|
+
}>;
|
|
139
|
+
readonly lines: Schema.$Array<Schema.String>;
|
|
140
|
+
readonly cursor_x: Schema.Number;
|
|
141
|
+
readonly cursor_y: Schema.Number;
|
|
108
142
|
}>, Schema.Struct<{
|
|
109
143
|
readonly type: Schema.Literal<"attached">;
|
|
110
144
|
readonly terminal: Schema.Struct<{
|
|
@@ -215,6 +249,7 @@ export interface DaemonTransport {
|
|
|
215
249
|
readonly request: (value: object, start?: boolean) => Effect.Effect<WireResponse, DaemonError>;
|
|
216
250
|
readonly requestIfRunning: (value: object) => Effect.Effect<WireResponse | undefined, DaemonError>;
|
|
217
251
|
readonly shutdown: Effect.Effect<WireResponse | undefined, DaemonError>;
|
|
252
|
+
readonly handoff: Effect.Effect<Handoff | null, DaemonError>;
|
|
218
253
|
readonly subscribe: (id: number, input: {
|
|
219
254
|
readonly cursor: number;
|
|
220
255
|
readonly attachmentID: string;
|
|
@@ -224,7 +259,7 @@ export interface DaemonTransport {
|
|
|
224
259
|
readonly onEnd: () => void;
|
|
225
260
|
}) => Effect.Effect<DaemonAttachment, DaemonError>;
|
|
226
261
|
}
|
|
227
|
-
export declare const makeDaemonTransport: (directory: string, binary?: (() => Promise<string>) | undefined) => Effect.Effect<{
|
|
262
|
+
export declare const makeDaemonTransport: (directory: string, binary?: (() => Promise<string>) | undefined, inherited?: Handoff | undefined) => Effect.Effect<{
|
|
228
263
|
request: (value: object, shouldStart?: any) => Effect.Effect<{
|
|
229
264
|
readonly type: "pong";
|
|
230
265
|
readonly instance_id: string;
|
|
@@ -280,6 +315,12 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
280
315
|
}[];
|
|
281
316
|
} | {
|
|
282
317
|
readonly type: "ok";
|
|
318
|
+
} | {
|
|
319
|
+
readonly type: "owned";
|
|
320
|
+
} | {
|
|
321
|
+
readonly type: "handoff";
|
|
322
|
+
readonly ticket: string;
|
|
323
|
+
readonly expires_at: number;
|
|
283
324
|
} | {
|
|
284
325
|
readonly type: "snapshot";
|
|
285
326
|
readonly terminal: {
|
|
@@ -308,6 +349,33 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
308
349
|
readonly checkpoint_base64: string;
|
|
309
350
|
readonly cursor_x: number;
|
|
310
351
|
readonly cursor_y: number;
|
|
352
|
+
} | {
|
|
353
|
+
readonly type: "rows";
|
|
354
|
+
readonly terminal: {
|
|
355
|
+
readonly id: number;
|
|
356
|
+
readonly pid: number | null;
|
|
357
|
+
readonly title: string;
|
|
358
|
+
readonly foreground_process: string | null;
|
|
359
|
+
readonly group_id: string;
|
|
360
|
+
readonly command: readonly string[];
|
|
361
|
+
readonly cwd: string;
|
|
362
|
+
readonly cols: number;
|
|
363
|
+
readonly rows: number;
|
|
364
|
+
readonly lifecycle: {
|
|
365
|
+
readonly status: "running";
|
|
366
|
+
} | {
|
|
367
|
+
readonly status: "exited";
|
|
368
|
+
readonly exit_code: number | null;
|
|
369
|
+
} | {
|
|
370
|
+
readonly status: "failed";
|
|
371
|
+
readonly message: string;
|
|
372
|
+
};
|
|
373
|
+
readonly output_head: number;
|
|
374
|
+
readonly output_tail: number;
|
|
375
|
+
};
|
|
376
|
+
readonly lines: readonly string[];
|
|
377
|
+
readonly cursor_x: number;
|
|
378
|
+
readonly cursor_y: number;
|
|
311
379
|
} | {
|
|
312
380
|
readonly type: "attached";
|
|
313
381
|
readonly terminal: {
|
|
@@ -415,6 +483,12 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
415
483
|
}[];
|
|
416
484
|
} | {
|
|
417
485
|
readonly type: "ok";
|
|
486
|
+
} | {
|
|
487
|
+
readonly type: "owned";
|
|
488
|
+
} | {
|
|
489
|
+
readonly type: "handoff";
|
|
490
|
+
readonly ticket: string;
|
|
491
|
+
readonly expires_at: number;
|
|
418
492
|
} | {
|
|
419
493
|
readonly type: "snapshot";
|
|
420
494
|
readonly terminal: {
|
|
@@ -443,6 +517,33 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
443
517
|
readonly checkpoint_base64: string;
|
|
444
518
|
readonly cursor_x: number;
|
|
445
519
|
readonly cursor_y: number;
|
|
520
|
+
} | {
|
|
521
|
+
readonly type: "rows";
|
|
522
|
+
readonly terminal: {
|
|
523
|
+
readonly id: number;
|
|
524
|
+
readonly pid: number | null;
|
|
525
|
+
readonly title: string;
|
|
526
|
+
readonly foreground_process: string | null;
|
|
527
|
+
readonly group_id: string;
|
|
528
|
+
readonly command: readonly string[];
|
|
529
|
+
readonly cwd: string;
|
|
530
|
+
readonly cols: number;
|
|
531
|
+
readonly rows: number;
|
|
532
|
+
readonly lifecycle: {
|
|
533
|
+
readonly status: "running";
|
|
534
|
+
} | {
|
|
535
|
+
readonly status: "exited";
|
|
536
|
+
readonly exit_code: number | null;
|
|
537
|
+
} | {
|
|
538
|
+
readonly status: "failed";
|
|
539
|
+
readonly message: string;
|
|
540
|
+
};
|
|
541
|
+
readonly output_head: number;
|
|
542
|
+
readonly output_tail: number;
|
|
543
|
+
};
|
|
544
|
+
readonly lines: readonly string[];
|
|
545
|
+
readonly cursor_x: number;
|
|
546
|
+
readonly cursor_y: number;
|
|
446
547
|
} | {
|
|
447
548
|
readonly type: "attached";
|
|
448
549
|
readonly terminal: {
|
|
@@ -550,6 +651,12 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
550
651
|
}[];
|
|
551
652
|
} | {
|
|
552
653
|
readonly type: "ok";
|
|
654
|
+
} | {
|
|
655
|
+
readonly type: "owned";
|
|
656
|
+
} | {
|
|
657
|
+
readonly type: "handoff";
|
|
658
|
+
readonly ticket: string;
|
|
659
|
+
readonly expires_at: number;
|
|
553
660
|
} | {
|
|
554
661
|
readonly type: "snapshot";
|
|
555
662
|
readonly terminal: {
|
|
@@ -578,6 +685,33 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
578
685
|
readonly checkpoint_base64: string;
|
|
579
686
|
readonly cursor_x: number;
|
|
580
687
|
readonly cursor_y: number;
|
|
688
|
+
} | {
|
|
689
|
+
readonly type: "rows";
|
|
690
|
+
readonly terminal: {
|
|
691
|
+
readonly id: number;
|
|
692
|
+
readonly pid: number | null;
|
|
693
|
+
readonly title: string;
|
|
694
|
+
readonly foreground_process: string | null;
|
|
695
|
+
readonly group_id: string;
|
|
696
|
+
readonly command: readonly string[];
|
|
697
|
+
readonly cwd: string;
|
|
698
|
+
readonly cols: number;
|
|
699
|
+
readonly rows: number;
|
|
700
|
+
readonly lifecycle: {
|
|
701
|
+
readonly status: "running";
|
|
702
|
+
} | {
|
|
703
|
+
readonly status: "exited";
|
|
704
|
+
readonly exit_code: number | null;
|
|
705
|
+
} | {
|
|
706
|
+
readonly status: "failed";
|
|
707
|
+
readonly message: string;
|
|
708
|
+
};
|
|
709
|
+
readonly output_head: number;
|
|
710
|
+
readonly output_tail: number;
|
|
711
|
+
};
|
|
712
|
+
readonly lines: readonly string[];
|
|
713
|
+
readonly cursor_x: number;
|
|
714
|
+
readonly cursor_y: number;
|
|
581
715
|
} | {
|
|
582
716
|
readonly type: "attached";
|
|
583
717
|
readonly terminal: {
|
|
@@ -630,6 +764,12 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
630
764
|
readonly type: "foreground_process_changed";
|
|
631
765
|
readonly process: string | null;
|
|
632
766
|
} | undefined, DaemonError, never>;
|
|
767
|
+
handoff: Effect.Effect<{
|
|
768
|
+
directory: string;
|
|
769
|
+
instanceID: string;
|
|
770
|
+
ticket: string;
|
|
771
|
+
expiresAt: number;
|
|
772
|
+
} | null, DaemonError, never>;
|
|
633
773
|
subscribe: (id: number, input: {
|
|
634
774
|
readonly cursor: number;
|
|
635
775
|
readonly attachmentID: string;
|
|
@@ -638,5 +778,5 @@ export declare const makeDaemonTransport: (directory: string, binary?: (() => Pr
|
|
|
638
778
|
readonly onEvent: (event: StreamEvent) => void;
|
|
639
779
|
readonly onEnd: () => void;
|
|
640
780
|
}) => Effect.Effect<DaemonAttachment, DaemonError, never>;
|
|
641
|
-
},
|
|
781
|
+
}, DaemonError, import("effect/Scope").Scope>;
|
|
642
782
|
export {};
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
export * as PersistentPty from "./index.js";
|
|
2
2
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
3
|
+
import { Handoff, type ReadResult } from "@opencode-ai/schema/persistent-pty";
|
|
3
4
|
import { Session } from "@opencode-ai/schema/session";
|
|
4
5
|
import { Bus } from "../bus.js";
|
|
5
|
-
import { Database } from "../database/database.js";
|
|
6
6
|
import { Pty } from "@opencode-ai/schema/pty";
|
|
7
7
|
import { Global } from "@opencode-ai/util/global";
|
|
8
8
|
import { type Role, type StreamEvent } from "./daemon.js";
|
|
9
9
|
export type { Role, StreamEvent } from "./daemon.js";
|
|
10
|
+
export { Handoff } from "@opencode-ai/schema/persistent-pty";
|
|
11
|
+
export declare const Options: Schema.Struct<{
|
|
12
|
+
readonly handoff: Schema.optional<Schema.Struct<{
|
|
13
|
+
readonly directory: Schema.String;
|
|
14
|
+
readonly instanceID: Schema.String;
|
|
15
|
+
readonly ticket: Schema.String;
|
|
16
|
+
readonly expiresAt: Schema.Number;
|
|
17
|
+
}>>;
|
|
18
|
+
}>;
|
|
19
|
+
export type Options = typeof Options.Type;
|
|
10
20
|
export type Info = Pty.Info & {
|
|
11
21
|
readonly sessionID: Session.ID;
|
|
12
22
|
readonly foregroundProcess: string | null;
|
|
@@ -59,9 +69,9 @@ export interface Interface {
|
|
|
59
69
|
readonly list: (sessionID?: Session.ID) => Effect.Effect<Info[], UnavailableError>;
|
|
60
70
|
readonly get: (id: Pty.ID) => Effect.Effect<Info, NotFoundError | UnavailableError>;
|
|
61
71
|
readonly create: (sessionID: Session.ID, input: {
|
|
62
|
-
readonly command
|
|
72
|
+
readonly command?: string;
|
|
63
73
|
readonly args: readonly string[];
|
|
64
|
-
readonly cwd
|
|
74
|
+
readonly cwd?: string;
|
|
65
75
|
readonly title: string;
|
|
66
76
|
readonly env: Readonly<Record<string, string>>;
|
|
67
77
|
readonly cols?: number;
|
|
@@ -72,8 +82,10 @@ export interface Interface {
|
|
|
72
82
|
readonly control: (id: Pty.ID, attachmentID: string, cols: number, rows: number) => Effect.Effect<void, NotFoundError | UnavailableError>;
|
|
73
83
|
readonly input: (id: Pty.ID, attachmentID: string, cols: number, rows: number, data: Uint8Array) => Effect.Effect<void, NotFoundError | UnavailableError>;
|
|
74
84
|
readonly snapshot: (id: Pty.ID) => Effect.Effect<Snapshot, NotFoundError | UnavailableError>;
|
|
85
|
+
readonly read: (sessionID: Session.ID, lines?: number) => Effect.Effect<ReadResult | null, UnavailableError>;
|
|
75
86
|
readonly remove: (id: Pty.ID) => Effect.Effect<void, NotFoundError | UnavailableError>;
|
|
76
87
|
readonly shutdown: () => Effect.Effect<void, UnavailableError>;
|
|
88
|
+
readonly handoff: () => Effect.Effect<Handoff | null, UnavailableError>;
|
|
77
89
|
readonly attach: (id: Pty.ID, input: {
|
|
78
90
|
readonly cursor: number;
|
|
79
91
|
readonly attachmentID: string;
|
|
@@ -86,5 +98,6 @@ export interface Interface {
|
|
|
86
98
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/PersistentPty", Interface>;
|
|
87
99
|
export declare class Service extends Service_base {
|
|
88
100
|
}
|
|
89
|
-
export declare const
|
|
90
|
-
export declare const
|
|
101
|
+
export declare const configured: (options?: Options) => Layer.Layer<Service, UnavailableError, Global.Service | Bus.Service>;
|
|
102
|
+
export declare const layer: Layer.Layer<Service, UnavailableError, Global.Service | Bus.Service>;
|
|
103
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as CommandPlugin from "./command.js";
|
|
2
2
|
import { Bus } from "../bus.js";
|
|
3
3
|
import { Location } from "../location.js";
|
|
4
|
-
import {
|
|
5
|
-
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Bus.Service | Location.Service |
|
|
4
|
+
import { Mcp } from "../mcp/index.js";
|
|
5
|
+
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Bus.Service | Location.Service | Mcp.Service>;
|
|
@@ -11,8 +11,7 @@ import { Bus } from "../bus.js";
|
|
|
11
11
|
import { Integration } from "../integration.js";
|
|
12
12
|
import { KV } from "../kv.js";
|
|
13
13
|
import { Location } from "../location.js";
|
|
14
|
-
import {
|
|
15
|
-
import { MCP } from "../mcp/index.js";
|
|
14
|
+
import { Mcp } from "../mcp/index.js";
|
|
16
15
|
import { PluginRuntime } from "./runtime.js";
|
|
17
16
|
import { Reference } from "../reference.js";
|
|
18
17
|
import { AbsolutePath } from "../schema.js";
|
|
@@ -41,7 +40,9 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
41
40
|
transform: (callback: (input: import("@opencode-ai/plugin/effect/agent").AgentDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
42
41
|
};
|
|
43
42
|
aisdk: {
|
|
44
|
-
hook: <Name extends keyof import("@opencode-ai/plugin/effect/aisdk").AISDKHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/aisdk").AISDKHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/aisdk").AISDKHooks, never>[Name], never>, options: import("@opencode-ai/plugin/effect/
|
|
43
|
+
hook: <Name extends keyof import("@opencode-ai/plugin/effect/aisdk").AISDKHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/aisdk").AISDKHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/aisdk").AISDKHooks, never>[Name], never>, options: (import("@opencode-ai/plugin/effect/aisdk").AISDKHooks[Name] extends {
|
|
44
|
+
readonly model: unknown;
|
|
45
|
+
} ? import("@opencode-ai/plugin/effect/registration").ModelHookOptions : never) | undefined) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
45
46
|
};
|
|
46
47
|
catalog: {
|
|
47
48
|
provider: {
|
|
@@ -78,6 +79,11 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
78
79
|
event: {
|
|
79
80
|
subscribe: () => Stream.Stream<EventManifest.ServerEvent, never, never>;
|
|
80
81
|
};
|
|
82
|
+
experimental: {
|
|
83
|
+
terminal: {
|
|
84
|
+
read: (input: import("@opencode-ai/client/effect/api").ExperimentalPersistentPtyReadInput) => Effect.Effect<import("@opencode-ai/schema/persistent-pty").ReadResult | null, import("../persistent-pty/index.js").UnavailableError, never>;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
81
87
|
generate: {
|
|
82
88
|
text: (input: import("@opencode-ai/client/effect/api").GenerateTextInput) => Effect.Effect<{
|
|
83
89
|
text: string;
|
|
@@ -204,7 +210,7 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
204
210
|
mcp: {
|
|
205
211
|
list: (input: import("@opencode-ai/client/effect/api").McpListInput | undefined) => Effect.Effect<{
|
|
206
212
|
readonly location: Location.Info;
|
|
207
|
-
readonly data:
|
|
213
|
+
readonly data: Mcp.ServerInfo[];
|
|
208
214
|
}, unknown, never>;
|
|
209
215
|
reload: import("../state.js").Reload;
|
|
210
216
|
transform: (callback: (input: import("@opencode-ai/plugin/effect/mcp").MCPDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
@@ -340,16 +346,18 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
340
346
|
transform: (callback: (input: import("@opencode-ai/plugin/effect/websearch").WebSearchDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
341
347
|
};
|
|
342
348
|
session: {
|
|
343
|
-
hook: <Name extends keyof import("@opencode-ai/plugin/effect/session").SessionHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/session").SessionHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/session").SessionHooks, never>[Name], never>, options: import("@opencode-ai/plugin/effect/
|
|
349
|
+
hook: <Name extends keyof import("@opencode-ai/plugin/effect/session").SessionHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/session").SessionHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/session").SessionHooks, never>[Name], never>, options: (import("@opencode-ai/plugin/effect/session").SessionHooks[Name] extends {
|
|
350
|
+
readonly model: unknown;
|
|
351
|
+
} ? import("@opencode-ai/plugin/effect/registration").ModelHookOptions : never) | undefined) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
344
352
|
create: (input: import("@opencode-ai/client/effect/api").SessionCreateInput | undefined) => Effect.Effect<import("@opencode-ai/schema/session").Info, import("../session.js").NotFoundError, never>;
|
|
345
353
|
get: (input: import("@opencode-ai/client/effect/api").SessionGetInput) => Effect.Effect<import("@opencode-ai/schema/session").Info, import("../session.js").NotFoundError, never>;
|
|
346
354
|
switchAgent: (input: {
|
|
347
355
|
sessionID: import("@opencode-ai/schema/session").ID;
|
|
348
|
-
agent:
|
|
356
|
+
agent: import("@opencode-ai/schema/agent").ID;
|
|
349
357
|
}) => Effect.Effect<void, import("../session.js").NotFoundError>;
|
|
350
358
|
switchModel: (input: {
|
|
351
359
|
sessionID: import("@opencode-ai/schema/session").ID;
|
|
352
|
-
model:
|
|
360
|
+
model: import("@opencode-ai/schema/model").Ref;
|
|
353
361
|
}) => Effect.Effect<void, import("../session.js").NotFoundError>;
|
|
354
362
|
prompt: (input: {
|
|
355
363
|
id?: import("@opencode-ai/schema/session-message").ID;
|
|
@@ -399,5 +407,5 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
399
407
|
wait: (input: import("@opencode-ai/client/effect/api").SessionWaitInput) => Effect.Effect<void, import("../session.js").NotFoundError, never>;
|
|
400
408
|
context: (input: import("@opencode-ai/client/effect/api").SessionContextInput) => Effect.Effect<import("@opencode-ai/schema/session-message").Info[], import("../session.js").NotFoundError | import("../session.js").MessageDecodeError, never>;
|
|
401
409
|
};
|
|
402
|
-
}, never, Bus.Service | Location.Service | KV.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service |
|
|
410
|
+
}, never, Bus.Service | Location.Service | KV.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | Mcp.Service | Generate.Service | PluginHooks.Service | Permission.Service | Agent.Service | Tool.Service | Reference.Service | Skill.Service | PluginRuntime.Service | WebSearch.Service | Vcs.Service>;
|
|
403
411
|
export declare function storage(kv: KV.Interface, pluginID: string): Plugin.Context["storage"];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * as InstancePlugins from "./instance.js";
|
|
2
|
+
import type { Plugin } from "@opencode-ai/plugin/effect/plugin";
|
|
3
|
+
import { Context, Layer } from "effect";
|
|
4
|
+
import type { Versioned } from "../plugin.js";
|
|
5
|
+
/**
|
|
6
|
+
* Holds the plugins one instance is born with. Unlike the host-global
|
|
7
|
+
* `SdkPlugins` store, this list is a birth argument of a single instance:
|
|
8
|
+
* `Instance.layer` binds it through the replacement mechanism, so two
|
|
9
|
+
* instances in one process can carry different plugins. The list is immutable
|
|
10
|
+
* for the instance's lifetime; runtime dynamism lives inside plugins through
|
|
11
|
+
* the container transform/reload APIs.
|
|
12
|
+
*
|
|
13
|
+
* Limitations: `vcs` marker declarations in an instance list are not seen by
|
|
14
|
+
* `ProjectMarkers` (it is global and runs during project resolution, before
|
|
15
|
+
* the instance exists — unlike `SdkPlugins`, whose declarations it consumes
|
|
16
|
+
* directly), and config plugin operations may disable instance plugins by id,
|
|
17
|
+
* matching `SdkPlugins` behavior.
|
|
18
|
+
*/
|
|
19
|
+
export type List = readonly Plugin[];
|
|
20
|
+
export interface Interface {
|
|
21
|
+
readonly all: () => readonly Versioned[];
|
|
22
|
+
}
|
|
23
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/InstancePlugins", Interface>;
|
|
24
|
+
export declare class Service extends Service_base {
|
|
25
|
+
}
|
|
26
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
27
|
+
export declare function bound(plugins: List): Layer.Layer<Service, never, never>;
|
|
@@ -26,7 +26,7 @@ import { KV } from "../kv.js";
|
|
|
26
26
|
import { Location } from "../location.js";
|
|
27
27
|
import { LocationMutation } from "../location-mutation.js";
|
|
28
28
|
import { ModelsDev } from "../models-dev.js";
|
|
29
|
-
import {
|
|
29
|
+
import { Mcp } from "../mcp/index.js";
|
|
30
30
|
import { Npm } from "@opencode-ai/util/npm";
|
|
31
31
|
import { Permission } from "../permission.js";
|
|
32
32
|
import { Reference } from "../reference.js";
|
|
@@ -45,12 +45,12 @@ import { Tool } from "../tool.js";
|
|
|
45
45
|
import { ToolOutput } from "../tool-output.js";
|
|
46
46
|
import { WellKnown } from "../wellknown.js";
|
|
47
47
|
import { PluginRuntime } from "./runtime.js";
|
|
48
|
-
declare const services: () => Effect.Effect<Context.Context<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service |
|
|
48
|
+
declare const services: () => Effect.Effect<Context.Context<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | Mcp.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | InstructionDiscovery.Service | Tool.Service | Reference.Service | Skill.Service | ModelsDev.Service | PluginRuntime.Service | Shell.Service | WebSearch.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service>, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | Mcp.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | InstructionDiscovery.Service | Tool.Service | Reference.Service | Skill.Service | ModelsDev.Service | PluginRuntime.Service | Shell.Service | WebSearch.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service>;
|
|
49
49
|
type ContextServices<A> = A extends Context.Context<infer R> ? R : never;
|
|
50
50
|
export type Requirements = ContextServices<Effect.Success<ReturnType<typeof services>>>;
|
|
51
|
-
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service |
|
|
51
|
+
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | Mcp.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | InstructionDiscovery.Service | Tool.Service | Reference.Service | Skill.Service | ModelsDev.Service | PluginRuntime.Service | Shell.Service | WebSearch.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
52
52
|
export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
|
|
53
53
|
export declare const list: () => Effect.Effect<{
|
|
54
54
|
pre: Plugin<Scope.Scope>[];
|
|
55
55
|
post: Plugin<Scope.Scope>[];
|
|
56
|
-
}, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service |
|
|
56
|
+
}, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | Mcp.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | InstructionDiscovery.Service | Tool.Service | Reference.Service | Skill.Service | ModelsDev.Service | PluginRuntime.Service | Shell.Service | WebSearch.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as McpCodeModeExclusionPlugin from "./mcp-codemode-exclusion.js";
|
|
2
2
|
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope>;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { AppProcess } from "@opencode-ai/util/process";
|
|
2
|
+
import { Bus } from "../../bus.js";
|
|
3
|
+
export declare const AzurePlugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | AppProcess.Service | Bus.Service | import("../../catalog.js").Service>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
|
+
import type { Entry } from "@opencode-ai/schema/config";
|
|
2
3
|
import { Catalog } from "../../catalog.js";
|
|
4
|
+
import { Provider } from "../../provider.js";
|
|
3
5
|
export declare const configuredSettings: (id: string & import("effect/Brand").Brand<"Provider.ID">) => Effect.Effect<{
|
|
4
6
|
readonly [x: string]: any;
|
|
5
7
|
} | undefined, never, Catalog.Service>;
|
|
8
|
+
export declare function foldSettings(entries: readonly Entry[], id: string, initial: Provider.Settings | undefined): {
|
|
9
|
+
readonly [x: string]: any;
|
|
10
|
+
} | undefined;
|
|
@@ -4,11 +4,13 @@ import { Agent } from "../agent.js";
|
|
|
4
4
|
import { Job } from "../job.js";
|
|
5
5
|
import { Location } from "../location.js";
|
|
6
6
|
import { LocationServiceMap } from "../location-service-map.js";
|
|
7
|
-
import {
|
|
7
|
+
import { Mcp } from "../mcp/index.js";
|
|
8
|
+
import { PersistentPty } from "../persistent-pty.js";
|
|
8
9
|
import { Session } from "../session.js";
|
|
9
10
|
export interface Interface {
|
|
10
11
|
readonly session: Pick<Session.Interface, "get" | "create" | "messages" | "prompt" | "generate" | "command" | "rename" | "move" | "resume" | "switchAgent" | "switchModel" | "interrupt" | "synthetic" | "wait" | "context">;
|
|
11
12
|
readonly job: Pick<Job.Interface, "start" | "wait" | "block" | "background" | "cancel" | "completeBackground">;
|
|
13
|
+
readonly persistentPty: Pick<PersistentPty.Interface, "read">;
|
|
12
14
|
readonly location: {
|
|
13
15
|
readonly agent: {
|
|
14
16
|
readonly list: (ref: Location.Ref) => Effect.Effect<{
|
|
@@ -19,7 +21,7 @@ export interface Interface {
|
|
|
19
21
|
readonly mcp: {
|
|
20
22
|
readonly list: (ref: Location.Ref) => Effect.Effect<{
|
|
21
23
|
readonly location: Location.Info;
|
|
22
|
-
readonly data:
|
|
24
|
+
readonly data: Mcp.ServerInfo[];
|
|
23
25
|
}, unknown>;
|
|
24
26
|
};
|
|
25
27
|
};
|
|
@@ -32,8 +34,8 @@ export interface Cell {
|
|
|
32
34
|
}
|
|
33
35
|
export declare const makeCell: () => Cell;
|
|
34
36
|
export declare const layerWithCell: (cell: Cell) => Layer.Layer<Service, never, never>;
|
|
35
|
-
export declare const providerLayerWithCell: (cell: Cell) => Layer.Layer<never, never, Job.Service | LocationServiceMap.Service | Session.Service>;
|
|
37
|
+
export declare const providerLayerWithCell: (cell: Cell) => Layer.Layer<never, never, Job.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service>;
|
|
36
38
|
export declare const layer: Layer.Layer<Service, never, never>;
|
|
37
39
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
38
|
-
export declare const providerNodeWithCell: (cell: Cell) => import("@opencode-ai/util/effect/layer-node").Node<never,
|
|
39
|
-
export declare const providerNode: import("@opencode-ai/util/effect/layer-node").Node<never,
|
|
40
|
+
export declare const providerNodeWithCell: (cell: Cell) => import("@opencode-ai/util/effect/layer-node").Node<never, PersistentPty.UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
41
|
+
export declare const providerNode: import("@opencode-ai/util/effect/layer-node").Node<never, PersistentPty.UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -5,7 +5,8 @@ import { ConfigPluginSource } from "../config/plugin/source.js";
|
|
|
5
5
|
import { Bus } from "../bus.js";
|
|
6
6
|
import { Npm } from "@opencode-ai/util/npm";
|
|
7
7
|
import { Plugin } from "../plugin.js";
|
|
8
|
+
import { InstancePlugins } from "./instance.js";
|
|
8
9
|
import { SdkPlugins } from "./sdk.js";
|
|
9
10
|
import { Service } from "./supervisor-service.js";
|
|
10
|
-
export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Npm.Service | import("../credential.js").Service | Bus.Service | import("../location.js").Service | import("../filesystem/watcher.js").Service | import("../kv.js").Service | import("../wellknown.js").Service | import("../config.js").Service | ConfigPluginSource.Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../command.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../file-mutation.js").Service | import("../formatter.js").Service | import("../ripgrep.js").Service | import("../filesystem.js").Service | import("../image.js").Service | import("../permission.js").Service | import("../agent.js").Service | import("../location-mutation.js").Service | SdkPlugins.Service | import("../session/instructions.js").Service | import("../tool/read-filesystem.js").Service | import("../shell/select.js").Service | import("../instruction-discovery.js").Service | import("../tool.js").Service | import("../reference.js").Service | import("../skill.js").Service | Plugin.Service | import("../models-dev.js").Service | import("./runtime.js").Service | import("../shell.js").Service | import("../websearch.js").Service | import("../filesystem/location-watcher-policy.js").Service | import("../session/compaction.js").Service | import("../snapshot.js").Service | import("../skill/discovery.js").Service | import("../tool-output.js").Service>;
|
|
11
|
+
export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Npm.Service | import("../credential.js").Service | Bus.Service | import("../location.js").Service | import("../filesystem/watcher.js").Service | import("../kv.js").Service | import("../wellknown.js").Service | import("../config.js").Service | ConfigPluginSource.Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../command.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../file-mutation.js").Service | import("../formatter.js").Service | import("../ripgrep.js").Service | import("../filesystem.js").Service | import("../image.js").Service | InstancePlugins.Service | import("../permission.js").Service | import("../agent.js").Service | import("../location-mutation.js").Service | SdkPlugins.Service | import("../session/instructions.js").Service | import("../tool/read-filesystem.js").Service | import("../shell/select.js").Service | import("../instruction-discovery.js").Service | import("../tool.js").Service | import("../reference.js").Service | import("../skill.js").Service | Plugin.Service | import("../models-dev.js").Service | import("./runtime.js").Service | import("../shell.js").Service | import("../websearch.js").Service | import("../filesystem/location-watcher-policy.js").Service | import("../session/compaction.js").Service | import("../snapshot.js").Service | import("../skill/discovery.js").Service | import("../tool-output.js").Service>;
|
|
11
12
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -7,7 +7,9 @@ export interface Match {
|
|
|
7
7
|
readonly marker: AbsolutePath;
|
|
8
8
|
}
|
|
9
9
|
export interface Interface {
|
|
10
|
-
readonly discover: (directory: AbsolutePath
|
|
10
|
+
readonly discover: (directory: AbsolutePath, options?: {
|
|
11
|
+
readonly discovery?: boolean;
|
|
12
|
+
}) => Effect.Effect<Match | undefined>;
|
|
11
13
|
readonly targets: () => readonly string[];
|
|
12
14
|
}
|
|
13
15
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/ProjectMarkers", Interface>;
|
package/dist/types/project.d.ts
CHANGED
|
@@ -90,7 +90,9 @@ export declare const root: (fs: FSUtil.Interface, input: string & import("effect
|
|
|
90
90
|
export interface Interface {
|
|
91
91
|
readonly list: () => Effect.Effect<ReadonlyArray<Info>>;
|
|
92
92
|
readonly update: (input: UpdateInput) => Effect.Effect<Info, NotFoundError>;
|
|
93
|
-
readonly resolve: (input: AbsolutePath
|
|
93
|
+
readonly resolve: (input: AbsolutePath, options?: {
|
|
94
|
+
readonly discovery?: boolean;
|
|
95
|
+
}) => Effect.Effect<Resolved>;
|
|
94
96
|
}
|
|
95
97
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Project", Interface>;
|
|
96
98
|
export declare class Service extends Service_base {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Opts, Proc } from "./pty.js";
|
|
2
2
|
export type { Disp, Exit, Opts, Proc } from "./pty.js";
|
|
3
|
-
|
|
3
|
+
declare function spawnPty(file: string, args: string[], opts: Opts): Proc;
|
|
4
|
+
export { spawnPty as spawn };
|