@opencode/core 0.0.0-dev-21524 → 0.0.0-dev-21528
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-1pfpt4tm.js → ripgrep-01mpbv93.js} +37 -37
- package/dist/chunks/{model-cswhtaxk.js → ripgrep-01shgzdc.js} +6 -6
- package/dist/chunks/{model-02mvvr71.js → ripgrep-02mvvr71.js} +3 -3
- package/dist/chunks/{model-0taht25s.js → ripgrep-02vamycj.js} +5 -5
- package/dist/chunks/{model-034tev2y.js → ripgrep-034tev2y.js} +2 -2
- package/dist/chunks/{model-wrmbd4ct.js → ripgrep-059731j3.js} +6 -6
- package/dist/chunks/{model-y56ehv6b.js → ripgrep-0jq9fyba.js} +9 -9
- package/dist/chunks/{model-7dqw4kz8.js → ripgrep-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-j00wdpt2.js → ripgrep-0n64x4tw.js} +35 -35
- package/dist/chunks/{model-jgddfxwr.js → ripgrep-0p01dw92.js} +13 -13
- package/dist/chunks/{model-es4zr9pq.js → ripgrep-0rhcgknv.js} +8 -8
- package/dist/chunks/{model-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-yb5mq618.js → ripgrep-0vh2wh8r.js} +25 -25
- package/dist/chunks/{model-sm9b1dk6.js → ripgrep-0z5rwn5b.js} +5 -5
- package/dist/chunks/{model-zhbn17yy.js → ripgrep-10c60s01.js} +38 -38
- package/dist/chunks/{model-1ep2p91f.js → ripgrep-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-ywt8jp22.js → ripgrep-1ffvrpkg.js} +6 -6
- package/dist/chunks/{model-n1xdyw2d.js → ripgrep-1jbzqkv3.js} +8 -8
- package/dist/chunks/{model-x4yng9z3.js → ripgrep-1jjmp4ry.js} +19 -19
- package/dist/chunks/{model-4h41swc2.js → ripgrep-1kr28b9y.js} +11 -14
- package/dist/chunks/{model-k82vbxay.js → ripgrep-1t3k43qg.js} +5 -5
- package/dist/chunks/{model-p0wpjn6w.js → ripgrep-1w3jgprt.js} +38 -38
- package/dist/chunks/{model-evw6zxwh.js → ripgrep-1x7nm4pt.js} +9 -9
- package/dist/chunks/{model-7ea6gyb7.js → ripgrep-252xprac.js} +36 -36
- package/dist/chunks/{model-2ctfzdhd.js → ripgrep-2awrrk9p.js} +17 -17
- package/dist/chunks/{model-wbbr97jc.js → ripgrep-2qn0jgtg.js} +51 -51
- package/dist/chunks/{model-2sejkfem.js → ripgrep-2sejkfem.js} +2 -2
- package/dist/chunks/{model-g3s5p3ce.js → ripgrep-30exac31.js} +31 -31
- package/dist/chunks/{model-8ctdzpjq.js → ripgrep-36n1s7v8.js} +23 -23
- package/dist/chunks/{model-pxxsc0qj.js → ripgrep-3842yvza.js} +40 -40
- package/dist/chunks/{model-60yc8kfz.js → ripgrep-3dk8yxk5.js} +38 -39
- package/dist/chunks/{model-s6w3zs6m.js → ripgrep-3epxp6vs.js} +26 -26
- package/dist/chunks/{model-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → ripgrep-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-q25wacer.js → ripgrep-3n7ky5ef.js} +14 -14
- package/dist/chunks/{model-shttdtza.js → ripgrep-3qs99gjb.js} +26 -26
- package/dist/chunks/{model-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-sn8sfdg7.js → ripgrep-3x7f1rzc.js} +9 -9
- package/dist/chunks/{model-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-5td63qzk.js → ripgrep-40dgfgpg.js} +19 -19
- package/dist/chunks/{model-j29dqnz3.js → ripgrep-41fykjt6.js} +9 -9
- package/dist/chunks/{model-04w2mvty.js → ripgrep-4314yh8e.js} +4 -4
- package/dist/chunks/{model-gr0f51d3.js → ripgrep-4323h7yk.js} +6 -6
- package/dist/chunks/{model-0r3c1bmw.js → ripgrep-47jkzegy.js} +5 -5
- package/dist/chunks/{model-jpgepvgj.js → ripgrep-4pq9qanv.js} +40 -40
- package/dist/chunks/{model-32hg4evb.js → ripgrep-4rv5m1hd.js} +18 -18
- package/dist/chunks/{model-aj0k59hj.js → ripgrep-51cc7nn0.js} +5 -5
- package/dist/chunks/{model-v8jfbz3g.js → ripgrep-51f5btjf.js} +6 -6
- package/dist/chunks/{model-jdjv7g0p.js → ripgrep-52cc258v.js} +18 -18
- package/dist/chunks/{model-7w2nkvmv.js → ripgrep-52gmg6gk.js} +22 -22
- package/dist/chunks/{model-azfq4cq8.js → ripgrep-5cvjwq3s.js} +29 -29
- package/dist/chunks/{model-nsnt4z7f.js → ripgrep-5czmpw7c.js} +4 -4
- package/dist/chunks/{model-ehpng7sz.js → ripgrep-5dgwy7vk.js} +11 -11
- package/dist/chunks/{model-5g57z1ma.js → ripgrep-5g57z1ma.js} +1 -1
- package/dist/chunks/{model-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-j1kq1abh.js → ripgrep-5qsp4wg3.js} +12 -12
- package/dist/chunks/{model-03p31ykv.js → ripgrep-5sk42kyx.js} +11 -11
- package/dist/chunks/{model-xq5wk8w5.js → ripgrep-5t2kw4pk.js} +17 -17
- package/dist/chunks/{model-bfyf7jfe.js → ripgrep-5w5a4wvv.js} +10 -10
- package/dist/chunks/{model-t9ax25ae.js → ripgrep-644y02x9.js} +24 -24
- package/dist/chunks/{model-6827pfxn.js → ripgrep-6827pfxn.js} +1 -1
- package/dist/chunks/{model-q34ypbna.js → ripgrep-6bc70xnv.js} +1 -1
- package/dist/chunks/{model-z6pj4dcy.js → ripgrep-6cg5s87t.js} +22 -22
- package/dist/chunks/{model-p8ncetbn.js → ripgrep-6fx9ws93.js} +18 -18
- package/dist/chunks/{model-2trzfzeg.js → ripgrep-6nd0dxps.js} +46 -46
- package/dist/chunks/{model-zy04nmr9.js → ripgrep-6w56n6fk.js} +12 -12
- package/dist/chunks/{model-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-wzekn62n.js → ripgrep-6z448gwt.js} +17 -17
- package/dist/chunks/{model-jejz1x9w.js → ripgrep-6ze0vk8j.js} +9 -9
- package/dist/chunks/{model-jtcz2vdp.js → ripgrep-71syg536.js} +28 -28
- package/dist/chunks/ripgrep-73kg42pk.js +26 -0
- package/dist/chunks/{model-3swakehk.js → ripgrep-75qa566n.js} +16 -16
- package/dist/chunks/{model-775gj3j1.js → ripgrep-775gj3j1.js} +2 -2
- package/dist/chunks/{model-rmymfw9c.js → ripgrep-77w5wkn6.js} +328 -328
- package/dist/chunks/{model-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-3zbenxk9.js → ripgrep-7gs737wr.js} +6 -6
- package/dist/chunks/{model-8sfj8fnn.js → ripgrep-7gxjxwcg.js} +15 -15
- package/dist/chunks/{model-nthdcap5.js → ripgrep-7n3ryd6m.js} +13 -13
- package/dist/chunks/{model-56jx3k9n.js → ripgrep-7r3p37an.js} +4 -4
- package/dist/chunks/{model-7yh6cecr.js → ripgrep-7s3x24kv.js} +28 -28
- package/dist/chunks/{model-4q9fsd81.js → ripgrep-82zcy4t3.js} +11 -11
- package/dist/chunks/{model-w1eejvng.js → ripgrep-84txncab.js} +5 -5
- package/dist/chunks/{model-k5amtbxh.js → ripgrep-8b5ta5tp.js} +11 -11
- package/dist/chunks/{model-982vmajw.js → ripgrep-8hf7gczp.js} +21 -21
- package/dist/chunks/{model-8m6m0r52.js → ripgrep-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-8mywswrd.js → ripgrep-8mywswrd.js} +1 -1
- package/dist/chunks/{model-fh95s1e3.js → ripgrep-8p6qz19e.js} +30 -30
- package/dist/chunks/{model-8ypwf7te.js → ripgrep-8ra0dv5t.js} +14 -14
- package/dist/chunks/{model-py3kkmfq.js → ripgrep-8sze2n9a.js} +6 -6
- package/dist/chunks/{model-nz56sr1f.js → ripgrep-942tz9ab.js} +7 -6
- package/dist/chunks/{model-np48z6yp.js → ripgrep-98ann1j5.js} +45 -45
- package/dist/chunks/{model-998yhzzq.js → ripgrep-998yhzzq.js} +3 -3
- package/dist/chunks/{model-whakkw5c.js → ripgrep-9g0nchv4.js} +22 -22
- package/dist/chunks/{model-5vd2fz1r.js → ripgrep-9g0wqaaz.js} +40 -40
- package/dist/chunks/{model-tx641jmv.js → ripgrep-9gg87rr4.js} +32 -32
- package/dist/chunks/{model-n10am2gf.js → ripgrep-9qxkzfze.js} +17 -17
- package/dist/chunks/{model-9wev2pgg.js → ripgrep-9wev2pgg.js} +1 -1
- package/dist/chunks/{model-z5c3cgws.js → ripgrep-a171qt9a.js} +4 -4
- package/dist/chunks/{model-h9eg9w87.js → ripgrep-a733a65v.js} +8 -8
- package/dist/chunks/{model-z44d18ne.js → ripgrep-a8nkje97.js} +11 -11
- package/dist/chunks/{model-7myyj22h.js → ripgrep-a9rqmse4.js} +14 -14
- package/dist/chunks/{model-m8gvtb3w.js → ripgrep-afm8gjtq.js} +12 -12
- package/dist/chunks/{model-mcm8q642.js → ripgrep-ak2q6qgs.js} +13 -13
- package/dist/chunks/{model-b11a7tx7.js → ripgrep-b11a7tx7.js} +1 -1
- package/dist/chunks/{model-s5t6xt4x.js → ripgrep-b38r71wk.js} +15 -15
- package/dist/chunks/{model-tr5tmnty.js → ripgrep-b46x1qag.js} +19 -27
- package/dist/chunks/{model-0y6p8wpj.js → ripgrep-b79mf2wv.js} +8 -8
- package/dist/chunks/{model-y7nndgyc.js → ripgrep-bacj9t34.js} +9 -9
- package/dist/chunks/{model-bzeyqsqd.js → ripgrep-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-k2a3w999.js → ripgrep-c00cthjb.js} +10 -10
- package/dist/chunks/{model-jx5cnddy.js → ripgrep-c1gpv2mk.js} +12 -12
- package/dist/chunks/{model-twdpq1df.js → ripgrep-c1menwye.js} +35 -35
- package/dist/chunks/{model-r3whvpya.js → ripgrep-cd921w3g.js} +2 -2
- package/dist/chunks/{model-xtpp21nj.js → ripgrep-cdd3neqk.js} +16 -16
- package/dist/chunks/{model-dxjxmw6m.js → ripgrep-cqqcamvx.js} +19 -19
- package/dist/chunks/{model-n6v6dc4x.js → ripgrep-cqz5yx1g.js} +5 -5
- package/dist/chunks/{model-hdqa26x6.js → ripgrep-crvmmsgx.js} +14 -14
- package/dist/chunks/{model-ammk3pd4.js → ripgrep-cvmnawzf.js} +11 -11
- package/dist/chunks/{model-78mjm5mv.js → ripgrep-d39q5djw.js} +45 -45
- package/dist/chunks/{model-v9qp1ycg.js → ripgrep-d4epdn84.js} +27 -27
- package/dist/chunks/ripgrep-ddq52evp.js +257 -0
- package/dist/chunks/{model-hx3e3ka9.js → ripgrep-de70dmzp.js} +25 -25
- package/dist/chunks/{model-tbmac1c7.js → ripgrep-dj68pnee.js} +4 -4
- package/dist/chunks/{model-6h8x4cfa.js → ripgrep-dznbw734.js} +61 -61
- package/dist/chunks/{model-vtc2n9tc.js → ripgrep-e1eg6kc1.js} +2 -2
- package/dist/chunks/{model-s8d7rejh.js → ripgrep-eaj1djv9.js} +6 -6
- package/dist/chunks/{model-eej6y6fw.js → ripgrep-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-d78ak1q6.js → ripgrep-eft6wwca.js} +35 -35
- package/dist/chunks/{model-rpsmjfyf.js → ripgrep-ehzasdw1.js} +14 -14
- package/dist/chunks/{model-93zp451d.js → ripgrep-epbjas11.js} +23 -23
- package/dist/chunks/{model-tde5hqcz.js → ripgrep-eya67jsr.js} +13 -13
- package/dist/chunks/{model-2z7chnet.js → ripgrep-f0n6e319.js} +11 -11
- package/dist/chunks/{model-91vccmjy.js → ripgrep-f0s1k55d.js} +7 -7
- package/dist/chunks/{model-vpdzpye8.js → ripgrep-f6md5hft.js} +18 -18
- package/dist/chunks/{model-fcy631f0.js → ripgrep-fcy631f0.js} +1 -1
- package/dist/chunks/{model-wx0b07pw.js → ripgrep-fja19q0n.js} +14 -14
- package/dist/chunks/{model-395q6j9z.js → ripgrep-fn9t717r.js} +6 -6
- package/dist/chunks/{model-36kcv1n0.js → ripgrep-g75wcaan.js} +3 -3
- package/dist/chunks/{model-zkvdcdcs.js → ripgrep-g7hwtxxj.js} +14 -14
- package/dist/chunks/{model-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-hxvkjxz4.js → ripgrep-gd6ja0kz.js} +8 -8
- package/dist/chunks/{model-chj6c0n9.js → ripgrep-gfvcc5jk.js} +29 -29
- package/dist/chunks/{model-3pkscm61.js → ripgrep-gkymdc6s.js} +9 -9
- package/dist/chunks/{model-addxnjmp.js → ripgrep-gqtdsdt7.js} +4 -4
- package/dist/chunks/{model-1rh4yqvv.js → ripgrep-gr1f03ws.js} +9 -9
- package/dist/chunks/{model-b66zg7n1.js → ripgrep-gsy1tnq9.js} +22 -22
- package/dist/chunks/{model-vxhbzv6h.js → ripgrep-gtrnswr7.js} +37 -37
- package/dist/chunks/{model-45nvas02.js → ripgrep-h0164j0a.js} +30 -43
- package/dist/chunks/{model-jxf1ya3g.js → ripgrep-h4542y1d.js} +39 -39
- package/dist/chunks/{model-zra0rasq.js → ripgrep-h4bqh5zx.js} +4 -4
- package/dist/chunks/{model-rn6wqvas.js → ripgrep-h6pdp2g8.js} +15 -15
- package/dist/chunks/{model-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-1sb845w2.js → ripgrep-hbprad8z.js} +35 -35
- package/dist/chunks/{model-hgz4x7wa.js → ripgrep-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-fmn3naam.js → ripgrep-hh4ravdp.js} +2 -2
- package/dist/chunks/{model-81rrwaz0.js → ripgrep-hpwndzcc.js} +5 -5
- package/dist/chunks/{model-sxsnqyan.js → ripgrep-j2hyxy1e.js} +27 -27
- package/dist/chunks/{model-jwhwgpnp.js → ripgrep-ja3v411g.js} +17 -17
- package/dist/chunks/{model-4tp8et91.js → ripgrep-jc1xwfbq.js} +29 -36
- package/dist/chunks/{model-xtqhbb9e.js → ripgrep-jpjpmxdq.js} +5 -5
- package/dist/chunks/ripgrep-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-4q4r5eys.js → ripgrep-jwm9r2mk.js} +14 -14
- package/dist/chunks/{model-y9b0tqk5.js → ripgrep-jy7marrj.js} +7 -7
- package/dist/chunks/{model-d2pvcv7q.js → ripgrep-k06ywqkh.js} +19 -19
- package/dist/chunks/{model-nr3qt1qj.js → ripgrep-k35zjkf6.js} +36 -36
- package/dist/chunks/{model-dm7d4a8z.js → ripgrep-k6k9nh3f.js} +14 -14
- package/dist/chunks/{model-zw72nhpe.js → ripgrep-knfx0005.js} +34 -34
- package/dist/chunks/{model-03ysqxec.js → ripgrep-kvapg1n1.js} +12 -12
- package/dist/chunks/{model-kwb1v3vj.js → ripgrep-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-r71c6ngf.js → ripgrep-m58m10rk.js} +1 -1
- package/dist/chunks/{model-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-n5m4rk1f.js → ripgrep-mah98xap.js} +5 -5
- package/dist/chunks/{model-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
- package/dist/chunks/{model-j7m3jefb.js → ripgrep-mjsx87f0.js} +80 -80
- package/dist/chunks/{model-4bvsmycz.js → ripgrep-mqjjpdbh.js} +11 -11
- package/dist/chunks/{model-mqqhst8y.js → ripgrep-mqqhst8y.js} +1 -1
- package/dist/chunks/{model-f9k0h0ak.js → ripgrep-mw7fnh7a.js} +6 -6
- package/dist/chunks/{model-gx5mqccr.js → ripgrep-n8c97awd.js} +18 -18
- package/dist/chunks/{model-v210v162.js → ripgrep-nhe1x14z.js} +7 -7
- package/dist/chunks/{model-0z7r50za.js → ripgrep-nq7ffrj9.js} +4 -4
- package/dist/chunks/{model-hh9qf8x4.js → ripgrep-nxeywbky.js} +23 -23
- package/dist/chunks/{model-khmqacep.js → ripgrep-ny8edt06.js} +4 -4
- package/dist/chunks/{model-dv8ssvc2.js → ripgrep-p353fx2f.js} +88 -88
- package/dist/chunks/{model-br0tr5aq.js → ripgrep-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-8bc2ahr8.js → ripgrep-pc1v25hk.js} +3 -3
- package/dist/chunks/{model-tnq17713.js → ripgrep-pdjnt312.js} +52 -78
- package/dist/chunks/{model-y0bjakjk.js → ripgrep-pf494cc8.js} +50 -50
- package/dist/chunks/{model-5qv5h1zk.js → ripgrep-pf4vj2x2.js} +32 -32
- package/dist/chunks/{model-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{model-rfnecwar.js → ripgrep-pq7a6r0e.js} +70 -70
- package/dist/chunks/{model-my4zabxr.js → ripgrep-pt1ss6jy.js} +3 -3
- package/dist/chunks/{model-z7yh2dxd.js → ripgrep-q6s3sz9j.js} +38 -38
- package/dist/chunks/{model-b41wgp24.js → ripgrep-q7x4taa7.js} +13 -13
- package/dist/chunks/{model-237rnmz7.js → ripgrep-qbvfc74m.js} +18 -18
- package/dist/chunks/{model-apng734m.js → ripgrep-qg4e8vdn.js} +32 -32
- package/dist/chunks/{model-7e23ehrj.js → ripgrep-qger05k9.js} +11 -11
- package/dist/chunks/{model-9f3d5qaa.js → ripgrep-qkhw7n0g.js} +33 -33
- package/dist/chunks/{model-77enp1c1.js → ripgrep-qs8w2ksw.js} +20 -20
- package/dist/chunks/{model-ehm8gabj.js → ripgrep-qsa492eb.js} +4 -4
- package/dist/chunks/{model-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{model-ajxqx4ms.js → ripgrep-r2610tc4.js} +21 -21
- package/dist/chunks/{model-jz851vma.js → ripgrep-r4fxm0j1.js} +3 -3
- package/dist/chunks/{model-54ma36ye.js → ripgrep-r94pvvab.js} +4 -4
- package/dist/chunks/{model-m190hr7s.js → ripgrep-rb2qm7yc.js} +13 -13
- package/dist/chunks/{model-52v62pe3.js → ripgrep-rcdfc04v.js} +11 -11
- package/dist/chunks/{model-jmca7p9y.js → ripgrep-rcwd9s5q.js} +23 -23
- package/dist/chunks/{model-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-2223rexw.js → ripgrep-rew48swg.js} +16 -16
- package/dist/chunks/{model-snpsxx8p.js → ripgrep-rk26gw9b.js} +46 -46
- package/dist/chunks/{model-d216944b.js → ripgrep-ryr25ayn.js} +5 -5
- package/dist/chunks/{model-pvj8mvr4.js → ripgrep-s247n0z7.js} +25 -25
- package/dist/chunks/{model-x4wqyer7.js → ripgrep-s7025g3c.js} +20 -20
- package/dist/chunks/{model-yj7k2rcj.js → ripgrep-sa6168g2.js} +6 -6
- package/dist/chunks/{model-dgz1jfsn.js → ripgrep-sb5w5fqd.js} +19 -19
- package/dist/chunks/{model-ygp5nrda.js → ripgrep-srrvx50p.js} +22 -24
- package/dist/chunks/{model-tpr917c7.js → ripgrep-ss64yk7e.js} +22 -22
- package/dist/chunks/{model-p9ynbv9r.js → ripgrep-sye62zz8.js} +29 -29
- package/dist/chunks/{model-syv4x271.js → ripgrep-syv4x271.js} +1 -1
- package/dist/chunks/{model-85hqxn6b.js → ripgrep-t4jxebhw.js} +5 -5
- package/dist/chunks/{model-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-g4j5dqmm.js → ripgrep-tc46500c.js} +13 -13
- package/dist/chunks/{model-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{model-tx9w5tca.js → ripgrep-thjxzeng.js} +8 -8
- package/dist/chunks/{model-nxqbvwsg.js → ripgrep-tppgbmaa.js} +19 -19
- package/dist/chunks/{model-kbnh7qbc.js → ripgrep-ttnk9ntm.js} +26 -26
- package/dist/chunks/{model-tyytaxap.js → ripgrep-tyytaxap.js} +1 -1
- package/dist/chunks/{model-v7p4zvkq.js → ripgrep-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-x9fa4xnb.js → ripgrep-v9fefnh7.js} +24 -24
- package/dist/chunks/{model-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{model-vchaqpjh.js → ripgrep-vewkg1sw.js} +26 -26
- package/dist/chunks/{model-7dcyjm60.js → ripgrep-vg6tgr51.js} +21 -21
- package/dist/chunks/{model-9my2wv8a.js → ripgrep-vm4m688h.js} +4 -4
- package/dist/chunks/{model-h3fgmb1c.js → ripgrep-vn93zb4z.js} +47 -47
- package/dist/chunks/{model-0qcccqbx.js → ripgrep-vp0mm0kc.js} +20 -20
- package/dist/chunks/{model-szszjrwy.js → ripgrep-vxg243jx.js} +4 -4
- package/dist/chunks/{model-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-3zsxkakk.js → ripgrep-w1t606zy.js} +11 -11
- package/dist/chunks/{model-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-seaswkff.js → ripgrep-w81ytvh4.js} +20 -37
- package/dist/chunks/{model-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{model-8sxctv71.js → ripgrep-wf8m51n0.js} +45 -45
- package/dist/chunks/{model-j18wnwp4.js → ripgrep-wfyym0nk.js} +12 -12
- package/dist/chunks/{model-wh6zw745.js → ripgrep-wh6zw745.js} +2 -2
- package/dist/chunks/{model-2abxxfn3.js → ripgrep-x1833xj2.js} +22 -22
- package/dist/chunks/{model-j1n1yte6.js → ripgrep-x874k1t8.js} +13 -13
- package/dist/chunks/{model-2bmg2vc4.js → ripgrep-xemxb09e.js} +23 -23
- package/dist/chunks/{model-138x3wa4.js → ripgrep-xf5qsyy6.js} +25 -25
- package/dist/chunks/{model-xfkkasph.js → ripgrep-xfkkasph.js} +1 -1
- package/dist/chunks/{model-k4s0h02e.js → ripgrep-xjchawe4.js} +11 -11
- package/dist/chunks/{model-a4xe52vp.js → ripgrep-xkhk1g30.js} +15 -15
- package/dist/chunks/{model-xxrcdmhk.js → ripgrep-xsbswz4w.js} +11 -11
- package/dist/chunks/{model-xw9fg8fb.js → ripgrep-xw9fg8fb.js} +2 -2
- package/dist/chunks/{model-662wmyj4.js → ripgrep-xwkencv2.js} +12 -12
- package/dist/chunks/{model-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
- package/dist/chunks/{model-vgx6weyf.js → ripgrep-y72zmemf.js} +8 -8
- package/dist/chunks/{model-w6zk8pbt.js → ripgrep-ygd2mcpa.js} +6 -6
- package/dist/chunks/{model-bm9kjebc.js → ripgrep-yk55vtb2.js} +25 -25
- package/dist/chunks/{model-q1xk2b8v.js → ripgrep-ywryrc1x.js} +4 -4
- package/dist/chunks/{model-f9qpw35r.js → ripgrep-z03qmy9y.js} +4 -4
- package/dist/chunks/{model-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → ripgrep-z18fegx4.js} +1 -1
- package/dist/chunks/{model-ywm7vzgw.js → ripgrep-z37bqphs.js} +6 -6
- package/dist/chunks/{model-c4q7v4g7.js → ripgrep-z4tnrsa6.js} +176 -176
- package/dist/chunks/{model-wq3ev71f.js → ripgrep-z7bf8532.js} +6 -6
- package/dist/chunks/{model-6xw3seg4.js → ripgrep-za6yq9hg.js} +5 -5
- package/dist/chunks/{model-dhmh7aw6.js → ripgrep-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-hw24m6dt.js → ripgrep-zdhd8t02.js} +12 -12
- package/dist/chunks/{model-366hmgxs.js → ripgrep-zg0hshr1.js} +5 -5
- package/dist/chunks/{model-z1r9xewk.js → ripgrep-zh0x9fg3.js} +33 -37
- package/dist/chunks/{model-s5vae3n3.js → ripgrep-zhbt7eq1.js} +6 -6
- package/dist/chunks/{model-rb179d86.js → ripgrep-zj9sjr7a.js} +30 -30
- package/dist/chunks/{model-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-0szsamay.js → ripgrep-zvnbwra8.js} +13 -13
- package/dist/chunks/{model-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-nw91k3fh.js → ripgrep-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +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 +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 +116 -116
- 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 +115 -115
- 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 +74 -74
- 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 +81 -81
- 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 +95 -95
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -15
- package/dist/filesystem.js +104 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +105 -105
- 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 +109 -109
- package/dist/mcp/instructions.js +140 -140
- 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 +82 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +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 +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 +118 -118
- 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 +6 -6
- 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 +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- 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 +84 -84
- 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 +136 -136
- package/dist/session/context.js +160 -160
- 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 +219 -219
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +1 -1
- 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 +101 -101
- 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 +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +139 -139
- 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 +121 -121
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- 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 +12 -12
- package/dist/types/filesystem/search.d.ts +4 -8
- package/dist/types/filesystem/watcher.d.ts +6 -49
- package/dist/types/filesystem.d.ts +11 -13
- package/dist/types/permission/saved.d.ts +14 -22
- package/dist/types/permission.d.ts +14 -39
- 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 +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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 +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/model-7fj5dwt0.js +0 -18
- package/dist/chunks/model-b8bsqqcp.js +0 -257
- package/dist/chunks/model-tgfdy5x8.js +0 -26
- /package/dist/chunks/{model-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → ripgrep-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./ripgrep-3n7ky5ef.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-vg6tgr51.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin17 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service78;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin17, exports_hg };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-40dgfgpg.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-82zcy4t3.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-1ffvrpkg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin22 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin22, exports_firecrawl };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info13 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gqtdsdt7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./ripgrep-252xprac.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-qkhw7n0g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID6,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./ripgrep-hbprad8z.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./ripgrep-01mpbv93.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./ripgrep-9g0nchv4.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-82zcy4t3.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./ripgrep-v9fefnh7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./ripgrep-r94pvvab.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID7.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,8 +164,8 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
168
|
-
const bus = yield*
|
|
167
|
+
const providers = yield* Service64;
|
|
168
|
+
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID6.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID6.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,23 +250,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
257
257
|
}));
|
|
258
258
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
259
259
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
260
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
260
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID6.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID6.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID6.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node48
|
|
4
|
+
} from "./ripgrep-sye62zz8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service39,
|
|
20
|
+
node: () => node42
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service39 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service46;
|
|
68
|
+
return Service39.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
75
|
return make21({
|
|
76
|
-
key:
|
|
76
|
+
key: Key4.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node48] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service39, node42, exports_instructions5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./ripgrep-hbprad8z.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID6.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID6.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID6.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node46 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node46, exports_service2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
node47
|
|
7
|
+
} from "./ripgrep-wf8m51n0.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate = {};
|
|
17
17
|
__export(exports_generate, {
|
|
18
18
|
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service14,
|
|
21
21
|
UnavailableError: () => UnavailableError2,
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
22
|
+
layer: () => layer9,
|
|
23
|
+
node: () => node17
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -37,11 +37,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service45;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -71,12 +71,12 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
71
71
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service14.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node17 = makeLocationNode({
|
|
77
|
+
service: Service14,
|
|
78
|
+
layer: layer9,
|
|
79
|
+
deps: [node47, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-82zcy4t3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./ripgrep-252xprac.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-qkhw7n0g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./ripgrep-hbprad8z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID5,
|
|
25
|
+
Info16
|
|
26
|
+
} from "./ripgrep-01mpbv93.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID6.gitlab;
|
|
39
|
+
var integrationID = ID7.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service64;
|
|
61
|
+
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info16.default(providerID, ID5.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID6.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|