@opencode/core 0.0.0-dev-21016 → 0.0.0-dev-21020
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{plugin-mv3hx7wz.js → git-045nn9pc.js} +9 -9
- package/dist/chunks/{plugin-7kpgnrbr.js → git-04wnsr0b.js} +7 -7
- package/dist/chunks/{plugin-qjnb67tm.js → git-06tsrf37.js} +6 -6
- package/dist/chunks/{plugin-prnsvfz5.js → git-0c8x1b4f.js} +37 -37
- package/dist/chunks/{plugin-gbt6w4kb.js → git-0gdmqesm.js} +8 -8
- package/dist/chunks/{plugin-q0xm7vwc.js → git-0j77ygfz.js} +6 -6
- package/dist/chunks/{plugin-z0dcvnbp.js → git-0rmr5qer.js} +15 -15
- package/dist/chunks/{plugin-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-m965y0ne.js → git-0w1y0rgd.js} +11 -11
- package/dist/chunks/{plugin-vtg931eh.js → git-0wj29s15.js} +331 -331
- package/dist/chunks/{plugin-b84m8a8e.js → git-0xcda8sn.js} +12 -12
- package/dist/chunks/{plugin-pbxzkw8j.js → git-1426e4tb.js} +35 -35
- package/dist/chunks/{plugin-xc6sx546.js → git-160pwc7a.js} +11 -11
- package/dist/chunks/{plugin-vxnyg7ah.js → git-1besy32e.js} +11 -11
- package/dist/chunks/{plugin-fcszhcjj.js → git-1caamthg.js} +24 -24
- package/dist/chunks/{plugin-hcn7teby.js → git-1mvfkh72.js} +23 -23
- package/dist/chunks/{plugin-gk9ka6xq.js → git-1qg3q56q.js} +22 -22
- package/dist/chunks/{plugin-ar694mjb.js → git-1qqnj077.js} +46 -46
- package/dist/chunks/{plugin-hjv59j1z.js → git-20wnnq6g.js} +18 -18
- package/dist/chunks/{plugin-xdmyfp00.js → git-20wzg7fj.js} +6 -6
- package/dist/chunks/{plugin-dxjdgjq5.js → git-27qbm3z0.js} +23 -23
- package/dist/chunks/{plugin-eg8m91s5.js → git-2cb3tdsa.js} +6 -6
- package/dist/chunks/{plugin-8dcxw8q4.js → git-2e7f9scb.js} +24 -24
- package/dist/chunks/{plugin-czbm6fn4.js → git-2frv8mpr.js} +30 -30
- package/dist/chunks/{plugin-7dqw4kz8.js → git-2k8khapm.js} +5 -5
- package/dist/chunks/{plugin-bk129hgw.js → git-2kbxssc4.js} +6 -6
- package/dist/chunks/{plugin-fkv89xr8.js → git-2m90p0f2.js} +17 -17
- package/dist/chunks/{plugin-tfbhp1s4.js → git-2mvdces3.js} +13 -13
- package/dist/chunks/{plugin-v7hpvqw0.js → git-2qdgnb1c.js} +25 -25
- package/dist/chunks/{plugin-qktbmstp.js → git-2zknaymx.js} +24 -24
- package/dist/chunks/{plugin-gbtx73hb.js → git-30846h32.js} +8 -8
- package/dist/chunks/{plugin-g9ahvrgb.js → git-327r5152.js} +8 -8
- package/dist/chunks/{plugin-w0s1dj0x.js → git-3bscz66d.js} +29 -29
- package/dist/chunks/{plugin-zhfryn22.js → git-3bvntg95.js} +34 -34
- package/dist/chunks/{plugin-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-0egjcwet.js → git-3gs24s9g.js} +28 -28
- package/dist/chunks/{plugin-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{plugin-s4sjq2ej.js → git-3k91j3pc.js} +2 -2
- package/dist/chunks/{plugin-rcb1prpx.js → git-3mkrhvdx.js} +13 -13
- package/dist/chunks/{plugin-4a2wy92a.js → git-3my7b5tm.js} +4 -4
- package/dist/chunks/{plugin-p0g4zz1t.js → git-3pykwxdf.js} +33 -33
- package/dist/chunks/{plugin-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-k22b66k8.js → git-3y377wv9.js} +4 -4
- package/dist/chunks/{plugin-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-v0es1rhs.js → git-4434d9q2.js} +9 -9
- package/dist/chunks/{plugin-1xb40zjp.js → git-4a7gy6vj.js} +3 -3
- package/dist/chunks/{plugin-22tnpdhy.js → git-4d2zqy8g.js} +11 -11
- package/dist/chunks/{plugin-qa6qrp98.js → git-4dr476sk.js} +4 -4
- package/dist/chunks/{plugin-zjtrsxny.js → git-4ekscj25.js} +5 -5
- package/dist/chunks/{plugin-fwwk8vbp.js → git-4nj4bn9q.js} +9 -9
- package/dist/chunks/{plugin-5sfx348z.js → git-4z7vdsey.js} +45 -45
- package/dist/chunks/{plugin-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-jvts8yvr.js → git-5aeb062r.js} +33 -33
- package/dist/chunks/{plugin-syf57q56.js → git-5dkn69vz.js} +4 -4
- package/dist/chunks/{plugin-sr3vge08.js → git-5fmkgt82.js} +45 -45
- package/dist/chunks/{plugin-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-34pkmzzj.js → git-5q44j617.js} +29 -29
- package/dist/chunks/{plugin-maycnfpx.js → git-5yq7dtg5.js} +50 -50
- package/dist/chunks/{plugin-rebjgvgr.js → git-6bt2wg6w.js} +33 -33
- package/dist/chunks/{plugin-m6jd6t50.js → git-6cdy90xd.js} +50 -50
- package/dist/chunks/{plugin-wx2e4h7y.js → git-6ejxrw0z.js} +7 -7
- package/dist/chunks/{plugin-jk540des.js → git-6g107h22.js} +2 -2
- package/dist/chunks/{plugin-jk243tya.js → git-6h9ztbaz.js} +19 -19
- package/dist/chunks/{plugin-e0rtsdrs.js → git-6kcqcecw.js} +15 -15
- package/dist/chunks/{plugin-42rwqhjc.js → git-6mt4s7pc.js} +15 -15
- package/dist/chunks/{plugin-axtsvy3b.js → git-6tse523n.js} +23 -23
- package/dist/chunks/{plugin-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{plugin-0n967pfr.js → git-77sc6xgt.js} +12 -12
- package/dist/chunks/{plugin-qmqgtz8f.js → git-79qaa2kf.js} +9 -9
- package/dist/chunks/{plugin-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-psx8djs0.js → git-7djggyfs.js} +35 -35
- package/dist/chunks/{plugin-9pgz7awh.js → git-7gnyf1a7.js} +11 -11
- package/dist/chunks/{plugin-76zjtz6y.js → git-800pf2ey.js} +4 -4
- package/dist/chunks/{plugin-jcjr19ha.js → git-80nz7nyq.js} +15 -15
- package/dist/chunks/{plugin-nnz4sfre.js → git-80q3tzn0.js} +29 -29
- package/dist/chunks/{plugin-n8dmf80y.js → git-85wq36yf.js} +19 -19
- package/dist/chunks/{plugin-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-b7fwenma.js → git-8q7ghtqs.js} +14 -14
- package/dist/chunks/{plugin-rkprpv83.js → git-8sze2n9a.js} +6 -6
- package/dist/chunks/{plugin-65dpy8e8.js → git-8tvc8s6h.js} +11 -11
- package/dist/chunks/{plugin-91qna3x0.js → git-91qna3x0.js} +3 -3
- package/dist/chunks/{plugin-4hn7r4aq.js → git-95tq7yv1.js} +87 -87
- package/dist/chunks/{plugin-b9a6rnx4.js → git-962642t6.js} +16 -16
- package/dist/chunks/{plugin-jzx8nnz7.js → git-9gbtz9hn.js} +40 -40
- package/dist/chunks/{plugin-y4f3gyey.js → git-9gjm14vs.js} +32 -32
- package/dist/chunks/{plugin-9e459wwm.js → git-9hq9njac.js} +3 -3
- package/dist/chunks/{plugin-gj71zhbs.js → git-9hwaqfsw.js} +5 -5
- package/dist/chunks/{plugin-qc2xr5vn.js → git-9m3sgeft.js} +16 -16
- package/dist/chunks/{plugin-a6nwcm1v.js → git-9rqfmaaw.js} +24 -24
- package/dist/chunks/git-9sh4wc5j.js +18 -0
- package/dist/chunks/{plugin-34v2gaae.js → git-a1pzv0af.js} +5 -5
- package/dist/chunks/{plugin-ncamv2gk.js → git-akmhe6es.js} +10 -10
- package/dist/chunks/{plugin-3ycz96fw.js → git-ambchc19.js} +45 -45
- package/dist/chunks/{plugin-m9h11jp5.js → git-arnhpe0z.js} +11 -11
- package/dist/chunks/{plugin-qhypkphp.js → git-av3rebby.js} +5 -5
- package/dist/chunks/{plugin-r12s2pkf.js → git-axe0bz6b.js} +41 -41
- package/dist/chunks/{plugin-nj2pe1bb.js → git-axms0aaz.js} +23 -23
- package/dist/chunks/{plugin-vhs3hrp3.js → git-az0b5dgs.js} +3 -3
- package/dist/chunks/{plugin-mbv8cfzm.js → git-b1rn6ejy.js} +17 -17
- package/dist/chunks/{plugin-wecqtg5s.js → git-b3f8fkhc.js} +5 -5
- package/dist/chunks/{plugin-8n9ek3cd.js → git-bbnvtmzd.js} +47 -47
- package/dist/chunks/{plugin-jkpe6fs8.js → git-bd94ff7m.js} +8 -8
- package/dist/chunks/{plugin-9rx6gec5.js → git-bhz85x75.js} +11 -11
- package/dist/chunks/{plugin-at6cnqgg.js → git-bjqx3wez.js} +12 -12
- package/dist/chunks/{plugin-yvbrqqbd.js → git-bpq8bv7g.js} +75 -75
- package/dist/chunks/{plugin-g91r36t6.js → git-bvch94c9.js} +48 -48
- package/dist/chunks/{plugin-gp8nj331.js → git-bxr47hc4.js} +11 -11
- package/dist/chunks/{plugin-c1fqxshp.js → git-c1fqxshp.js} +3 -3
- package/dist/chunks/{plugin-p49zhwnh.js → git-c5jgzh5f.js} +11 -11
- package/dist/chunks/{plugin-ed1g29hy.js → git-c7zza6wf.js} +3 -3
- package/dist/chunks/{plugin-943y27fv.js → git-ca9ag5jd.js} +13 -13
- package/dist/chunks/{plugin-wr1vetpx.js → git-camaazgp.js} +19 -19
- package/dist/chunks/{plugin-h7q2t0cx.js → git-cfgt6bdr.js} +17 -17
- package/dist/chunks/{plugin-zapp4e73.js → git-cg22jcxb.js} +6 -6
- package/dist/chunks/{plugin-xsge8m09.js → git-chy8rxbs.js} +14 -14
- package/dist/chunks/{plugin-f6ttj1bj.js → git-cm15zwkz.js} +5 -5
- package/dist/chunks/{plugin-6as4620g.js → git-cqa25d74.js} +38 -38
- package/dist/chunks/{plugin-z523xhrw.js → git-cr0f5pn5.js} +64 -64
- package/dist/chunks/{plugin-qvb3nf84.js → git-ctz7jbry.js} +8 -8
- package/dist/chunks/{plugin-h54myh69.js → git-cwa399ss.js} +15 -15
- package/dist/chunks/{plugin-bfkfe9e5.js → git-d0nnwg73.js} +6 -6
- package/dist/chunks/{plugin-jdbk06km.js → git-d5z54tqc.js} +23 -23
- package/dist/chunks/{plugin-64m4zxb7.js → git-d6p1hscb.js} +25 -25
- package/dist/chunks/{plugin-2zmfhp2c.js → git-d737nyfv.js} +9 -9
- package/dist/chunks/{plugin-embw8kgh.js → git-dhmh7aw6.js} +4 -4
- package/dist/chunks/{plugin-dpkg50ah.js → git-dpkg50ah.js} +1 -1
- package/dist/chunks/{plugin-dqxsqydv.js → git-dqxsqydv.js} +1 -1
- package/dist/chunks/{plugin-tm1yjyv5.js → git-dvzj1xmf.js} +13 -13
- package/dist/chunks/{plugin-mhnyy3p3.js → git-dx0ahrbs.js} +11 -11
- package/dist/chunks/{plugin-ec80nekf.js → git-dxdsq1ga.js} +49 -49
- package/dist/chunks/{plugin-fb9dq6eg.js → git-e16y58tk.js} +24 -24
- package/dist/chunks/{plugin-f1yaqp85.js → git-e264yjjw.js} +20 -20
- package/dist/chunks/{plugin-5qd3pb7m.js → git-e3qxr5gk.js} +2 -2
- package/dist/chunks/{plugin-m8trjked.js → git-e6nbdtth.js} +88 -88
- package/dist/chunks/{plugin-ex8d0d7f.js → git-ed0h16fb.js} +19 -19
- package/dist/chunks/{plugin-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-6y38xp4h.js → git-ehxvrac8.js} +13 -13
- package/dist/chunks/{plugin-42ay5jgs.js → git-esbhy878.js} +17 -17
- package/dist/chunks/{plugin-yb7cwtzt.js → git-esdsw5hn.js} +7 -7
- package/dist/chunks/{plugin-dxxsy3ct.js → git-ex36thft.js} +17 -17
- package/dist/chunks/{plugin-cmwkp3r5.js → git-eys57y9b.js} +8 -8
- package/dist/chunks/{plugin-mvbbpzvj.js → git-f4yxj0vv.js} +12 -12
- package/dist/chunks/{plugin-vnd13mft.js → git-fanhrq7d.js} +10 -10
- package/dist/chunks/{plugin-0jehgdv5.js → git-fb77j2tq.js} +56 -56
- package/dist/chunks/{plugin-cf0g1xq1.js → git-fbft5n7v.js} +30 -30
- package/dist/chunks/{plugin-q44ptrk9.js → git-fpgxzyw5.js} +22 -22
- package/dist/chunks/{plugin-khmqacep.js → git-fxaymqdw.js} +4 -4
- package/dist/chunks/{plugin-11g6kjth.js → git-fy3mehht.js} +3 -3
- package/dist/chunks/{plugin-q2ft1v5t.js → git-fzmbt9me.js} +1 -1
- package/dist/chunks/{plugin-qpt87nk1.js → git-g6gm77cp.js} +8 -8
- package/dist/chunks/{plugin-f1ww2tp3.js → git-gb7d80af.js} +9 -9
- package/dist/chunks/{plugin-y97hy3kz.js → git-gbh65n66.js} +4 -4
- package/dist/chunks/{plugin-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-2w0n85qp.js → git-gnbgkv9z.js} +5 -5
- package/dist/chunks/{plugin-zg9s2y56.js → git-h0eapdxh.js} +5 -5
- package/dist/chunks/{plugin-s7hww54q.js → git-h5p5sqw4.js} +3 -3
- package/dist/chunks/{plugin-166bsdxa.js → git-h64syw7g.js} +17 -17
- package/dist/chunks/{plugin-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-h7s7r6s9.js → git-h7s7r6s9.js} +2 -2
- package/dist/chunks/{plugin-hdgfnxpe.js → git-h8hrp1zc.js} +4 -4
- package/dist/chunks/{plugin-gwaf4cyv.js → git-hfbyhya8.js} +9 -9
- package/dist/chunks/{plugin-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{plugin-70ryb81f.js → git-hpchzyjw.js} +1 -1
- package/dist/chunks/{plugin-veq9sz3k.js → git-hyqew7s4.js} +9 -9
- package/dist/chunks/{plugin-72f103a9.js → git-hz1jhskc.js} +10 -10
- package/dist/chunks/{plugin-t68945m5.js → git-hzn12ym2.js} +11 -11
- package/dist/chunks/{plugin-pn5hpnbk.js → git-j1441nnn.js} +11 -11
- package/dist/chunks/{plugin-25reggrk.js → git-j23xp3rg.js} +12 -12
- package/dist/chunks/{plugin-bczx5ry5.js → git-jhdf29st.js} +1 -1
- package/dist/chunks/{plugin-v9n95cje.js → git-jtcm6ah7.js} +21 -21
- package/dist/chunks/{plugin-5wzt2w6k.js → git-jwvm7gej.js} +5 -5
- package/dist/chunks/{plugin-5r7qkw8x.js → git-k02bsv5j.js} +34 -34
- package/dist/chunks/{plugin-vg2fbwzv.js → git-ka537s8x.js} +17 -17
- package/dist/chunks/{plugin-2d02mysb.js → git-kg0qcfxc.js} +13 -13
- package/dist/chunks/{plugin-jh2rwbgg.js → git-kg5y8km3.js} +29 -29
- package/dist/chunks/{plugin-dssbfrwz.js → git-kjdm35cs.js} +5 -5
- package/dist/chunks/{plugin-qkzd03sv.js → git-kjzp4feh.js} +50 -50
- package/dist/chunks/{plugin-mm5d3bq9.js → git-m1y5bjyb.js} +20 -20
- package/dist/chunks/{plugin-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{plugin-m28yxvt4.js → git-mhprw537.js} +3 -3
- package/dist/chunks/{plugin-ermxvwhp.js → git-n2srvep7.js} +4 -4
- package/dist/chunks/{plugin-yd8kactt.js → git-n6mj5fd0.js} +9 -9
- package/dist/chunks/{plugin-c9j38zf0.js → git-ngwpesc0.js} +29 -29
- package/dist/chunks/{plugin-6sc87y7t.js → git-nk04yc8p.js} +20 -20
- package/dist/chunks/{plugin-axzaxnwr.js → git-nmc4rv8c.js} +33 -33
- package/dist/chunks/{plugin-q3f8x3eg.js → git-nmg59fc6.js} +11 -11
- package/dist/chunks/{plugin-xn38nny7.js → git-nz760qet.js} +22 -22
- package/dist/chunks/{plugin-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-xd7bx4aa.js → git-pm8e59zn.js} +5 -5
- package/dist/chunks/{plugin-a8kk07a6.js → git-pppx0110.js} +4 -4
- package/dist/chunks/{plugin-zkwkf0sq.js → git-ppy949mp.js} +8 -8
- package/dist/chunks/{plugin-2dfe1jxq.js → git-q0d6zxbh.js} +17 -17
- package/dist/chunks/{plugin-x3caeb7b.js → git-q4kb9483.js} +11 -11
- package/dist/chunks/{plugin-ncns5cw1.js → git-q52nff5p.js} +22 -22
- package/dist/chunks/{plugin-mt9gqjb6.js → git-qa2ngjj1.js} +10 -10
- package/dist/chunks/{plugin-kmdd9nyy.js → git-qfb2n6w8.js} +4 -4
- package/dist/chunks/{plugin-fx8dwygt.js → git-qkc9yjvc.js} +27 -27
- package/dist/chunks/{plugin-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-qkjbq03w.js → git-qpbqb2nr.js} +26 -26
- package/dist/chunks/{plugin-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-yxxts3mr.js → git-qsy2hnp3.js} +10 -10
- package/dist/chunks/{plugin-tm4k6dcn.js → git-qx7s22zk.js} +25 -25
- package/dist/chunks/{plugin-xrde48z0.js → git-r73gxetb.js} +10 -10
- package/dist/chunks/{plugin-wqkdx1qs.js → git-ra5e1p3e.js} +41 -34
- package/dist/chunks/{plugin-p9xx7aaf.js → git-rb4mbqq0.js} +15 -15
- package/dist/chunks/{plugin-es1byx0t.js → git-rda2qpa7.js} +5 -5
- package/dist/chunks/{plugin-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-rert0e01.js → git-rert0e01.js} +2 -2
- package/dist/chunks/{plugin-rj3eygr5.js → git-rj3eygr5.js} +2 -2
- package/dist/chunks/{plugin-8kps46xt.js → git-rjw0cna6.js} +10 -10
- package/dist/chunks/{plugin-g0y94j8t.js → git-s2qn355b.js} +20 -20
- package/dist/chunks/{plugin-nekdctqt.js → git-s7a7q68w.js} +8 -8
- package/dist/chunks/git-s8xv3ahs.js +253 -0
- package/dist/chunks/{plugin-sa8ekw3f.js → git-sa8ekw3f.js} +2 -2
- package/dist/chunks/{plugin-8zmyac9e.js → git-saft7jqm.js} +7 -7
- package/dist/chunks/{plugin-76jehvgd.js → git-sg6pmba3.js} +11 -11
- package/dist/chunks/{plugin-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{plugin-jyj7y325.js → git-szsx7q7s.js} +22 -22
- package/dist/chunks/{plugin-ypb9vdcg.js → git-t2qr8xwz.js} +11 -11
- package/dist/chunks/{plugin-mjrf89bs.js → git-tapzf8fe.js} +9 -9
- package/dist/chunks/{plugin-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcay1cqt.js → git-tcay1cqt.js} +1 -1
- package/dist/chunks/{plugin-x93d2f58.js → git-tcd7y0pj.js} +3 -3
- package/dist/chunks/{plugin-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-w4shdfkj.js → git-tjztzgd5.js} +9 -9
- package/dist/chunks/{plugin-pbfwh0cy.js → git-tkmwgdpd.js} +4 -4
- package/dist/chunks/{plugin-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
- package/dist/chunks/{plugin-s88wxxkr.js → git-tq54tggv.js} +23 -23
- package/dist/chunks/{plugin-e66rzxa6.js → git-tqpy3vfr.js} +24 -24
- package/dist/chunks/{plugin-7gdmsa8x.js → git-ty3gh6kk.js} +19 -19
- package/dist/chunks/{plugin-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{plugin-1j399k4f.js → git-tz74y624.js} +33 -33
- package/dist/chunks/{plugin-r70na3yp.js → git-v1vh7s4p.js} +9 -9
- package/dist/chunks/{plugin-69vhaxh5.js → git-v40jhfgv.js} +28 -28
- package/dist/chunks/{plugin-35ng7dkh.js → git-v6ghzfeb.js} +5 -5
- package/dist/chunks/{plugin-hvese1y0.js → git-v76w5y0p.js} +20 -20
- package/dist/chunks/{plugin-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{plugin-0c4jfy56.js → git-vaz5x21m.js} +189 -189
- package/dist/chunks/{plugin-nx6w2p0y.js → git-vbzwagc9.js} +28 -28
- package/dist/chunks/{plugin-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-qccp0sz8.js → git-vmj9fr13.js} +21 -21
- package/dist/chunks/{plugin-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-qv2kdkkf.js → git-w0tfgnf2.js} +2 -2
- package/dist/chunks/{plugin-w1eejvng.js → git-w1eejvng.js} +1 -1
- package/dist/chunks/{plugin-epktagms.js → git-w323274d.js} +15 -15
- package/dist/chunks/{plugin-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-bvg9bc88.js → git-w8t6yxk8.js} +13 -13
- package/dist/chunks/{plugin-jx200rnq.js → git-wd0vxgyq.js} +18 -18
- package/dist/chunks/{plugin-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-wjr9rjd7.js → git-wjr9rjd7.js} +2 -2
- package/dist/chunks/{plugin-1phtjabs.js → git-ws3nt8g0.js} +11 -11
- package/dist/chunks/git-x0jcc5yc.js +26 -0
- package/dist/chunks/{plugin-qsvz8ehe.js → git-x0qfghwr.js} +36 -36
- package/dist/chunks/{plugin-gdyt905r.js → git-xdjerwe0.js} +22 -13
- package/dist/chunks/{plugin-drwq78ky.js → git-xfkkasph.js} +4 -4
- package/dist/chunks/{plugin-had4kgfk.js → git-xvtqr6gp.js} +8 -8
- package/dist/chunks/{plugin-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-7fpzdcmy.js → git-y276d5pa.js} +14 -14
- package/dist/chunks/{plugin-ekq67cfd.js → git-y7zsnxq4.js} +4 -4
- package/dist/chunks/{plugin-wacjnfxv.js → git-y971thnt.js} +27 -27
- package/dist/chunks/{plugin-cbrbxwfw.js → git-yb885tzd.js} +20 -20
- package/dist/chunks/{plugin-bsxsb0mx.js → git-yefkbma1.js} +24 -24
- package/dist/chunks/{plugin-hfzf8adz.js → git-yjhx1jvs.js} +24 -24
- package/dist/chunks/{plugin-f2n192rq.js → git-yp2x3t23.js} +4 -4
- package/dist/chunks/{plugin-3m8d8naw.js → git-yssqz2tb.js} +4 -4
- package/dist/chunks/{plugin-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-6tyejpyb.js → git-zeakd07k.js} +43 -43
- package/dist/chunks/{plugin-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{plugin-6rm5yzkt.js → git-zy43x3f1.js} +4 -4
- package/dist/chunks/{plugin-jjzr8ad4.js → git-zz7jnkzn.js} +32 -32
- 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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +93 -93
- 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 +1 -1
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/plugin-27gwtn1w.js +0 -26
- package/dist/chunks/plugin-3cktxgfj.js +0 -253
- package/dist/chunks/plugin-jqh9b0xq.js +0 -18
- /package/dist/chunks/{plugin-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{plugin-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./git-bjqx3wez.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID17,
|
|
6
|
+
Event20,
|
|
7
|
+
Service79
|
|
8
|
+
} from "./git-3pykwxdf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./git-7djggyfs.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-cg22jcxb.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service79;
|
|
45
|
+
const bus = yield* Service81;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./git-2m90p0f2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./git-2e7f9scb.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
15
|
Service21
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-rjw0cna6.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 "./git-2frv8mpr.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./git-cr0f5pn5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service14
|
|
29
|
+
} from "./git-wd0vxgyq.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin48,
|
|
41
|
+
name: () => name11,
|
|
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 name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (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*
|
|
89
|
+
const environment = yield* Service61;
|
|
90
90
|
const ripgrep = yield* Service21;
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service14;
|
|
93
|
+
const permission = yield* Service51;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input11,
|
|
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: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin42 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin42 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output8, toModelContent6, Plugin48, exports_grep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./git-6cdy90xd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./git-ambchc19.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service57;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin17 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin10, exports_compaction };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-160pwc7a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./git-bjqx3wez.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./git-3pykwxdf.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-3y377wv9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-1426e4tb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service15
|
|
21
|
+
} from "./git-hfbyhya8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-7djggyfs.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-ra5e1p3e.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-camaazgp.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID16.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service81;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service15;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID16.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID13.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID13.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-cr0f5pn5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin28 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin28, exports_plan };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-y276d5pa.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make7 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make7();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make7, VLLMPlugin2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-wjr9rjd7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-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: () => Plugin25,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -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 Plugin25 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin27 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin25, exports_exa };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./git-tqpy3vfr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./git-bd94ff7m.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-3my7b5tm.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./git-6cdy90xd.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin14
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin14 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service57;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin12 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin14, exports_agent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service57
|
|
4
|
+
} from "./git-6cdy90xd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./git-rb4mbqq0.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin6 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service57;
|
|
27
|
+
const shell = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin4 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin6, exports_shell };
|