@opencode/core 0.0.0-dev-21528 → 0.0.0-dev-21530
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 +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{ripgrep-02mvvr71.js → schema-02mvvr71.js} +3 -3
- package/dist/chunks/{ripgrep-s7025g3c.js → schema-02ve1zyw.js} +20 -20
- package/dist/chunks/{ripgrep-d39q5djw.js → schema-044xr5hv.js} +47 -47
- package/dist/chunks/{ripgrep-nhe1x14z.js → schema-0bg0bx69.js} +5 -5
- package/dist/chunks/{ripgrep-eaj1djv9.js → schema-0gdmqesm.js} +8 -8
- package/dist/chunks/{ripgrep-0jwsre1p.js → schema-0jwsre1p.js} +1 -1
- package/dist/chunks/{ripgrep-8hf7gczp.js → schema-0tn9bjc5.js} +21 -21
- package/dist/chunks/{ripgrep-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-t4jxebhw.js → schema-15esv6g5.js} +5 -5
- package/dist/chunks/{ripgrep-q7x4taa7.js → schema-1afj0k1v.js} +13 -13
- package/dist/chunks/{ripgrep-41fykjt6.js → schema-1dxbsdj5.js} +9 -9
- package/dist/chunks/{ripgrep-01mpbv93.js → schema-1g5hkw1w.js} +34 -34
- package/dist/chunks/{ripgrep-j2hyxy1e.js → schema-1mx78vzr.js} +19 -19
- package/dist/chunks/{ripgrep-k06ywqkh.js → schema-1svhfytg.js} +24 -24
- package/dist/chunks/{ripgrep-ny8edt06.js → schema-1w2wqhfv.js} +4 -4
- package/dist/chunks/{ripgrep-01shgzdc.js → schema-247gbw12.js} +6 -6
- package/dist/chunks/{ripgrep-ywryrc1x.js → schema-25gmhyge.js} +4 -4
- package/dist/chunks/{ripgrep-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
- package/dist/chunks/{ripgrep-0n64x4tw.js → schema-2gta2q4r.js} +35 -35
- package/dist/chunks/{ripgrep-zcrspsvn.js → schema-2vs2nh1n.js} +4 -4
- package/dist/chunks/schema-2xehkjwm.js +257 -0
- package/dist/chunks/{ripgrep-x874k1t8.js → schema-2yr926wd.js} +10 -10
- package/dist/chunks/{ripgrep-rb2qm7yc.js → schema-38a6f3y0.js} +3 -3
- package/dist/chunks/{ripgrep-dj68pnee.js → schema-3ewed21c.js} +4 -4
- package/dist/chunks/{ripgrep-4323h7yk.js → schema-3ghrgbf8.js} +9 -9
- package/dist/chunks/{ripgrep-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
- package/dist/chunks/{ripgrep-h4bqh5zx.js → schema-3qb95gy8.js} +4 -4
- package/dist/chunks/{ripgrep-5t2kw4pk.js → schema-3qm998m2.js} +15 -15
- package/dist/chunks/{ripgrep-fn9t717r.js → schema-3t06g8dq.js} +6 -6
- package/dist/chunks/{ripgrep-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-xjchawe4.js → schema-40ac0r3r.js} +11 -11
- package/dist/chunks/{ripgrep-sye62zz8.js → schema-42kdbcte.js} +28 -28
- package/dist/chunks/{ripgrep-gkymdc6s.js → schema-47rxzzmb.js} +9 -9
- package/dist/chunks/{ripgrep-rk26gw9b.js → schema-4axgq110.js} +42 -42
- package/dist/chunks/{ripgrep-0vh2wh8r.js → schema-4c8ty7y6.js} +23 -23
- package/dist/chunks/{ripgrep-71syg536.js → schema-4g2jt153.js} +24 -24
- package/dist/chunks/{ripgrep-8ra0dv5t.js → schema-4tsfkw9e.js} +14 -14
- package/dist/chunks/{ripgrep-m58m10rk.js → schema-4w411070.js} +1 -1
- package/dist/chunks/{ripgrep-n8c97awd.js → schema-4w9ygdqj.js} +18 -18
- package/dist/chunks/{ripgrep-r94pvvab.js → schema-54ma36ye.js} +4 -4
- package/dist/chunks/{ripgrep-rcdfc04v.js → schema-56j2d20k.js} +11 -11
- package/dist/chunks/{ripgrep-zhbt7eq1.js → schema-586k1tpv.js} +6 -6
- package/dist/chunks/{ripgrep-z7bf8532.js → schema-5acb438f.js} +6 -6
- package/dist/chunks/{ripgrep-51cc7nn0.js → schema-5hzj2gnj.js} +5 -5
- package/dist/chunks/{ripgrep-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-1t3k43qg.js → schema-5yqngkrh.js} +5 -5
- package/dist/chunks/{ripgrep-afm8gjtq.js → schema-60bb96q1.js} +12 -12
- package/dist/chunks/{ripgrep-6827pfxn.js → schema-6827pfxn.js} +1 -1
- package/dist/chunks/{ripgrep-3qs99gjb.js → schema-6jk406cr.js} +26 -26
- package/dist/chunks/{ripgrep-8sze2n9a.js → schema-6pc27hjz.js} +2 -2
- package/dist/chunks/{ripgrep-1w3jgprt.js → schema-6qbhemwa.js} +34 -34
- package/dist/chunks/{ripgrep-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-a9rqmse4.js → schema-70xh0458.js} +19 -19
- package/dist/chunks/{ripgrep-775gj3j1.js → schema-775gj3j1.js} +2 -2
- package/dist/chunks/{ripgrep-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-6w56n6fk.js → schema-7ec2v9ed.js} +10 -10
- package/dist/chunks/{ripgrep-xkhk1g30.js → schema-7j1zf1qw.js} +15 -15
- package/dist/chunks/{ripgrep-g7hwtxxj.js → schema-7n76hb68.js} +14 -14
- package/dist/chunks/{ripgrep-vn93zb4z.js → schema-7ph0n1vg.js} +45 -45
- package/dist/chunks/{ripgrep-srrvx50p.js → schema-7q165t4g.js} +16 -16
- package/dist/chunks/{ripgrep-02vamycj.js → schema-7vdznjcr.js} +8 -8
- package/dist/chunks/{ripgrep-8p6qz19e.js → schema-7zafwtqv.js} +35 -35
- package/dist/chunks/{ripgrep-5qsp4wg3.js → schema-88tf66q2.js} +12 -12
- package/dist/chunks/{ripgrep-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-pc1v25hk.js → schema-8bc2ahr8.js} +3 -3
- package/dist/chunks/{ripgrep-cqqcamvx.js → schema-8ce0521a.js} +17 -17
- package/dist/chunks/{ripgrep-059731j3.js → schema-8dj74pby.js} +6 -6
- package/dist/chunks/{ripgrep-9qxkzfze.js → schema-8hdppygf.js} +24 -24
- package/dist/chunks/{ripgrep-sa6168g2.js → schema-8hej200e.js} +6 -6
- package/dist/chunks/{ripgrep-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
- package/dist/chunks/{ripgrep-xsbswz4w.js → schema-8mc7s0wd.js} +9 -9
- package/dist/chunks/{ripgrep-8mywswrd.js → schema-8mywswrd.js} +1 -1
- package/dist/chunks/{ripgrep-f6md5hft.js → schema-8nbq5p6s.js} +18 -18
- package/dist/chunks/{ripgrep-xw9fg8fb.js → schema-8vcf4cwr.js} +2 -2
- package/dist/chunks/{ripgrep-4rv5m1hd.js → schema-9brafa5j.js} +17 -17
- package/dist/chunks/{ripgrep-h0164j0a.js → schema-9fp5cy9e.js} +32 -32
- package/dist/chunks/{ripgrep-ttnk9ntm.js → schema-9fshpcpc.js} +25 -25
- package/dist/chunks/{ripgrep-47jkzegy.js → schema-9hwaqfsw.js} +5 -5
- package/dist/chunks/{ripgrep-epbjas11.js → schema-9m5m65a4.js} +29 -29
- package/dist/chunks/schema-9sh4wc5j.js +18 -0
- package/dist/chunks/{ripgrep-9wev2pgg.js → schema-9wev2pgg.js} +1 -1
- package/dist/chunks/{ripgrep-w1t606zy.js → schema-a2950d4b.js} +11 -11
- package/dist/chunks/{ripgrep-gqtdsdt7.js → schema-addxnjmp.js} +4 -4
- package/dist/chunks/{ripgrep-034tev2y.js → schema-aj7mw0zk.js} +2 -2
- package/dist/chunks/{ripgrep-hh4ravdp.js → schema-ajmz7z9n.js} +2 -2
- package/dist/chunks/{ripgrep-nq7ffrj9.js → schema-ap73x2p1.js} +4 -4
- package/dist/chunks/{ripgrep-g75wcaan.js → schema-apm2b389.js} +3 -3
- package/dist/chunks/{ripgrep-thjxzeng.js → schema-aq5y8b9e.js} +8 -8
- package/dist/chunks/{ripgrep-vg6tgr51.js → schema-atz56vhv.js} +21 -21
- package/dist/chunks/{ripgrep-2qn0jgtg.js → schema-atzyg80d.js} +52 -53
- package/dist/chunks/{ripgrep-b11a7tx7.js → schema-b11a7tx7.js} +1 -1
- package/dist/chunks/{ripgrep-5dgwy7vk.js → schema-b1vpyjsr.js} +11 -11
- package/dist/chunks/{ripgrep-mah98xap.js → schema-b7az7nzg.js} +5 -5
- package/dist/chunks/{ripgrep-xemxb09e.js → schema-b82aynba.js} +23 -23
- package/dist/chunks/{ripgrep-qbvfc74m.js → schema-b8y1c3zn.js} +18 -18
- package/dist/chunks/{ripgrep-zg0hshr1.js → schema-bb2erevm.js} +5 -5
- package/dist/chunks/{ripgrep-y72zmemf.js → schema-be7qvw84.js} +8 -8
- package/dist/chunks/{ripgrep-9g0wqaaz.js → schema-bjx4q2dn.js} +34 -34
- package/dist/chunks/{ripgrep-vm4m688h.js → schema-bkrhp30v.js} +4 -4
- package/dist/chunks/{ripgrep-knfx0005.js → schema-bmheq9zx.js} +32 -32
- package/dist/chunks/{ripgrep-k35zjkf6.js → schema-bnbbr2d0.js} +36 -36
- package/dist/chunks/{ripgrep-cvmnawzf.js → schema-bnjeam3m.js} +11 -11
- package/dist/chunks/{ripgrep-z03qmy9y.js → schema-bswnba0x.js} +4 -4
- package/dist/chunks/{ripgrep-bzeyqsqd.js → schema-bzeyqsqd.js} +1 -1
- package/dist/chunks/{ripgrep-2sejkfem.js → schema-c765mh8b.js} +9 -9
- package/dist/chunks/{ripgrep-tppgbmaa.js → schema-cbmrewd6.js} +21 -21
- package/dist/chunks/{ripgrep-gtrnswr7.js → schema-cbywt2p6.js} +20 -20
- package/dist/chunks/{ripgrep-7gxjxwcg.js → schema-cjrse1k0.js} +15 -15
- package/dist/chunks/{ripgrep-a171qt9a.js → schema-cm7rzrpy.js} +4 -4
- package/dist/chunks/{ripgrep-vewkg1sw.js → schema-cmp3rkz8.js} +24 -24
- package/dist/chunks/{ripgrep-942tz9ab.js → schema-cr9hweqv.js} +5 -5
- package/dist/chunks/{ripgrep-cqz5yx1g.js → schema-cs5q1j33.js} +5 -5
- package/dist/chunks/{ripgrep-xf5qsyy6.js → schema-d3cjz2rg.js} +33 -33
- package/dist/chunks/{ripgrep-y71avatq.js → schema-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-c1gpv2mk.js → schema-dqj1x724.js} +16 -16
- package/dist/chunks/{ripgrep-xfkkasph.js → schema-drwq78ky.js} +4 -4
- package/dist/chunks/{ripgrep-h6pdp2g8.js → schema-dta6adxg.js} +15 -15
- package/dist/chunks/{ripgrep-998yhzzq.js → schema-dvj9ct8m.js} +3 -3
- package/dist/chunks/{ripgrep-3842yvza.js → schema-dzz2f3za.js} +37 -37
- package/dist/chunks/{ripgrep-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-qs8w2ksw.js → schema-e6748pxh.js} +18 -18
- package/dist/chunks/{ripgrep-eya67jsr.js → schema-ecz00bat.js} +13 -13
- package/dist/chunks/{ripgrep-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-jc1xwfbq.js → schema-eh1n47qm.js} +28 -28
- package/dist/chunks/{ripgrep-fcy631f0.js → schema-fcy631f0.js} +1 -1
- package/dist/chunks/{ripgrep-0rhcgknv.js → schema-few1k6py.js} +8 -8
- package/dist/chunks/{ripgrep-zj9sjr7a.js → schema-ftrv57z3.js} +34 -34
- package/dist/chunks/{ripgrep-10c60s01.js → schema-fwd7f3n7.js} +41 -42
- package/dist/chunks/{ripgrep-mjsx87f0.js → schema-g6kecgse.js} +79 -79
- package/dist/chunks/{ripgrep-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-gfvcc5jk.js → schema-gd5ks2q2.js} +26 -26
- package/dist/chunks/{ripgrep-zdhd8t02.js → schema-gegxtyrp.js} +12 -12
- package/dist/chunks/{ripgrep-pt1ss6jy.js → schema-grqp3cmb.js} +3 -3
- package/dist/chunks/{ripgrep-2awrrk9p.js → schema-gt4kt70v.js} +14 -14
- package/dist/chunks/{ripgrep-fja19q0n.js → schema-gtt9vv4e.js} +14 -14
- package/dist/chunks/{ripgrep-644y02x9.js → schema-gtz7nked.js} +24 -24
- package/dist/chunks/{ripgrep-3x7f1rzc.js → schema-gymq2tgt.js} +9 -9
- package/dist/chunks/{ripgrep-yk55vtb2.js → schema-h6r4200x.js} +21 -21
- package/dist/chunks/{ripgrep-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-x1833xj2.js → schema-hba2d548.js} +18 -18
- package/dist/chunks/{ripgrep-b46x1qag.js → schema-hfjg8gb5.js} +20 -20
- package/dist/chunks/{ripgrep-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
- package/dist/chunks/{ripgrep-6bc70xnv.js → schema-j8qhg9bw.js} +1 -1
- package/dist/chunks/{ripgrep-f0n6e319.js → schema-jfh9q8qf.js} +14 -14
- package/dist/chunks/{ripgrep-1jjmp4ry.js → schema-jh9qevh8.js} +25 -28
- package/dist/chunks/{ripgrep-ja3v411g.js → schema-jn3svvm7.js} +17 -17
- package/dist/chunks/{ripgrep-eft6wwca.js → schema-jpypjf72.js} +35 -35
- package/dist/chunks/{ripgrep-0p01dw92.js → schema-k6kw0x3x.js} +7 -7
- package/dist/chunks/{ripgrep-b79mf2wv.js → schema-k8naqxk9.js} +8 -8
- package/dist/chunks/{ripgrep-rcwd9s5q.js → schema-kbwg7qyy.js} +28 -28
- package/dist/chunks/{ripgrep-4314yh8e.js → schema-kdnmkssn.js} +4 -4
- package/dist/chunks/{ripgrep-3epxp6vs.js → schema-kgjy8mzn.js} +28 -28
- package/dist/chunks/{ripgrep-bacj9t34.js → schema-kjd40bgk.js} +9 -9
- package/dist/chunks/{ripgrep-5czmpw7c.js → schema-kjqvt6c0.js} +4 -4
- package/dist/chunks/{ripgrep-z4tnrsa6.js → schema-kjxerx4y.js} +185 -185
- package/dist/chunks/{ripgrep-c00cthjb.js → schema-kmvrn13k.js} +10 -10
- package/dist/chunks/{ripgrep-40dgfgpg.js → schema-kn8ed5j7.js} +19 -19
- package/dist/chunks/{ripgrep-zy43x3f1.js → schema-knevfgda.js} +4 -4
- package/dist/chunks/{ripgrep-252xprac.js → schema-krb84gwz.js} +30 -30
- package/dist/chunks/{ripgrep-sb5w5fqd.js → schema-ks795mkk.js} +17 -17
- package/dist/chunks/{ripgrep-kwb1v3vj.js → schema-kwb1v3vj.js} +1 -1
- package/dist/chunks/{ripgrep-d4epdn84.js → schema-kxbkpg81.js} +25 -25
- package/dist/chunks/{ripgrep-6ze0vk8j.js → schema-kxf3nz33.js} +7 -7
- package/dist/chunks/{ripgrep-5sk42kyx.js → schema-m1rbdz0y.js} +11 -11
- package/dist/chunks/{ripgrep-7n3ryd6m.js → schema-m71k82xx.js} +13 -13
- package/dist/chunks/{ripgrep-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-maspj1v3.js → schema-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-zh0x9fg3.js → schema-md39vkm3.js} +18 -18
- package/dist/chunks/{ripgrep-82zcy4t3.js → schema-mpd49xq9.js} +8 -8
- package/dist/chunks/{ripgrep-tc46500c.js → schema-mt5v9ry9.js} +16 -16
- package/dist/chunks/{ripgrep-qg4e8vdn.js → schema-mych7xnr.js} +32 -32
- package/dist/chunks/{ripgrep-9gg87rr4.js → schema-n2ew48d4.js} +29 -29
- package/dist/chunks/{ripgrep-9g0nchv4.js → schema-n44fvqa5.js} +22 -22
- package/dist/chunks/{ripgrep-7r3p37an.js → schema-nnsw46vg.js} +4 -4
- package/dist/chunks/{ripgrep-v9fefnh7.js → schema-nxc81nce.js} +21 -21
- package/dist/chunks/{ripgrep-a8nkje97.js → schema-p33ckn3v.js} +11 -11
- package/dist/chunks/{ripgrep-rew48swg.js → schema-pgqyayq7.js} +14 -14
- package/dist/chunks/{ripgrep-vp0mm0kc.js → schema-phdpwmhe.js} +20 -20
- package/dist/chunks/{ripgrep-p37cw4rj.js → schema-phstrbs2.js} +8 -8
- package/dist/chunks/{ripgrep-cdd3neqk.js → schema-phwvtd3y.js} +4 -4
- package/dist/chunks/{ripgrep-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-36n1s7v8.js → schema-pp9nj0b2.js} +22 -22
- package/dist/chunks/{ripgrep-pf494cc8.js → schema-prjrmqps.js} +50 -50
- package/dist/chunks/{ripgrep-hbprad8z.js → schema-q490b428.js} +32 -32
- package/dist/chunks/{ripgrep-pq7a6r0e.js → schema-q5eftdkn.js} +66 -66
- package/dist/chunks/{ripgrep-cd921w3g.js → schema-qb6nzafx.js} +2 -2
- package/dist/chunks/{ripgrep-r2610tc4.js → schema-qg6wj6c5.js} +18 -18
- package/dist/chunks/{ripgrep-nxeywbky.js → schema-qnk07h1p.js} +23 -23
- package/dist/chunks/{ripgrep-crvmmsgx.js → schema-qs4w04g8.js} +16 -16
- package/dist/chunks/{ripgrep-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-7s3x24kv.js → schema-qsr7754b.js} +22 -22
- package/dist/chunks/{ripgrep-6fx9ws93.js → schema-qvfnp1sk.js} +21 -21
- package/dist/chunks/{ripgrep-e1eg6kc1.js → schema-qymj231q.js} +2 -2
- package/dist/chunks/{ripgrep-ygd2mcpa.js → schema-r01t9b5y.js} +8 -8
- package/dist/chunks/{ripgrep-30exac31.js → schema-r0dp87ge.js} +22 -22
- package/dist/chunks/{ripgrep-mw7fnh7a.js → schema-r2kbwwh1.js} +6 -6
- package/dist/chunks/{ripgrep-52cc258v.js → schema-r335j1fq.js} +26 -26
- package/dist/chunks/{ripgrep-s247n0z7.js → schema-r41txaew.js} +27 -27
- package/dist/chunks/{ripgrep-6nd0dxps.js → schema-r5wxxd2p.js} +35 -35
- package/dist/chunks/{ripgrep-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-mqqhst8y.js → schema-rkg4v3e5.js} +8 -8
- package/dist/chunks/{ripgrep-k6k9nh3f.js → schema-rxxgwrt9.js} +14 -14
- package/dist/chunks/{ripgrep-wf8m51n0.js → schema-rztgzzkf.js} +45 -45
- package/dist/chunks/{ripgrep-7gs737wr.js → schema-se052hy2.js} +6 -6
- package/dist/chunks/{ripgrep-w81ytvh4.js → schema-sf2p74k8.js} +21 -21
- package/dist/chunks/{ripgrep-hpwndzcc.js → schema-shrrr7kk.js} +10 -10
- package/dist/chunks/{ripgrep-jwm9r2mk.js → schema-stbcvrcx.js} +15 -15
- package/dist/chunks/{ripgrep-0z5rwn5b.js → schema-sxswpjsy.js} +5 -5
- package/dist/chunks/{ripgrep-ryr25ayn.js → schema-sxz6gkc3.js} +7 -7
- package/dist/chunks/{ripgrep-51f5btjf.js → schema-sxzvkvgj.js} +6 -6
- package/dist/chunks/{ripgrep-pf4vj2x2.js → schema-sy3r6n62.js} +32 -32
- package/dist/chunks/{ripgrep-za6yq9hg.js → schema-sykc9y4a.js} +5 -5
- package/dist/chunks/{ripgrep-syv4x271.js → schema-syv4x271.js} +1 -1
- package/dist/chunks/{ripgrep-q6s3sz9j.js → schema-t0jwwps0.js} +31 -33
- package/dist/chunks/{ripgrep-wfyym0nk.js → schema-t8w5j2tp.js} +7 -7
- package/dist/chunks/{ripgrep-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-5w5a4wvv.js → schema-tc11merm.js} +10 -10
- package/dist/chunks/{ripgrep-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-qger05k9.js → schema-thq5mtmm.js} +11 -11
- package/dist/chunks/{ripgrep-ss64yk7e.js → schema-tmmkgp6g.js} +18 -18
- package/dist/chunks/{ripgrep-ehzasdw1.js → schema-tnj6rg6w.js} +11 -11
- package/dist/chunks/{ripgrep-vxg243jx.js → schema-tp3t781r.js} +4 -4
- package/dist/chunks/{ripgrep-1kr28b9y.js → schema-tqw72dge.js} +10 -10
- package/dist/chunks/{ripgrep-3n7ky5ef.js → schema-tvcjbwgd.js} +14 -14
- package/dist/chunks/{ripgrep-tyytaxap.js → schema-tyytaxap.js} +1 -1
- package/dist/chunks/schema-v0yck56n.js +26 -0
- package/dist/chunks/{ripgrep-1x7nm4pt.js → schema-v1d51sdw.js} +11 -11
- package/dist/chunks/{ripgrep-8b5ta5tp.js → schema-v6gqda18.js} +13 -13
- package/dist/chunks/{ripgrep-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
- package/dist/chunks/{ripgrep-52gmg6gk.js → schema-v9ktrhzk.js} +20 -20
- package/dist/chunks/{ripgrep-98ann1j5.js → schema-vc0tgat8.js} +46 -46
- package/dist/chunks/{ripgrep-5g57z1ma.js → schema-vep9yay1.js} +4 -4
- package/dist/chunks/{ripgrep-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-gsy1tnq9.js → schema-vnt3yn01.js} +19 -19
- package/dist/chunks/{ripgrep-z37bqphs.js → schema-vsgt0m8t.js} +6 -6
- package/dist/chunks/{ripgrep-qkhw7n0g.js → schema-vxqrmefd.js} +30 -30
- package/dist/chunks/{ripgrep-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-84txncab.js → schema-w1eejvng.js} +5 -5
- package/dist/chunks/{ripgrep-mqjjpdbh.js → schema-w2bpkvh3.js} +11 -11
- package/dist/chunks/{ripgrep-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-gr1f03ws.js → schema-wbt9zsn3.js} +9 -9
- package/dist/chunks/{ripgrep-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-wh6zw745.js → schema-wh6zw745.js} +2 -2
- package/dist/chunks/{ripgrep-jy7marrj.js → schema-wk0f6cnb.js} +7 -7
- package/dist/chunks/{ripgrep-1jbzqkv3.js → schema-wvyymv1h.js} +8 -8
- package/dist/chunks/{ripgrep-kvapg1n1.js → schema-x13wf28v.js} +19 -19
- package/dist/chunks/{ripgrep-77w5wkn6.js → schema-x5by4g9q.js} +340 -340
- package/dist/chunks/{ripgrep-ak2q6qgs.js → schema-x9xt4rzp.js} +13 -13
- package/dist/chunks/{ripgrep-r4fxm0j1.js → schema-xb2raker.js} +3 -3
- package/dist/chunks/{ripgrep-6z448gwt.js → schema-xqyrxmej.js} +17 -17
- package/dist/chunks/{ripgrep-xwkencv2.js → schema-xtxypabt.js} +12 -12
- package/dist/chunks/{ripgrep-c1menwye.js → schema-xyd93zwz.js} +46 -46
- package/dist/chunks/{ripgrep-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-75qa566n.js → schema-y38m9zb5.js} +17 -17
- package/dist/chunks/{ripgrep-0jq9fyba.js → schema-y56ehv6b.js} +9 -9
- package/dist/chunks/{ripgrep-f0s1k55d.js → schema-yc36fn85.js} +7 -7
- package/dist/chunks/{ripgrep-a733a65v.js → schema-ycefwdcs.js} +8 -8
- package/dist/chunks/{ripgrep-h4542y1d.js → schema-yds4b9yz.js} +35 -35
- package/dist/chunks/{ripgrep-3dk8yxk5.js → schema-ygxsryh2.js} +27 -27
- package/dist/chunks/{ripgrep-jpjpmxdq.js → schema-ykw333za.js} +5 -5
- package/dist/chunks/{ripgrep-b38r71wk.js → schema-ys6xw3x7.js} +17 -17
- package/dist/chunks/{ripgrep-4pq9qanv.js → schema-ysbkpfh3.js} +38 -38
- package/dist/chunks/{ripgrep-dznbw734.js → schema-ysy9ysqp.js} +53 -53
- package/dist/chunks/{ripgrep-1ffvrpkg.js → schema-ywt8jp22.js} +6 -6
- package/dist/chunks/{ripgrep-pdjnt312.js → schema-yxxhm6wn.js} +56 -56
- package/dist/chunks/{ripgrep-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z18fegx4.js → schema-z18fegx4.js} +1 -1
- package/dist/chunks/{ripgrep-p353fx2f.js → schema-zctrycv6.js} +87 -87
- package/dist/chunks/{ripgrep-6cg5s87t.js → schema-zdjfzqgx.js} +25 -25
- package/dist/chunks/{ripgrep-qsa492eb.js → schema-zdvv5291.js} +4 -4
- package/dist/chunks/{ripgrep-gd6ja0kz.js → schema-zhpk82ba.js} +11 -11
- package/dist/chunks/{ripgrep-5cvjwq3s.js → schema-zjznsnv6.js} +26 -26
- package/dist/chunks/{ripgrep-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-de70dmzp.js → schema-zv150g5a.js} +20 -20
- package/dist/chunks/{ripgrep-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-zvnbwra8.js → schema-zxxfwhgr.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- 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 +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +72 -72
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- 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 +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +138 -138
- 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 +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- 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 +351 -351
- 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 +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- 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 +4 -4
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- 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 +126 -126
- 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 +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/ripgrep-73kg42pk.js +0 -26
- package/dist/chunks/ripgrep-ddq52evp.js +0 -257
- package/dist/chunks/ripgrep-jqh9b0xq.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5fjb7ams.js → schema-5fjb7ams.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-phwvtd3y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./schema-krb84gwz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./schema-tvcjbwgd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node71
|
|
20
|
+
} from "./schema-gtz7nked.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./schema-zjznsnv6.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./schema-vxqrmefd.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./schema-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
45
|
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service34,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node37
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const environment = yield* Service68;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service80;
|
|
119
|
+
const integration = yield* Service79;
|
|
120
|
+
const credentials = yield* Service81;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,28 +145,27 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
152
152
|
});
|
|
153
|
-
const requireServer = Effect.fnUntraced(function* (
|
|
154
|
-
const name = ServerName2.make(server);
|
|
153
|
+
const requireServer = Effect.fnUntraced(function* (name) {
|
|
155
154
|
const entry = entries.get(name);
|
|
156
155
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
156
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
157
|
return { name, entry };
|
|
159
158
|
});
|
|
160
159
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
160
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
161
|
return;
|
|
163
162
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
163
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
|
|
165
164
|
});
|
|
166
165
|
const elicitation = {
|
|
167
166
|
create: (input) => Effect.gen(function* () {
|
|
168
167
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
168
|
+
const formID = ID15.create();
|
|
170
169
|
const elicitationID = input.params.elicitationId;
|
|
171
170
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
171
|
if (key)
|
|
@@ -269,7 +268,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
269
268
|
entry.scope = scope;
|
|
270
269
|
const authProvider = yield* connectProvider(entry);
|
|
271
270
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
271
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service68, environment), Scope.provide(scope));
|
|
273
272
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
273
|
if (Exit.isSuccess(result)) {
|
|
275
274
|
entry.client = result.value.connection;
|
|
@@ -394,7 +393,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
394
393
|
yield* startServer(name, entry);
|
|
395
394
|
}).pipe(locks.withLock(name));
|
|
396
395
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
396
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
397
|
const state = create3({
|
|
399
398
|
name: "mcp",
|
|
400
399
|
initial: () => ({
|
|
@@ -420,7 +419,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
420
419
|
}),
|
|
421
420
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
421
|
});
|
|
423
|
-
return
|
|
422
|
+
return Service34.of({
|
|
424
423
|
transform: state.transform,
|
|
425
424
|
reload: state.reload,
|
|
426
425
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -458,7 +457,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
458
457
|
return Array.from(entries.values()).flatMap((entry) => entry.tools ?? []).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name));
|
|
459
458
|
}),
|
|
460
459
|
callTool: Effect.fn("MCP.callTool")(function* (input) {
|
|
461
|
-
const target = yield* requireServer(input.server);
|
|
460
|
+
const target = yield* requireServer(ServerName2.make(input.server));
|
|
462
461
|
yield* target.entry.startup.await;
|
|
463
462
|
if (!target.entry.client)
|
|
464
463
|
return yield* new ToolCallError2({
|
|
@@ -485,7 +484,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
485
484
|
return Array.from(entries.values()).flatMap((entry) => entry.prompts ?? []).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name));
|
|
486
485
|
}),
|
|
487
486
|
prompt: Effect.fn("MCP.prompt")(function* (input) {
|
|
488
|
-
const target = yield* requireServer(input.server);
|
|
487
|
+
const target = yield* requireServer(ServerName2.make(input.server));
|
|
489
488
|
yield* target.entry.startup.await;
|
|
490
489
|
if (!target.entry.client)
|
|
491
490
|
return;
|
|
@@ -502,14 +501,14 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
502
501
|
return mergeCatalogs(catalogs);
|
|
503
502
|
}),
|
|
504
503
|
resources: Effect.fn("MCP.resources")(function* (input) {
|
|
505
|
-
const target = yield* requireServer(input.server);
|
|
504
|
+
const target = yield* requireServer(ServerName2.make(input.server));
|
|
506
505
|
yield* target.entry.startup.await;
|
|
507
506
|
if (!target.entry.client)
|
|
508
507
|
return ResourceCatalog2.make({ resources: [], templates: [] });
|
|
509
508
|
return mergeCatalogs([yield* loadCatalog(target.name, target.entry, target.entry.client)]);
|
|
510
509
|
}),
|
|
511
510
|
readResource: Effect.fn("MCP.readResource")(function* (input) {
|
|
512
|
-
const target = yield* requireServer(input.server);
|
|
511
|
+
const target = yield* requireServer(ServerName2.make(input.server));
|
|
513
512
|
yield* target.entry.startup.await;
|
|
514
513
|
if (!target.entry.client)
|
|
515
514
|
return;
|
|
@@ -532,12 +531,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
531
|
}
|
|
533
532
|
function configured3(options) {
|
|
534
533
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
534
|
+
service: Service34,
|
|
535
|
+
layer: layer16(options),
|
|
536
|
+
deps: [node86, node71, node89, node84, node83, node85]
|
|
538
537
|
});
|
|
539
538
|
}
|
|
540
|
-
var
|
|
539
|
+
var node37 = configured3();
|
|
541
540
|
function toElicitationField(key, property, required) {
|
|
542
541
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
542
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +587,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
587
|
}
|
|
589
588
|
}
|
|
590
589
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
590
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options3, layer16, configured3, node37, exports_mcp4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-mpd49xq9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./schema-krb84gwz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-vxqrmefd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-q490b428.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service81;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-8hej200e.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-yxxhm6wn.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-vxqrmefd.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-rztgzzkf.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-k6kw0x3x.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./schema-xtxypabt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service56,
|
|
16
|
+
node59
|
|
17
|
+
} from "./schema-zxxfwhgr.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node54,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service52 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service84;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service56;
|
|
110
|
+
return Service52.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node54 = makeGlobalNode({
|
|
171
|
+
service: Service52,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node59]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service52, isError2, validateBranch2, node54, exports_repository_cache };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./schema-gtz7nked.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service67.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./schema-q490b428.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service52, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node48 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node48, exports_environment };
|