@opencode-ai/core 0.0.0-beta-18414 → 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/{tool-02dbfq60.js → persistent-pty-02dbfq60.js} +1 -1
- package/dist/chunks/{tool-ykb30cq4.js → persistent-pty-02s8hgfb.js} +5 -5
- package/dist/chunks/{tool-f11jbhcb.js → persistent-pty-0687t5rp.js} +7 -7
- package/dist/chunks/{tool-scfq11we.js → persistent-pty-0dfzjmdz.js} +26 -26
- package/dist/chunks/{tool-7thnevmq.js → persistent-pty-0gcqkg3x.js} +3 -4
- package/dist/chunks/{tool-0kvmztkf.js → persistent-pty-0kvmztkf.js} +1 -1
- package/dist/chunks/{tool-yncnzy6p.js → persistent-pty-0tya1wfq.js} +3 -3
- package/dist/chunks/persistent-pty-0xkrc3c3.js +126 -0
- package/dist/chunks/{tool-7gqqz1s8.js → persistent-pty-10p29vm9.js} +2 -2
- package/dist/chunks/{tool-vvdjq78e.js → persistent-pty-12pms3sx.js} +5 -6
- package/dist/chunks/{tool-999qd968.js → persistent-pty-15hpbjb6.js} +4 -4
- package/dist/chunks/{tool-18pv8fg3.js → persistent-pty-18pv8fg3.js} +2 -2
- package/dist/chunks/{tool-wcb745wb.js → persistent-pty-1xq8v1tm.js} +4 -4
- package/dist/chunks/{tool-7bxmgbqt.js → persistent-pty-22h5xaqn.js} +10 -7
- package/dist/chunks/{tool-cb5zxvq2.js → persistent-pty-264e1nfp.js} +16 -27
- package/dist/chunks/{tool-bmknfyv0.js → persistent-pty-2knkewgs.js} +5 -5
- package/dist/chunks/persistent-pty-2kyxeqh2.js +33 -0
- package/dist/chunks/{tool-2m0hgr65.js → persistent-pty-2m0hgr65.js} +1 -1
- package/dist/chunks/{tool-2nmyybe0.js → persistent-pty-2nmyybe0.js} +1 -1
- package/dist/chunks/{tool-2wds5nk3.js → persistent-pty-2wds5nk3.js} +1 -1
- package/dist/chunks/{tool-217z330v.js → persistent-pty-2wsc5t7f.js} +2 -2
- package/dist/chunks/{tool-y0a17w9d.js → persistent-pty-318s80v9.js} +4 -4
- package/dist/chunks/{tool-c7b2cm7c.js → persistent-pty-31t50p8f.js} +7 -7
- package/dist/chunks/{tool-vycjsnjm.js → persistent-pty-37ng30jt.js} +11 -6
- package/dist/chunks/{tool-393a352g.js → persistent-pty-393a352g.js} +2 -2
- package/dist/chunks/{tool-3g8vftxb.js → persistent-pty-3g8vftxb.js} +2 -2
- package/dist/chunks/{tool-h4a7m801.js → persistent-pty-3mn74f4q.js} +21 -24
- package/dist/chunks/{tool-3qv8nf0b.js → persistent-pty-3qv8nf0b.js} +1 -1
- package/dist/chunks/{tool-h5xzwr1g.js → persistent-pty-3sj8e5dd.js} +6 -6
- package/dist/chunks/{tool-3thh6229.js → persistent-pty-3thh6229.js} +2 -2
- package/dist/chunks/{tool-25n2gasw.js → persistent-pty-3x0b9mtx.js} +7 -7
- package/dist/chunks/{tool-5aac0tby.js → persistent-pty-3xa942qf.js} +10 -10
- package/dist/chunks/{tool-3bben81c.js → persistent-pty-4fpv6vze.js} +12 -9
- package/dist/chunks/{tool-e39r3b28.js → persistent-pty-4n5anbj9.js} +3 -3
- package/dist/chunks/{tool-4s2xwh5d.js → persistent-pty-4s2xwh5d.js} +3 -3
- package/dist/chunks/{tool-pts35d3y.js → persistent-pty-4szn0afa.js} +8 -9
- package/dist/chunks/{tool-v72crqz7.js → persistent-pty-4vx29khk.js} +4 -4
- package/dist/chunks/{tool-4zzdwbaz.js → persistent-pty-4zzdwbaz.js} +2 -2
- package/dist/chunks/{tool-50jxp3hw.js → persistent-pty-50jxp3hw.js} +1 -1
- package/dist/chunks/{tool-kprre75d.js → persistent-pty-513bkrxw.js} +3 -3
- package/dist/chunks/{tool-5z4zwtb4.js → persistent-pty-57ej80dx.js} +6 -5
- package/dist/chunks/{tool-57tzwnz4.js → persistent-pty-57tzwnz4.js} +1 -1
- package/dist/chunks/{tool-58xdvehb.js → persistent-pty-58xdvehb.js} +1 -1
- package/dist/chunks/{tool-chc00mz7.js → persistent-pty-5b7b3wgr.js} +6 -6
- package/dist/chunks/{tool-5cdnkd94.js → persistent-pty-5cdnkd94.js} +3 -3
- package/dist/chunks/{tool-5fe026tx.js → persistent-pty-5fe026tx.js} +3 -3
- package/dist/chunks/{tool-5rs65q6p.js → persistent-pty-5rs65q6p.js} +1 -1
- package/dist/chunks/{tool-5vcssjzn.js → persistent-pty-5vcssjzn.js} +1 -1
- package/dist/chunks/{tool-6272rtjg.js → persistent-pty-6272rtjg.js} +1 -1
- package/dist/chunks/{tool-5drxeftm.js → persistent-pty-68wbtxd0.js} +152 -152
- package/dist/chunks/{tool-rp2ch0tc.js → persistent-pty-68ypegzg.js} +3 -3
- package/dist/chunks/{tool-cp982web.js → persistent-pty-6d0q94xv.js} +7 -7
- package/dist/chunks/{tool-n93x7mqk.js → persistent-pty-6dfpv9a6.js} +3 -3
- package/dist/chunks/{tool-6ky7rqk7.js → persistent-pty-6ky7rqk7.js} +1 -1
- package/dist/chunks/{tool-t9sv4zem.js → persistent-pty-6nthn2wf.js} +5 -5
- package/dist/chunks/{tool-6wkzvma0.js → persistent-pty-6wkzvma0.js} +2 -2
- package/dist/chunks/{tool-75h1hfe2.js → persistent-pty-75h1hfe2.js} +2 -2
- package/dist/chunks/{tool-d8ve01t0.js → persistent-pty-76wzch5c.js} +43 -48
- package/dist/chunks/{tool-2ppgn6ch.js → persistent-pty-7f6z5n6f.js} +4 -4
- package/dist/chunks/{tool-pkezspgh.js → persistent-pty-7hq60rpc.js} +11 -11
- package/dist/chunks/{tool-7khw64yh.js → persistent-pty-7khw64yh.js} +1 -1
- package/dist/chunks/{tool-7mrpdsq5.js → persistent-pty-7mrpdsq5.js} +1 -1
- package/dist/chunks/{tool-7wcmqxrc.js → persistent-pty-7wcmqxrc.js} +1 -1
- package/dist/chunks/{tool-rameyvmv.js → persistent-pty-83ba1yz6.js} +5 -11
- package/dist/chunks/{tool-pcyacrd3.js → persistent-pty-83vcrt0q.js} +6 -6
- package/dist/chunks/{tool-5tp8bhe0.js → persistent-pty-854jnr3z.js} +10 -8
- package/dist/chunks/{tool-h01rtytj.js → persistent-pty-85s0s238.js} +3 -3
- package/dist/chunks/{tool-k7pbmry0.js → persistent-pty-8a0sxteh.js} +13 -14
- package/dist/chunks/{tool-jcxfg7j9.js → persistent-pty-8a4hfbqs.js} +9 -8
- package/dist/chunks/{tool-8dndtydw.js → persistent-pty-8dqs26x1.js} +4 -4
- package/dist/chunks/{tool-negttf37.js → persistent-pty-8hsta5jz.js} +86 -86
- package/dist/chunks/{tool-z8gh2y42.js → persistent-pty-8n5xz4y2.js} +4 -4
- package/dist/chunks/{tool-8pngjawd.js → persistent-pty-8pngjawd.js} +2 -2
- package/dist/chunks/{tool-g64wqzyd.js → persistent-pty-9507whzk.js} +3 -3
- package/dist/chunks/{tool-9f0rnpkn.js → persistent-pty-9f0rnpkn.js} +1 -1
- package/dist/chunks/{tool-s758z954.js → persistent-pty-9kqpqjvx.js} +2 -2
- package/dist/chunks/{tool-3p1bsa7m.js → persistent-pty-9maxscqf.js} +7 -0
- package/dist/chunks/{tool-sxpjdhga.js → persistent-pty-9xg84z6j.js} +4 -4
- package/dist/chunks/{tool-eek2pnnt.js → persistent-pty-a0ys31qc.js} +12 -12
- package/dist/chunks/{tool-dcqm2659.js → persistent-pty-a25nnbkb.js} +33 -87
- package/dist/chunks/{tool-r958g7pm.js → persistent-pty-a7xc44k8.js} +4 -4
- package/dist/chunks/{tool-merfm3fd.js → persistent-pty-agy32ytt.js} +3 -3
- package/dist/chunks/{tool-9ksd5av3.js → persistent-pty-aj1419k0.js} +4 -4
- package/dist/chunks/{tool-x33kb18g.js → persistent-pty-aj48n7zh.js} +3 -3
- package/dist/chunks/{tool-cpbmr86j.js → persistent-pty-arfafmgx.js} +6 -6
- package/dist/chunks/{tool-awg5d31a.js → persistent-pty-awg5d31a.js} +1 -1
- package/dist/chunks/{tool-se8395as.js → persistent-pty-ayrkq19e.js} +8 -8
- package/dist/chunks/{tool-t4r89bwk.js → persistent-pty-b11hynfv.js} +3 -3
- package/dist/chunks/{tool-76jwqfe9.js → persistent-pty-b1rr41z2.js} +8 -8
- package/dist/chunks/{tool-d7kshenq.js → persistent-pty-b4gc6pz2.js} +49 -44
- package/dist/chunks/{tool-09s1bzmc.js → persistent-pty-b7tctcvf.js} +6 -9
- package/dist/chunks/{tool-c03pdk3m.js → persistent-pty-b9k0650j.js} +3 -3
- package/dist/chunks/{tool-bbhffenw.js → persistent-pty-bbhffenw.js} +3 -3
- package/dist/chunks/{tool-bh1wr8rq.js → persistent-pty-bh1wr8rq.js} +2 -2
- package/dist/chunks/{tool-53vhya9m.js → persistent-pty-bk1nj3vy.js} +5 -5
- package/dist/chunks/{tool-400rk52g.js → persistent-pty-bm9ah9hr.js} +5 -5
- package/dist/chunks/{tool-75wg6agd.js → persistent-pty-by5251yx.js} +19 -17
- package/dist/chunks/{tool-byab506k.js → persistent-pty-byab506k.js} +1 -1
- package/dist/chunks/{tool-e4n4v60w.js → persistent-pty-bysvf6ep.js} +3 -3
- package/dist/chunks/{tool-c4wcb9vc.js → persistent-pty-c4wcb9vc.js} +2 -2
- package/dist/chunks/{tool-88jbfw8z.js → persistent-pty-c8ya26sa.js} +4 -4
- package/dist/chunks/{tool-02xgq42f.js → persistent-pty-caycsp33.js} +2 -2
- package/dist/chunks/{tool-8ebp560e.js → persistent-pty-chdf1j2d.js} +4 -4
- package/dist/chunks/{tool-6f8j85qb.js → persistent-pty-ckw7ggwg.js} +13 -13
- package/dist/chunks/{tool-b12y280m.js → persistent-pty-cqf8rezx.js} +6 -6
- package/dist/chunks/{tool-qfcm9j97.js → persistent-pty-cznxnepa.js} +6 -10
- package/dist/chunks/{tool-d2gk9vpf.js → persistent-pty-d2gk9vpf.js} +2 -2
- package/dist/chunks/{tool-mtf7yncj.js → persistent-pty-d2k1eqgv.js} +6 -6
- package/dist/chunks/{tool-nesb2rcz.js → persistent-pty-d4h7vwhh.js} +2 -2
- package/dist/chunks/{tool-2y40pff2.js → persistent-pty-d88p9jy9.js} +6 -6
- package/dist/chunks/{tool-dhphtf1x.js → persistent-pty-dhphtf1x.js} +1 -1
- package/dist/chunks/{tool-5t37zp3f.js → persistent-pty-dmnn2ttb.js} +19 -13
- package/dist/chunks/{tool-cstpqjcj.js → persistent-pty-dssj2s1h.js} +23 -24
- package/dist/chunks/{tool-e1z9a0ts.js → persistent-pty-e1z9a0ts.js} +2 -2
- package/dist/chunks/{tool-ec8vrfw5.js → persistent-pty-ec8vrfw5.js} +1 -1
- package/dist/chunks/{tool-rm0rdhcq.js → persistent-pty-edmk8q4v.js} +7 -9
- package/dist/chunks/{tool-eeta29b7.js → persistent-pty-eeta29b7.js} +4 -4
- package/dist/chunks/persistent-pty-egt387mf.js +187 -0
- package/dist/chunks/{tool-enpg66yn.js → persistent-pty-enpg66yn.js} +1 -1
- package/dist/chunks/persistent-pty-ep35cpen.js +32 -0
- package/dist/chunks/{tool-hjc64t6x.js → persistent-pty-ext14ctb.js} +50 -74
- package/dist/chunks/{tool-amkf47zv.js → persistent-pty-ey12fzze.js} +6 -9
- package/dist/chunks/{tool-q693p5za.js → persistent-pty-f01b69za.js} +11 -11
- package/dist/chunks/{tool-drean1vx.js → persistent-pty-f1jj19e8.js} +1 -1
- package/dist/chunks/{tool-83kkwqqt.js → persistent-pty-f74fncf5.js} +5 -5
- package/dist/chunks/{tool-8qrvdwwg.js → persistent-pty-f7q7a28y.js} +6 -6
- package/dist/chunks/{tool-f9wt0tjw.js → persistent-pty-f9wt0tjw.js} +2 -2
- package/dist/chunks/{tool-fb7nfzf2.js → persistent-pty-fb7nfzf2.js} +3 -3
- package/dist/chunks/{tool-7vqcvmjm.js → persistent-pty-fbnkj2ks.js} +9 -9
- package/dist/chunks/{tool-n0eq3s1b.js → persistent-pty-fck3954k.js} +7 -7
- package/dist/chunks/{tool-fgyjabww.js → persistent-pty-fgyjabww.js} +2 -2
- package/dist/chunks/persistent-pty-fm2xjscy.js +304 -0
- package/dist/chunks/{tool-ybhfpy64.js → persistent-pty-fm3b2wbt.js} +4 -6
- package/dist/chunks/{tool-dfjw0vq8.js → persistent-pty-g01v88ve.js} +12 -13
- package/dist/chunks/{tool-2zb0j1mr.js → persistent-pty-g2tg9rrx.js} +1 -1
- package/dist/chunks/{tool-mh28new4.js → persistent-pty-gb1z7yet.js} +2 -2
- package/dist/chunks/{tool-gcay93cp.js → persistent-pty-gcay93cp.js} +1 -1
- package/dist/chunks/{tool-gd2xppx8.js → persistent-pty-gd2xppx8.js} +1 -1
- package/dist/chunks/{tool-h12kt9pa.js → persistent-pty-h12kt9pa.js} +2 -2
- package/dist/chunks/{tool-248dv4dv.js → persistent-pty-h40g2pf4.js} +5 -5
- package/dist/chunks/{tool-p379w5v5.js → persistent-pty-h7dqnnw7.js} +10 -10
- package/dist/chunks/{tool-h94zdhz8.js → persistent-pty-h94zdhz8.js} +2 -2
- package/dist/chunks/{tool-4qk63h15.js → persistent-pty-hg1dj728.js} +3 -3
- package/dist/chunks/{tool-rmm5c85b.js → persistent-pty-hggmzd1z.js} +13 -14
- package/dist/chunks/{tool-na96fv1q.js → persistent-pty-hjndjhyq.js} +3 -3
- package/dist/chunks/{tool-hp6rpdnc.js → persistent-pty-hp6rpdnc.js} +1 -1
- package/dist/chunks/{tool-ey81096p.js → persistent-pty-hs1p9dz7.js} +10 -10
- package/dist/chunks/persistent-pty-j32vdj8r.js +16 -0
- package/dist/chunks/{tool-ffe33p6j.js → persistent-pty-j39d0gcp.js} +18 -20
- package/dist/chunks/{tool-7yfz5d5r.js → persistent-pty-j8t12rx3.js} +17 -9
- package/dist/chunks/{tool-b273vq4v.js → persistent-pty-jm9yfqhv.js} +3 -11
- package/dist/chunks/{tool-23mx900r.js → persistent-pty-jmn1sgkw.js} +5 -5
- package/dist/chunks/{tool-4ya343sq.js → persistent-pty-jmntmgq9.js} +32 -36
- package/dist/chunks/{tool-t66bwez3.js → persistent-pty-jn3nfbk7.js} +2 -2
- package/dist/chunks/{tool-5y7h4bj8.js → persistent-pty-jp7a1crg.js} +6 -6
- package/dist/chunks/{tool-y4v09x0q.js → persistent-pty-jrzh7nr2.js} +4 -4
- package/dist/chunks/{tool-ngpnqj2n.js → persistent-pty-ke19p6qk.js} +6 -9
- package/dist/chunks/{tool-kg1345f7.js → persistent-pty-kg1345f7.js} +1 -1
- package/dist/chunks/{tool-kp1t5rcy.js → persistent-pty-kp1t5rcy.js} +1 -1
- package/dist/chunks/{tool-krsqcmnj.js → persistent-pty-krsqcmnj.js} +1 -1
- package/dist/chunks/{tool-gpybhmhb.js → persistent-pty-krzvywyt.js} +6 -6
- package/dist/chunks/{tool-kt491qp2.js → persistent-pty-kt491qp2.js} +3 -3
- package/dist/chunks/{tool-0jn2bqed.js → persistent-pty-kxet89mv.js} +3 -3
- package/dist/chunks/{tool-m55whf0h.js → persistent-pty-m55whf0h.js} +2 -2
- package/dist/chunks/{tool-c3ehh06a.js → persistent-pty-m6kd9m0n.js} +5 -5
- package/dist/chunks/{tool-017jr2na.js → persistent-pty-mankezgy.js} +55 -7
- package/dist/chunks/{tool-dp4z5d5v.js → persistent-pty-mctnftah.js} +6 -6
- package/dist/chunks/{tool-6mybbghn.js → persistent-pty-mdbd9v7n.js} +11 -11
- package/dist/chunks/{tool-mf0hyk7z.js → persistent-pty-mf0hyk7z.js} +1 -1
- package/dist/chunks/{tool-1tbh5vd4.js → persistent-pty-mjkw59em.js} +8 -8
- package/dist/chunks/{tool-mnb85w6b.js → persistent-pty-mnb85w6b.js} +2 -2
- package/dist/chunks/{tool-whk0g8cz.js → persistent-pty-mxjff6xk.js} +10 -5
- package/dist/chunks/{tool-mxvw03gv.js → persistent-pty-mxvw03gv.js} +1 -1
- package/dist/chunks/{tool-xt0068v8.js → persistent-pty-n6ag8q95.js} +19 -23
- package/dist/chunks/{tool-m1wb9dgh.js → persistent-pty-n8twstac.js} +34 -34
- package/dist/chunks/{tool-6qnkp1xh.js → persistent-pty-ngph9rhx.js} +13 -13
- package/dist/chunks/{tool-nr76rjj3.js → persistent-pty-nr76rjj3.js} +2 -2
- package/dist/chunks/{tool-y980s7ka.js → persistent-pty-ns0sdez7.js} +5 -5
- package/dist/chunks/{tool-emrme47h.js → persistent-pty-nt76vjs4.js} +6 -6
- package/dist/chunks/{tool-nzrjycs5.js → persistent-pty-nzrjycs5.js} +1 -1
- package/dist/chunks/{tool-yaw62s0n.js → persistent-pty-p91cgptf.js} +4 -4
- package/dist/chunks/{tool-jy183kys.js → persistent-pty-pp6dntfs.js} +7 -7
- package/dist/chunks/{tool-pq4b4pqk.js → persistent-pty-pq4b4pqk.js} +2 -2
- package/dist/chunks/{tool-bb6xq25h.js → persistent-pty-q1jag6n4.js} +62 -65
- package/dist/chunks/{tool-3jshngxf.js → persistent-pty-q22ck3r9.js} +9 -9
- package/dist/chunks/{tool-271gqszs.js → persistent-pty-q3p77hqf.js} +9 -14
- package/dist/chunks/{tool-ygy0xbqa.js → persistent-pty-q606pcse.js} +3 -3
- package/dist/chunks/{tool-cb19ghtj.js → persistent-pty-q6qnq55y.js} +3 -3
- package/dist/chunks/{tool-3s135gjm.js → persistent-pty-q6skr8rp.js} +8 -8
- package/dist/chunks/{tool-qe0d689s.js → persistent-pty-qe0d689s.js} +2 -2
- package/dist/chunks/{tool-r13w8t0w.js → persistent-pty-r13w8t0w.js} +2 -2
- package/dist/chunks/{tool-r3k9abhd.js → persistent-pty-r3k9abhd.js} +2 -2
- package/dist/chunks/{tool-yde8fdw7.js → persistent-pty-r5b5j3z1.js} +9 -9
- package/dist/chunks/{tool-rfbm65k8.js → persistent-pty-r9d3d23r.js} +5 -33
- package/dist/chunks/{tool-rahat93a.js → persistent-pty-rahat93a.js} +1 -1
- package/dist/chunks/{tool-rbnp2c85.js → persistent-pty-rbnp2c85.js} +3 -3
- package/dist/chunks/{tool-c06ff3ts.js → persistent-pty-rjhyt7an.js} +10 -11
- package/dist/chunks/{tool-pqe0bsb2.js → persistent-pty-rttzjz69.js} +3 -3
- package/dist/chunks/{tool-nr9n2d4p.js → persistent-pty-rywejs85.js} +10 -10
- package/dist/chunks/{tool-376q6v3y.js → persistent-pty-rz6kjcfr.js} +10 -10
- package/dist/chunks/persistent-pty-s2kjqxd3.js +21 -0
- package/dist/chunks/{tool-s33fw6zm.js → persistent-pty-s33fw6zm.js} +1 -1
- package/dist/chunks/{tool-5cmc2wkg.js → persistent-pty-shjty0r5.js} +10 -10
- package/dist/chunks/{tool-smpeg8c9.js → persistent-pty-smpeg8c9.js} +2 -2
- package/dist/chunks/{tool-sw84ckhj.js → persistent-pty-sw84ckhj.js} +1 -1
- package/dist/chunks/{tool-t0msbthe.js → persistent-pty-t0msbthe.js} +3 -3
- package/dist/chunks/{tool-t14kykx1.js → persistent-pty-t14kykx1.js} +1 -1
- package/dist/chunks/{tool-y109krwg.js → persistent-pty-t4x64zgs.js} +8 -16
- package/dist/chunks/{tool-gf27j7mb.js → persistent-pty-tayw3q5q.js} +8 -16
- package/dist/chunks/{tool-tcptxgyq.js → persistent-pty-tcptxgyq.js} +1 -1
- package/dist/chunks/{tool-re1rhra9.js → persistent-pty-tg194hwa.js} +6 -6
- package/dist/chunks/{tool-tgbb2ckq.js → persistent-pty-tgbb2ckq.js} +2 -2
- package/dist/chunks/{tool-thstd87d.js → persistent-pty-thstd87d.js} +1 -1
- package/dist/chunks/{tool-kgkfyy1j.js → persistent-pty-tjrfm0xh.js} +5 -8
- package/dist/chunks/{tool-d8s3r721.js → persistent-pty-tpzhmg20.js} +4 -4
- package/dist/chunks/{tool-txw0c3p3.js → persistent-pty-tqf07m3e.js} +6 -4
- package/dist/chunks/persistent-pty-ttxf0gsy.js +0 -0
- package/dist/chunks/{tool-ndg5dzdd.js → persistent-pty-twtt8bhh.js} +3 -3
- package/dist/chunks/{tool-v2wshkax.js → persistent-pty-v2wshkax.js} +1 -1
- package/dist/chunks/{tool-v80zsxnb.js → persistent-pty-v80zsxnb.js} +1 -1
- package/dist/chunks/{tool-v972xay6.js → persistent-pty-v972xay6.js} +1 -1
- package/dist/chunks/{tool-v9bfv94f.js → persistent-pty-v9bfv94f.js} +1 -1
- package/dist/chunks/{tool-kcacmy5c.js → persistent-pty-vac9eqd2.js} +1 -5
- package/dist/chunks/{tool-vcwr2vpf.js → persistent-pty-vcwr2vpf.js} +1 -1
- package/dist/chunks/{tool-e7m167yz.js → persistent-pty-vh1dz6e7.js} +19 -11
- package/dist/chunks/{tool-w52cyf08.js → persistent-pty-vjsse407.js} +2 -2
- package/dist/chunks/{tool-vqbmgfq1.js → persistent-pty-vqbmgfq1.js} +3 -3
- package/dist/chunks/{tool-hszm49c7.js → persistent-pty-vqha1kn3.js} +10 -10
- package/dist/chunks/{tool-88d62dqj.js → persistent-pty-vyrk4dbp.js} +42 -44
- package/dist/chunks/{tool-vz89hfgr.js → persistent-pty-vz89hfgr.js} +1 -1
- package/dist/chunks/{tool-a66h3var.js → persistent-pty-w4aa5eza.js} +9 -9
- package/dist/chunks/{tool-ay9jepqf.js → persistent-pty-w6dbrh59.js} +19 -19
- package/dist/chunks/{tool-t11m5yr4.js → persistent-pty-wa3apvnh.js} +4 -4
- package/dist/chunks/{tool-wbkt8qpj.js → persistent-pty-wbkt8qpj.js} +1 -1
- package/dist/chunks/persistent-pty-we6kp80b.js +234 -0
- package/dist/chunks/{tool-wmxdh12w.js → persistent-pty-wmxdh12w.js} +1 -1
- package/dist/chunks/{tool-pqjwk9ze.js → persistent-pty-wpak3cn2.js} +3 -3
- package/dist/chunks/{tool-wps8gh8n.js → persistent-pty-wps8gh8n.js} +2 -2
- package/dist/chunks/{tool-gfdah46y.js → persistent-pty-wr6wwww9.js} +21 -22
- package/dist/chunks/{tool-pr2pekfr.js → persistent-pty-wskcpn5r.js} +15 -15
- package/dist/chunks/{tool-5h6b115z.js → persistent-pty-ww589d89.js} +48 -8
- package/dist/chunks/{tool-x89rah0x.js → persistent-pty-x89rah0x.js} +1 -1
- package/dist/chunks/{tool-xczfw7dq.js → persistent-pty-xczfw7dq.js} +1 -1
- package/dist/chunks/{tool-xgv25zxy.js → persistent-pty-xgv25zxy.js} +1 -1
- package/dist/chunks/{tool-p8fr6x1v.js → persistent-pty-xj0xhwdw.js} +2 -2
- package/dist/chunks/{tool-ef9y63ry.js → persistent-pty-xkdg511d.js} +3 -3
- package/dist/chunks/{tool-d6sk6h82.js → persistent-pty-xqzpjgmh.js} +57 -63
- package/dist/chunks/{tool-xwftk1fd.js → persistent-pty-xwftk1fd.js} +2 -2
- package/dist/chunks/{tool-xxpvz42q.js → persistent-pty-xxpvz42q.js} +3 -3
- package/dist/chunks/{tool-y0x38cee.js → persistent-pty-y0x38cee.js} +1 -1
- package/dist/chunks/{tool-y198y2ra.js → persistent-pty-y198y2ra.js} +1 -1
- package/dist/chunks/{tool-y67x6rf6.js → persistent-pty-y67x6rf6.js} +1 -1
- package/dist/chunks/{tool-q70gvhbx.js → persistent-pty-y85nmh9b.js} +9 -9
- package/dist/chunks/{tool-s2dmwbat.js → persistent-pty-ybp6xw39.js} +7 -7
- package/dist/chunks/{tool-3331j5hn.js → persistent-pty-yd381zvh.js} +19 -23
- package/dist/chunks/{tool-yf0knd5z.js → persistent-pty-yf0knd5z.js} +2 -2
- package/dist/chunks/{tool-hd8q5g8p.js → persistent-pty-ym92bbkh.js} +8 -5
- package/dist/chunks/{tool-axj9zjcw.js → persistent-pty-yq3dvva9.js} +4 -4
- package/dist/chunks/{tool-157r81nd.js → persistent-pty-yx19m5fk.js} +8 -8
- package/dist/chunks/{tool-h2mftgr1.js → persistent-pty-z3cp4eqm.js} +14 -9
- package/dist/chunks/{tool-9cn9z662.js → persistent-pty-z6p4m7fm.js} +33 -33
- package/dist/chunks/{tool-zbqqnp0n.js → persistent-pty-zbqqnp0n.js} +1 -1
- package/dist/chunks/{tool-zdkg1k91.js → persistent-pty-zdkg1k91.js} +1 -1
- package/dist/chunks/{tool-njstbtdj.js → persistent-pty-zggp0jtk.js} +61 -61
- package/dist/chunks/{tool-q9b4qnv8.js → persistent-pty-zs1qer6v.js} +7 -11
- package/dist/chunks/{tool-zxcy6vhn.js → persistent-pty-zxcy6vhn.js} +1 -1
- package/dist/chunks/{tool-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 +18 -18
- 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 +18 -18
- 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 +96 -107
- 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 +81 -81
- 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 +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -73
- 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 +77 -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 +162 -160
- 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 +4 -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 +113 -116
- package/dist/tool/plugin/question.js +102 -108
- 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 +113 -116
- 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 -48
- 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.d.ts +14 -2
- package/dist/types/persistent-pty/daemon.d.ts +108 -0
- package/dist/types/persistent-pty/index.d.ts +2 -1
- package/dist/types/plugin/command.d.ts +2 -2
- package/dist/types/plugin/host.d.ts +10 -6
- 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/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 +1 -0
- package/dist/types/session/usage.d.ts +1 -1
- package/dist/types/session.d.ts +3 -2
- 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 +2 -2
- package/dist/types/tool/plugin/question.d.ts +2 -2
- 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 +2 -2
- 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 +11 -11
- package/dist/chunks/tool-3q6gbwmd.js +0 -26
- package/dist/chunks/tool-8tv6syt7.js +0 -46
- package/dist/chunks/tool-c35fsjgg.js +0 -119
- package/dist/chunks/tool-nt13qee2.js +0 -231
- package/dist/chunks/tool-s8xxtbar.js +0 -300
- package/dist/chunks/tool-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/{tool-0cgt0xh2.js → persistent-pty-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{tool-0f48qthw.js → persistent-pty-0f48qthw.js} +0 -0
- /package/dist/chunks/{tool-0zz82cjq.js → persistent-pty-0zz82cjq.js} +0 -0
- /package/dist/chunks/{tool-1fb7bmpf.js → persistent-pty-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{tool-1wcz8fvj.js → persistent-pty-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{tool-29n7vfk2.js → persistent-pty-29n7vfk2.js} +0 -0
- /package/dist/chunks/{tool-2qdx6zz3.js → persistent-pty-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{tool-2xb0r1c6.js → persistent-pty-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{tool-39ktntah.js → persistent-pty-39ktntah.js} +0 -0
- /package/dist/chunks/{tool-3g3rpp2x.js → persistent-pty-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{tool-3w3ybtfd.js → persistent-pty-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{tool-47ty4mvs.js → persistent-pty-47ty4mvs.js} +0 -0
- /package/dist/chunks/{tool-4b2tz2m9.js → persistent-pty-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{tool-5a5ch9ts.js → persistent-pty-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{tool-5va1yh78.js → persistent-pty-5va1yh78.js} +0 -0
- /package/dist/chunks/{tool-61ek4hj9.js → persistent-pty-61ek4hj9.js} +0 -0
- /package/dist/chunks/{tool-69qrqpw0.js → persistent-pty-69qrqpw0.js} +0 -0
- /package/dist/chunks/{tool-6zqxzw0a.js → persistent-pty-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{tool-7n9qwqk4.js → persistent-pty-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{tool-8nn8kqcn.js → persistent-pty-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{tool-8rpfd2h6.js → persistent-pty-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{tool-8sj3ajy5.js → persistent-pty-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{tool-8w9tzfz1.js → persistent-pty-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{tool-906y0b6d.js → persistent-pty-906y0b6d.js} +0 -0
- /package/dist/chunks/{tool-9dct5xhx.js → persistent-pty-9dct5xhx.js} +0 -0
- /package/dist/chunks/{tool-9sdtsapf.js → persistent-pty-9sdtsapf.js} +0 -0
- /package/dist/chunks/{tool-a02svayp.js → persistent-pty-a02svayp.js} +0 -0
- /package/dist/chunks/{tool-a83yvq99.js → persistent-pty-a83yvq99.js} +0 -0
- /package/dist/chunks/{tool-a9vdgkgd.js → persistent-pty-a9vdgkgd.js} +0 -0
- /package/dist/chunks/{tool-ayevdmef.js → persistent-pty-ayevdmef.js} +0 -0
- /package/dist/chunks/{tool-b02txbh8.js → persistent-pty-b02txbh8.js} +0 -0
- /package/dist/chunks/{tool-bbqs2y60.js → persistent-pty-bbqs2y60.js} +0 -0
- /package/dist/chunks/{tool-bjwj8hwv.js → persistent-pty-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{tool-brsh5f65.js → persistent-pty-brsh5f65.js} +0 -0
- /package/dist/chunks/{tool-bxdhjb3y.js → persistent-pty-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{tool-c77ad0vh.js → persistent-pty-c77ad0vh.js} +0 -0
- /package/dist/chunks/{tool-cm67rqy2.js → persistent-pty-cm67rqy2.js} +0 -0
- /package/dist/chunks/{tool-df3v2q6j.js → persistent-pty-df3v2q6j.js} +0 -0
- /package/dist/chunks/{tool-dhcq6c44.js → persistent-pty-dhcq6c44.js} +0 -0
- /package/dist/chunks/{tool-dht5baf0.js → persistent-pty-dht5baf0.js} +0 -0
- /package/dist/chunks/{tool-dkmkay92.js → persistent-pty-dkmkay92.js} +0 -0
- /package/dist/chunks/{tool-ehj9csmv.js → persistent-pty-ehj9csmv.js} +0 -0
- /package/dist/chunks/{tool-em6xpscd.js → persistent-pty-em6xpscd.js} +0 -0
- /package/dist/chunks/{tool-emmqknsm.js → persistent-pty-emmqknsm.js} +0 -0
- /package/dist/chunks/{tool-ezs3tagn.js → persistent-pty-ezs3tagn.js} +0 -0
- /package/dist/chunks/{tool-f14r7hfz.js → persistent-pty-f14r7hfz.js} +0 -0
- /package/dist/chunks/{tool-f4cp4g4a.js → persistent-pty-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{tool-faypg4r1.js → persistent-pty-faypg4r1.js} +0 -0
- /package/dist/chunks/{tool-ttxf0gsy.js → persistent-pty-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{tool-fgbfdq62.js → persistent-pty-fgbfdq62.js} +0 -0
- /package/dist/chunks/{tool-gd5xeqc2.js → persistent-pty-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{tool-ghm4673n.js → persistent-pty-ghm4673n.js} +0 -0
- /package/dist/chunks/{tool-ghwjy7my.js → persistent-pty-ghwjy7my.js} +0 -0
- /package/dist/chunks/{tool-gy500k2r.js → persistent-pty-gy500k2r.js} +0 -0
- /package/dist/chunks/{tool-hzeg9cfr.js → persistent-pty-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{tool-j07kk359.js → persistent-pty-j07kk359.js} +0 -0
- /package/dist/chunks/{tool-jqms80b0.js → persistent-pty-jqms80b0.js} +0 -0
- /package/dist/chunks/{tool-jve7t217.js → persistent-pty-jve7t217.js} +0 -0
- /package/dist/chunks/{tool-k3e42drn.js → persistent-pty-k3e42drn.js} +0 -0
- /package/dist/chunks/{tool-k8b45nas.js → persistent-pty-k8b45nas.js} +0 -0
- /package/dist/chunks/{tool-kpdbz7gn.js → persistent-pty-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{tool-kxy11nzk.js → persistent-pty-kxy11nzk.js} +0 -0
- /package/dist/chunks/{tool-kyyqvx4s.js → persistent-pty-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{tool-m8cbvarh.js → persistent-pty-m8cbvarh.js} +0 -0
- /package/dist/chunks/{tool-ma60vzgv.js → persistent-pty-ma60vzgv.js} +0 -0
- /package/dist/chunks/{tool-n3m50c2t.js → persistent-pty-n3m50c2t.js} +0 -0
- /package/dist/chunks/{tool-nkm1m8dz.js → persistent-pty-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{tool-nsc0c3zb.js → persistent-pty-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{tool-qaarhjrp.js → persistent-pty-qaarhjrp.js} +0 -0
- /package/dist/chunks/{tool-qc167nrn.js → persistent-pty-qc167nrn.js} +0 -0
- /package/dist/chunks/{tool-qp95y4jb.js → persistent-pty-qp95y4jb.js} +0 -0
- /package/dist/chunks/{tool-r8f4w671.js → persistent-pty-r8f4w671.js} +0 -0
- /package/dist/chunks/{tool-rdfev9jy.js → persistent-pty-rdfev9jy.js} +0 -0
- /package/dist/chunks/{tool-rvfvac9x.js → persistent-pty-rvfvac9x.js} +0 -0
- /package/dist/chunks/{tool-s7whb9gt.js → persistent-pty-s7whb9gt.js} +0 -0
- /package/dist/chunks/{tool-se76j685.js → persistent-pty-se76j685.js} +0 -0
- /package/dist/chunks/{tool-sem2g21k.js → persistent-pty-sem2g21k.js} +0 -0
- /package/dist/chunks/{tool-sp575ygv.js → persistent-pty-sp575ygv.js} +0 -0
- /package/dist/chunks/{tool-tmb1f636.js → persistent-pty-tmb1f636.js} +0 -0
- /package/dist/chunks/{tool-tvmhrvfj.js → persistent-pty-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{tool-v2adqbbe.js → persistent-pty-v2adqbbe.js} +0 -0
- /package/dist/chunks/{tool-wj4sxzqa.js → persistent-pty-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{tool-wwntjmk1.js → persistent-pty-wwntjmk1.js} +0 -0
- /package/dist/chunks/{tool-wyqjaaa5.js → persistent-pty-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{tool-x4q807cx.js → persistent-pty-x4q807cx.js} +0 -0
- /package/dist/chunks/{tool-yrqrg4vp.js → persistent-pty-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{tool-z47nswr2.js → persistent-pty-z47nswr2.js} +0 -0
- /package/dist/chunks/{tool-zsf8rs93.js → persistent-pty-zsf8rs93.js} +0 -0
|
@@ -49,189 +49,7 @@ export interface StepRecord {
|
|
|
49
49
|
* and consumers fold by id/ordinal rather than global position.
|
|
50
50
|
*/
|
|
51
51
|
export declare const createLLMEventPublisher: (bus: Pick<Bus.Interface, "publish">, input: Input) => {
|
|
52
|
-
publish: (event:
|
|
53
|
-
readonly type: "step-start";
|
|
54
|
-
readonly index: number;
|
|
55
|
-
} | {
|
|
56
|
-
readonly id: string;
|
|
57
|
-
readonly type: "text-start";
|
|
58
|
-
readonly providerMetadata?: {
|
|
59
|
-
readonly [x: string]: {
|
|
60
|
-
readonly [x: string]: unknown;
|
|
61
|
-
};
|
|
62
|
-
} | undefined;
|
|
63
|
-
} | {
|
|
64
|
-
readonly id: string;
|
|
65
|
-
readonly type: "text-delta";
|
|
66
|
-
readonly text: string;
|
|
67
|
-
readonly providerMetadata?: {
|
|
68
|
-
readonly [x: string]: {
|
|
69
|
-
readonly [x: string]: unknown;
|
|
70
|
-
};
|
|
71
|
-
} | undefined;
|
|
72
|
-
} | {
|
|
73
|
-
readonly id: string;
|
|
74
|
-
readonly type: "text-end";
|
|
75
|
-
readonly providerMetadata?: {
|
|
76
|
-
readonly [x: string]: {
|
|
77
|
-
readonly [x: string]: unknown;
|
|
78
|
-
};
|
|
79
|
-
} | undefined;
|
|
80
|
-
} | {
|
|
81
|
-
readonly id: string;
|
|
82
|
-
readonly type: "reasoning-start";
|
|
83
|
-
readonly providerMetadata?: {
|
|
84
|
-
readonly [x: string]: {
|
|
85
|
-
readonly [x: string]: unknown;
|
|
86
|
-
};
|
|
87
|
-
} | undefined;
|
|
88
|
-
} | {
|
|
89
|
-
readonly id: string;
|
|
90
|
-
readonly type: "reasoning-delta";
|
|
91
|
-
readonly text: string;
|
|
92
|
-
readonly providerMetadata?: {
|
|
93
|
-
readonly [x: string]: {
|
|
94
|
-
readonly [x: string]: unknown;
|
|
95
|
-
};
|
|
96
|
-
} | undefined;
|
|
97
|
-
} | {
|
|
98
|
-
readonly id: string;
|
|
99
|
-
readonly type: "reasoning-end";
|
|
100
|
-
readonly providerMetadata?: {
|
|
101
|
-
readonly [x: string]: {
|
|
102
|
-
readonly [x: string]: unknown;
|
|
103
|
-
};
|
|
104
|
-
} | undefined;
|
|
105
|
-
} | {
|
|
106
|
-
readonly name: string;
|
|
107
|
-
readonly id: string;
|
|
108
|
-
readonly type: "tool-input-start";
|
|
109
|
-
readonly providerMetadata?: {
|
|
110
|
-
readonly [x: string]: {
|
|
111
|
-
readonly [x: string]: unknown;
|
|
112
|
-
};
|
|
113
|
-
} | undefined;
|
|
114
|
-
readonly providerExecuted?: boolean | undefined;
|
|
115
|
-
} | {
|
|
116
|
-
readonly name: string;
|
|
117
|
-
readonly id: string;
|
|
118
|
-
readonly type: "tool-input-delta";
|
|
119
|
-
readonly text: string;
|
|
120
|
-
readonly input?: unknown;
|
|
121
|
-
} | {
|
|
122
|
-
readonly name: string;
|
|
123
|
-
readonly id: string;
|
|
124
|
-
readonly type: "tool-input-end";
|
|
125
|
-
readonly providerMetadata?: {
|
|
126
|
-
readonly [x: string]: {
|
|
127
|
-
readonly [x: string]: unknown;
|
|
128
|
-
};
|
|
129
|
-
} | undefined;
|
|
130
|
-
} | {
|
|
131
|
-
readonly type: "tool-input-error";
|
|
132
|
-
readonly id: string;
|
|
133
|
-
readonly name: string;
|
|
134
|
-
readonly raw: string;
|
|
135
|
-
} | {
|
|
136
|
-
readonly name: string;
|
|
137
|
-
readonly id: string;
|
|
138
|
-
readonly type: "tool-call";
|
|
139
|
-
readonly input: unknown;
|
|
140
|
-
readonly providerMetadata?: {
|
|
141
|
-
readonly [x: string]: {
|
|
142
|
-
readonly [x: string]: unknown;
|
|
143
|
-
};
|
|
144
|
-
} | undefined;
|
|
145
|
-
readonly providerExecuted?: boolean | undefined;
|
|
146
|
-
} | {
|
|
147
|
-
readonly name: string;
|
|
148
|
-
readonly id: string;
|
|
149
|
-
readonly type: "tool-result";
|
|
150
|
-
readonly result: {
|
|
151
|
-
readonly type: "json";
|
|
152
|
-
readonly value: unknown;
|
|
153
|
-
} | {
|
|
154
|
-
readonly type: "text";
|
|
155
|
-
readonly value: unknown;
|
|
156
|
-
} | {
|
|
157
|
-
readonly type: "error";
|
|
158
|
-
readonly value: unknown;
|
|
159
|
-
} | {
|
|
160
|
-
readonly type: "content";
|
|
161
|
-
readonly value: readonly ({
|
|
162
|
-
readonly type: "text";
|
|
163
|
-
readonly text: string;
|
|
164
|
-
} | {
|
|
165
|
-
readonly type: "file";
|
|
166
|
-
readonly uri: string;
|
|
167
|
-
readonly mime: string;
|
|
168
|
-
readonly name?: string | undefined;
|
|
169
|
-
})[];
|
|
170
|
-
};
|
|
171
|
-
readonly output?: {
|
|
172
|
-
readonly structured: unknown;
|
|
173
|
-
readonly content: readonly ({
|
|
174
|
-
readonly type: "text";
|
|
175
|
-
readonly text: string;
|
|
176
|
-
} | {
|
|
177
|
-
readonly type: "file";
|
|
178
|
-
readonly uri: string;
|
|
179
|
-
readonly mime: string;
|
|
180
|
-
readonly name?: string | undefined;
|
|
181
|
-
})[];
|
|
182
|
-
} | undefined;
|
|
183
|
-
readonly providerMetadata?: {
|
|
184
|
-
readonly [x: string]: {
|
|
185
|
-
readonly [x: string]: unknown;
|
|
186
|
-
};
|
|
187
|
-
} | undefined;
|
|
188
|
-
readonly providerExecuted?: boolean | undefined;
|
|
189
|
-
} | {
|
|
190
|
-
readonly name: string;
|
|
191
|
-
readonly id: string;
|
|
192
|
-
readonly type: "tool-error";
|
|
193
|
-
readonly message: string;
|
|
194
|
-
readonly error?: unknown;
|
|
195
|
-
readonly providerMetadata?: {
|
|
196
|
-
readonly [x: string]: {
|
|
197
|
-
readonly [x: string]: unknown;
|
|
198
|
-
};
|
|
199
|
-
} | undefined;
|
|
200
|
-
} | {
|
|
201
|
-
readonly type: "step-finish";
|
|
202
|
-
readonly reason: {
|
|
203
|
-
readonly normalized: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
|
|
204
|
-
readonly raw?: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
readonly index: number;
|
|
207
|
-
readonly providerMetadata?: {
|
|
208
|
-
readonly [x: string]: {
|
|
209
|
-
readonly [x: string]: unknown;
|
|
210
|
-
};
|
|
211
|
-
} | undefined;
|
|
212
|
-
readonly usage?: import("@opencode-ai/ai").Usage | undefined;
|
|
213
|
-
} | {
|
|
214
|
-
readonly type: "finish";
|
|
215
|
-
readonly reason: {
|
|
216
|
-
readonly normalized: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
|
|
217
|
-
readonly raw?: string | undefined;
|
|
218
|
-
};
|
|
219
|
-
readonly providerMetadata?: {
|
|
220
|
-
readonly [x: string]: {
|
|
221
|
-
readonly [x: string]: unknown;
|
|
222
|
-
};
|
|
223
|
-
} | undefined;
|
|
224
|
-
readonly usage?: import("@opencode-ai/ai").Usage | undefined;
|
|
225
|
-
} | {
|
|
226
|
-
readonly type: "provider-error";
|
|
227
|
-
readonly message: string;
|
|
228
|
-
readonly providerMetadata?: {
|
|
229
|
-
readonly [x: string]: {
|
|
230
|
-
readonly [x: string]: unknown;
|
|
231
|
-
};
|
|
232
|
-
} | undefined;
|
|
233
|
-
readonly classification?: "context-overflow" | "payload-too-large" | undefined;
|
|
234
|
-
}) => Effect.Effect<undefined, never, never>;
|
|
52
|
+
publish: (event: LLMEvent) => Effect.Effect<undefined, never, never>;
|
|
235
53
|
progress: (id: string, update: Readonly<Record<string, any>>) => Effect.Effect<undefined, never, never>;
|
|
236
54
|
toolExecution: (id: string, name: string, result: Tool.Result<Tool.ValueSchema<any> | undefined>) => Effect.Effect<undefined, never, never>;
|
|
237
55
|
flush: () => Effect.Effect<void, never, never>;
|
|
@@ -26,13 +26,136 @@ export type Outcome = Data.TaggedEnum<{
|
|
|
26
26
|
RecoverFull: {};
|
|
27
27
|
Compacted: {};
|
|
28
28
|
}>;
|
|
29
|
+
export declare const Outcome: {
|
|
30
|
+
readonly Retry: Data.TaggedEnum.ConstructorFrom<{
|
|
31
|
+
readonly _tag: "Retry";
|
|
32
|
+
readonly cause: AIError;
|
|
33
|
+
readonly error: SessionError.Error;
|
|
34
|
+
}, "_tag">;
|
|
35
|
+
readonly Completed: Data.TaggedEnum.ConstructorFrom<{
|
|
36
|
+
readonly _tag: "Completed";
|
|
37
|
+
readonly needsContinuation: boolean;
|
|
38
|
+
}, "_tag">;
|
|
39
|
+
readonly Continue: Data.TaggedEnum.ConstructorFrom<{
|
|
40
|
+
readonly _tag: "Continue";
|
|
41
|
+
readonly cause: AIError;
|
|
42
|
+
readonly error: SessionError.Error;
|
|
43
|
+
}, "_tag">;
|
|
44
|
+
readonly RecoverFull: Data.TaggedEnum.ConstructorFrom<{
|
|
45
|
+
readonly _tag: "RecoverFull";
|
|
46
|
+
}, "_tag">;
|
|
47
|
+
readonly Compacted: Data.TaggedEnum.ConstructorFrom<{
|
|
48
|
+
readonly _tag: "Compacted";
|
|
49
|
+
}, "_tag">;
|
|
50
|
+
readonly $is: <Tag extends "Retry" | "Completed" | "Continue" | "RecoverFull" | "Compacted">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
51
|
+
readonly _tag: "Retry";
|
|
52
|
+
readonly cause: AIError;
|
|
53
|
+
readonly error: SessionError.Error;
|
|
54
|
+
}, {
|
|
55
|
+
readonly _tag: Tag;
|
|
56
|
+
}> | Extract<{
|
|
57
|
+
readonly _tag: "Completed";
|
|
58
|
+
readonly needsContinuation: boolean;
|
|
59
|
+
}, {
|
|
60
|
+
readonly _tag: Tag;
|
|
61
|
+
}> | Extract<{
|
|
62
|
+
readonly _tag: "Continue";
|
|
63
|
+
readonly cause: AIError;
|
|
64
|
+
readonly error: SessionError.Error;
|
|
65
|
+
}, {
|
|
66
|
+
readonly _tag: Tag;
|
|
67
|
+
}> | Extract<{
|
|
68
|
+
readonly _tag: "RecoverFull";
|
|
69
|
+
}, {
|
|
70
|
+
readonly _tag: Tag;
|
|
71
|
+
}> | Extract<{
|
|
72
|
+
readonly _tag: "Compacted";
|
|
73
|
+
}, {
|
|
74
|
+
readonly _tag: Tag;
|
|
75
|
+
}>;
|
|
76
|
+
readonly $match: {
|
|
77
|
+
<Cases extends {
|
|
78
|
+
readonly Retry: (args: {
|
|
79
|
+
readonly _tag: "Retry";
|
|
80
|
+
readonly cause: AIError;
|
|
81
|
+
readonly error: SessionError.Error;
|
|
82
|
+
}) => any;
|
|
83
|
+
readonly Completed: (args: {
|
|
84
|
+
readonly _tag: "Completed";
|
|
85
|
+
readonly needsContinuation: boolean;
|
|
86
|
+
}) => any;
|
|
87
|
+
readonly Continue: (args: {
|
|
88
|
+
readonly _tag: "Continue";
|
|
89
|
+
readonly cause: AIError;
|
|
90
|
+
readonly error: SessionError.Error;
|
|
91
|
+
}) => any;
|
|
92
|
+
readonly RecoverFull: (args: {
|
|
93
|
+
readonly _tag: "RecoverFull";
|
|
94
|
+
}) => any;
|
|
95
|
+
readonly Compacted: (args: {
|
|
96
|
+
readonly _tag: "Compacted";
|
|
97
|
+
}) => any;
|
|
98
|
+
}>(cases: Cases): (value: {
|
|
99
|
+
readonly _tag: "Retry";
|
|
100
|
+
readonly cause: AIError;
|
|
101
|
+
readonly error: SessionError.Error;
|
|
102
|
+
} | {
|
|
103
|
+
readonly _tag: "Completed";
|
|
104
|
+
readonly needsContinuation: boolean;
|
|
105
|
+
} | {
|
|
106
|
+
readonly _tag: "Continue";
|
|
107
|
+
readonly cause: AIError;
|
|
108
|
+
readonly error: SessionError.Error;
|
|
109
|
+
} | {
|
|
110
|
+
readonly _tag: "RecoverFull";
|
|
111
|
+
} | {
|
|
112
|
+
readonly _tag: "Compacted";
|
|
113
|
+
}) => import("effect/Unify").Unify<ReturnType<Cases["Retry" | "Completed" | "Continue" | "RecoverFull" | "Compacted"]>>;
|
|
114
|
+
<Cases extends {
|
|
115
|
+
readonly Retry: (args: {
|
|
116
|
+
readonly _tag: "Retry";
|
|
117
|
+
readonly cause: AIError;
|
|
118
|
+
readonly error: SessionError.Error;
|
|
119
|
+
}) => any;
|
|
120
|
+
readonly Completed: (args: {
|
|
121
|
+
readonly _tag: "Completed";
|
|
122
|
+
readonly needsContinuation: boolean;
|
|
123
|
+
}) => any;
|
|
124
|
+
readonly Continue: (args: {
|
|
125
|
+
readonly _tag: "Continue";
|
|
126
|
+
readonly cause: AIError;
|
|
127
|
+
readonly error: SessionError.Error;
|
|
128
|
+
}) => any;
|
|
129
|
+
readonly RecoverFull: (args: {
|
|
130
|
+
readonly _tag: "RecoverFull";
|
|
131
|
+
}) => any;
|
|
132
|
+
readonly Compacted: (args: {
|
|
133
|
+
readonly _tag: "Compacted";
|
|
134
|
+
}) => any;
|
|
135
|
+
}>(value: {
|
|
136
|
+
readonly _tag: "Retry";
|
|
137
|
+
readonly cause: AIError;
|
|
138
|
+
readonly error: SessionError.Error;
|
|
139
|
+
} | {
|
|
140
|
+
readonly _tag: "Completed";
|
|
141
|
+
readonly needsContinuation: boolean;
|
|
142
|
+
} | {
|
|
143
|
+
readonly _tag: "Continue";
|
|
144
|
+
readonly cause: AIError;
|
|
145
|
+
readonly error: SessionError.Error;
|
|
146
|
+
} | {
|
|
147
|
+
readonly _tag: "RecoverFull";
|
|
148
|
+
} | {
|
|
149
|
+
readonly _tag: "Compacted";
|
|
150
|
+
}, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Retry" | "Completed" | "Continue" | "RecoverFull" | "Compacted"]>>;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
29
153
|
interface Input {
|
|
30
154
|
readonly sessionID: SessionSchema.ID;
|
|
31
155
|
readonly assistantMessageID: SessionMessage.ID;
|
|
32
156
|
readonly agent: Agent.ID;
|
|
33
157
|
readonly model: SessionRunnerModel.Resolved;
|
|
34
158
|
readonly prepared: SessionModelRequest.Prepared;
|
|
35
|
-
readonly toolsDisabled: boolean;
|
|
36
159
|
readonly recoverContinuation: boolean;
|
|
37
160
|
/** The runner owns compaction policy; the attempt invokes it only before durable output. */
|
|
38
161
|
readonly recoverOverflow: Effect.Effect<boolean>;
|
|
@@ -135,6 +135,7 @@ export declare const Info: import("effect/Schema").Struct<{
|
|
|
135
135
|
}>, never, never>;
|
|
136
136
|
}>;
|
|
137
137
|
readonly subpath: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>, never, never>;
|
|
138
|
+
readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>>, never, never>;
|
|
138
139
|
readonly revert: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
139
140
|
readonly messageID: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
140
141
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -420,7 +420,9 @@ export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
|
|
|
420
420
|
name: string;
|
|
421
421
|
tableName: "session_v2";
|
|
422
422
|
dataType: "object json";
|
|
423
|
-
data:
|
|
423
|
+
data: {
|
|
424
|
+
readonly [x: string]: Schema.Json;
|
|
425
|
+
};
|
|
424
426
|
driverParam: string;
|
|
425
427
|
notNull: false;
|
|
426
428
|
hasDefault: false;
|
|
@@ -135,6 +135,7 @@ export declare const Data: Schema.Struct<{
|
|
|
135
135
|
}>, never, never>;
|
|
136
136
|
}>;
|
|
137
137
|
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
138
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
138
139
|
readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
139
140
|
readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
140
141
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -2,7 +2,7 @@ export * as SessionUsage from "./usage.js";
|
|
|
2
2
|
import type { Usage } from "@opencode-ai/ai";
|
|
3
3
|
import { Money } from "@opencode-ai/schema/money";
|
|
4
4
|
import type { TokenUsage } from "@opencode-ai/schema/token-usage";
|
|
5
|
-
import type { Model } from "
|
|
5
|
+
import type { Model } from "@opencode-ai/schema/model";
|
|
6
6
|
export declare const tokens: (usage: Usage | undefined) => TokenUsage.Info;
|
|
7
7
|
export declare function calculateCost(costs: Model.Info["cost"], usage: TokenUsage.Info): number & import("effect/Brand").Brand<"Money.USD">;
|
|
8
8
|
export type Recorded = {
|
package/dist/types/session.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ export * as Session from "./session.js";
|
|
|
2
2
|
export * from "./session/schema.js";
|
|
3
3
|
import { Cause, Effect, Schema, Context, Stream } from "effect";
|
|
4
4
|
import { ListAnchor } from "@opencode-ai/schema/session";
|
|
5
|
-
import { Model } from "
|
|
5
|
+
import { Model } from "@opencode-ai/schema/model";
|
|
6
6
|
import { Location } from "./location.js";
|
|
7
7
|
import { SessionMessage } from "./session/message.js";
|
|
8
8
|
import { PromptInput } from "@opencode-ai/schema/prompt-input";
|
|
9
9
|
import { SessionSchema } from "./session/schema.js";
|
|
10
10
|
import { AbsolutePath } from "./schema.js";
|
|
11
|
-
import { Agent } from "
|
|
11
|
+
import { Agent } from "@opencode-ai/schema/agent";
|
|
12
12
|
import { SessionRunner } from "./session/runner/index.js";
|
|
13
13
|
import { ForkEmptyError, MessageDecodeError, NotFoundError } from "./session/error.js";
|
|
14
14
|
import { SessionEvent } from "./session/event.js";
|
|
@@ -95,6 +95,7 @@ type CreateBaseInput = {
|
|
|
95
95
|
title?: string;
|
|
96
96
|
agent?: Agent.ID;
|
|
97
97
|
model?: Model.Ref;
|
|
98
|
+
metadata?: SessionSchema.Metadata;
|
|
98
99
|
};
|
|
99
100
|
type CreateInput = CreateBaseInput & ({
|
|
100
101
|
location: Location.Ref;
|
package/dist/types/tool/mcp.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as McpTool from "./mcp.js";
|
|
2
2
|
import { Context, Effect, Layer } from "effect";
|
|
3
3
|
import { Bus } from "../bus.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Mcp } from "../mcp/index.js";
|
|
5
5
|
import { Permission } from "../permission.js";
|
|
6
6
|
import { Tool } from "../tool.js";
|
|
7
7
|
/**
|
|
@@ -16,5 +16,5 @@ export interface Interface {
|
|
|
16
16
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/McpTool", Interface>;
|
|
17
17
|
export declare class Service extends Service_base {
|
|
18
18
|
}
|
|
19
|
-
export declare const layer: Layer.Layer<Service, never, Bus.Service |
|
|
19
|
+
export declare const layer: Layer.Layer<Service, never, Bus.Service | Mcp.Service | Permission.Service | Tool.Service>;
|
|
20
20
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* external_directory approval before edit approval.
|
|
6
6
|
*/
|
|
7
7
|
export * as EditTool from "./edit.js";
|
|
8
|
-
import type { Context
|
|
8
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
9
9
|
import { Effect, Schema } from "effect";
|
|
10
10
|
import { Environment } from "../../environment/index.js";
|
|
11
11
|
import { FileMutation } from "../../file-mutation.js";
|
|
@@ -34,5 +34,5 @@ export type Output = typeof Output.Type;
|
|
|
34
34
|
/** Deferred edit behavior and UX integrations remain visible at the model-facing seam. */
|
|
35
35
|
export declare const Plugin: {
|
|
36
36
|
id: string;
|
|
37
|
-
effect: (ctx:
|
|
37
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
|
|
38
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as GlobTool from "./glob.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { Environment } from "../../environment/index.js";
|
|
5
5
|
import { Location } from "../../location.js";
|
|
@@ -22,5 +22,5 @@ export declare const toModelContent: (entries: EncodedOutput, truncated?: boolea
|
|
|
22
22
|
/** Glob leaf that defaults its filesystem root to the active Location. */
|
|
23
23
|
export declare const Plugin: {
|
|
24
24
|
id: string;
|
|
25
|
-
effect: (ctx:
|
|
25
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | Permission.Service | LocationMutation.Service>;
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as GrepTool from "./grep.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { Environment } from "../../environment/index.js";
|
|
5
5
|
import { Location } from "../../location.js";
|
|
@@ -33,5 +33,5 @@ export declare const toModelContent: (matches: EncodedOutput, truncated?: boolea
|
|
|
33
33
|
/** Grep leaf that defaults its filesystem root to the active Location. */
|
|
34
34
|
export declare const Plugin: {
|
|
35
35
|
id: string;
|
|
36
|
-
effect: (ctx:
|
|
36
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | Permission.Service | LocationMutation.Service>;
|
|
37
37
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as PatchTool from "./patch.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { Environment } from "../../environment/index.js";
|
|
5
5
|
import { Formatter } from "../../formatter.js";
|
|
@@ -34,5 +34,5 @@ export type Output = typeof Output.Type;
|
|
|
34
34
|
export declare const toModelContent: (output: Output) => string;
|
|
35
35
|
export declare const Plugin: {
|
|
36
36
|
id: string;
|
|
37
|
-
effect: (ctx:
|
|
37
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
|
|
38
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as QuestionTool from "./question.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { Form } from "../../form.js";
|
|
5
5
|
import { Permission } from "../../permission.js";
|
|
@@ -28,5 +28,5 @@ export declare class CancelledError extends CancelledError_base {
|
|
|
28
28
|
export declare const toModelContent: (questions: ReadonlyArray<Question.Prompt>, answers: ReadonlyArray<Question.Answer>) => string;
|
|
29
29
|
export declare const Plugin: {
|
|
30
30
|
id: string;
|
|
31
|
-
effect: (ctx:
|
|
31
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Form.Service | Permission.Service>;
|
|
32
32
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as ReadTool from "./read.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
5
5
|
import { Location } from "../../location.js";
|
|
@@ -23,7 +23,7 @@ declare const Output: Schema.Union<readonly [Schema.Struct<{
|
|
|
23
23
|
}>, typeof ReadToolFileSystem.TextPage, typeof ReadToolFileSystem.ListPage]>;
|
|
24
24
|
export declare const Plugin: {
|
|
25
25
|
id: string;
|
|
26
|
-
effect: (ctx:
|
|
26
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service | Permission.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service>;
|
|
27
27
|
};
|
|
28
28
|
export declare const toModelContent: (path: string, offset: number | undefined, output: typeof Output.Type) => string | readonly [{
|
|
29
29
|
readonly type: "text";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as ShellTool from "./shell.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema, Scope } from "effect";
|
|
4
4
|
import { Config } from "../../config.js";
|
|
5
5
|
import { Environment } from "../../environment/index.js";
|
|
@@ -18,5 +18,5 @@ export declare const Input: Schema.Struct<{
|
|
|
18
18
|
}>;
|
|
19
19
|
export declare const Plugin: {
|
|
20
20
|
id: string;
|
|
21
|
-
effect: (ctx:
|
|
21
|
+
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Environment.Service | Permission.Service | LocationMutation.Service | ShellSelect.Service | PluginRuntime.Service | Shell.Service>;
|
|
22
22
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as SkillTool from "./skill.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
5
5
|
import { Skill } from "../../skill.js";
|
|
@@ -17,5 +17,5 @@ export declare const description: string;
|
|
|
17
17
|
export declare const toModelOutput: (skill: Skill.Info, files: ReadonlyArray<string>) => string;
|
|
18
18
|
export declare const Plugin: {
|
|
19
19
|
id: string;
|
|
20
|
-
effect: (ctx:
|
|
20
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Permission.Service | Skill.Service>;
|
|
21
21
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as SubagentTool from "./subagent.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema, Scope } from "effect";
|
|
4
4
|
import { Agent } from "../../agent.js";
|
|
5
5
|
import { Config } from "../../config.js";
|
|
@@ -27,5 +27,5 @@ export declare const Output: Schema.Struct<{
|
|
|
27
27
|
export declare const description: string;
|
|
28
28
|
export declare const Plugin: {
|
|
29
29
|
id: string;
|
|
30
|
-
effect: (ctx:
|
|
30
|
+
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Permission.Service | Agent.Service | PluginRuntime.Service>;
|
|
31
31
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as WebFetchTool from "./webfetch.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { HttpClient } from "effect/unstable/http";
|
|
5
5
|
import { Permission } from "../../permission.js";
|
|
@@ -16,7 +16,7 @@ export declare const Input: Schema.Struct<{
|
|
|
16
16
|
}>;
|
|
17
17
|
export declare const Plugin: {
|
|
18
18
|
id: string;
|
|
19
|
-
effect: (ctx:
|
|
19
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | HttpClient.HttpClient | Permission.Service>;
|
|
20
20
|
};
|
|
21
21
|
export declare function extractTextFromHTML(html: string): string;
|
|
22
22
|
export { convertHTMLToMarkdown };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as WebSearchTool from "./websearch.js";
|
|
2
|
-
import type { Context
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import { Form } from "../../form.js";
|
|
5
5
|
import { Permission } from "../../permission.js";
|
|
@@ -12,5 +12,5 @@ export declare const Input: Schema.Struct<{
|
|
|
12
12
|
}>;
|
|
13
13
|
export declare const Plugin: {
|
|
14
14
|
id: string;
|
|
15
|
-
effect: (ctx:
|
|
15
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Form.Service | Permission.Service | WebSearch.Service>;
|
|
16
16
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* external_directory approval before edit approval.
|
|
6
6
|
*/
|
|
7
7
|
export * as WriteTool from "./write.js";
|
|
8
|
-
import type { Context
|
|
8
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
9
9
|
import { Effect, Schema } from "effect";
|
|
10
10
|
import { Environment } from "../../environment/index.js";
|
|
11
11
|
import { FileMutation } from "../../file-mutation.js";
|
|
@@ -28,5 +28,5 @@ export declare const toModelContent: (output: Output) => string;
|
|
|
28
28
|
/** Deferred write UX integrations remain visible at the model-facing seam. */
|
|
29
29
|
export declare const Plugin: {
|
|
30
30
|
id: string;
|
|
31
|
-
effect: (ctx:
|
|
31
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
|
|
32
32
|
};
|
|
@@ -5,6 +5,7 @@ import { AbsolutePath } from "../schema.js";
|
|
|
5
5
|
export declare const MAX_READ_LINES = 2000;
|
|
6
6
|
export declare const MAX_READ_BYTES: number;
|
|
7
7
|
export declare const MAX_MEDIA_INGEST_BYTES: number;
|
|
8
|
+
export declare const MEDIA_MIMES: Set<string>;
|
|
8
9
|
declare const BinaryFileError_base: Schema.Class<BinaryFileError, Schema.TaggedStruct<"ReadTool.BinaryFileError", {
|
|
9
10
|
readonly resource: Schema.String;
|
|
10
11
|
}>, import("effect/Cause").YieldableError>;
|
|
@@ -24,3 +24,5 @@ export declare const normalizeContent: (value: string | ReadonlyArray<Tool.Conte
|
|
|
24
24
|
readonly mime: string;
|
|
25
25
|
readonly name?: string | undefined;
|
|
26
26
|
})[];
|
|
27
|
+
export declare const normalizedName: (tool: Tool.Info) => string;
|
|
28
|
+
export declare const effectiveName: (tool: Tool.Info) => string;
|
|
@@ -381,8 +381,8 @@ export declare function migrateProvider(sourceID: string, info: ConfigProviderV1
|
|
|
381
381
|
} | undefined;
|
|
382
382
|
capabilities: {
|
|
383
383
|
tools: boolean;
|
|
384
|
-
input:
|
|
385
|
-
output:
|
|
384
|
+
input: string[];
|
|
385
|
+
output: string[];
|
|
386
386
|
} | undefined;
|
|
387
387
|
headers: {
|
|
388
388
|
readonly [x: string]: string;
|
|
@@ -2,7 +2,7 @@ export * as WorkspaceDriver from "./driver.js";
|
|
|
2
2
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
3
3
|
import { Context, Effect, Schema } from "effect";
|
|
4
4
|
import type { Scope } from "effect";
|
|
5
|
-
import type {
|
|
5
|
+
import type { EnvironmentDriver } from "../environment/driver.js";
|
|
6
6
|
/**
|
|
7
7
|
* Smallest provider-owned JSON value required to reconnect to the same
|
|
8
8
|
* provider resource. Core stores it opaquely and hands it back; only the
|
|
@@ -41,7 +41,7 @@ export interface Interface {
|
|
|
41
41
|
readonly workspaceID: Workspace.ID;
|
|
42
42
|
readonly binding: Binding;
|
|
43
43
|
readonly saveBinding: (binding: Binding) => Effect.Effect<void>;
|
|
44
|
-
}) => Effect.Effect<EnvironmentDriver, Error, Scope.Scope>;
|
|
44
|
+
}) => Effect.Effect<EnvironmentDriver.Driver, Error, Scope.Scope>;
|
|
45
45
|
readonly suspendForIdle: (input: {
|
|
46
46
|
readonly workspaceID: Workspace.ID;
|
|
47
47
|
readonly binding: Binding;
|