@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,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-50h1eett.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-s8qjwx7s.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service58,
|
|
15
|
+
node61
|
|
16
|
+
} from "./snapshot-38kf5rm2.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service68,
|
|
22
|
+
node72
|
|
23
|
+
} from "./snapshot-9ftsng1y.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./snapshot-h9wp8z5w.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./snapshot-zyn8fsgh.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./snapshot-znsx74x0.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service31,
|
|
47
|
+
node34
|
|
48
|
+
} from "./snapshot-yfbfpsvk.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
50
|
+
Service44,
|
|
51
51
|
node46
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./snapshot-p47p3x6n.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./snapshot-b3f8fkhc.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./snapshot-ambwxayc.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./snapshot-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service11,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node13,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service58;
|
|
176
176
|
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service68;
|
|
179
|
+
const models = yield* Service44;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service31;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service11.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node13 = makeLocationNode({
|
|
482
|
+
service: Service11,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node61, node87, node88, llmClient2, node72, node34, node46]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info8,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-45gfdbj6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./snapshot-9smjc29v.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin13,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin13 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info8.make({
|
|
434
434
|
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info8.make({
|
|
441
441
|
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service62;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin13, exports_skill };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./snapshot-809mkkbx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./snapshot-9smjc29v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service69;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service62);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-s8qjwx7s.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./snapshot-f92frnky.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service79,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node83
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service79 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service79.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service79, node83, exports_rpc, define2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./snapshot-34c0j3ep.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./snapshot-3f6key9q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service72;
|
|
57
|
+
const permission = yield* Service55;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info18
|
|
6
|
+
} from "./snapshot-2pnhn36q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info18)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make22,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node71,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node71 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node71, exports_driver };
|