@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./git-5q44j617.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./git-cr0f5pn5.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service29
|
|
14
|
+
} from "./git-camaazgp.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin47,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name10 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input10 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin47 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service51;
|
|
53
|
+
const forms = yield* Service80;
|
|
54
|
+
const websearch = yield* Service29;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input10,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name10,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name10];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name10, NO_RESULTS2, description5, Input10, Plugin47, exports_websearch2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./git-bjqx3wez.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-bvch94c9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node80
|
|
16
|
+
} from "./git-2m90p0f2.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service27,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node30
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service27 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service76;
|
|
62
|
+
const bus = yield* Service81;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service27.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node30 = makeLocationNode({
|
|
191
|
+
service: Service27,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node80, node85]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service27, node30, exports_vcs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-v6ghzfeb.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./git-6cdy90xd.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service61
|
|
13
|
+
} from "./git-2e7f9scb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./git-962642t6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service51
|
|
19
|
+
} from "./git-cr0f5pn5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-wd0vxgyq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service60,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-rb4mbqq0.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service55
|
|
37
|
+
} from "./git-dxdsq1ga.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service30
|
|
40
|
+
} from "./git-e6nbdtth.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-4dr476sk.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./git-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin49,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin49 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service30;
|
|
124
|
+
const jobs = yield* Service70;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service61;
|
|
127
|
+
const access = yield* Service14;
|
|
128
|
+
const shell = yield* Service55;
|
|
129
|
+
const shellSelect = yield* Service60;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service51;
|
|
132
|
+
const config = yield* Service57;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin37 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin37 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin37 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin49, exports_shell2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin27
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin27 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin27, exports_mcp_codemode_defaults };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./git-bjqx3wez.js";
|
|
1
5
|
import {
|
|
2
6
|
Service84,
|
|
3
7
|
node88
|
|
4
|
-
} from "./
|
|
8
|
+
} from "./git-0xcda8sn.js";
|
|
5
9
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service81,
|
|
11
|
-
node85
|
|
12
|
-
} from "./plugin-fkv89xr8.js";
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./git-2m90p0f2.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service58,
|
|
18
|
+
node60
|
|
19
|
+
} from "./git-e16y58tk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node21
|
|
22
|
+
} from "./git-yb885tzd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service6,
|
|
25
|
+
node7
|
|
26
|
+
} from "./git-79qaa2kf.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service58;
|
|
48
|
+
const bus = yield* Service81;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
|
+
const policy = yield* Service6;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node60, FSUtil.node, node80, node88, node85, node21, node7]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make14,
|
|
5
|
+
exports_instructions3
|
|
6
|
+
} from "../chunks/git-dvzj1xmf.js";
|
|
7
|
+
import"../chunks/git-3fc6dm20.js";
|
|
8
|
+
import"../chunks/git-0gdmqesm.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
exports_instructions3 as CodeModeInstructions,
|
|
11
|
+
make14 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/git-91qna3x0.js";
|
|
6
|
+
import"../chunks/git-syv4x271.js";
|
|
7
|
+
import"../chunks/git-pyv0edze.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|