@opencode/core 0.0.0-dev-20029 → 0.0.0-dev-20032
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-y19c3zcv.js → agent-036p5t1s.js} +4 -4
- package/dist/chunks/{managed-policy-ekj7a5hz.js → agent-042xvhgw.js} +9 -9
- package/dist/chunks/{managed-policy-7szh0m8y.js → agent-09e1c8fx.js} +30 -30
- package/dist/chunks/{managed-policy-xsascqe8.js → agent-0cpkxb4n.js} +48 -48
- package/dist/chunks/{managed-policy-s8d7rejh.js → agent-0gdmqesm.js} +4 -4
- package/dist/chunks/{managed-policy-qgn6gcr1.js → agent-0jwsre1p.js} +5 -5
- package/dist/chunks/{managed-policy-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-g9trvnpg.js → agent-1bksnpxx.js} +10 -10
- package/dist/chunks/{managed-policy-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-4y6b28a1.js → agent-1mw3ztx0.js} +10 -10
- package/dist/chunks/{managed-policy-skvzhceq.js → agent-1pj3pseb.js} +15 -15
- package/dist/chunks/{managed-policy-jgttmm4a.js → agent-1q5awywt.js} +5 -5
- package/dist/chunks/{managed-policy-eezffbxh.js → agent-1sjbhta5.js} +11 -11
- package/dist/chunks/{managed-policy-56gdpj1q.js → agent-1ygqh575.js} +9 -9
- package/dist/chunks/{managed-policy-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{managed-policy-2402vzrj.js → agent-2402vzrj.js} +1 -1
- package/dist/chunks/{managed-policy-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-sr8wmms9.js → agent-2fqthqjg.js} +42 -42
- package/dist/chunks/{managed-policy-fb6g4eyr.js → agent-2fr5yqz7.js} +9 -9
- package/dist/chunks/{managed-policy-30kwrm97.js → agent-2khwyb0w.js} +1 -1
- package/dist/chunks/{managed-policy-2vng4z65.js → agent-2kvkr281.js} +30 -30
- package/dist/chunks/{managed-policy-mvdfc68y.js → agent-2x2nfseg.js} +11 -11
- package/dist/chunks/{managed-policy-1g7epwpd.js → agent-34rkz0x9.js} +4 -4
- package/dist/chunks/{managed-policy-bxbprr42.js → agent-34vjswhe.js} +25 -25
- package/dist/chunks/{managed-policy-4zv6n53j.js → agent-37rtka32.js} +15 -15
- package/dist/chunks/{managed-policy-jzapyy4j.js → agent-38j4n8ns.js} +83 -83
- package/dist/chunks/{managed-policy-fapvw67d.js → agent-3dy7ype7.js} +8 -8
- package/dist/chunks/{managed-policy-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-mzdhr4f5.js → agent-3pm9060n.js} +6 -6
- package/dist/chunks/{managed-policy-0sf511qw.js → agent-3qf0w8va.js} +7 -7
- package/dist/chunks/{managed-policy-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-44ke2mar.js → agent-3tq5qxbk.js} +8 -8
- package/dist/chunks/{managed-policy-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-9yxd2v4q.js → agent-42dpyp2f.js} +13 -13
- package/dist/chunks/{managed-policy-7s6gk46a.js → agent-4gycnsfp.js} +9 -9
- package/dist/chunks/{managed-policy-ew6h5s3h.js → agent-4hk0erf7.js} +24 -24
- package/dist/chunks/{managed-policy-jzvhswbf.js → agent-4j387kr6.js} +16 -16
- package/dist/chunks/{managed-policy-x35r8jm4.js → agent-4n6nta6x.js} +9 -9
- package/dist/chunks/{managed-policy-9jmvwkse.js → agent-4tr6j3yt.js} +25 -25
- package/dist/chunks/{managed-policy-xfkkasph.js → agent-57b9ws8p.js} +7 -7
- package/dist/chunks/{managed-policy-57ez7d0k.js → agent-57ez7d0k.js} +2 -2
- package/dist/chunks/{managed-policy-ddnyxkgk.js → agent-5a165npp.js} +25 -25
- package/dist/chunks/{managed-policy-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-5ekn9679.js → agent-5ekn9679.js} +1 -1
- package/dist/chunks/{managed-policy-b09hzw3k.js → agent-5frpvc34.js} +2 -2
- package/dist/chunks/{managed-policy-rd8gyews.js → agent-5gtvee54.js} +3 -3
- package/dist/chunks/{managed-policy-bgx3rwgq.js → agent-5j7bry64.js} +8 -8
- package/dist/chunks/{managed-policy-n17fh37w.js → agent-5kz5bk4q.js} +8 -8
- package/dist/chunks/{managed-policy-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-g1sxm558.js → agent-5y480sgp.js} +8 -8
- package/dist/chunks/{managed-policy-0c92dpjb.js → agent-5zwzqxke.js} +3 -3
- package/dist/chunks/{managed-policy-2da53pjx.js → agent-60w5e542.js} +3 -3
- package/dist/chunks/{managed-policy-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-rrq86xxm.js → agent-6a91tj2m.js} +8 -8
- package/dist/chunks/{managed-policy-wjxzpywc.js → agent-6gm4jdfq.js} +1 -1
- package/dist/chunks/{managed-policy-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
- package/dist/chunks/{managed-policy-xmvnm6d3.js → agent-6pt3k1ax.js} +16 -16
- package/dist/chunks/{managed-policy-6djy54x7.js → agent-6sfqjq27.js} +1 -1
- package/dist/chunks/{managed-policy-ntrdmkct.js → agent-6tk3k0am.js} +12 -12
- package/dist/chunks/{managed-policy-2ryrf09a.js → agent-6ze6cnmj.js} +14 -14
- package/dist/chunks/{managed-policy-0k1wajbn.js → agent-6zyttfys.js} +9 -9
- package/dist/chunks/{managed-policy-vgbd6tbf.js → agent-7232vf31.js} +23 -23
- package/dist/chunks/{managed-policy-2p8k3371.js → agent-768gsh1v.js} +3 -3
- package/dist/chunks/{managed-policy-dz2720q4.js → agent-7797a809.js} +26 -26
- package/dist/chunks/{managed-policy-38h5e1be.js → agent-7ad9f6we.js} +13 -13
- package/dist/chunks/agent-7bk4ngx8.js +252 -0
- package/dist/chunks/{managed-policy-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-x5j8ez8g.js → agent-7mkcw6wm.js} +42 -42
- package/dist/chunks/{managed-policy-ryw39exz.js → agent-7rz492sz.js} +49 -49
- package/dist/chunks/{managed-policy-k53npxr2.js → agent-7tgakezr.js} +1 -1
- package/dist/chunks/{managed-policy-jva4mgym.js → agent-7z7az0f5.js} +4 -4
- package/dist/chunks/{managed-policy-pb1eahw5.js → agent-818pfwc9.js} +8 -8
- package/dist/chunks/{managed-policy-tbmac1c7.js → agent-86qzxe6p.js} +4 -4
- package/dist/chunks/{managed-policy-x6mfsyej.js → agent-87n4nh5h.js} +23 -23
- package/dist/chunks/{managed-policy-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-tz4n1mmd.js → agent-8gxqpgph.js} +4 -4
- package/dist/chunks/{managed-policy-gshdf3b6.js → agent-8jp7x2be.js} +21 -21
- package/dist/chunks/{managed-policy-hk10n3xs.js → agent-8k8b4hth.js} +6 -6
- package/dist/chunks/{managed-policy-et0rkxxj.js → agent-8mfdap3f.js} +8 -8
- package/dist/chunks/{managed-policy-y6f0p4jw.js → agent-8q7cq0y1.js} +3 -3
- package/dist/chunks/{managed-policy-fanxnb74.js → agent-8rch3mzj.js} +8 -8
- package/dist/chunks/{managed-policy-kavv7h9b.js → agent-90j0wwtx.js} +4 -4
- package/dist/chunks/{managed-policy-94ek1h2f.js → agent-94ek1h2f.js} +2 -2
- package/dist/chunks/{managed-policy-rpg9xyrt.js → agent-95t7q91w.js} +4 -4
- package/dist/chunks/{managed-policy-mxye78ab.js → agent-96sewvm2.js} +16 -16
- package/dist/chunks/{managed-policy-c9mmfgm8.js → agent-99102x0e.js} +11 -11
- package/dist/chunks/{managed-policy-t38q3erb.js → agent-993beb9q.js} +12 -12
- package/dist/chunks/{managed-policy-fqhbsnr5.js → agent-9c3np669.js} +4 -4
- package/dist/chunks/{managed-policy-d9jh3nn5.js → agent-9kw00vxr.js} +17 -17
- package/dist/chunks/{managed-policy-dd5dn1hm.js → agent-9z1qqh7b.js} +9 -9
- package/dist/chunks/{managed-policy-yzg6r347.js → agent-a1gfr0v3.js} +15 -15
- package/dist/chunks/{managed-policy-kzcf93wx.js → agent-a3m1esjv.js} +138 -138
- package/dist/chunks/{managed-policy-ad2m42br.js → agent-a624avds.js} +37 -37
- package/dist/chunks/{managed-policy-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-dej5hqqy.js → agent-abdgxmtc.js} +5 -5
- package/dist/chunks/{managed-policy-ntpzaq4y.js → agent-aengndq2.js} +27 -27
- package/dist/chunks/{managed-policy-41dak7mt.js → agent-anwzgchg.js} +31 -31
- package/dist/chunks/{managed-policy-4hpzevxd.js → agent-as3gfbfe.js} +2 -2
- package/dist/chunks/{managed-policy-ed38yjr8.js → agent-atcq0r4a.js} +3 -3
- package/dist/chunks/{managed-policy-jyw9wa94.js → agent-ate3yb88.js} +1 -1
- package/dist/chunks/{managed-policy-p08t8h9z.js → agent-b0rer08y.js} +13 -13
- package/dist/chunks/{managed-policy-p0ey5wrv.js → agent-b28x5q96.js} +49 -49
- package/dist/chunks/{managed-policy-qdy7cmrh.js → agent-b54qgkhb.js} +24 -24
- package/dist/chunks/{managed-policy-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-y49pmrpy.js → agent-b8bsj8wv.js} +14 -14
- package/dist/chunks/{managed-policy-qn4ba14w.js → agent-bgxcxs0p.js} +5 -5
- package/dist/chunks/{managed-policy-0fcjr1ar.js → agent-c3fjamxb.js} +4 -4
- package/dist/chunks/{managed-policy-zj1szvsc.js → agent-c580fjmb.js} +5 -5
- package/dist/chunks/{managed-policy-ckecvw8r.js → agent-ckecvw8r.js} +2 -2
- package/dist/chunks/{managed-policy-phstrbs2.js → agent-cmwkp3r5.js} +8 -8
- package/dist/chunks/{managed-policy-61qqwrfn.js → agent-cr6qanjc.js} +68 -68
- package/dist/chunks/{managed-policy-c765mh8b.js → agent-cwa6csj7.js} +9 -9
- package/dist/chunks/{managed-policy-z13zbn97.js → agent-cwkmhrp6.js} +16 -16
- package/dist/chunks/{managed-policy-19e700kt.js → agent-cyrsh1yr.js} +33 -33
- package/dist/chunks/{managed-policy-m56t3ka1.js → agent-d1e9an0g.js} +27 -27
- package/dist/chunks/{managed-policy-6mct90se.js → agent-d2wgds0x.js} +16 -16
- package/dist/chunks/{managed-policy-6mnafygm.js → agent-d5jz98xq.js} +15 -15
- package/dist/chunks/{managed-policy-s13azqgb.js → agent-d747qbk3.js} +8 -8
- package/dist/chunks/agent-dcj1wave.js +26 -0
- package/dist/chunks/{managed-policy-aej8eep8.js → agent-dda0p7y7.js} +9 -9
- package/dist/chunks/{managed-policy-a3ftg8j6.js → agent-depwzj9d.js} +9 -9
- package/dist/chunks/{managed-policy-d9v6a70r.js → agent-dm43cxx4.js} +20 -20
- package/dist/chunks/agent-dxj72tfx.js +18 -0
- package/dist/chunks/{managed-policy-3k6sfp50.js → agent-e6hd9jay.js} +6 -6
- package/dist/chunks/{managed-policy-67d3kp3s.js → agent-e6mjvmeb.js} +22 -22
- package/dist/chunks/{managed-policy-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-07ntzvz4.js → agent-efp767h6.js} +6 -6
- package/dist/chunks/{managed-policy-984xje6x.js → agent-egrr39fs.js} +6 -6
- package/dist/chunks/{managed-policy-0vqt28aq.js → agent-egxpqa30.js} +3 -3
- package/dist/chunks/{managed-policy-hsxmh5g8.js → agent-ek0z8tpz.js} +2 -2
- package/dist/chunks/{managed-policy-5kbfeevd.js → agent-emypf9yp.js} +13 -13
- package/dist/chunks/{managed-policy-87q0yepe.js → agent-erjkhgr0.js} +18 -18
- package/dist/chunks/{managed-policy-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
- package/dist/chunks/{managed-policy-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-9bqmq0zv.js → agent-ex1m1kp8.js} +4 -4
- package/dist/chunks/{managed-policy-x1kf4mj5.js → agent-f2szdyjf.js} +3 -3
- package/dist/chunks/{managed-policy-b7b4ctej.js → agent-f62qkzqr.js} +5 -5
- package/dist/chunks/{managed-policy-jjs74g98.js → agent-fhs97t90.js} +9 -9
- package/dist/chunks/{managed-policy-magykp64.js → agent-g190xswt.js} +4 -4
- package/dist/chunks/{managed-policy-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-4rsy6rhw.js → agent-gd4ttfw7.js} +18 -18
- package/dist/chunks/{managed-policy-vy4zg7qh.js → agent-gmjq4p6e.js} +5 -5
- package/dist/chunks/{managed-policy-0r5abbz4.js → agent-gre73awd.js} +4 -4
- package/dist/chunks/{managed-policy-6b1r9qfx.js → agent-gssvgekz.js} +25 -25
- package/dist/chunks/{managed-policy-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
- package/dist/chunks/{managed-policy-h6r3nrb9.js → agent-h6r3nrb9.js} +1 -1
- package/dist/chunks/{managed-policy-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-0g0txq2z.js → agent-h9dmwwwx.js} +16 -16
- package/dist/chunks/{managed-policy-fr55k2sw.js → agent-hb8h3vmt.js} +41 -41
- package/dist/chunks/{managed-policy-rf504ff2.js → agent-hcm8gwy7.js} +11 -11
- package/dist/chunks/{managed-policy-4jr8td7z.js → agent-hpkeaty4.js} +9 -9
- package/dist/chunks/{managed-policy-578fqz8n.js → agent-j1e4v64e.js} +32 -32
- package/dist/chunks/{managed-policy-yckd2dzx.js → agent-j3ntnz47.js} +8 -8
- package/dist/chunks/{managed-policy-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-pn2fvd3j.js → agent-j710vash.js} +7 -7
- package/dist/chunks/{managed-policy-p8hywtm9.js → agent-j9cr01ke.js} +11 -11
- package/dist/chunks/{managed-policy-z8518aq2.js → agent-jasw7syv.js} +27 -27
- package/dist/chunks/{managed-policy-rf7cpa0c.js → agent-jcec2fc7.js} +33 -33
- package/dist/chunks/{managed-policy-vff1trn9.js → agent-jrxvx6f5.js} +12 -12
- package/dist/chunks/{managed-policy-rncv50b8.js → agent-jvkm5she.js} +9 -9
- package/dist/chunks/{managed-policy-j3m7wdn9.js → agent-k0a1k3xn.js} +7 -7
- package/dist/chunks/{managed-policy-fnqpbz25.js → agent-k0w1ng5j.js} +26 -26
- package/dist/chunks/{managed-policy-k3c624dm.js → agent-k3c624dm.js} +3 -3
- package/dist/chunks/{managed-policy-t7mznaap.js → agent-k7v2xwv9.js} +20 -20
- package/dist/chunks/{managed-policy-9eyez545.js → agent-kesj5jy8.js} +8 -8
- package/dist/chunks/{managed-policy-76xhfwj9.js → agent-kpnqw0e7.js} +6 -6
- package/dist/chunks/{managed-policy-9b0k8yaa.js → agent-kv03vt94.js} +8 -8
- package/dist/chunks/{managed-policy-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/agent-ma5qs0kd.js +503 -0
- package/dist/chunks/{managed-policy-b11r5vy8.js → agent-mc5vr7h5.js} +15 -15
- package/dist/chunks/{managed-policy-mvfsc1pv.js → agent-mhkvc446.js} +3 -3
- package/dist/chunks/{managed-policy-wxzf76mr.js → agent-mj1873cd.js} +10 -10
- package/dist/chunks/{managed-policy-5h11ybms.js → agent-mrzfvsf9.js} +1 -1
- package/dist/chunks/{managed-policy-rdp0wvtx.js → agent-mskg3jyh.js} +27 -27
- package/dist/chunks/{managed-policy-6kzvch4n.js → agent-mt0p4caj.js} +8 -8
- package/dist/chunks/{managed-policy-p7pse8xf.js → agent-n5mm3spe.js} +32 -32
- package/dist/chunks/{managed-policy-4s6vd5dk.js → agent-nav1p6g3.js} +8 -8
- package/dist/chunks/{managed-policy-tmfw0skg.js → agent-ncdsqf8r.js} +20 -20
- package/dist/chunks/{managed-policy-zpez7jvj.js → agent-ne87pwxh.js} +40 -40
- package/dist/chunks/{managed-policy-fvgj0p1d.js → agent-nf9xdvg6.js} +14 -14
- package/dist/chunks/{managed-policy-1edxvj4h.js → agent-nj66ywra.js} +13 -13
- package/dist/chunks/{managed-policy-s8zy8myc.js → agent-p44d8wdy.js} +5 -5
- package/dist/chunks/{managed-policy-6nvgqmbz.js → agent-p4n2tsr9.js} +38 -38
- package/dist/chunks/{managed-policy-vk08gg5p.js → agent-pbv8fc70.js} +21 -21
- package/dist/chunks/{managed-policy-251d3kbp.js → agent-pc232jaj.js} +35 -35
- package/dist/chunks/{managed-policy-7dvrqder.js → agent-pfrgg7nw.js} +12 -12
- package/dist/chunks/{managed-policy-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-sx1n432n.js → agent-pmr4s4kc.js} +4 -4
- package/dist/chunks/{managed-policy-y9xjjn74.js → agent-ppxegf25.js} +11 -11
- package/dist/chunks/{managed-policy-k2a0w1ze.js → agent-pv8kkmrg.js} +6 -6
- package/dist/chunks/{managed-policy-mkhtgmm9.js → agent-q844vg7r.js} +16 -16
- package/dist/chunks/{managed-policy-vyp2nf9v.js → agent-qaw4m7e1.js} +4 -4
- package/dist/chunks/{managed-policy-eabvk12d.js → agent-qe435bmh.js} +82 -82
- package/dist/chunks/{managed-policy-2wygw19c.js → agent-qkaf2nyf.js} +2 -2
- package/dist/chunks/{managed-policy-02rzac9a.js → agent-qrrsv7v7.js} +17 -17
- package/dist/chunks/{managed-policy-xbcmvxpx.js → agent-qsaqrdx1.js} +11 -11
- package/dist/chunks/{managed-policy-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-8q61w4ba.js → agent-r7nsrefv.js} +6 -6
- package/dist/chunks/{managed-policy-8aj1qpge.js → agent-rat7368c.js} +9 -9
- package/dist/chunks/{managed-policy-7jykq1cg.js → agent-rb647vmk.js} +21 -21
- package/dist/chunks/{managed-policy-dg2cj1yd.js → agent-rdecwvm0.js} +4 -4
- package/dist/chunks/{managed-policy-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-kmkte60t.js → agent-rgbhby81.js} +24 -24
- package/dist/chunks/{managed-policy-6c314mz2.js → agent-rny51x47.js} +7 -7
- package/dist/chunks/{managed-policy-drkpxzze.js → agent-rp5vjngm.js} +15 -15
- package/dist/chunks/{managed-policy-kwe3mta9.js → agent-s44gg63h.js} +10 -10
- package/dist/chunks/{managed-policy-cn0pj63m.js → agent-s7p4phhd.js} +20 -20
- package/dist/chunks/{managed-policy-erv8bcet.js → agent-s7xnm3xk.js} +3 -3
- package/dist/chunks/{managed-policy-42tscsba.js → agent-smaz7q15.js} +24 -24
- package/dist/chunks/{managed-policy-1a551269.js → agent-st50yqfc.js} +21 -21
- package/dist/chunks/{managed-policy-yk0hjqzt.js → agent-t5r9nnk5.js} +17 -17
- package/dist/chunks/{managed-policy-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-5xpznt2d.js → agent-tazp3vs0.js} +4 -4
- package/dist/chunks/{managed-policy-89znhe33.js → agent-tcezcvh9.js} +4 -4
- package/dist/chunks/{managed-policy-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-qdes8zwy.js → agent-th3pkrnx.js} +4 -4
- package/dist/chunks/{managed-policy-7h9mx2w5.js → agent-tn5b9xfz.js} +24 -24
- package/dist/chunks/{managed-policy-1ag1pq0v.js → agent-tpth3d6j.js} +20 -20
- package/dist/chunks/{managed-policy-1tdcmptc.js → agent-trkg9a33.js} +15 -15
- package/dist/chunks/{managed-policy-tvtrv512.js → agent-tvtrv512.js} +1 -1
- package/dist/chunks/{managed-policy-zbd32vaa.js → agent-twvyfk9y.js} +12 -12
- package/dist/chunks/{managed-policy-tz2bjj40.js → agent-tz2bjj40.js} +2 -2
- package/dist/chunks/{managed-policy-q4yhrq2j.js → agent-v6zzpp1a.js} +3 -3
- package/dist/chunks/{managed-policy-xf43b6z6.js → agent-vb9ggsp7.js} +9 -9
- package/dist/chunks/{managed-policy-a293rvby.js → agent-vbw49qtd.js} +8 -8
- package/dist/chunks/{managed-policy-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-gsc5p4tt.js → agent-vq4vz5jx.js} +16 -16
- package/dist/chunks/{managed-policy-q4pw0c2n.js → agent-vqc379z4.js} +18 -18
- package/dist/chunks/{managed-policy-vtxr0yy2.js → agent-vtxr0yy2.js} +2 -2
- package/dist/chunks/{managed-policy-gw0bnd3r.js → agent-vv2mzy79.js} +11 -11
- package/dist/chunks/{managed-policy-3cz6x5mb.js → agent-vwxj763t.js} +9 -9
- package/dist/chunks/{managed-policy-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-3wdbfyxb.js → agent-w1888pr6.js} +2 -2
- package/dist/chunks/{managed-policy-kq7dkryj.js → agent-w3v1w3dz.js} +9 -9
- package/dist/chunks/{managed-policy-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-rjq8wmvv.js → agent-wcpje083.js} +15 -15
- package/dist/chunks/{managed-policy-akq6t692.js → agent-wd0m6wek.js} +21 -21
- package/dist/chunks/{managed-policy-wd3x2cqz.js → agent-wd3x2cqz.js} +2 -2
- package/dist/chunks/{managed-policy-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-3hhw65fg.js → agent-wdr78amw.js} +20 -20
- package/dist/chunks/{managed-policy-4yx5pf48.js → agent-wsyne64r.js} +11 -11
- package/dist/chunks/{managed-policy-w1rh5dj8.js → agent-wtgbwnmd.js} +6 -6
- package/dist/chunks/{managed-policy-kpa692bj.js → agent-x002dt7s.js} +33 -33
- package/dist/chunks/{managed-policy-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{managed-policy-q6amncqc.js → agent-x2qdxhwm.js} +8 -8
- package/dist/chunks/{managed-policy-z85wtvq4.js → agent-x4twtbmc.js} +35 -35
- package/dist/chunks/{managed-policy-jhf3jymm.js → agent-xcd0eash.js} +6 -6
- package/dist/chunks/{managed-policy-76cqma85.js → agent-xepqwmf1.js} +12 -12
- package/dist/chunks/{managed-policy-retwe0n8.js → agent-xn74gsdd.js} +20 -20
- package/dist/chunks/{managed-policy-gfn7xntb.js → agent-xrrk0pa1.js} +31 -31
- package/dist/chunks/{managed-policy-j7kakgc5.js → agent-xs4zavqa.js} +9 -9
- package/dist/chunks/{managed-policy-473re8za.js → agent-y11d2ej4.js} +22 -22
- package/dist/chunks/{managed-policy-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-y71avatq.js → agent-y71avatq.js} +1 -1
- package/dist/chunks/{managed-policy-k0b3m8xv.js → agent-yczq05sr.js} +9 -9
- package/dist/chunks/{managed-policy-1pyqratn.js → agent-yk25tvz4.js} +26 -26
- package/dist/chunks/{managed-policy-aw4bep3f.js → agent-ym4va9hq.js} +16 -16
- package/dist/chunks/{managed-policy-1acjjqhc.js → agent-yp2x3t23.js} +4 -4
- package/dist/chunks/{managed-policy-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{managed-policy-yrznvahk.js → agent-yrznvahk.js} +2 -2
- package/dist/chunks/{managed-policy-gza8p2w0.js → agent-ysjzdycw.js} +7 -7
- package/dist/chunks/{managed-policy-72zxmgt4.js → agent-ywr1yhv3.js} +7 -7
- package/dist/chunks/{managed-policy-z07pqspn.js → agent-z07pqspn.js} +3 -3
- package/dist/chunks/{managed-policy-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-qa1h2r6b.js → agent-z5985ys6.js} +21 -21
- package/dist/chunks/{managed-policy-z63w68vq.js → agent-z63w68vq.js} +2 -2
- package/dist/chunks/{managed-policy-8fhzpqwh.js → agent-z6vqazby.js} +3 -3
- package/dist/chunks/{managed-policy-6rewzfhv.js → agent-z9x99dgf.js} +28 -28
- package/dist/chunks/{managed-policy-ebp4vjcq.js → agent-zd8ptnqb.js} +35 -35
- package/dist/chunks/{managed-policy-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
- package/dist/chunks/{managed-policy-g7cdhhyx.js → agent-zhtpe0kf.js} +13 -13
- package/dist/chunks/{managed-policy-41fs1qjb.js → agent-zk5n06yq.js} +18 -18
- package/dist/chunks/{managed-policy-nq90v52f.js → agent-zq2asrye.js} +22 -22
- package/dist/chunks/{managed-policy-9ra9hhs6.js → agent-zqqw7vpf.js} +13 -13
- package/dist/chunks/{managed-policy-8xh1vfpb.js → agent-zqyfehrf.js} +6 -6
- package/dist/chunks/{managed-policy-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-tar13cek.js → agent-zt1q6574.js} +11 -11
- package/dist/chunks/{managed-policy-w5684xyg.js → agent-zvr28f0w.js} +15 -15
- package/dist/chunks/{managed-policy-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +9 -9
- package/dist/chunks/managed-policy-57q3t40e.js +0 -503
- package/dist/chunks/managed-policy-9zdhvgqs.js +0 -18
- package/dist/chunks/managed-policy-crpty8yf.js +0 -252
- package/dist/chunks/managed-policy-g14e49v8.js +0 -26
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{managed-policy-6kdq0pjd.js → agent-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-922hggd3.js → agent-922hggd3.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./agent-b28x5q96.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./agent-smaz7q15.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin41,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin41 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service57;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin13 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output5, description3, toModelOutput2, Plugin41, exports_skill3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-as3gfbfe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./agent-st50yqfc.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service23
|
|
16
|
+
} from "./agent-gd4ttfw7.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-aengndq2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./agent-b28x5q96.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./agent-mc5vr7h5.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./agent-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output3,
|
|
40
|
+
Plugin: () => Plugin39,
|
|
41
|
+
name: () => name4,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name4 = "grep";
|
|
48
|
+
var Input4 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output3 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin39 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service74;
|
|
90
|
+
const ripgrep = yield* Service23;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service58;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name4,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input4,
|
|
99
|
+
output: Output3,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name4,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin11 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin11 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin11 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name4, Input4, Output3, toModelContent2, Plugin39, exports_grep };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node76
|
|
7
|
+
} from "./agent-st50yqfc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
|
+
node: () => node75,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service73 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service74;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service73.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node75 = makeLocationNode({ service: Service73, layer, deps: [node76] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service73, readText2, syncTextBom2, node75, exports_file_mutation };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-qaw4m7e1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./agent-2fr5yqz7.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service31,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-dxj72tfx.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-a3m1esjv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service31,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service72;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service31.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service31,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-v6zzpp1a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-qaw4m7e1.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-rdecwvm0.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-kesj5jy8.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-7tgakezr.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-j1e4v64e.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./agent-th3pkrnx.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./agent-zqyfehrf.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./agent-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./agent-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./agent-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service6,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node8,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service6 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service6.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node8 = makeLocationNode({
|
|
619
|
+
service: Service6,
|
|
620
620
|
layer: layer6,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service6, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node8, exports_compaction3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-qaw4m7e1.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event19
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-twvyfk9y.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-qrrsv7v7.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-h6r3nrb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./agent-x2qdxhwm.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-h9dmwwwx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
ID3,
|
|
25
|
+
Input13,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./agent-87n4nh5h.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
|
|
|
39
39
|
var RemoteResponse = Schema.Struct({
|
|
40
40
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
41
41
|
websearch: Schema.Struct({
|
|
42
|
-
providerID:
|
|
42
|
+
providerID: ID3
|
|
43
43
|
}).pipe(Schema.optional),
|
|
44
44
|
experimental: Schema.Struct({
|
|
45
45
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
|
|
|
120
120
|
effect: Effect.fn(function* (ctx) {
|
|
121
121
|
const bus = yield* Service83;
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const managed = yield*
|
|
123
|
+
const managed = yield* Service17;
|
|
124
124
|
const loading = Semaphore.makeUnsafe(1);
|
|
125
125
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
126
126
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
|
|
|
269
269
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
270
270
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
271
271
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
272
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
272
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
273
273
|
query: input.query,
|
|
274
274
|
providerID: descriptor.providerID
|
|
275
275
|
}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-th3pkrnx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make8,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make8, exports_retry };
|