@opencode/core 0.0.0-dev-20634 → 0.0.0-dev-20635
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-q27p0z6n.js → snapshot-01wy2qek.js} +34 -34
- package/dist/chunks/{ripgrep-0gqfrnsf.js → snapshot-06w4bmrz.js} +14 -14
- package/dist/chunks/{ripgrep-5dednvak.js → snapshot-0byq2k6w.js} +24 -24
- package/dist/chunks/{ripgrep-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
- package/dist/chunks/{ripgrep-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-a62nzkfm.js → snapshot-0sx48w9z.js} +9 -9
- package/dist/chunks/{ripgrep-jyd4c54m.js → snapshot-0td4cz49.js} +3 -3
- package/dist/chunks/{ripgrep-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-2wntz932.js → snapshot-13d5j3xz.js} +5 -5
- package/dist/chunks/{ripgrep-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-1dvck2a7.js → snapshot-1dvck2a7.js} +2 -2
- package/dist/chunks/{ripgrep-84x1qr6q.js → snapshot-1e8vqbs5.js} +14 -14
- package/dist/chunks/{ripgrep-sexyc412.js → snapshot-1gp9qjqr.js} +9 -9
- package/dist/chunks/{ripgrep-9ra2mwh8.js → snapshot-1qe672pv.js} +4 -4
- package/dist/chunks/{ripgrep-dda0p7y7.js → snapshot-1rh4yqvv.js} +9 -9
- package/dist/chunks/{ripgrep-076smhkq.js → snapshot-1rpkqfbc.js} +1 -1
- package/dist/chunks/{ripgrep-z6kghr8f.js → snapshot-1wcts50h.js} +18 -18
- package/dist/chunks/{ripgrep-mfqp6xfm.js → snapshot-1ygqh575.js} +6 -6
- package/dist/chunks/{ripgrep-vrd8hhbp.js → snapshot-1zjs6h3e.js} +24 -24
- package/dist/chunks/{ripgrep-0k8zvg2a.js → snapshot-24p06p9j.js} +20 -20
- package/dist/chunks/{ripgrep-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-v6rt0rx3.js → snapshot-2cbph903.js} +11 -11
- package/dist/chunks/{ripgrep-4ts7tf6z.js → snapshot-2ccvkpx1.js} +2 -2
- package/dist/chunks/{ripgrep-1mb5bsea.js → snapshot-2gybq4dr.js} +3 -3
- package/dist/chunks/{ripgrep-qgn6gcr1.js → snapshot-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-kvvk39gs.js → snapshot-2pnhn36q.js} +21 -21
- package/dist/chunks/{ripgrep-76jq5zat.js → snapshot-2qdat27r.js} +22 -22
- package/dist/chunks/{ripgrep-tqmfw2b9.js → snapshot-30pz7tss.js} +4 -4
- package/dist/chunks/{ripgrep-ry2kpw21.js → snapshot-30rd5yfg.js} +27 -27
- package/dist/chunks/{ripgrep-w6evbe20.js → snapshot-34c0j3ep.js} +17 -17
- package/dist/chunks/{ripgrep-jfa7gmqr.js → snapshot-38kf5rm2.js} +22 -22
- package/dist/chunks/{ripgrep-bh757wj0.js → snapshot-3f6key9q.js} +48 -48
- package/dist/chunks/{ripgrep-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-9f8agqm4.js → snapshot-45gfdbj6.js} +16 -16
- package/dist/chunks/{ripgrep-kfsgvpxj.js → snapshot-490jtnz7.js} +22 -22
- package/dist/chunks/snapshot-4ajnt9eg.js +253 -0
- package/dist/chunks/{ripgrep-247t9d9n.js → snapshot-4c9vz95h.js} +8 -8
- package/dist/chunks/{ripgrep-hq5hwna4.js → snapshot-4j3g2wcv.js} +4 -4
- package/dist/chunks/{ripgrep-0xwrgxtz.js → snapshot-4jfgyrzt.js} +65 -65
- package/dist/chunks/{ripgrep-hwe7x4em.js → snapshot-4mwpykj0.js} +6 -6
- package/dist/chunks/{ripgrep-dqee7r49.js → snapshot-4qedgxnx.js} +6 -6
- package/dist/chunks/{ripgrep-jpqeh2wc.js → snapshot-4v7ngy20.js} +4 -4
- package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
- package/dist/chunks/{ripgrep-kx705y8y.js → snapshot-4zwmvgkw.js} +7 -7
- package/dist/chunks/{ripgrep-30nzr87g.js → snapshot-50h1eett.js} +3 -3
- package/dist/chunks/{ripgrep-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-epz8bg99.js → snapshot-55m8fdgd.js} +9 -9
- package/dist/chunks/{ripgrep-0pqv7m1r.js → snapshot-55mrs20k.js} +14 -14
- package/dist/chunks/{ripgrep-m5jcjszt.js → snapshot-58072hz9.js} +3 -3
- package/dist/chunks/{ripgrep-w9p76dg1.js → snapshot-5b6yg4p8.js} +21 -21
- package/dist/chunks/{ripgrep-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-ajzsbz6h.js → snapshot-5ngaw42y.js} +7 -7
- package/dist/chunks/{ripgrep-6ymq3723.js → snapshot-5s00wypw.js} +2 -2
- package/dist/chunks/{ripgrep-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-9cwpj9ng.js → snapshot-5vmvc5he.js} +16 -16
- package/dist/chunks/{ripgrep-b7h6z6tn.js → snapshot-606e7s57.js} +11 -11
- package/dist/chunks/{ripgrep-7fv97ajc.js → snapshot-6j7y2wwk.js} +13 -13
- package/dist/chunks/{ripgrep-e5zk1d3d.js → snapshot-6rxkb1t6.js} +8 -8
- package/dist/chunks/{ripgrep-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-zng29zcf.js → snapshot-6xkm719f.js} +34 -34
- package/dist/chunks/{ripgrep-vjckrprz.js → snapshot-6ym8qnhr.js} +12 -12
- package/dist/chunks/{ripgrep-71az546q.js → snapshot-71az546q.js} +2 -2
- package/dist/chunks/{ripgrep-chsayper.js → snapshot-79zv7g62.js} +13 -13
- package/dist/chunks/{ripgrep-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-9dz433we.js → snapshot-7c7sv9k2.js} +15 -15
- package/dist/chunks/{ripgrep-nhtrsw1r.js → snapshot-7nnpek7x.js} +11 -11
- package/dist/chunks/{ripgrep-283xtvn5.js → snapshot-7ta4bv20.js} +30 -30
- package/dist/chunks/{ripgrep-fsp0r4x8.js → snapshot-7zt2q3h7.js} +18 -18
- package/dist/chunks/{ripgrep-aws7tw8m.js → snapshot-809mkkbx.js} +28 -28
- package/dist/chunks/{ripgrep-tyj0v91c.js → snapshot-82cr96wn.js} +20 -20
- package/dist/chunks/{ripgrep-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-v0xz5m4c.js → snapshot-84zqq0g0.js} +28 -28
- package/dist/chunks/{ripgrep-ybqq9p4b.js → snapshot-8bvzxqk6.js} +40 -40
- package/dist/chunks/{ripgrep-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-8wsye86r.js → snapshot-8s1fj8xg.js} +8 -8
- package/dist/chunks/{ripgrep-bf48bc2p.js → snapshot-8sf9g9bn.js} +45 -45
- package/dist/chunks/{ripgrep-xfa9t8nf.js → snapshot-8t2r0pt2.js} +46 -46
- package/dist/chunks/{ripgrep-jq45s55z.js → snapshot-8t7k386x.js} +13 -13
- package/dist/chunks/{ripgrep-dzxd22x2.js → snapshot-914tbbjm.js} +9 -9
- package/dist/chunks/{ripgrep-5715y3z9.js → snapshot-98a7fcd2.js} +11 -11
- package/dist/chunks/{ripgrep-9e5bzkjp.js → snapshot-9e5bzkjp.js} +3 -3
- package/dist/chunks/{ripgrep-d7pk3s54.js → snapshot-9ftsng1y.js} +25 -25
- package/dist/chunks/{ripgrep-8v6pyhej.js → snapshot-9hn6k4tm.js} +8 -8
- package/dist/chunks/{ripgrep-3mm24bx6.js → snapshot-9pz2n9rd.js} +14 -14
- package/dist/chunks/{ripgrep-bps6twr8.js → snapshot-9smjc29v.js} +39 -39
- package/dist/chunks/{ripgrep-bwm9v46e.js → snapshot-9syttpxn.js} +35 -35
- package/dist/chunks/{ripgrep-b94zytem.js → snapshot-9ts1yjxr.js} +14 -14
- package/dist/chunks/{ripgrep-7nbx7n68.js → snapshot-9xw1zsfh.js} +11 -11
- package/dist/chunks/{ripgrep-838kzc8c.js → snapshot-9z1jz1fd.js} +5 -5
- package/dist/chunks/{ripgrep-73tb2d7t.js → snapshot-a1gpj94z.js} +3 -3
- package/dist/chunks/{ripgrep-2vsx29mh.js → snapshot-a3a3tq5e.js} +11 -11
- package/dist/chunks/{ripgrep-bwrbt93d.js → snapshot-a8kks0d9.js} +8 -8
- package/dist/chunks/{ripgrep-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-mxvxcxwy.js → snapshot-addxnjmp.js} +4 -4
- package/dist/chunks/{ripgrep-rhj8rxb3.js → snapshot-ambwxayc.js} +5 -5
- package/dist/chunks/{ripgrep-r1fscvg0.js → snapshot-ams72g5c.js} +11 -11
- package/dist/chunks/{ripgrep-ytj75ggh.js → snapshot-ansmabqy.js} +24 -24
- package/dist/chunks/{ripgrep-vgzk2pn2.js → snapshot-azzye172.js} +7 -7
- package/dist/chunks/{ripgrep-zyk1yjk8.js → snapshot-b3f8fkhc.js} +5 -5
- package/dist/chunks/{ripgrep-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-w99y5e0t.js → snapshot-b72deqvz.js} +48 -48
- package/dist/chunks/{ripgrep-nsja2dvh.js → snapshot-bf8bbf38.js} +22 -22
- package/dist/chunks/{ripgrep-4yt4fj6t.js → snapshot-bh23es7j.js} +30 -30
- package/dist/chunks/{ripgrep-qc6h4chp.js → snapshot-bq1xg9wr.js} +15 -15
- package/dist/chunks/{ripgrep-n7y52wsc.js → snapshot-bs0her6n.js} +15 -15
- package/dist/chunks/{ripgrep-77f241gp.js → snapshot-c60ns7m9.js} +11 -11
- package/dist/chunks/{ripgrep-y88nahzz.js → snapshot-cb7caa3e.js} +1 -1
- package/dist/chunks/{ripgrep-py3kkmfq.js → snapshot-cfsekr6v.js} +2 -2
- package/dist/chunks/{ripgrep-97na1vhb.js → snapshot-ckqv7ffe.js} +29 -29
- package/dist/chunks/{ripgrep-akrprgjn.js → snapshot-cm9hswnw.js} +27 -27
- package/dist/chunks/{ripgrep-jebmc97d.js → snapshot-d19e4dwh.js} +4 -4
- package/dist/chunks/{ripgrep-hx1nh6p6.js → snapshot-dchsmdq5.js} +15 -15
- package/dist/chunks/{ripgrep-85nzvnnf.js → snapshot-dh7acrtn.js} +10 -10
- package/dist/chunks/{ripgrep-c765mh8b.js → snapshot-djszqvmq.js} +9 -9
- package/dist/chunks/{ripgrep-xkntkrq7.js → snapshot-dmqcgk4z.js} +5 -5
- package/dist/chunks/{ripgrep-d0kp8v5z.js → snapshot-dxdqybfr.js} +16 -16
- package/dist/chunks/{ripgrep-bzx0raep.js → snapshot-dzfez6bd.js} +23 -23
- package/dist/chunks/{ripgrep-v8aar8tp.js → snapshot-e1kg5xcc.js} +169 -169
- package/dist/chunks/{ripgrep-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-m7zb0vvq.js → snapshot-easr7c7j.js} +24 -24
- package/dist/chunks/{ripgrep-0618bhf4.js → snapshot-ebmvv24b.js} +24 -24
- package/dist/chunks/{ripgrep-axk9hj3n.js → snapshot-ebpfwzpf.js} +77 -77
- package/dist/chunks/{ripgrep-187tx94p.js → snapshot-ef3dmj4g.js} +9 -9
- package/dist/chunks/{ripgrep-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-rc3whc49.js → snapshot-egn78er9.js} +11 -11
- package/dist/chunks/{ripgrep-bpw2rrm0.js → snapshot-ejcmw1aa.js} +22 -22
- package/dist/chunks/{ripgrep-9aga8edg.js → snapshot-ejwvf004.js} +329 -329
- package/dist/chunks/{ripgrep-ydfe3hmk.js → snapshot-emmbmbyr.js} +1 -1
- package/dist/chunks/{ripgrep-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-84zcxbc9.js → snapshot-f62qkzqr.js} +5 -5
- package/dist/chunks/{ripgrep-mdd5bykz.js → snapshot-f92frnky.js} +16 -16
- package/dist/chunks/{ripgrep-affqz3dt.js → snapshot-fdqb3sd9.js} +30 -30
- package/dist/chunks/{ripgrep-jnejy8gf.js → snapshot-fe8gwfr5.js} +13 -13
- package/dist/chunks/{ripgrep-6spjy1ny.js → snapshot-fex70s02.js} +4 -4
- package/dist/chunks/{ripgrep-h76pkdx5.js → snapshot-fqq9xsk7.js} +17 -17
- package/dist/chunks/{ripgrep-1vyzjnq9.js → snapshot-fw2v9256.js} +8 -8
- package/dist/chunks/{ripgrep-xfkkasph.js → snapshot-g5w8qwbj.js} +4 -4
- package/dist/chunks/{ripgrep-v0xmac3n.js → snapshot-gccjnz6h.js} +2 -2
- package/dist/chunks/{ripgrep-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-gdq892sv.js → snapshot-gz41n4pb.js} +44 -44
- package/dist/chunks/{ripgrep-h2b79v29.js → snapshot-h2b79v29.js} +2 -2
- package/dist/chunks/{ripgrep-ggt0zq3q.js → snapshot-h33t1xt5.js} +10 -10
- package/dist/chunks/{ripgrep-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-yrcj3v3g.js → snapshot-h9wp8z5w.js} +4 -4
- package/dist/chunks/{ripgrep-f0dkdsq1.js → snapshot-hee39r59.js} +49 -49
- package/dist/chunks/{ripgrep-jeah1c85.js → snapshot-hfnn6h40.js} +19 -19
- package/dist/chunks/{ripgrep-4pp11k09.js → snapshot-hw2n9bc3.js} +5 -5
- package/dist/chunks/{ripgrep-7bc7rr9r.js → snapshot-hxek7tcc.js} +5 -5
- package/dist/chunks/{ripgrep-nj58sj1f.js → snapshot-j238m2wq.js} +1 -1
- package/dist/chunks/{ripgrep-dgbczadx.js → snapshot-j4gcvdzz.js} +28 -28
- package/dist/chunks/{ripgrep-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-r69nsnk3.js → snapshot-j739v9j7.js} +11 -11
- package/dist/chunks/{ripgrep-96cd70s2.js → snapshot-jkhhterb.js} +29 -29
- package/dist/chunks/{ripgrep-dm63ydvm.js → snapshot-jn7tmx4p.js} +13 -13
- package/dist/chunks/{ripgrep-jex6twvz.js → snapshot-k3a0as7r.js} +5 -5
- package/dist/chunks/{ripgrep-g31erja1.js → snapshot-k70p9jzb.js} +9 -9
- package/dist/chunks/{ripgrep-7s8pn6vn.js → snapshot-k808h248.js} +26 -26
- package/dist/chunks/{ripgrep-q6yya7b3.js → snapshot-kbj2dgab.js} +5 -5
- package/dist/chunks/{ripgrep-h79096x2.js → snapshot-kc2whj5y.js} +21 -21
- package/dist/chunks/{ripgrep-9dvew4ct.js → snapshot-kdarkz0k.js} +15 -15
- package/dist/chunks/{ripgrep-9vspqhb9.js → snapshot-kks5n0mm.js} +18 -18
- package/dist/chunks/{ripgrep-4sw1w9me.js → snapshot-kkya6hqm.js} +9 -9
- package/dist/chunks/{ripgrep-64vd9axx.js → snapshot-kmfd25t4.js} +17 -17
- package/dist/chunks/{ripgrep-8040dbmc.js → snapshot-kpt54jka.js} +22 -22
- package/dist/chunks/{ripgrep-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-cfexggbj.js → snapshot-mgsp47xb.js} +9 -9
- package/dist/chunks/{ripgrep-z3cgdbnx.js → snapshot-mpqann26.js} +18 -18
- package/dist/chunks/{ripgrep-t43wy93c.js → snapshot-ms0e1w2a.js} +20 -20
- package/dist/chunks/{ripgrep-kabk1m9n.js → snapshot-mxxxa8pc.js} +26 -26
- package/dist/chunks/{ripgrep-gj71zhbs.js → snapshot-n8vdnqrc.js} +5 -5
- package/dist/chunks/{ripgrep-1s5z1wtk.js → snapshot-njmzpw5k.js} +13 -13
- package/dist/chunks/{ripgrep-sj5n17p9.js → snapshot-nnfq7fft.js} +28 -28
- package/dist/chunks/{ripgrep-8dr0pm1z.js → snapshot-nt7v8mep.js} +30 -30
- package/dist/chunks/{ripgrep-nxm207yx.js → snapshot-nxm207yx.js} +1 -1
- package/dist/chunks/{ripgrep-gdzp4kpk.js → snapshot-p1np5d7s.js} +9 -9
- package/dist/chunks/{ripgrep-h30xb52k.js → snapshot-p47p3x6n.js} +12 -12
- package/dist/chunks/{ripgrep-rrpkd1dr.js → snapshot-p4kgtw5x.js} +15 -15
- package/dist/chunks/{ripgrep-ky4t9cwy.js → snapshot-p9jn0jc6.js} +3 -3
- package/dist/chunks/{ripgrep-7xhhfgpf.js → snapshot-pbgrrt8q.js} +5 -5
- package/dist/chunks/{ripgrep-e6me97w7.js → snapshot-pevdf72a.js} +10 -10
- package/dist/chunks/{ripgrep-qavhg4ac.js → snapshot-phm1sawz.js} +17 -17
- package/dist/chunks/{ripgrep-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-kzmatdfq.js → snapshot-pnrzkzcv.js} +7 -7
- package/dist/chunks/{ripgrep-29ag82sg.js → snapshot-pp9frasb.js} +7 -7
- package/dist/chunks/{ripgrep-fyp6synz.js → snapshot-pzaq0q3h.js} +11 -11
- package/dist/chunks/{ripgrep-mxmk95sb.js → snapshot-q8a356d0.js} +20 -20
- package/dist/chunks/{ripgrep-pbfwh0cy.js → snapshot-qa3qhgw8.js} +7 -7
- package/dist/chunks/{ripgrep-m51a3mp4.js → snapshot-qd87qnby.js} +17 -17
- package/dist/chunks/{ripgrep-3s69ytqq.js → snapshot-qg56zsrf.js} +15 -15
- package/dist/chunks/{ripgrep-9yaj1bep.js → snapshot-qhz5c7yg.js} +13 -13
- package/dist/chunks/{ripgrep-gsw111xz.js → snapshot-qkrx527r.js} +30 -30
- package/dist/chunks/{ripgrep-q8ajcpfq.js → snapshot-qn7mss41.js} +33 -33
- package/dist/chunks/{ripgrep-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{ripgrep-0229r2y6.js → snapshot-qnmybv1b.js} +85 -85
- package/dist/chunks/{ripgrep-qasvjq9f.js → snapshot-qnpjnc21.js} +4 -4
- package/dist/chunks/{ripgrep-6hfyjfby.js → snapshot-qrk3b11x.js} +1 -1
- package/dist/chunks/{ripgrep-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-nara5m26.js → snapshot-qv8c18b1.js} +12 -12
- package/dist/chunks/{ripgrep-yz5emzcc.js → snapshot-qxd7ea1r.js} +9 -9
- package/dist/chunks/{ripgrep-qxjc9qry.js → snapshot-qxjc9qry.js} +3 -3
- package/dist/chunks/{ripgrep-57raby7m.js → snapshot-r23b2p45.js} +4 -4
- package/dist/chunks/{ripgrep-crcmjdtg.js → snapshot-r5nnafs2.js} +20 -20
- package/dist/chunks/{ripgrep-1acjjqhc.js → snapshot-r8xr0va3.js} +4 -4
- package/dist/chunks/{ripgrep-xs12am9p.js → snapshot-rav9e4bf.js} +8 -8
- package/dist/chunks/{ripgrep-9wknbad4.js → snapshot-rbg0p6rj.js} +18 -18
- package/dist/chunks/{ripgrep-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-x9sntwkc.js → snapshot-rfdthp1y.js} +10 -10
- package/dist/chunks/{ripgrep-pkt8fefj.js → snapshot-s43e8fnf.js} +7 -7
- package/dist/chunks/{ripgrep-gq5s82mq.js → snapshot-s54j65n9.js} +26 -26
- package/dist/chunks/{ripgrep-s8d7rejh.js → snapshot-s8d7rejh.js} +1 -1
- package/dist/chunks/{ripgrep-v47v1yn0.js → snapshot-s8qjwx7s.js} +4 -4
- package/dist/chunks/{ripgrep-6zmb7467.js → snapshot-sa6rnwcm.js} +41 -41
- package/dist/chunks/{ripgrep-bfy8qqhy.js → snapshot-savmkeh3.js} +15 -15
- package/dist/chunks/{ripgrep-2hem8a9k.js → snapshot-sd7me009.js} +6 -6
- package/dist/chunks/{ripgrep-v8xcpy0p.js → snapshot-sj37d163.js} +15 -15
- package/dist/chunks/{ripgrep-n4h3j8sb.js → snapshot-snd1jtws.js} +11 -11
- package/dist/chunks/{ripgrep-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-9h4a5xab.js → snapshot-tc14gx3q.js} +11 -11
- package/dist/chunks/{ripgrep-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-dkrtd87p.js → snapshot-tea830r9.js} +6 -6
- package/dist/chunks/{ripgrep-6s4xe45t.js → snapshot-tmhxmxf3.js} +28 -28
- package/dist/chunks/{ripgrep-fs5m8ztn.js → snapshot-tmrrbz73.js} +20 -20
- package/dist/chunks/{ripgrep-3tx3n4vf.js → snapshot-tv4pwrvh.js} +17 -17
- package/dist/chunks/{ripgrep-c27esgm9.js → snapshot-tx9w5tca.js} +8 -8
- package/dist/chunks/{ripgrep-kf1mpqzp.js → snapshot-tz3w7kyf.js} +3 -3
- package/dist/chunks/{ripgrep-tg7bkhef.js → snapshot-v0es1rhs.js} +7 -7
- package/dist/chunks/{ripgrep-eymws0kt.js → snapshot-v606x47v.js} +3 -3
- package/dist/chunks/{ripgrep-80scg3y3.js → snapshot-vbfgae2j.js} +4 -4
- package/dist/chunks/{ripgrep-6y2txcv3.js → snapshot-vc6qc4g1.js} +8 -8
- package/dist/chunks/{ripgrep-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-5mvtnpvw.js → snapshot-vf1tjk7q.js} +44 -44
- package/dist/chunks/{ripgrep-xgngf68r.js → snapshot-vxj5c8sz.js} +35 -35
- package/dist/chunks/{ripgrep-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-dssbfrwz.js → snapshot-w2h15q85.js} +5 -5
- package/dist/chunks/{ripgrep-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-hh3mh7ha.js → snapshot-w5wtk1sj.js} +27 -27
- package/dist/chunks/{ripgrep-hfzgxkwx.js → snapshot-wb6xtyp7.js} +1 -1
- package/dist/chunks/{ripgrep-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-ttqt9zd2.js → snapshot-wfnc7ck1.js} +30 -30
- package/dist/chunks/{ripgrep-d2q6s312.js → snapshot-wmv7jh55.js} +16 -16
- package/dist/chunks/{ripgrep-pk5m11nm.js → snapshot-wq9n3fgh.js} +11 -11
- package/dist/chunks/{ripgrep-gmjgnzm7.js → snapshot-wqxkxsqv.js} +15 -15
- package/dist/chunks/snapshot-wtrdqwsw.js +26 -0
- package/dist/chunks/{ripgrep-x5tqsxq6.js → snapshot-x5v93ytx.js} +11 -11
- package/dist/chunks/{ripgrep-2z7d0f22.js → snapshot-x9h5zfcv.js} +2 -2
- package/dist/chunks/{ripgrep-k01fw88q.js → snapshot-xch80j94.js} +2 -2
- package/dist/chunks/{ripgrep-30krspkn.js → snapshot-xf0nr9dv.js} +4 -4
- package/dist/chunks/{ripgrep-10wa4fem.js → snapshot-xgnfr18s.js} +30 -30
- package/dist/chunks/{ripgrep-sazs32jb.js → snapshot-xjvdbam7.js} +18 -18
- package/dist/chunks/{ripgrep-jrav4m5q.js → snapshot-xqrmy91b.js} +6 -6
- package/dist/chunks/{ripgrep-qddvfgkx.js → snapshot-xx0efrt7.js} +10 -10
- package/dist/chunks/{ripgrep-8cexbwpw.js → snapshot-y06ady85.js} +29 -29
- package/dist/chunks/{ripgrep-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-mrzfpr14.js → snapshot-y6b024td.js} +13 -13
- package/dist/chunks/{ripgrep-twya4v6r.js → snapshot-yfbfpsvk.js} +33 -33
- package/dist/chunks/{ripgrep-8zy0fzze.js → snapshot-yg3k0d53.js} +20 -20
- package/dist/chunks/{ripgrep-e4psb9ns.js → snapshot-ymfkwayz.js} +12 -12
- package/dist/chunks/{ripgrep-wmvcwthb.js → snapshot-yqw633vx.js} +20 -20
- package/dist/chunks/{ripgrep-4jyvzrab.js → snapshot-yr715y08.js} +9 -9
- package/dist/chunks/{ripgrep-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-3f6jm9xf.js → snapshot-z2pg85mw.js} +18 -18
- package/dist/chunks/{ripgrep-09xbw6za.js → snapshot-zchqraft.js} +3 -3
- package/dist/chunks/{ripgrep-zcrspsvn.js → snapshot-zcrspsvn.js} +1 -1
- package/dist/chunks/{ripgrep-rnrxqq2v.js → snapshot-zerjt0v5.js} +4 -4
- package/dist/chunks/{ripgrep-zfs8ae4p.js → snapshot-zfs8ae4p.js} +4 -4
- package/dist/chunks/{ripgrep-b69jv39p.js → snapshot-znsx74x0.js} +1 -1
- package/dist/chunks/{ripgrep-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-x5g2watm.js → snapshot-zxbpt09z.js} +19 -19
- package/dist/chunks/{ripgrep-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-2agc6006.js → snapshot-zyn8fsgh.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +363 -363
- 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/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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +125 -125
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +87 -87
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -212
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +7 -7
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-gd7qfq63.js +0 -253
- package/dist/chunks/ripgrep-ht5y0zrb.js +0 -18
- package/dist/chunks/ripgrep-q8p5pp0n.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-s8qjwx7s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node66
|
|
7
|
+
} from "./snapshot-kpt54jka.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./snapshot-30rd5yfg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service29
|
|
14
|
+
} from "./snapshot-4v7qdvcn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node15,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-zxbpt09z.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service3,
|
|
21
|
+
node4
|
|
22
|
+
} from "./snapshot-9hn6k4tm.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-ejwvf004.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-6rxkb1t6.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service2,
|
|
35
|
+
node3
|
|
36
|
+
} from "./snapshot-rfdthp1y.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service4,
|
|
39
|
+
node5
|
|
40
|
+
} from "./snapshot-yr715y08.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer3,
|
|
50
|
+
node: () => node2
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
128
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service29;
|
|
130
|
+
const sdk = yield* Service2;
|
|
131
|
+
const instance = yield* Service3;
|
|
132
|
+
const sources = yield* Service9;
|
|
133
|
+
const modules = yield* make3();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service4;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
210
|
+
node15,
|
|
211
|
+
node3,
|
|
212
|
+
node4,
|
|
213
|
+
node11,
|
|
214
|
+
node5,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node66,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service61,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service61 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service61, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service61.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service37, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service61, node64, exports_environment };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./snapshot-38kf5rm2.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./snapshot-9ftsng1y.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./snapshot-9smjc29v.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-58072hz9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service47
|
|
18
|
+
} from "./snapshot-06w4bmrz.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./snapshot-3f6key9q.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./snapshot-qnmybv1b.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./snapshot-9xw1zsfh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input7,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin24,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name7
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name7 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input7 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin24 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service21;
|
|
93
|
+
const jobs = yield* Service47;
|
|
94
|
+
const agents = yield* Service58;
|
|
95
|
+
const config = yield* Service62;
|
|
96
|
+
const permission = yield* Service55;
|
|
97
|
+
const models = yield* Service68;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin46 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin46 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name7,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin46 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name7 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name7];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name7, Input7, Output5, description3, Plugin24, exports_subagent };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./snapshot-9smjc29v.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./snapshot-easr7c7j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./snapshot-06w4bmrz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service55
|
|
19
|
+
} from "./snapshot-3f6key9q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-xjvdbam7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service74,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-fqq9xsk7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service60
|
|
37
|
+
} from "./snapshot-gz41n4pb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./snapshot-qnmybv1b.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-30pz7tss.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin26,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin26 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service21;
|
|
123
|
+
const jobs = yield* Service47;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service66;
|
|
126
|
+
const access = yield* Service13;
|
|
127
|
+
const shell = yield* Service60;
|
|
128
|
+
const shellSelect = yield* Service74;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service55;
|
|
131
|
+
const config = yield* Service62;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin48 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name9,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin48 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name9,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input9,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin48 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name9,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name9];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin26, exports_shell };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-50h1eett.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
|