@opencode/core 0.0.0-dev-20050 → 0.0.0-dev-20052
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-f9tp083j.js → session-03m785b0.js} +24 -24
- package/dist/chunks/{ripgrep-7xvv7bz4.js → session-097zaa0w.js} +11 -11
- package/dist/chunks/{ripgrep-cfxcnq7f.js → session-0dqyxqc6.js} +11 -11
- package/dist/chunks/{ripgrep-ve6nm2s5.js → session-0jkw1j53.js} +6 -6
- package/dist/chunks/{ripgrep-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-bct739vz.js → session-0v53mg2y.js} +4 -4
- package/dist/chunks/{ripgrep-7mcn7qf3.js → session-0xvc1pc6.js} +23 -23
- package/dist/chunks/{ripgrep-dqa86y6d.js → session-0yae14ry.js} +16 -16
- package/dist/chunks/{ripgrep-mfd42sw3.js → session-0yy8y0xf.js} +91 -91
- package/dist/chunks/{ripgrep-1dazxqgg.js → session-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-vy4zg7qh.js → session-1jfn0zqb.js} +12 -12
- package/dist/chunks/{ripgrep-adtat7gs.js → session-1mn56et9.js} +11 -11
- package/dist/chunks/{ripgrep-vprkr44c.js → session-1nd1dyj4.js} +5 -5
- package/dist/chunks/{ripgrep-5a6df3z5.js → session-1q5x1686.js} +28 -28
- package/dist/chunks/{ripgrep-qgecjrfz.js → session-1srchzyf.js} +11 -11
- package/dist/chunks/{ripgrep-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → session-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-gfhqj7dq.js → session-24bnwns1.js} +8 -8
- package/dist/chunks/{ripgrep-86zvre4w.js → session-28qq4hhx.js} +5 -5
- package/dist/chunks/{ripgrep-9j7e6784.js → session-29ehe47y.js} +27 -27
- package/dist/chunks/{ripgrep-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-tnc4b65w.js → session-2ddy47rr.js} +32 -32
- package/dist/chunks/{ripgrep-znr0k2jp.js → session-2q2j00f4.js} +9 -9
- package/dist/chunks/{ripgrep-vr2vg3zy.js → session-2q6kkxxq.js} +4 -4
- package/dist/chunks/{ripgrep-bf2n6fqr.js → session-2tm5ae6q.js} +26 -26
- package/dist/chunks/{ripgrep-nn6way1v.js → session-3e1zst93.js} +2 -2
- package/dist/chunks/{ripgrep-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-85bay2vb.js → session-3t7s9wr0.js} +15 -15
- package/dist/chunks/{ripgrep-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-ber7bg81.js → session-3vwrvaxg.js} +11 -11
- package/dist/chunks/{ripgrep-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-5mtzsd3b.js → session-44h5tttr.js} +4 -4
- package/dist/chunks/{ripgrep-ye7rqg8q.js → session-47nmn8s9.js} +22 -22
- package/dist/chunks/{ripgrep-3eavv4sq.js → session-4hz2mmtn.js} +6 -6
- package/dist/chunks/{ripgrep-c7s3naqd.js → session-4p7tmdrv.js} +9 -9
- package/dist/chunks/{ripgrep-vx17ftxw.js → session-4r1y7bdz.js} +12 -12
- package/dist/chunks/{ripgrep-h2grecd6.js → session-4s63e22f.js} +13 -13
- package/dist/chunks/{ripgrep-y2wxfe7c.js → session-4v7qyvan.js} +15 -15
- package/dist/chunks/{ripgrep-mryf79qs.js → session-4vw5zmsz.js} +6 -6
- package/dist/chunks/{ripgrep-tz7p6r84.js → session-4y9kbvhd.js} +4 -4
- package/dist/chunks/{ripgrep-0wwq9p0h.js → session-51k3ahpx.js} +26 -26
- package/dist/chunks/{ripgrep-sfq6dn5s.js → session-5bp2skey.js} +17 -17
- package/dist/chunks/{ripgrep-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-5ekn9679.js → session-5ekn9679.js} +1 -1
- package/dist/chunks/{ripgrep-9d7sads4.js → session-5hd7p33q.js} +11 -11
- package/dist/chunks/{ripgrep-ta58qp5f.js → session-5nb7gs72.js} +5 -5
- package/dist/chunks/{ripgrep-e3qxr5gk.js → session-5qd3pb7m.js} +2 -2
- package/dist/chunks/{ripgrep-59smysxg.js → session-5qrjp0ry.js} +68 -68
- package/dist/chunks/{ripgrep-5t3nmthw.js → session-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-wsckwg56.js → session-5tst18hn.js} +5 -5
- package/dist/chunks/{ripgrep-kb9hzx7k.js → session-5wyqxqdq.js} +32 -32
- package/dist/chunks/{ripgrep-mvksx64m.js → session-5xpznt2d.js} +4 -4
- package/dist/chunks/{ripgrep-6564zykp.js → session-65fzhxt5.js} +29 -29
- package/dist/chunks/{ripgrep-669tq793.js → session-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-8bn8hgnq.js → session-6dxx1993.js} +31 -31
- package/dist/chunks/{ripgrep-bpcytqs1.js → session-6gf1w7gh.js} +31 -31
- package/dist/chunks/{ripgrep-sge84xqd.js → session-6jcyz307.js} +30 -30
- package/dist/chunks/{ripgrep-6msgmcgs.js → session-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-2w5dyyz8.js → session-7f85ph34.js} +5 -5
- package/dist/chunks/session-7fj5dwt0.js +18 -0
- package/dist/chunks/{ripgrep-kzt398fn.js → session-7q55pes4.js} +32 -32
- package/dist/chunks/{ripgrep-4dre8h63.js → session-7w77vjmn.js} +48 -48
- package/dist/chunks/{ripgrep-sgzpp7nr.js → session-7z65t9n4.js} +3 -3
- package/dist/chunks/{ripgrep-x5wf3cfa.js → session-81j6fgb4.js} +13 -13
- package/dist/chunks/{ripgrep-5cgbbxx2.js → session-85964jq7.js} +25 -25
- package/dist/chunks/{ripgrep-5v8ce13p.js → session-85pzrjeq.js} +44 -44
- package/dist/chunks/{ripgrep-ymhgemp7.js → session-87jgd4yc.js} +15 -15
- package/dist/chunks/{ripgrep-jakqjnps.js → session-891rev4j.js} +10 -10
- package/dist/chunks/{ripgrep-q04jv8av.js → session-898jh0sx.js} +26 -26
- package/dist/chunks/{ripgrep-5h5gn2dz.js → session-8csy398d.js} +3 -3
- package/dist/chunks/{ripgrep-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-cckcq9gg.js → session-8knh3ff8.js} +10 -10
- package/dist/chunks/{ripgrep-j4zepqap.js → session-8phpzhkn.js} +23 -23
- package/dist/chunks/{ripgrep-7jbn65n7.js → session-8v1rbcne.js} +24 -24
- package/dist/chunks/{ripgrep-e1jn5pvd.js → session-8vrp8bmj.js} +4 -4
- package/dist/chunks/{ripgrep-94ek1h2f.js → session-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-r10vypme.js → session-98fz18ap.js} +3 -3
- package/dist/chunks/{ripgrep-vtxr0yy2.js → session-9cyfspf3.js} +5 -5
- package/dist/chunks/{ripgrep-tsbagf10.js → session-9evpwprb.js} +19 -19
- package/dist/chunks/{ripgrep-h35mffgv.js → session-9fkyfe87.js} +12 -12
- package/dist/chunks/{ripgrep-k2eanbb6.js → session-9rxvj49m.js} +1 -1
- package/dist/chunks/{ripgrep-cd9xet5t.js → session-9y6mh9nj.js} +43 -43
- package/dist/chunks/{ripgrep-h90yrjs5.js → session-a1w4bp15.js} +28 -28
- package/dist/chunks/{ripgrep-bm72tg9x.js → session-a3rvs4a0.js} +9 -9
- package/dist/chunks/{ripgrep-rfan2r90.js → session-a56v96gd.js} +2 -2
- package/dist/chunks/{ripgrep-tfzngn12.js → session-a89e0tac.js} +4 -4
- package/dist/chunks/{ripgrep-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-57ez7d0k.js → session-aamtrqep.js} +9 -9
- package/dist/chunks/{ripgrep-1newhgc6.js → session-aeygnrp9.js} +21 -21
- package/dist/chunks/{ripgrep-0pr3hkd7.js → session-ag580yac.js} +4 -4
- package/dist/chunks/{ripgrep-6wf2qcdr.js → session-arcwc29g.js} +11 -11
- package/dist/chunks/{ripgrep-qby9dwvd.js → session-at1kfnmk.js} +8 -8
- package/dist/chunks/{ripgrep-qz02d4gv.js → session-avae2qkj.js} +12 -12
- package/dist/chunks/{ripgrep-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-pnf9bbby.js → session-bfezck53.js} +12 -12
- package/dist/chunks/{ripgrep-45mv0mmk.js → session-bkryqbeh.js} +27 -27
- package/dist/chunks/{ripgrep-apgpszpz.js → session-bm6mjsmb.js} +18 -18
- package/dist/chunks/{ripgrep-4xwkvhnj.js → session-by3zva6c.js} +17 -17
- package/dist/chunks/{ripgrep-bnn53enc.js → session-bym4s09g.js} +42 -42
- package/dist/chunks/{ripgrep-b884akk1.js → session-c0rf4axc.js} +33 -33
- package/dist/chunks/{ripgrep-fbms8ej5.js → session-c0ved6qq.js} +22 -22
- package/dist/chunks/{ripgrep-54frbgjx.js → session-c6rz4xes.js} +7 -7
- package/dist/chunks/{ripgrep-44wj9dtk.js → session-cjm1vn85.js} +5 -5
- package/dist/chunks/{ripgrep-fn2248ay.js → session-ck2r3q7f.js} +6 -6
- package/dist/chunks/{ripgrep-6nvpmb1g.js → session-ck6j0tmg.js} +23 -23
- package/dist/chunks/{ripgrep-ckecvw8r.js → session-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-m549exyf.js → session-cnyds74t.js} +12 -12
- package/dist/chunks/{ripgrep-jd4wkpr4.js → session-czedw7a5.js} +8 -8
- package/dist/chunks/{ripgrep-8vh0cnbs.js → session-d8pj9jd3.js} +13 -13
- package/dist/chunks/{ripgrep-0sgh8d45.js → session-d9qgampt.js} +11 -11
- package/dist/chunks/{ripgrep-z0xdv2q8.js → session-d9v2cph1.js} +37 -37
- package/dist/chunks/{ripgrep-y6f0p4jw.js → session-dm1py9b3.js} +3 -3
- package/dist/chunks/{ripgrep-drwq78ky.js → session-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-gzbkpp9m.js → session-dwvzh0g2.js} +6 -6
- package/dist/chunks/{ripgrep-qqgkaj4y.js → session-e6r66vhv.js} +17 -17
- package/dist/chunks/{ripgrep-nta5d6qs.js → session-e9skrw04.js} +22 -22
- package/dist/chunks/{ripgrep-sra9araw.js → session-ead3g9p8.js} +5 -5
- package/dist/chunks/{ripgrep-d3srfpjk.js → session-eaek5xy9.js} +19 -19
- package/dist/chunks/{ripgrep-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-bfddptag.js → session-ek46xvkd.js} +11 -11
- package/dist/chunks/{ripgrep-ydgy0jv4.js → session-emzsebxx.js} +6 -6
- package/dist/chunks/{ripgrep-erw5rpbs.js → session-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-2ab5p2tv.js → session-espb96qn.js} +30 -30
- package/dist/chunks/{ripgrep-etq0c3wd.js → session-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-fh3sfp11.js → session-f2envfqx.js} +29 -29
- package/dist/chunks/{ripgrep-j0h9pff0.js → session-f400w89m.js} +15 -15
- package/dist/chunks/{ripgrep-tzqmq8qk.js → session-f6e004jv.js} +25 -25
- package/dist/chunks/{ripgrep-agse1mrh.js → session-f72hhft4.js} +7 -7
- package/dist/chunks/{ripgrep-seb716sx.js → session-f9xa6rg6.js} +11 -11
- package/dist/chunks/{ripgrep-16h2319r.js → session-fdg2fymt.js} +18 -18
- package/dist/chunks/{ripgrep-zhwag984.js → session-fgfy4ayq.js} +20 -20
- package/dist/chunks/{ripgrep-knb7evpn.js → session-fkjmw100.js} +6 -6
- package/dist/chunks/{ripgrep-0eb83wjd.js → session-fp4mcc78.js} +25 -25
- package/dist/chunks/{ripgrep-gpjvt01r.js → session-fv5e30h3.js} +18 -18
- package/dist/chunks/{ripgrep-cmwkp3r5.js → session-g0445xdp.js} +4 -4
- package/dist/chunks/{ripgrep-k3fn0r21.js → session-g2yrt224.js} +11 -11
- package/dist/chunks/{ripgrep-x1vnw4j8.js → session-g35sxfze.js} +4 -4
- package/dist/chunks/{ripgrep-acq9m0ym.js → session-g7t1ktz5.js} +3 -3
- package/dist/chunks/{ripgrep-cyvnqhyj.js → session-g83fpe91.js} +24 -24
- package/dist/chunks/{ripgrep-b09hzw3k.js → session-g84cjvn9.js} +2 -2
- package/dist/chunks/{ripgrep-6xadn18s.js → session-gce79w0q.js} +15 -15
- package/dist/chunks/{ripgrep-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-hcgjh0hf.js → session-gh9chfvz.js} +20 -20
- package/dist/chunks/{ripgrep-zy77hdr2.js → session-ghafsdjh.js} +57 -57
- package/dist/chunks/{ripgrep-0f59mhbe.js → session-gt9qcemj.js} +85 -85
- package/dist/chunks/{ripgrep-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-ers8xvjx.js → session-gvgp1py9.js} +18 -18
- package/dist/chunks/{ripgrep-14pzmvty.js → session-h4n9r5tr.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-gd2jr9d1.js → session-h74dn9jk.js} +55 -55
- package/dist/chunks/{ripgrep-1wfwk98z.js → session-h8ad6ek3.js} +10 -10
- package/dist/chunks/{ripgrep-d0j79zbm.js → session-he2xssmb.js} +11 -11
- package/dist/chunks/{ripgrep-j56e64zr.js → session-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-fbkyw6cz.js → session-j6q11bhh.js} +9 -9
- package/dist/chunks/{ripgrep-a1pqyhn8.js → session-jhva41zd.js} +4 -4
- package/dist/chunks/{ripgrep-9ayecn4x.js → session-jn060pb1.js} +24 -24
- package/dist/chunks/{ripgrep-510m7gjw.js → session-jv01nqvq.js} +5 -5
- package/dist/chunks/{ripgrep-rsc9fyh1.js → session-jz6veew7.js} +8 -8
- package/dist/chunks/{ripgrep-k3c624dm.js → session-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-zcrspsvn.js → session-k76fn4kw.js} +4 -4
- package/dist/chunks/{ripgrep-2c5sxent.js → session-kc1vwbxf.js} +5 -5
- package/dist/chunks/{ripgrep-t8ger676.js → session-km974dfy.js} +3 -3
- package/dist/chunks/{ripgrep-31kr05fx.js → session-kxmmewe0.js} +20 -20
- package/dist/chunks/{ripgrep-m3fdjcah.js → session-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-za6yq9hg.js → session-m64xvjj1.js} +5 -5
- package/dist/chunks/{ripgrep-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-2ygzq7an.js → session-mb4kd00m.js} +12 -12
- package/dist/chunks/{ripgrep-ah6tdzr8.js → session-me0y1cnd.js} +18 -18
- package/dist/chunks/{ripgrep-1wss5ece.js → session-meqw6q7z.js} +10 -10
- package/dist/chunks/{ripgrep-vswzb2pw.js → session-mfnb62q9.js} +1 -1
- package/dist/chunks/{ripgrep-p5m10399.js → session-mfq0gsbt.js} +25 -25
- package/dist/chunks/{ripgrep-mfqp6xfm.js → session-mfqp6xfm.js} +2 -2
- package/dist/chunks/{ripgrep-mhkvc446.js → session-mvfsc1pv.js} +3 -3
- package/dist/chunks/{ripgrep-rxw4b0p8.js → session-mzjz1a5e.js} +5 -5
- package/dist/chunks/{ripgrep-7h5xaqf5.js → session-n1edfwxj.js} +4 -4
- package/dist/chunks/{ripgrep-gchntx1p.js → session-n34y64fa.js} +42 -42
- package/dist/chunks/{ripgrep-y0fe2sxw.js → session-n98x30mq.js} +3 -3
- package/dist/chunks/{ripgrep-2mnth441.js → session-neavnvq9.js} +4 -4
- package/dist/chunks/{ripgrep-237jz2dm.js → session-ng1epe3c.js} +4 -4
- package/dist/chunks/{ripgrep-pnv527nz.js → session-nq7qbqzc.js} +9 -9
- package/dist/chunks/{ripgrep-aqga0sge.js → session-nwf7mb4z.js} +18 -18
- package/dist/chunks/{ripgrep-pcmkyeay.js → session-nxrdwk4h.js} +3 -3
- package/dist/chunks/{ripgrep-xjtsx636.js → session-nyqx1cb3.js} +5 -5
- package/dist/chunks/{ripgrep-fyymr9xg.js → session-p7nsp59h.js} +4 -4
- package/dist/chunks/{ripgrep-r3j6szw2.js → session-pekxgg20.js} +12 -12
- package/dist/chunks/{ripgrep-0b9a3syv.js → session-pf2hb43r.js} +6 -6
- package/dist/chunks/{ripgrep-psdrcdc3.js → session-pfjjv6m2.js} +33 -33
- package/dist/chunks/{ripgrep-563md3e9.js → session-pfnz72td.js} +47 -47
- package/dist/chunks/{ripgrep-b8f0afpw.js → session-phkjr6g5.js} +10 -10
- package/dist/chunks/{ripgrep-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-qqvywntg.js → session-pm7a0j07.js} +11 -11
- package/dist/chunks/{ripgrep-am9wkded.js → session-pp7vw36h.js} +9 -9
- package/dist/chunks/{ripgrep-05dza9z3.js → session-ppfdhd4m.js} +16 -16
- package/dist/chunks/{ripgrep-c211bx59.js → session-pvetz0d1.js} +7 -7
- package/dist/chunks/{ripgrep-agvrswhg.js → session-pztm1pv2.js} +25 -25
- package/dist/chunks/{ripgrep-5168mhb0.js → session-q0g0xgbp.js} +34 -34
- package/dist/chunks/{ripgrep-yz4h9str.js → session-q0yde1c4.js} +18 -18
- package/dist/chunks/{ripgrep-2fcft0mp.js → session-q46aey48.js} +17 -17
- package/dist/chunks/{ripgrep-7p50jswy.js → session-q9cy86ms.js} +13 -13
- package/dist/chunks/{ripgrep-qa3qhgw8.js → session-qa3qhgw8.js} +1 -1
- package/dist/chunks/{ripgrep-d8zjpaz4.js → session-qagkqpcw.js} +8 -8
- package/dist/chunks/{ripgrep-8s1fj8xg.js → session-qaja2phe.js} +8 -8
- package/dist/chunks/{ripgrep-1dkxveh1.js → session-qcjgwxds.js} +35 -35
- package/dist/chunks/{ripgrep-ejf2c6et.js → session-qd5xpryb.js} +3 -3
- package/dist/chunks/{ripgrep-qgn6gcr1.js → session-qgn6gcr1.js} +1 -1
- package/dist/chunks/{ripgrep-vsp1fds9.js → session-qj8eh1ht.js} +21 -21
- package/dist/chunks/{ripgrep-pnqe9gv0.js → session-qjxevsft.js} +1 -1
- package/dist/chunks/{ripgrep-emrjvxqt.js → session-qkte4jzb.js} +11 -11
- package/dist/chunks/{ripgrep-7hrpqjht.js → session-qm151fxq.js} +178 -178
- package/dist/chunks/{ripgrep-gqp6qxk9.js → session-qrbbscqf.js} +30 -30
- package/dist/chunks/{ripgrep-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-m9y9g4ac.js → session-qtg8sbhy.js} +11 -11
- package/dist/chunks/{ripgrep-d4he2qe1.js → session-r2m716tb.js} +9 -9
- package/dist/chunks/{ripgrep-1a9bc6ss.js → session-r5rbqxjx.js} +13 -13
- package/dist/chunks/{ripgrep-r4ehhsv8.js → session-rb315gan.js} +17 -17
- package/dist/chunks/{ripgrep-8sc544a3.js → session-rcyr9k4h.js} +9 -9
- package/dist/chunks/{ripgrep-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-k9rdbn52.js → session-rk8z89hk.js} +11 -11
- package/dist/chunks/{ripgrep-xwpyg3km.js → session-rmte0ewr.js} +51 -51
- package/dist/chunks/{ripgrep-faj2svbs.js → session-rpjgfq5s.js} +9 -9
- package/dist/chunks/{ripgrep-4zwdaqgd.js → session-s2e92qp2.js} +41 -41
- package/dist/chunks/{ripgrep-mhtr458h.js → session-s5sq7s6b.js} +40 -40
- package/dist/chunks/{ripgrep-4475gzjd.js → session-s7qtgpz2.js} +6 -6
- package/dist/chunks/{ripgrep-rhjbct0v.js → session-s8d7rejh.js} +4 -4
- package/dist/chunks/{ripgrep-actssrt8.js → session-sddsc253.js} +17 -17
- package/dist/chunks/{ripgrep-fb1j3qsp.js → session-sgzh4dhp.js} +7 -7
- package/dist/chunks/{ripgrep-ycjw1vkg.js → session-svzgkj0a.js} +304 -304
- package/dist/chunks/{ripgrep-0c7hyzvt.js → session-sy0s5bwh.js} +28 -28
- package/dist/chunks/{ripgrep-vjtpgjq7.js → session-sy2z0gpb.js} +20 -20
- package/dist/chunks/{ripgrep-vhexq360.js → session-t3rhj3kt.js} +26 -26
- package/dist/chunks/{ripgrep-8sp14q84.js → session-tafx042x.js} +15 -15
- package/dist/chunks/{ripgrep-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → session-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-t590yz96.js → session-tjtpwfd8.js} +9 -9
- package/dist/chunks/{ripgrep-ag9w8cw1.js → session-tn0aqsam.js} +5 -5
- package/dist/chunks/{ripgrep-tvtrv512.js → session-tvtrv512.js} +1 -1
- package/dist/chunks/session-vb4xy4ts.js +252 -0
- package/dist/chunks/{ripgrep-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-ae0wcwdj.js → session-vsztgv60.js} +4 -4
- package/dist/chunks/{ripgrep-vzcthcp8.js → session-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-ksk9sffd.js → session-w8x28t5s.js} +17 -17
- package/dist/chunks/{ripgrep-95svjcrc.js → session-wa4nzs8j.js} +6 -6
- package/dist/chunks/{ripgrep-mt83epq0.js → session-wadkm4m9.js} +26 -26
- package/dist/chunks/{ripgrep-wd3x2cqz.js → session-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-jn08bmc5.js → session-wdprw8y7.js} +17 -17
- package/dist/chunks/{ripgrep-dhwr7h25.js → session-wf538q6w.js} +11 -11
- package/dist/chunks/{ripgrep-8nhw5eyq.js → session-wj6981eq.js} +10 -10
- package/dist/chunks/{ripgrep-8v2r9b99.js → session-wkm65a5e.js} +17 -17
- package/dist/chunks/{ripgrep-vemcyc6m.js → session-wtpb55aw.js} +20 -20
- package/dist/chunks/{ripgrep-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-h71w788e.js → session-x2aynqqh.js} +5 -5
- package/dist/chunks/{ripgrep-k1jh2k0y.js → session-xmmwfnds.js} +22 -22
- package/dist/chunks/{ripgrep-6870w4kz.js → session-xp8eppfe.js} +15 -15
- package/dist/chunks/{ripgrep-09j1wten.js → session-xt73n9e1.js} +10 -10
- package/dist/chunks/{ripgrep-9q6pqx2w.js → session-xw0cs880.js} +8 -8
- package/dist/chunks/{ripgrep-hpj7es9f.js → session-xwp0p8cq.js} +18 -18
- package/dist/chunks/{ripgrep-eqhs44f7.js → session-xxft9bgk.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-qdpn6yaw.js → session-y2f6grkd.js} +10 -10
- package/dist/chunks/{ripgrep-tcx6fb2d.js → session-y4hwa6fe.js} +16 -16
- package/dist/chunks/{ripgrep-y71avatq.js → session-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-6m34trkv.js → session-y85pjamd.js} +17 -17
- package/dist/chunks/{ripgrep-wjcmexze.js → session-yfbwj5jw.js} +10 -10
- package/dist/chunks/{ripgrep-1acjjqhc.js → session-yp2x3t23.js} +4 -4
- package/dist/chunks/{ripgrep-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → session-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-f2s5w1yc.js → session-yt76ada2.js} +22 -22
- package/dist/chunks/{ripgrep-z07pqspn.js → session-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-29x78va6.js → session-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-tc0ehr23.js → session-zbv6vxc2.js} +42 -42
- package/dist/chunks/{ripgrep-zeh9ct20.js → session-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-sq2j235b.js → session-zjbqayz9.js} +35 -35
- package/dist/chunks/session-zm849682.js +26 -0
- package/dist/chunks/{ripgrep-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-ggw7ge79.js → session-zzvetv0f.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- 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 +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +101 -101
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/ripgrep-4v7qdvcn.js +0 -18
- package/dist/chunks/ripgrep-hz7paq91.js +0 -252
- package/dist/chunks/ripgrep-q54075k1.js +0 -26
- /package/dist/chunks/{ripgrep-0mesazry.js → session-0mesazry.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → session-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → session-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → session-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → session-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./session-e6r66vhv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./session-8v1rbcne.js";
|
|
12
12
|
import {
|
|
13
13
|
Service13
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-f72hhft4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-d8pj9jd3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./session-ghafsdjh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service19,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./session-gvgp1py9.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
39
|
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
41
|
Plugin: () => Plugin41,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,7 +100,7 @@ var Output4 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
@@ -108,17 +108,17 @@ var toModelContent5 = (output) => [
|
|
|
108
108
|
var Plugin41 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const access = yield* Service19;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
114
|
const formatter = yield* Service13;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input6,
|
|
122
122
|
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output4, toModelContent3, Plugin41, exports_patch };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./session-e6r66vhv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./session-8v1rbcne.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service22
|
|
16
|
+
} from "./session-xwp0p8cq.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-7q55pes4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service70
|
|
26
|
+
} from "./session-ghafsdjh.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service19
|
|
29
|
+
} from "./session-gvgp1py9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
39
|
Output: () => Output8,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
40
|
+
Plugin: () => Plugin48,
|
|
41
|
+
name: () => name12,
|
|
42
42
|
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin48 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service64;
|
|
90
|
+
const ripgrep = yield* Service22;
|
|
91
|
+
const location = yield* Service75;
|
|
92
|
+
const access = yield* Service19;
|
|
93
|
+
const permission = yield* Service70;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input12,
|
|
99
99
|
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin47 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -154,4 +154,4 @@ var Plugin47 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin48, exports_grep };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ng1epe3c.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service80,
|
|
12
|
+
node84,
|
|
13
|
+
Event19
|
|
14
|
+
} from "./session-bkryqbeh.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-44h5tttr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./session-e6r66vhv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event15,
|
|
41
|
+
ID: () => ID9,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service69,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
68
|
+
var ID9 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info23 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service69 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service80;
|
|
231
|
+
const location = yield* Service75;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service69.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var node73 = makeLocationNode({ service:
|
|
359
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node87, node84, node79] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info23, Service69, node73, exports_provider3, Event15 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./session-8v1rbcne.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-d8pj9jd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service13
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-f72hhft4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./session-ghafsdjh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./session-gvgp1py9.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
55
|
+
const access = yield* Service19;
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service64;
|
|
58
58
|
const formatter = yield* Service13;
|
|
59
|
-
const permission = yield*
|
|
59
|
+
const permission = yield* Service70;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output5, toModelContent4, Plugin42, exports_write };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint3,
|
|
83
|
+
export { endpoint3, Plugin21, exports_exa };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service38,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service38 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service38.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service38, awaitActivation2, exports_service };
|