@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-vt5qfbts.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./instruction-discovery-ptd3w0tf.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./instruction-discovery-54m57xnc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service77,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node81,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info21 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service77 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service78;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service82;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
216
216
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
yield* bus.subscribe(
|
|
220
|
-
return
|
|
219
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service77.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node89, node86] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -260,12 +260,12 @@ function compatibility2(input) {
|
|
|
260
260
|
return;
|
|
261
261
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function parse4(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service77, node81, supportsText2, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./instruction-discovery-jd4w9jy7.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service62,
|
|
20
20
|
make: () => make18,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service62 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make18 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service76;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make18 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service62.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make18 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service62, make18);
|
|
360
|
+
var node64 = makeGlobalNode({ service: Service62, layer, deps: [node80] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service62, make18, node64, exports_job };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-4bg9qwqs.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-e5dqjz6v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service40 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service40.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service40, node43, exports_instruction_entry };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin36,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin36 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin36, exports_identity };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service7,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service7 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service7,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service7, node8, bound2, exports_instance2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-vt5qfbts.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./instruction-discovery-mfwfc967.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./instruction-discovery-ptd3w0tf.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-qmh7vbk2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service51,
|
|
18
|
+
node53
|
|
19
|
+
} from "./instruction-discovery-wz66500m.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./instruction-discovery-jzfegvfv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service5,
|
|
25
|
+
node6
|
|
26
|
+
} from "./instruction-discovery-799ckdtf.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service82;
|
|
47
|
+
const watcher = yield* Service51;
|
|
48
48
|
const bus = yield* Service85;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
|
+
const policy = yield* Service5;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node53, FSUtil.node, node86, node88, node89, node23, node6]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./instruction-discovery-wz66500m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./instruction-discovery-ptd3w0tf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./instruction-discovery-c75qkfpz.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./instruction-discovery-ksdwf8r1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./instruction-discovery-rmt6m6se.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-en1fsfyg.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
scan2
|
|
27
|
+
} from "./instruction-discovery-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill = {};
|
|
34
|
+
__export(exports_skill, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
36
|
+
Plugin: () => Plugin7
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin7 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service50;
|
|
47
|
+
const discovery = yield* Service8;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service82;
|
|
51
|
+
const watcher = yield* Service51;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin42 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,13 +116,13 @@ var Plugin42 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source3.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
123
123
|
const skills = [];
|
|
124
124
|
for (const directory of directories) {
|
|
125
|
-
for (const filepath of yield*
|
|
125
|
+
for (const filepath of yield* scan2(directory)) {
|
|
126
126
|
const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
|
|
127
127
|
if (!roots.some((root) => FSUtil.contains(root, resolved)))
|
|
128
128
|
yield* watch(resolved, "file");
|
|
@@ -144,7 +144,7 @@ var Plugin42 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source3.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin42 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source3.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin42 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin7, exports_skill };
|