@opencode/core 0.0.0-dev-21681 → 0.0.0-dev-21685
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 +3 -3
- package/dist/bus.js +71 -71
- package/dist/chunks/{ripgrep-45zwd69n.js → instruction-discovery-02rpsdwq.js} +39 -39
- package/dist/chunks/{ripgrep-034tev2y.js → instruction-discovery-034tev2y.js} +2 -2
- package/dist/chunks/{ripgrep-xzvgcsw6.js → instruction-discovery-06hkf91z.js} +7 -7
- package/dist/chunks/{ripgrep-jxr5ks98.js → instruction-discovery-06tsrf37.js} +6 -6
- package/dist/chunks/{ripgrep-2sj7hqj2.js → instruction-discovery-0bfbh6xc.js} +28 -28
- package/dist/chunks/{ripgrep-dk5xnaxx.js → instruction-discovery-0p88zpcm.js} +4 -4
- package/dist/chunks/{ripgrep-4ssvmfsy.js → instruction-discovery-0z1qyetw.js} +13 -13
- package/dist/chunks/{ripgrep-sgywbgaj.js → instruction-discovery-1590c3s1.js} +31 -31
- package/dist/chunks/{ripgrep-1ep2p91f.js → instruction-discovery-1ep2p91f.js} +2 -2
- package/dist/chunks/{ripgrep-9b28cy4d.js → instruction-discovery-1vdntpm3.js} +5 -5
- package/dist/chunks/{ripgrep-1x2knyw4.js → instruction-discovery-1x2knyw4.js} +1 -1
- package/dist/chunks/{ripgrep-173t91w5.js → instruction-discovery-1y0wdj51.js} +4 -4
- package/dist/chunks/{ripgrep-bf166mt2.js → instruction-discovery-1y33b0wd.js} +26 -26
- package/dist/chunks/{ripgrep-tasvem1v.js → instruction-discovery-1z6jjy5p.js} +3 -3
- package/dist/chunks/{ripgrep-vb6v44n7.js → instruction-discovery-211y70yv.js} +17 -17
- package/dist/chunks/{ripgrep-rxrz6b15.js → instruction-discovery-27bs79w9.js} +2 -2
- package/dist/chunks/{ripgrep-r1h56z6d.js → instruction-discovery-2cckbrxm.js} +13 -13
- package/dist/chunks/{ripgrep-m1tk4nd6.js → instruction-discovery-2gy537ph.js} +40 -40
- package/dist/chunks/{ripgrep-hyjk9r55.js → instruction-discovery-2hbzz1h7.js} +20 -20
- package/dist/chunks/{ripgrep-qh12k8gp.js → instruction-discovery-2ns20q01.js} +1 -1
- package/dist/chunks/{ripgrep-8bm7axdr.js → instruction-discovery-2xdd02fb.js} +11 -11
- package/dist/chunks/{ripgrep-2z1j29yd.js → instruction-discovery-2z1j29yd.js} +1 -1
- package/dist/chunks/{ripgrep-zssrpzfh.js → instruction-discovery-30nw9pfg.js} +67 -67
- package/dist/chunks/{ripgrep-msfasjrs.js → instruction-discovery-32b2d01b.js} +18 -18
- package/dist/chunks/{ripgrep-dvg9k2dh.js → instruction-discovery-39ebgr3a.js} +26 -26
- package/dist/chunks/{ripgrep-3kk2jwp7.js → instruction-discovery-3c7qpzd7.js} +8 -8
- package/dist/chunks/{ripgrep-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3nnrz6f6.js → instruction-discovery-3nnrz6f6.js} +1 -1
- package/dist/chunks/{ripgrep-s2p2k57b.js → instruction-discovery-45keak5f.js} +15 -15
- package/dist/chunks/{ripgrep-69qhactm.js → instruction-discovery-4bg9qwqs.js} +3 -3
- package/dist/chunks/{ripgrep-sda31fcg.js → instruction-discovery-4c7nxy6x.js} +29 -29
- package/dist/chunks/{ripgrep-3gzarg29.js → instruction-discovery-4g0xe90t.js} +10 -10
- package/dist/chunks/{ripgrep-gb9ye6vs.js → instruction-discovery-4kg35d6f.js} +19 -19
- package/dist/chunks/{ripgrep-4v008n1t.js → instruction-discovery-4v008n1t.js} +1 -1
- package/dist/chunks/{ripgrep-j3eb93p8.js → instruction-discovery-4v651skh.js} +34 -34
- package/dist/chunks/{ripgrep-4xvmh7wp.js → instruction-discovery-4xvmh7wp.js} +3 -3
- package/dist/chunks/{ripgrep-atet4mee.js → instruction-discovery-4z0we31x.js} +14 -14
- package/dist/chunks/{ripgrep-1kzr7jgm.js → instruction-discovery-530caf3d.js} +14 -14
- package/dist/chunks/{ripgrep-0w2ve4np.js → instruction-discovery-54m57xnc.js} +28 -28
- package/dist/chunks/{ripgrep-cza8pqvg.js → instruction-discovery-5e17hjwv.js} +9 -9
- package/dist/chunks/{ripgrep-40za9wsf.js → instruction-discovery-5enarcya.js} +6 -6
- package/dist/chunks/{ripgrep-1m0sdz90.js → instruction-discovery-5hwp3mnm.js} +43 -43
- package/dist/chunks/{ripgrep-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-b6vsg801.js → instruction-discovery-5nnwax6m.js} +5 -5
- package/dist/chunks/{ripgrep-yh0e7xz8.js → instruction-discovery-5vmx498f.js} +32 -32
- package/dist/chunks/{ripgrep-r991pz9h.js → instruction-discovery-5wwswtpf.js} +20 -20
- package/dist/chunks/{ripgrep-cvdn796p.js → instruction-discovery-5xya02hf.js} +14 -14
- package/dist/chunks/{ripgrep-yyjmamy7.js → instruction-discovery-6e8867gw.js} +16 -16
- package/dist/chunks/{ripgrep-6esdw8yj.js → instruction-discovery-6esdw8yj.js} +1 -1
- package/dist/chunks/{ripgrep-k5aja770.js → instruction-discovery-6fcb95c6.js} +8 -8
- package/dist/chunks/{ripgrep-wnvea4fe.js → instruction-discovery-6hkx6zh1.js} +8 -8
- package/dist/chunks/{ripgrep-bqwdyg2t.js → instruction-discovery-6kakegn7.js} +9 -9
- package/dist/chunks/{ripgrep-rgsds9qv.js → instruction-discovery-6np17vve.js} +11 -11
- package/dist/chunks/{ripgrep-6pjqjmy2.js → instruction-discovery-6pjqjmy2.js} +1 -1
- package/dist/chunks/{ripgrep-pef6w6b4.js → instruction-discovery-6t1nvg56.js} +19 -19
- package/dist/chunks/{ripgrep-6nracgmf.js → instruction-discovery-6xe6qe1z.js} +196 -196
- package/dist/chunks/{ripgrep-wj025wy7.js → instruction-discovery-7066n3mz.js} +4 -4
- package/dist/chunks/{ripgrep-nbsqgbhj.js → instruction-discovery-744ctw13.js} +25 -25
- package/dist/chunks/{ripgrep-ye7j7sbs.js → instruction-discovery-769y8set.js} +32 -32
- package/dist/chunks/{ripgrep-8cpd998p.js → instruction-discovery-77afn72v.js} +13 -13
- package/dist/chunks/{ripgrep-tpm1qpxt.js → instruction-discovery-799ckdtf.js} +9 -9
- package/dist/chunks/{ripgrep-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-0t2h4nxf.js → instruction-discovery-7njvtxjk.js} +5 -5
- package/dist/chunks/{ripgrep-7w2ypzdf.js → instruction-discovery-7w2ypzdf.js} +1 -1
- package/dist/chunks/instruction-discovery-83cry12x.js +26 -0
- package/dist/chunks/{ripgrep-d4ctf4tn.js → instruction-discovery-895h3qj5.js} +4 -4
- package/dist/chunks/{ripgrep-rvr9nrxj.js → instruction-discovery-8e6vbpwd.js} +18 -18
- package/dist/chunks/{ripgrep-favmj1rd.js → instruction-discovery-8ev1pcqt.js} +4 -4
- package/dist/chunks/{ripgrep-7kqnvg9k.js → instruction-discovery-8hsv30j4.js} +20 -20
- package/dist/chunks/{ripgrep-8wtp7s3z.js → instruction-discovery-8wtp7s3z.js} +1 -1
- package/dist/chunks/{ripgrep-g1d2dsmd.js → instruction-discovery-917zkqw6.js} +13 -13
- package/dist/chunks/{ripgrep-91rj84md.js → instruction-discovery-91rj84md.js} +1 -1
- package/dist/chunks/{ripgrep-cxsv7r2q.js → instruction-discovery-91vtnk5e.js} +16 -16
- package/dist/chunks/{ripgrep-6xjhb3qk.js → instruction-discovery-94dxmxj3.js} +12 -12
- package/dist/chunks/{ripgrep-0gka690g.js → instruction-discovery-956c56jz.js} +2 -2
- package/dist/chunks/{ripgrep-19nkwpt0.js → instruction-discovery-976c7xh0.js} +17 -17
- package/dist/chunks/{ripgrep-998yhzzq.js → instruction-discovery-998yhzzq.js} +3 -3
- package/dist/chunks/{ripgrep-tnf39wvh.js → instruction-discovery-9btmn35n.js} +46 -46
- package/dist/chunks/{ripgrep-rzbnf15d.js → instruction-discovery-9efckeb8.js} +14 -14
- package/dist/chunks/{ripgrep-mbaagm2q.js → instruction-discovery-9jjdx8qq.js} +28 -28
- package/dist/chunks/{ripgrep-g15zpze4.js → instruction-discovery-9sd5yz6g.js} +23 -23
- package/dist/chunks/{ripgrep-2c9g8tdm.js → instruction-discovery-a1s9yrff.js} +16 -16
- package/dist/chunks/{ripgrep-vdsdnjgz.js → instruction-discovery-a2a47mdn.js} +18 -18
- package/dist/chunks/{ripgrep-cc3tw12v.js → instruction-discovery-afd6s2pj.js} +6 -6
- package/dist/chunks/{ripgrep-k1yj6xhg.js → instruction-discovery-arhpxcwy.js} +19 -19
- package/dist/chunks/{ripgrep-ebjg363t.js → instruction-discovery-asbvzmdg.js} +1 -1
- package/dist/chunks/{ripgrep-ab2zewxm.js → instruction-discovery-ax3f0566.js} +11 -11
- package/dist/chunks/{ripgrep-zpmv8s4j.js → instruction-discovery-axxxggh9.js} +3 -3
- package/dist/chunks/{ripgrep-ayjs7tqn.js → instruction-discovery-ayjs7tqn.js} +2 -2
- package/dist/chunks/{ripgrep-6cmhwkbz.js → instruction-discovery-azzb4j7n.js} +9 -9
- package/dist/chunks/{ripgrep-b0mv4wxm.js → instruction-discovery-b0mv4wxm.js} +2 -2
- package/dist/chunks/{ripgrep-n6v2b7cw.js → instruction-discovery-b50rsrab.js} +5 -5
- package/dist/chunks/{ripgrep-d1v2vbzt.js → instruction-discovery-bjhzkqyk.js} +4 -4
- package/dist/chunks/{ripgrep-mvt93af7.js → instruction-discovery-btwbdc9d.js} +26 -26
- package/dist/chunks/{ripgrep-7za0dwv2.js → instruction-discovery-bxjrsr3w.js} +7 -7
- package/dist/chunks/{ripgrep-9562mf0m.js → instruction-discovery-c3cfh5w6.js} +9 -9
- package/dist/chunks/{ripgrep-aeb4sny1.js → instruction-discovery-c5c0bz0t.js} +5 -5
- package/dist/chunks/{ripgrep-s62g5239.js → instruction-discovery-c75qkfpz.js} +47 -47
- package/dist/chunks/{ripgrep-kya6vn2v.js → instruction-discovery-c8m57xn7.js} +6 -6
- package/dist/chunks/{ripgrep-310tqm6v.js → instruction-discovery-cyq9fb3q.js} +4 -4
- package/dist/chunks/{ripgrep-d2887f8n.js → instruction-discovery-d2887f8n.js} +1 -1
- package/dist/chunks/{ripgrep-d4v9tmah.js → instruction-discovery-d4v9tmah.js} +2 -2
- package/dist/chunks/{ripgrep-77w2yzyb.js → instruction-discovery-d5xa8env.js} +11 -11
- package/dist/chunks/{ripgrep-jfy2z3aw.js → instruction-discovery-dacekyg1.js} +21 -21
- package/dist/chunks/{ripgrep-41scb8pj.js → instruction-discovery-dgj4ks8n.js} +21 -21
- package/dist/chunks/{ripgrep-033a0jkt.js → instruction-discovery-dh62xe4r.js} +3 -3
- package/dist/chunks/{ripgrep-k47d96va.js → instruction-discovery-dsgd38cz.js} +10 -10
- package/dist/chunks/{ripgrep-zs0pprga.js → instruction-discovery-dtq3ahye.js} +32 -32
- package/dist/chunks/{ripgrep-5yps8vga.js → instruction-discovery-dvte4szm.js} +5 -5
- package/dist/chunks/{ripgrep-ky596kc3.js → instruction-discovery-e45fk36t.js} +4 -4
- package/dist/chunks/{ripgrep-xyh4h3t6.js → instruction-discovery-e47h3fva.js} +3 -3
- package/dist/chunks/{ripgrep-jchrqzf6.js → instruction-discovery-e5dqjz6v.js} +4 -4
- package/dist/chunks/{ripgrep-ev4vjjv8.js → instruction-discovery-e7ha8gsg.js} +12 -12
- package/dist/chunks/{ripgrep-e834z07m.js → instruction-discovery-e834z07m.js} +1 -1
- package/dist/chunks/{ripgrep-30v5g7xx.js → instruction-discovery-ecqm0jsy.js} +5 -5
- package/dist/chunks/{ripgrep-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-4fjhw8k6.js → instruction-discovery-en1fsfyg.js} +6 -6
- package/dist/chunks/{ripgrep-qqtfakpy.js → instruction-discovery-eqfewtt2.js} +13 -13
- package/dist/chunks/{ripgrep-a17pc1jp.js → instruction-discovery-ezb8g5mg.js} +6 -6
- package/dist/chunks/{ripgrep-txe6hs0a.js → instruction-discovery-f2tyvzem.js} +8 -8
- package/dist/chunks/{ripgrep-bayr563p.js → instruction-discovery-f4p9w5yx.js} +16 -16
- package/dist/chunks/{ripgrep-x3h41a9f.js → instruction-discovery-f6s8y378.js} +7 -7
- package/dist/chunks/{ripgrep-fffv3p7h.js → instruction-discovery-fffv3p7h.js} +1 -1
- package/dist/chunks/{ripgrep-sxnrxfca.js → instruction-discovery-fhrrk2wn.js} +17 -17
- package/dist/chunks/{ripgrep-dsnzvv9e.js → instruction-discovery-fnnrv9gt.js} +4 -4
- package/dist/chunks/{ripgrep-r4zhn8a3.js → instruction-discovery-g1xkvxp8.js} +8 -8
- package/dist/chunks/{ripgrep-g5h9c0rr.js → instruction-discovery-g5h9c0rr.js} +2 -2
- package/dist/chunks/{ripgrep-drxfbsjt.js → instruction-discovery-ga3f1nea.js} +19 -19
- package/dist/chunks/{ripgrep-r2nqe40b.js → instruction-discovery-gdv3e3ns.js} +14 -14
- package/dist/chunks/{ripgrep-vtz4zgjw.js → instruction-discovery-gfxq0zq2.js} +9 -9
- package/dist/chunks/{ripgrep-z6mg6m9w.js → instruction-discovery-ggb9x9sh.js} +4 -4
- package/dist/chunks/{ripgrep-tdzaz51m.js → instruction-discovery-gqz3wpgd.js} +11 -11
- package/dist/chunks/{ripgrep-7hw2cvx7.js → instruction-discovery-grxvpwc8.js} +27 -27
- package/dist/chunks/{ripgrep-f4wjqfv3.js → instruction-discovery-gxe7mkgn.js} +11 -11
- package/dist/chunks/{ripgrep-q5ksxkha.js → instruction-discovery-h4p3pyf8.js} +6 -6
- package/dist/chunks/instruction-discovery-hcne681p.js +257 -0
- package/dist/chunks/{ripgrep-m1qkddhn.js → instruction-discovery-hetnczqw.js} +2 -2
- package/dist/chunks/{ripgrep-h3r7ht18.js → instruction-discovery-hj5ewp7g.js} +34 -34
- package/dist/chunks/{ripgrep-npgkeycb.js → instruction-discovery-hnypkknm.js} +14 -14
- package/dist/chunks/{ripgrep-heq6tkdz.js → instruction-discovery-hsex03fq.js} +15 -15
- package/dist/chunks/{ripgrep-qaxt5sce.js → instruction-discovery-htnm7734.js} +4 -4
- package/dist/chunks/{ripgrep-tg1vr1qt.js → instruction-discovery-hw621kav.js} +8 -8
- package/dist/chunks/{ripgrep-ny49cbs5.js → instruction-discovery-hwackvbn.js} +33 -33
- package/dist/chunks/{ripgrep-j113cymg.js → instruction-discovery-j113cymg.js} +1 -1
- package/dist/chunks/{ripgrep-k28jwpmn.js → instruction-discovery-j17fdswx.js} +1 -1
- package/dist/chunks/{ripgrep-ygj7qvsn.js → instruction-discovery-j4c7ztsh.js} +30 -30
- package/dist/chunks/{ripgrep-a8m490ta.js → instruction-discovery-j76t8jdc.js} +50 -50
- package/dist/chunks/{ripgrep-73h6c5mr.js → instruction-discovery-jas4yhkp.js} +11 -11
- package/dist/chunks/{ripgrep-0xt5rh38.js → instruction-discovery-jd4w9jy7.js} +10 -10
- package/dist/chunks/{ripgrep-zjner7m4.js → instruction-discovery-jp3vw6vz.js} +11 -11
- package/dist/chunks/{ripgrep-he4vfjva.js → instruction-discovery-jppsgv8k.js} +28 -28
- package/dist/chunks/{ripgrep-g9ndtp1p.js → instruction-discovery-jy2czfqv.js} +4 -4
- package/dist/chunks/{ripgrep-pj2bksq9.js → instruction-discovery-jz5grvbc.js} +7 -7
- package/dist/chunks/{ripgrep-pw806jn0.js → instruction-discovery-jzfegvfv.js} +20 -20
- package/dist/chunks/{ripgrep-k814nvkf.js → instruction-discovery-k814nvkf.js} +1 -1
- package/dist/chunks/{ripgrep-95gg0e1q.js → instruction-discovery-ka0113cw.js} +20 -20
- package/dist/chunks/{ripgrep-kd1werbb.js → instruction-discovery-kam2skhz.js} +10 -10
- package/dist/chunks/{ripgrep-gybx331m.js → instruction-discovery-kawh22nd.js} +18 -18
- package/dist/chunks/{ripgrep-sfw989kw.js → instruction-discovery-kkvzkess.js} +2 -2
- package/dist/chunks/{ripgrep-t9q01d30.js → instruction-discovery-ksdwf8r1.js} +23 -23
- package/dist/chunks/{ripgrep-9ejpa58f.js → instruction-discovery-kw6kdjw7.js} +5 -5
- package/dist/chunks/{ripgrep-m1714858.js → instruction-discovery-m1714858.js} +1 -1
- package/dist/chunks/{ripgrep-vmfhgzt5.js → instruction-discovery-m37sd98t.js} +4 -4
- package/dist/chunks/{ripgrep-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-maspj1v3.js → instruction-discovery-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-q6v380sb.js → instruction-discovery-mfwfc967.js} +12 -12
- package/dist/chunks/{ripgrep-a1tbznxp.js → instruction-discovery-mghkatew.js} +14 -14
- package/dist/chunks/{ripgrep-5as2v2bz.js → instruction-discovery-mhgesy0s.js} +11 -11
- package/dist/chunks/{ripgrep-3mzdfzhq.js → instruction-discovery-mpa2ejqj.js} +3 -3
- package/dist/chunks/instruction-discovery-mrc3e54s.js +523 -0
- package/dist/chunks/{ripgrep-n0p0277s.js → instruction-discovery-n0p0277s.js} +1 -1
- package/dist/chunks/{ripgrep-6cg3ssar.js → instruction-discovery-n40jn0ye.js} +32 -32
- package/dist/chunks/{ripgrep-mxf70ac4.js → instruction-discovery-n58eb8yn.js} +4 -4
- package/dist/chunks/{ripgrep-pb1qprq3.js → instruction-discovery-n8ytzayn.js} +22 -22
- package/dist/chunks/{ripgrep-770pw0s1.js → instruction-discovery-nah043kf.js} +4 -4
- package/dist/chunks/{ripgrep-d2455waf.js → instruction-discovery-nr3623c1.js} +23 -23
- package/dist/chunks/{ripgrep-jrcyk1qp.js → instruction-discovery-nrybcd8t.js} +48 -48
- package/dist/chunks/{ripgrep-7nn3h2cy.js → instruction-discovery-nwed43a8.js} +35 -35
- package/dist/chunks/{ripgrep-vgjn3sfz.js → instruction-discovery-nzjpq5nr.js} +8 -8
- package/dist/chunks/{ripgrep-p015t6z3.js → instruction-discovery-p015t6z3.js} +2 -2
- package/dist/chunks/{ripgrep-y4vtynzt.js → instruction-discovery-p16pb49z.js} +17 -17
- package/dist/chunks/{ripgrep-pyrm1t89.js → instruction-discovery-p6f33tkb.js} +21 -21
- package/dist/chunks/{ripgrep-p7vhpwh8.js → instruction-discovery-p7vhpwh8.js} +1 -1
- package/dist/chunks/{ripgrep-g33nfd42.js → instruction-discovery-p8mgpvfs.js} +9 -9
- package/dist/chunks/{ripgrep-j7xyg8fd.js → instruction-discovery-pazke3n5.js} +28 -28
- package/dist/chunks/{ripgrep-bsxvja55.js → instruction-discovery-pchh79h1.js} +18 -18
- package/dist/chunks/{ripgrep-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-kp2rkay2.js → instruction-discovery-pndg7662.js} +23 -23
- package/dist/chunks/{ripgrep-w2c2mnmy.js → instruction-discovery-ptd3w0tf.js} +17 -17
- package/dist/chunks/{ripgrep-5xp2x48q.js → instruction-discovery-ptzd8h59.js} +50 -50
- package/dist/chunks/{ripgrep-qj3jeqzz.js → instruction-discovery-pw0xvpce.js} +56 -56
- package/dist/chunks/{ripgrep-mrcj6822.js → instruction-discovery-q0yh9qyr.js} +4 -4
- package/dist/chunks/{ripgrep-ycgbrrj2.js → instruction-discovery-qh1vdqqc.js} +11 -11
- package/dist/chunks/{ripgrep-qjgzc4b4.js → instruction-discovery-qjgzc4b4.js} +1 -1
- package/dist/chunks/{ripgrep-wy7xqtjs.js → instruction-discovery-qjne94dq.js} +33 -33
- package/dist/chunks/instruction-discovery-qmh7vbk2.js +18 -0
- package/dist/chunks/{ripgrep-jpqadng4.js → instruction-discovery-qwqr63vh.js} +17 -17
- package/dist/chunks/{ripgrep-50vfe0ee.js → instruction-discovery-qybjhjrg.js} +28 -28
- package/dist/chunks/{ripgrep-r0yr0wbs.js → instruction-discovery-r0yr0wbs.js} +1 -1
- package/dist/chunks/{ripgrep-6p7ksc7d.js → instruction-discovery-r44rfmgw.js} +14 -14
- package/dist/chunks/{ripgrep-jkacm1w4.js → instruction-discovery-r47an33t.js} +3 -3
- package/dist/chunks/{ripgrep-tdd1rwdg.js → instruction-discovery-r7tcy11j.js} +5 -5
- package/dist/chunks/{ripgrep-rb9dy4dg.js → instruction-discovery-rb9dy4dg.js} +1 -1
- package/dist/chunks/{ripgrep-94drbbkf.js → instruction-discovery-revxvk9s.js} +28 -28
- package/dist/chunks/{ripgrep-1b015yat.js → instruction-discovery-rfs27yzd.js} +11 -11
- package/dist/chunks/{ripgrep-fhbtev1x.js → instruction-discovery-rgv8ccnj.js} +21 -21
- package/dist/chunks/{ripgrep-j5e0tcqv.js → instruction-discovery-rmt6m6se.js} +9 -9
- package/dist/chunks/{ripgrep-r96bqt38.js → instruction-discovery-rp1ha6gz.js} +7 -7
- package/dist/chunks/{ripgrep-0bzett23.js → instruction-discovery-rqmvfmcr.js} +17 -17
- package/dist/chunks/{ripgrep-rt5dr6hb.js → instruction-discovery-rt5dr6hb.js} +1 -1
- package/dist/chunks/{ripgrep-wg9ke37f.js → instruction-discovery-rx02erg5.js} +35 -35
- package/dist/chunks/{ripgrep-k60h0mqe.js → instruction-discovery-s1fwbtwx.js} +15 -15
- package/dist/chunks/{ripgrep-rwvswa9y.js → instruction-discovery-s2pfznc4.js} +6 -6
- package/dist/chunks/{ripgrep-8yamfpxb.js → instruction-discovery-s4gh6t7c.js} +32 -32
- package/dist/chunks/{ripgrep-rjb5m6wk.js → instruction-discovery-s866dxyg.js} +21 -21
- package/dist/chunks/{ripgrep-2j72hntm.js → instruction-discovery-s91x7ka3.js} +21 -21
- package/dist/chunks/{ripgrep-3g7mg7sy.js → instruction-discovery-s9z6tqcd.js} +15 -15
- package/dist/chunks/{ripgrep-ht9phm2k.js → instruction-discovery-sfpq3tbz.js} +5 -5
- package/dist/chunks/{ripgrep-vtr9dtkz.js → instruction-discovery-sgr7cxxz.js} +13 -13
- package/dist/chunks/{ripgrep-mnad9545.js → instruction-discovery-sn8kn0k4.js} +45 -45
- package/dist/chunks/{ripgrep-1gn07jkh.js → instruction-discovery-snzpnf52.js} +47 -47
- package/dist/chunks/{ripgrep-jae53m2x.js → instruction-discovery-spa8vgy8.js} +8 -8
- package/dist/chunks/{ripgrep-sqjzf8x2.js → instruction-discovery-sqjzf8x2.js} +1 -1
- package/dist/chunks/{ripgrep-sp56zrrh.js → instruction-discovery-sqks5mt8.js} +33 -33
- package/dist/chunks/{ripgrep-qvw98tg0.js → instruction-discovery-sv2aw4yq.js} +5 -5
- package/dist/chunks/{ripgrep-jnztxn4f.js → instruction-discovery-sxbjjvas.js} +24 -24
- package/dist/chunks/{ripgrep-wmjzvx4b.js → instruction-discovery-t211gxpv.js} +4 -4
- package/dist/chunks/{ripgrep-e70s01gt.js → instruction-discovery-t7npxncv.js} +10 -10
- package/dist/chunks/{ripgrep-w7svd9fv.js → instruction-discovery-t7sqmb9b.js} +24 -24
- package/dist/chunks/{ripgrep-s0kw0bab.js → instruction-discovery-taw06fa3.js} +21 -21
- package/dist/chunks/{ripgrep-883mde3e.js → instruction-discovery-tbr3q4wq.js} +42 -42
- package/dist/chunks/{ripgrep-tczq8hjw.js → instruction-discovery-tczq8hjw.js} +1 -1
- package/dist/chunks/{ripgrep-7dbx9kd5.js → instruction-discovery-ths2029g.js} +18 -18
- package/dist/chunks/{ripgrep-6w73wc21.js → instruction-discovery-tvqpdctp.js} +17 -17
- package/dist/chunks/{ripgrep-tw8zr1ps.js → instruction-discovery-tw8zr1ps.js} +1 -1
- package/dist/chunks/{ripgrep-1fxyteqg.js → instruction-discovery-twhjf934.js} +89 -89
- package/dist/chunks/{ripgrep-twv2r8f4.js → instruction-discovery-twv2r8f4.js} +2 -2
- package/dist/chunks/{ripgrep-jqy0757m.js → instruction-discovery-tzjzgnfr.js} +10 -10
- package/dist/chunks/{ripgrep-4fht16ez.js → instruction-discovery-v15rxc3h.js} +33 -33
- package/dist/chunks/{ripgrep-v2r1d0zg.js → instruction-discovery-v2r1d0zg.js} +1 -1
- package/dist/chunks/{ripgrep-vd3b3yk9.js → instruction-discovery-vd3b3yk9.js} +1 -1
- package/dist/chunks/{ripgrep-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-2553426h.js → instruction-discovery-vh9wejw9.js} +42 -42
- package/dist/chunks/{ripgrep-kxt91f54.js → instruction-discovery-vkmt8npp.js} +33 -33
- package/dist/chunks/{ripgrep-c4fe50v7.js → instruction-discovery-vt5qfbts.js} +4 -4
- package/dist/chunks/{ripgrep-294s6qh9.js → instruction-discovery-vwrkd0tw.js} +14 -14
- package/dist/chunks/{ripgrep-hzrfc1p4.js → instruction-discovery-vx3jgdek.js} +3 -3
- package/dist/chunks/{ripgrep-xwxay0k0.js → instruction-discovery-w3qk2d3s.js} +35 -35
- package/dist/chunks/{ripgrep-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-w687dnns.js → instruction-discovery-w687dnns.js} +1 -1
- package/dist/chunks/{ripgrep-76cb1hcw.js → instruction-discovery-w8qtt4th.js} +4 -4
- package/dist/chunks/{ripgrep-wakvkjy4.js → instruction-discovery-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-40xdmnq6.js → instruction-discovery-wc1rrhfs.js} +37 -37
- package/dist/chunks/{ripgrep-5g9sd2wr.js → instruction-discovery-wd0mghyc.js} +5 -5
- package/dist/chunks/{ripgrep-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-94ggdtye.js → instruction-discovery-wexbz3y3.js} +10 -10
- package/dist/chunks/{ripgrep-m7t05s3q.js → instruction-discovery-wn0pby43.js} +7 -7
- package/dist/chunks/{ripgrep-6cjq3rwx.js → instruction-discovery-wnvrcxtc.js} +14 -14
- package/dist/chunks/{ripgrep-dj23h38q.js → instruction-discovery-wp1vb0e3.js} +20 -20
- package/dist/chunks/{ripgrep-fx9xfnkv.js → instruction-discovery-wqbj2nsw.js} +9 -9
- package/dist/chunks/{ripgrep-bt7pct3b.js → instruction-discovery-wvpfhzx7.js} +21 -21
- package/dist/chunks/{ripgrep-y5qe5mc0.js → instruction-discovery-wyr759tm.js} +19 -19
- package/dist/chunks/{ripgrep-vd41439j.js → instruction-discovery-wz66500m.js} +18 -18
- package/dist/chunks/{ripgrep-xngkbgfx.js → instruction-discovery-x10b8zya.js} +15 -15
- package/dist/chunks/{ripgrep-cckz6hvv.js → instruction-discovery-x1g9xmqt.js} +16 -16
- package/dist/chunks/{ripgrep-rvv5zxkv.js → instruction-discovery-x4y0yvq7.js} +7 -7
- package/dist/chunks/{ripgrep-fkjeaz1p.js → instruction-discovery-xak61r58.js} +89 -89
- package/dist/chunks/{ripgrep-gk7y8xcq.js → instruction-discovery-xaz7g2t8.js} +4 -4
- package/dist/chunks/{ripgrep-bstexjd6.js → instruction-discovery-xd9cc171.js} +5 -5
- package/dist/chunks/{ripgrep-aqb8zn2t.js → instruction-discovery-xk1htaes.js} +32 -32
- package/dist/chunks/{ripgrep-yb20nhc3.js → instruction-discovery-yb20nhc3.js} +1 -1
- package/dist/chunks/{ripgrep-6paamakb.js → instruction-discovery-ykdavcmn.js} +11 -11
- package/dist/chunks/{ripgrep-bkwbn9k7.js → instruction-discovery-yye1fjts.js} +12 -12
- package/dist/chunks/{ripgrep-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z38nccrw.js → instruction-discovery-z38nccrw.js} +1 -1
- package/dist/chunks/{ripgrep-2k3taesa.js → instruction-discovery-z5wdff31.js} +11 -11
- package/dist/chunks/{ripgrep-8krb2gbb.js → instruction-discovery-zhfftf23.js} +9 -9
- package/dist/chunks/{ripgrep-zkg84ctx.js → instruction-discovery-zkg84ctx.js} +1 -1
- package/dist/chunks/{ripgrep-8922dvha.js → instruction-discovery-znvxebx5.js} +18 -18
- package/dist/chunks/{ripgrep-p0e8hqgq.js → instruction-discovery-zxb8j96g.js} +35 -35
- package/dist/chunks/{ripgrep-f80yq6ab.js → instruction-discovery-zy3qe4qg.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +118 -118
- 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 +3 -3
- 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 +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +1 -1
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- 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 +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +95 -95
- 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 +109 -109
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +123 -123
- 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-context-caps.js +92 -92
- 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 +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +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 +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- 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 +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 +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- 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 +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- 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 +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 +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- 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 +105 -105
- 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 +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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 +102 -102
- package/package.json +8 -8
- package/dist/chunks/ripgrep-4my81qaj.js +0 -18
- package/dist/chunks/ripgrep-6ha07q56.js +0 -523
- package/dist/chunks/ripgrep-ca5mcr31.js +0 -26
- package/dist/chunks/ripgrep-dnqjcqs4.js +0 -257
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5fjb7ams.js → instruction-discovery-5fjb7ams.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a058387c.js → instruction-discovery-a058387c.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → instruction-discovery-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-bjhzkqyk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-vt5qfbts.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./instruction-discovery-pazke3n5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-1y33b0wd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./instruction-discovery-54m57xnc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./instruction-discovery-hj5ewp7g.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-ax3f0566.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-8ev1pcqt.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./instruction-discovery-4kg35d6f.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instruction-discovery-3nnrz6f6.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: ID14.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ 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*
|
|
167
|
+
const providers = yield* Service78;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,7 +181,7 @@ 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(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ 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(ID13.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -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(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.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(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.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 !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ 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 !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID13.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID13.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: ID10.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: ID13.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID13.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: ID13.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID13.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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./instruction-discovery-4kg35d6f.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./instruction-discovery-spa8vgy8.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-7066n3mz.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./instruction-discovery-c75qkfpz.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin3
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin3 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service50;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin50 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin3, exports_agent };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./instruction-discovery-c75qkfpz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service5
|
|
6
|
+
} from "./instruction-discovery-799ckdtf.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
|
+
const policy = yield* Service5;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin49 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_location_watcher2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-4bg9qwqs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./instruction-discovery-s2pfznc4.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qmh7vbk2.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-wn0pby43.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-s4gh6t7c.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service29
|
|
18
|
+
} from "./instruction-discovery-xak61r58.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-n0p0277s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service48;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-5enarcya.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin22 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin8 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin22, exports_exa };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-54m57xnc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./instruction-discovery-hj5ewp7g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin31,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin31 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service77;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin31, exports_verbosity };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node7, exports_update };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./instruction-discovery-j76t8jdc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./instruction-discovery-vh9wejw9.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-p6f33tkb.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin48
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin48 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service35;
|
|
29
|
+
const permission = yield* Service70;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin22 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin48, exports_mcp_resource };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node64
|
|
4
|
+
} from "./instruction-discovery-hnypkknm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service27,
|
|
7
|
+
node30
|
|
8
|
+
} from "./instruction-discovery-twhjf934.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service27;
|
|
30
|
+
const jobs = yield* Service62;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node30, node64]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|