@opencode/core 0.0.0-dev-20836 → 0.0.0-dev-20840
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-1tbz6nf6.js → instruction-discovery-00v13zp4.js} +26 -26
- package/dist/chunks/{shell-zgyqwtqb.js → instruction-discovery-013q7qyk.js} +20 -20
- package/dist/chunks/{shell-9vdgkp4d.js → instruction-discovery-03v1g770.js} +10 -10
- package/dist/chunks/{shell-12ghwjj1.js → instruction-discovery-07x6hd07.js} +11 -11
- package/dist/chunks/{shell-dnrdk80a.js → instruction-discovery-0cs4zv4k.js} +32 -32
- package/dist/chunks/{shell-1gm2naxv.js → instruction-discovery-0eyn26b9.js} +17 -17
- package/dist/chunks/{shell-4xtcs679.js → instruction-discovery-0gbd5s62.js} +17 -17
- package/dist/chunks/{shell-x2aynqqh.js → instruction-discovery-0jq9fyba.js} +9 -9
- package/dist/chunks/{shell-mmzf3z6s.js → instruction-discovery-0p635tx0.js} +11 -11
- package/dist/chunks/{shell-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-7rb4b10w.js → instruction-discovery-0pzz74xs.js} +30 -30
- package/dist/chunks/{shell-0vbcp93d.js → instruction-discovery-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-7r0vwa6g.js → instruction-discovery-0vvktwqa.js} +7 -7
- package/dist/chunks/instruction-discovery-14fj7mdh.js +26 -0
- package/dist/chunks/{shell-r5geswyf.js → instruction-discovery-1f58yghe.js} +11 -11
- package/dist/chunks/{shell-5cncgnpd.js → instruction-discovery-1pasrz8p.js} +11 -11
- package/dist/chunks/{shell-rnwakkaz.js → instruction-discovery-1ss6y7et.js} +11 -11
- package/dist/chunks/{shell-y8ccv8ms.js → instruction-discovery-29ry0jec.js} +3 -3
- package/dist/chunks/{shell-18nx2xr7.js → instruction-discovery-2a9d0cmc.js} +22 -22
- package/dist/chunks/{shell-rmk2c50f.js → instruction-discovery-2cmv458r.js} +5 -5
- package/dist/chunks/{shell-fk8bsqye.js → instruction-discovery-2jj4c4zt.js} +16 -16
- package/dist/chunks/{shell-m0r31qfn.js → instruction-discovery-2k71kv7p.js} +4 -4
- package/dist/chunks/{shell-svcw9x3w.js → instruction-discovery-2r93mh4x.js} +5 -5
- package/dist/chunks/{shell-2vvh33eb.js → instruction-discovery-2vvh33eb.js} +2 -2
- package/dist/chunks/{shell-781jxg51.js → instruction-discovery-2xdnazbr.js} +16 -16
- package/dist/chunks/{shell-y2jr2tth.js → instruction-discovery-349j9p8a.js} +30 -30
- package/dist/chunks/{shell-n68bzdq2.js → instruction-discovery-354f5h3z.js} +19 -19
- package/dist/chunks/{shell-3t4kfs4k.js → instruction-discovery-36k4rsrb.js} +16 -16
- package/dist/chunks/{shell-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → instruction-discovery-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-bw9zjykr.js → instruction-discovery-3ppptnan.js} +6 -6
- package/dist/chunks/{shell-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-60prr7yn.js → instruction-discovery-3tmkt29g.js} +31 -31
- package/dist/chunks/{shell-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-6pqc4ehe.js → instruction-discovery-3z1qk93f.js} +4 -4
- package/dist/chunks/{shell-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-xz6xj3j7.js → instruction-discovery-40x1fydz.js} +11 -11
- package/dist/chunks/{shell-hkw96q8r.js → instruction-discovery-44gc5k7t.js} +23 -23
- package/dist/chunks/{shell-ja2m0vt7.js → instruction-discovery-45xt7wxm.js} +5 -5
- package/dist/chunks/{shell-6sy8vh35.js → instruction-discovery-4b6qjr7h.js} +3 -3
- package/dist/chunks/{shell-2eegacq4.js → instruction-discovery-4e8vs6eh.js} +8 -8
- package/dist/chunks/{shell-cgfkqdd2.js → instruction-discovery-4pcdpmjs.js} +5 -5
- package/dist/chunks/{shell-4ts7tf6z.js → instruction-discovery-4ts7tf6z.js} +2 -2
- package/dist/chunks/{shell-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-cdvtns70.js → instruction-discovery-5bpa657r.js} +11 -11
- package/dist/chunks/{shell-jgk7vy4e.js → instruction-discovery-5cfzjc8s.js} +21 -21
- package/dist/chunks/{shell-yya25979.js → instruction-discovery-5en5x0kf.js} +17 -17
- package/dist/chunks/{shell-t5k44akb.js → instruction-discovery-5fg11txv.js} +11 -11
- package/dist/chunks/{shell-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-gbgr221m.js → instruction-discovery-5p9mjmqe.js} +8 -8
- package/dist/chunks/{shell-t9vv0gfe.js → instruction-discovery-5y8sveg1.js} +10 -10
- package/dist/chunks/{shell-nxmdvp48.js → instruction-discovery-5zsyzc28.js} +26 -26
- package/dist/chunks/{shell-m2rp4ttb.js → instruction-discovery-6285nte3.js} +21 -21
- package/dist/chunks/{shell-8n930zqj.js → instruction-discovery-6cc608et.js} +13 -13
- package/dist/chunks/{shell-1qdt2r1d.js → instruction-discovery-6d646j32.js} +20 -20
- package/dist/chunks/{shell-xckyy9vp.js → instruction-discovery-6j2hn9e4.js} +8 -8
- package/dist/chunks/{shell-f0kngnrj.js → instruction-discovery-6p2pmyag.js} +83 -83
- package/dist/chunks/{shell-cns87y7k.js → instruction-discovery-6rkk3bmg.js} +80 -80
- package/dist/chunks/{shell-6xb47vfp.js → instruction-discovery-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-xam4bgke.js → instruction-discovery-72c3g3zh.js} +5 -5
- package/dist/chunks/{shell-35rpdesc.js → instruction-discovery-76tqa8kn.js} +5 -5
- package/dist/chunks/{shell-ft3hqk2c.js → instruction-discovery-79qaa2kf.js} +9 -9
- package/dist/chunks/{shell-sjtbvg8y.js → instruction-discovery-7bgbbv4d.js} +18 -18
- package/dist/chunks/{shell-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-2k8khapm.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-7ap0sxd3.js → instruction-discovery-7ffadgyk.js} +20 -20
- package/dist/chunks/{shell-6zrtch0f.js → instruction-discovery-7pk5n3s1.js} +11 -11
- package/dist/chunks/{shell-7xc78qe9.js → instruction-discovery-7rdq5agd.js} +8 -8
- package/dist/chunks/{shell-kaapnyca.js → instruction-discovery-7sxtqf2f.js} +9 -9
- package/dist/chunks/{shell-epyzcj12.js → instruction-discovery-7zgemx1q.js} +25 -25
- package/dist/chunks/{shell-84txncab.js → instruction-discovery-84txncab.js} +1 -1
- package/dist/chunks/{shell-095d0b2q.js → instruction-discovery-86pav6my.js} +15 -15
- package/dist/chunks/{shell-v6w4sc2a.js → instruction-discovery-8ef3w3za.js} +30 -30
- package/dist/chunks/{shell-ehf2432h.js → instruction-discovery-8h6eptrw.js} +42 -42
- package/dist/chunks/{shell-8m6m0r52.js → instruction-discovery-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-80m9hf21.js → instruction-discovery-8mk801n2.js} +6 -6
- package/dist/chunks/{shell-fgth5ewa.js → instruction-discovery-8q2jmg2k.js} +11 -11
- package/dist/chunks/{shell-pze8725k.js → instruction-discovery-9137mpr7.js} +4 -4
- package/dist/chunks/{shell-91qna3x0.js → instruction-discovery-91qna3x0.js} +3 -3
- package/dist/chunks/{shell-s5j05cd1.js → instruction-discovery-9h13qr2j.js} +4 -4
- package/dist/chunks/{shell-j6yppb8b.js → instruction-discovery-9m0vp2wg.js} +27 -27
- package/dist/chunks/{shell-9bjv0g9x.js → instruction-discovery-9mbzrdn5.js} +21 -21
- package/dist/chunks/{shell-q2atyr5j.js → instruction-discovery-9z5x99zr.js} +11 -11
- package/dist/chunks/{shell-rt72sw9b.js → instruction-discovery-a6ty58hg.js} +2 -2
- package/dist/chunks/{shell-5n34zx7s.js → instruction-discovery-a7p2x4hn.js} +24 -24
- package/dist/chunks/{shell-8kpn7ake.js → instruction-discovery-aa5pp8gg.js} +17 -17
- package/dist/chunks/{shell-t8a7bgyd.js → instruction-discovery-abyq9s79.js} +50 -50
- package/dist/chunks/{shell-rqa1jxse.js → instruction-discovery-adq9f0f4.js} +2 -2
- package/dist/chunks/{shell-5y3m17fh.js → instruction-discovery-affjwcb5.js} +11 -11
- package/dist/chunks/{shell-dt3wh0n6.js → instruction-discovery-at0j0jj5.js} +38 -38
- package/dist/chunks/{shell-w6dgapmz.js → instruction-discovery-aw71ddvx.js} +18 -18
- package/dist/chunks/{shell-thj98scm.js → instruction-discovery-ax9d17m8.js} +13 -13
- package/dist/chunks/{shell-xrv3xw4y.js → instruction-discovery-azwhd2tc.js} +45 -45
- package/dist/chunks/{shell-scgrse2b.js → instruction-discovery-b3f8fkhc.js} +5 -5
- package/dist/chunks/{shell-kttxcb4k.js → instruction-discovery-b9yx8y6b.js} +3 -3
- package/dist/chunks/{shell-7w9gykhe.js → instruction-discovery-be9647t4.js} +5 -5
- package/dist/chunks/{shell-h3k0sdzw.js → instruction-discovery-bgc7kbh3.js} +3 -3
- package/dist/chunks/{shell-1ffvrpkg.js → instruction-discovery-bjx1sjef.js} +6 -6
- package/dist/chunks/{shell-8qb5k9ag.js → instruction-discovery-bpm1eh2k.js} +23 -23
- package/dist/chunks/instruction-discovery-bsemgcs3.js +253 -0
- package/dist/chunks/{shell-v7zxpw2y.js → instruction-discovery-bzh65nen.js} +11 -11
- package/dist/chunks/{shell-es1vcfrp.js → instruction-discovery-c1fqxshp.js} +3 -3
- package/dist/chunks/{shell-szrp9w6e.js → instruction-discovery-c2mkhj0z.js} +8 -8
- package/dist/chunks/{shell-m0n4gwem.js → instruction-discovery-c4317cpf.js} +1 -1
- package/dist/chunks/{shell-g9a82wyw.js → instruction-discovery-c57mtz3s.js} +8 -8
- package/dist/chunks/{shell-2rnn254z.js → instruction-discovery-ca87hkff.js} +18 -18
- package/dist/chunks/{shell-sa6tgskj.js → instruction-discovery-cdrvmw9m.js} +3 -3
- package/dist/chunks/{shell-30cr2dha.js → instruction-discovery-cs8e4cmc.js} +23 -23
- package/dist/chunks/{shell-3e359xfy.js → instruction-discovery-ctzqq1qd.js} +37 -37
- package/dist/chunks/{shell-as35ary9.js → instruction-discovery-d15x96cv.js} +19 -19
- package/dist/chunks/{shell-sc07v166.js → instruction-discovery-dbz40acx.js} +20 -20
- package/dist/chunks/{shell-56zy6jf0.js → instruction-discovery-dgkbzrr7.js} +46 -46
- package/dist/chunks/{shell-gm86421b.js → instruction-discovery-djkfg51f.js} +7 -7
- package/dist/chunks/{shell-cqz0nh3j.js → instruction-discovery-dnk2bync.js} +25 -25
- package/dist/chunks/{shell-pfvzztvg.js → instruction-discovery-dpemy54c.js} +10 -10
- package/dist/chunks/{shell-kfpf96s6.js → instruction-discovery-dqn19q2m.js} +19 -19
- package/dist/chunks/{shell-hcv80w8f.js → instruction-discovery-dys7k0s0.js} +8 -8
- package/dist/chunks/instruction-discovery-e37mevwb.js +513 -0
- package/dist/chunks/{shell-cxpmc4b6.js → instruction-discovery-e9f6ytk7.js} +5 -5
- package/dist/chunks/{shell-eej6y6fw.js → instruction-discovery-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-pzd2mz5f.js → instruction-discovery-ehrv9c33.js} +20 -20
- package/dist/chunks/{shell-nk9gm8qh.js → instruction-discovery-etpda0sw.js} +14 -14
- package/dist/chunks/{shell-prckms5z.js → instruction-discovery-f14emht6.js} +17 -17
- package/dist/chunks/{shell-2qq9qpvb.js → instruction-discovery-f1e3sab5.js} +6 -6
- package/dist/chunks/{shell-d2mdrpz8.js → instruction-discovery-fa9zq5gx.js} +12 -12
- package/dist/chunks/{shell-4verpk1x.js → instruction-discovery-ffam7gj8.js} +16 -16
- package/dist/chunks/{shell-vgb7x8w4.js → instruction-discovery-fh0k82d9.js} +10 -10
- package/dist/chunks/{shell-stc4cdgj.js → instruction-discovery-fmyc3a1p.js} +5 -5
- package/dist/chunks/{shell-00832hy7.js → instruction-discovery-fqhbsnr5.js} +8 -8
- package/dist/chunks/{shell-czt2hbsm.js → instruction-discovery-fvkvqbbt.js} +3 -3
- package/dist/chunks/{shell-g0445xdp.js → instruction-discovery-g0445xdp.js} +1 -1
- package/dist/chunks/{shell-adqsm0r6.js → instruction-discovery-g21pftbj.js} +4 -4
- package/dist/chunks/{shell-w39jehkq.js → instruction-discovery-g6yfr6ja.js} +5 -5
- package/dist/chunks/{shell-gkvpypj0.js → instruction-discovery-gatvvfrq.js} +3 -3
- package/dist/chunks/{shell-e0s1tf5g.js → instruction-discovery-gbztcfes.js} +42 -42
- package/dist/chunks/{shell-5p0nwytn.js → instruction-discovery-gc5gqqes.js} +9 -9
- package/dist/chunks/{shell-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-0fzr6jaa.js → instruction-discovery-gfzqzyz0.js} +6 -6
- package/dist/chunks/{shell-gk8qb678.js → instruction-discovery-gk8qb678.js} +1 -1
- package/dist/chunks/{shell-zwet8thz.js → instruction-discovery-gn0vxyvw.js} +7 -7
- package/dist/chunks/{shell-n4r3xatb.js → instruction-discovery-gst7axd9.js} +4 -4
- package/dist/chunks/{shell-kfqqh2dm.js → instruction-discovery-h0vrang6.js} +9 -9
- package/dist/chunks/{shell-a3hddkr0.js → instruction-discovery-h21ghyap.js} +34 -34
- package/dist/chunks/{shell-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-31xfzrxg.js → instruction-discovery-h7s7r6s9.js} +5 -5
- package/dist/chunks/{shell-btbmdjwj.js → instruction-discovery-h9pnpq88.js} +4 -4
- package/dist/chunks/{shell-35yg89f7.js → instruction-discovery-hcd6s0vj.js} +18 -18
- package/dist/chunks/{shell-xt4njr3s.js → instruction-discovery-he27pt63.js} +1 -1
- package/dist/chunks/{shell-hgz4x7wa.js → instruction-discovery-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-gck135m7.js → instruction-discovery-hkefcp24.js} +3 -3
- package/dist/chunks/{shell-dse4pm89.js → instruction-discovery-hrjwe8en.js} +18 -18
- package/dist/chunks/{shell-zzzndktg.js → instruction-discovery-ht8z247h.js} +15 -15
- package/dist/chunks/{shell-0bg7x39n.js → instruction-discovery-hvzsqqsx.js} +3 -3
- package/dist/chunks/{shell-gzsaks7j.js → instruction-discovery-hycye272.js} +1 -1
- package/dist/chunks/{shell-s35fd452.js → instruction-discovery-j3r6gmvc.js} +4 -4
- package/dist/chunks/{shell-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-8nk70ng7.js → instruction-discovery-j7znaxe9.js} +1 -1
- package/dist/chunks/{shell-thwx1f0b.js → instruction-discovery-javgrsyd.js} +19 -19
- package/dist/chunks/{shell-1fpbjd13.js → instruction-discovery-jf7mfsg7.js} +45 -45
- package/dist/chunks/{shell-84ma1j0m.js → instruction-discovery-jmhkjwrc.js} +24 -24
- package/dist/chunks/{shell-rkprpv83.js → instruction-discovery-jws6fkes.js} +8 -8
- package/dist/chunks/{shell-0vbncn2w.js → instruction-discovery-k0dbnswt.js} +13 -13
- package/dist/chunks/{shell-ny8edt06.js → instruction-discovery-khmqacep.js} +4 -4
- package/dist/chunks/{shell-8x8j3m8g.js → instruction-discovery-kpkbsjrk.js} +16 -16
- package/dist/chunks/{shell-qxq6csq2.js → instruction-discovery-kq88brb5.js} +29 -29
- package/dist/chunks/{shell-pyg4v0b6.js → instruction-discovery-kqx1b4hy.js} +4 -4
- package/dist/chunks/{shell-m9584te0.js → instruction-discovery-krzm7rgx.js} +20 -20
- package/dist/chunks/{shell-659sfxq9.js → instruction-discovery-m2tcdgpb.js} +17 -17
- package/dist/chunks/{shell-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-1m40js80.js → instruction-discovery-maccertz.js} +20 -20
- package/dist/chunks/{shell-f0va00kd.js → instruction-discovery-mbsb5skb.js} +23 -23
- package/dist/chunks/{shell-3g4h444j.js → instruction-discovery-mdjjyzh0.js} +29 -29
- package/dist/chunks/{shell-njq21eak.js → instruction-discovery-mjk9grpt.js} +15 -15
- package/dist/chunks/{shell-48kw51zw.js → instruction-discovery-mkdntajj.js} +3 -3
- package/dist/chunks/{shell-gdp6c8vy.js → instruction-discovery-mytfezrn.js} +16 -16
- package/dist/chunks/{shell-3agx5zz8.js → instruction-discovery-nann43hw.js} +8 -8
- package/dist/chunks/{shell-bacj9t34.js → instruction-discovery-nd4tfyg0.js} +9 -9
- package/dist/chunks/{shell-1mdgqtkc.js → instruction-discovery-nfakef9v.js} +34 -34
- package/dist/chunks/{shell-4ygpxb0s.js → instruction-discovery-njjwfdf0.js} +10 -10
- package/dist/chunks/{shell-e80seqcp.js → instruction-discovery-nma959mg.js} +3 -3
- package/dist/chunks/{shell-00zkxhvn.js → instruction-discovery-npyjj4rp.js} +11 -11
- package/dist/chunks/{shell-863cd04q.js → instruction-discovery-nsqqdt6j.js} +70 -70
- package/dist/chunks/{shell-rfhtn9ck.js → instruction-discovery-pa87kxkp.js} +15 -15
- package/dist/chunks/{shell-1cwr7fas.js → instruction-discovery-pbj47z9e.js} +16 -16
- package/dist/chunks/{shell-4m6jjpz9.js → instruction-discovery-pd63a6br.js} +20 -20
- package/dist/chunks/{shell-4vvq79yt.js → instruction-discovery-pf4f628p.js} +4 -4
- package/dist/chunks/instruction-discovery-phz3h32g.js +18 -0
- package/dist/chunks/{shell-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{shell-af9trwvd.js → instruction-discovery-pn6tb00z.js} +28 -28
- package/dist/chunks/{shell-qmt3zz31.js → instruction-discovery-px7pepp5.js} +11 -11
- package/dist/chunks/{shell-q0xm7vwc.js → instruction-discovery-q0xm7vwc.js} +2 -2
- package/dist/chunks/{shell-47xsw6m2.js → instruction-discovery-q5heszs0.js} +20 -20
- package/dist/chunks/{shell-vj6eysyn.js → instruction-discovery-q8xpgn7z.js} +36 -36
- package/dist/chunks/{shell-0cx75btx.js → instruction-discovery-qafgrsyw.js} +3 -3
- package/dist/chunks/{shell-048e2n3v.js → instruction-discovery-qbkt1j42.js} +12 -12
- package/dist/chunks/{shell-czf8b53q.js → instruction-discovery-qcv6amq6.js} +29 -29
- package/dist/chunks/{shell-rhtc0fgb.js → instruction-discovery-qdanfvrz.js} +17 -17
- package/dist/chunks/{shell-7saes39r.js → instruction-discovery-qh4qnmhp.js} +13 -13
- package/dist/chunks/{shell-qnc92qwc.js → instruction-discovery-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-drwq78ky.js → instruction-discovery-qqeeq2t9.js} +7 -7
- package/dist/chunks/{shell-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-r1ndxyw5.js → instruction-discovery-r01m64ez.js} +8 -8
- package/dist/chunks/{shell-y7jcjyya.js → instruction-discovery-r46dytrv.js} +48 -48
- package/dist/chunks/{shell-jp4jngxf.js → instruction-discovery-rajdm094.js} +29 -29
- package/dist/chunks/{shell-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-ckadtnr7.js → instruction-discovery-re32j193.js} +42 -42
- package/dist/chunks/{shell-e21ryx48.js → instruction-discovery-re585wd9.js} +8 -8
- package/dist/chunks/{shell-tkb22qbm.js → instruction-discovery-rert0e01.js} +2 -2
- package/dist/chunks/{shell-eaj1djv9.js → instruction-discovery-rhjbct0v.js} +8 -8
- package/dist/chunks/{shell-c41wscbt.js → instruction-discovery-rj3eygr5.js} +2 -2
- package/dist/chunks/{shell-mep1d9dn.js → instruction-discovery-rjxw408s.js} +10 -10
- package/dist/chunks/{shell-t95zyfn8.js → instruction-discovery-rn9rfv4g.js} +24 -24
- package/dist/chunks/{shell-8yy53n16.js → instruction-discovery-rvs6eq9b.js} +13 -13
- package/dist/chunks/{shell-mqe4tty6.js → instruction-discovery-s0gd8x5j.js} +22 -22
- package/dist/chunks/{shell-xs9jsb3j.js → instruction-discovery-s2ydx70g.js} +28 -28
- package/dist/chunks/{shell-tm2bkakz.js → instruction-discovery-s4801m28.js} +4 -4
- package/dist/chunks/{shell-rmmawkst.js → instruction-discovery-s70zranf.js} +11 -11
- package/dist/chunks/{shell-c8ax2afj.js → instruction-discovery-sa8ekw3f.js} +2 -2
- package/dist/chunks/{shell-8gw3c03x.js → instruction-discovery-skh2fhmy.js} +11 -11
- package/dist/chunks/{shell-syv4x271.js → instruction-discovery-syv4x271.js} +1 -1
- package/dist/chunks/{shell-9ytn1w1e.js → instruction-discovery-t2fpy6a4.js} +29 -29
- package/dist/chunks/{shell-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{shell-6nk5k72v.js → instruction-discovery-tjgs01qf.js} +11 -11
- package/dist/chunks/{shell-ewnry29n.js → instruction-discovery-tn7xc115.js} +15 -15
- package/dist/chunks/{shell-tyytaxap.js → instruction-discovery-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-v0es1rhs.js → instruction-discovery-v0es1rhs.js} +2 -2
- package/dist/chunks/{shell-dsv7aeby.js → instruction-discovery-v4htay49.js} +5 -5
- package/dist/chunks/{shell-t2fc4mz5.js → instruction-discovery-v5dkyp31.js} +4 -4
- package/dist/chunks/{shell-v7p4zvkq.js → instruction-discovery-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-2nf59dfw.js → instruction-discovery-vf1yw645.js} +15 -15
- package/dist/chunks/{shell-bfv9bv9k.js → instruction-discovery-vgbe0hx2.js} +6 -6
- package/dist/chunks/{shell-vpq4af2z.js → instruction-discovery-vhsntnef.js} +11 -11
- package/dist/chunks/{shell-6v23mrsw.js → instruction-discovery-vjawha9d.js} +11 -11
- package/dist/chunks/{shell-sn52ycrc.js → instruction-discovery-vyq7c4ep.js} +18 -18
- package/dist/chunks/{shell-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-azb66w4c.js → instruction-discovery-vzzm1fs5.js} +15 -15
- package/dist/chunks/{shell-aj3rbcf1.js → instruction-discovery-w1ba7bfx.js} +5 -5
- package/dist/chunks/{shell-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-7cyqmm7n.js → instruction-discovery-w8cfkb27.js} +23 -23
- package/dist/chunks/{shell-txm3e8qz.js → instruction-discovery-waskdk5r.js} +4 -4
- package/dist/chunks/{shell-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{shell-43q6bdaf.js → instruction-discovery-weg71117.js} +2 -2
- package/dist/chunks/{shell-wexd9xpc.js → instruction-discovery-wj1r1ebq.js} +7 -7
- package/dist/chunks/{shell-heqq3mr6.js → instruction-discovery-wkx576x1.js} +20 -20
- package/dist/chunks/{shell-x38knr2x.js → instruction-discovery-wscexn1p.js} +27 -27
- package/dist/chunks/{shell-agdpje3n.js → instruction-discovery-wst2njc5.js} +9 -9
- package/dist/chunks/{shell-7mzdt0w8.js → instruction-discovery-x2kh2bfd.js} +9 -9
- package/dist/chunks/{shell-gqtdsdt7.js → instruction-discovery-x661k3y3.js} +4 -4
- package/dist/chunks/{shell-34493raz.js → instruction-discovery-xb5zqdrm.js} +6 -6
- package/dist/chunks/{shell-4j5fa2df.js → instruction-discovery-xbebwte6.js} +174 -174
- package/dist/chunks/{shell-m5c0yzf1.js → instruction-discovery-xnq97b3q.js} +4 -4
- package/dist/chunks/{shell-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-56bnbftg.js → instruction-discovery-y54hr7f3.js} +9 -9
- package/dist/chunks/{shell-9h5h6fqx.js → instruction-discovery-y5n9ymtk.js} +4 -4
- package/dist/chunks/{shell-y71avatq.js → instruction-discovery-y71avatq.js} +1 -1
- package/dist/chunks/{shell-8gknh66y.js → instruction-discovery-y9sjh7nr.js} +31 -31
- package/dist/chunks/{shell-558ctygn.js → instruction-discovery-ya0wjwqz.js} +2 -2
- package/dist/chunks/{shell-vbr7sme9.js → instruction-discovery-yec7xxa8.js} +11 -11
- package/dist/chunks/{shell-r8xr0va3.js → instruction-discovery-yp2x3t23.js} +4 -4
- package/dist/chunks/{shell-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-r2rrbk91.js → instruction-discovery-z1cyx7dz.js} +13 -13
- package/dist/chunks/{shell-8e1b1gzh.js → instruction-discovery-z2qvtray.js} +6 -6
- package/dist/chunks/{shell-313kwqq3.js → instruction-discovery-z45psjsg.js} +45 -45
- package/dist/chunks/{shell-y8p1cgeb.js → instruction-discovery-z66qdbeq.js} +19 -19
- package/dist/chunks/{shell-0r3c1bmw.js → instruction-discovery-z6c3x22d.js} +5 -5
- package/dist/chunks/{shell-qgbr337s.js → instruction-discovery-z8f4xtsn.js} +30 -30
- package/dist/chunks/{shell-g86bj5d1.js → instruction-discovery-zpmxq5w8.js} +9 -9
- package/dist/chunks/{shell-tnj7jt5w.js → instruction-discovery-zq8zhbxc.js} +37 -37
- package/dist/chunks/{shell-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-4j4tgtq5.js → instruction-discovery-zsr4wwhv.js} +4 -4
- package/dist/chunks/{shell-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-vyjt0ajn.js → instruction-discovery-zyc3n123.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- 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 +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- 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 +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- 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 +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +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 +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/shell-b6v5h50w.js +0 -513
- package/dist/chunks/shell-rap9a73h.js +0 -18
- package/dist/chunks/shell-rvqmnzzm.js +0 -253
- package/dist/chunks/shell-zs1gxd8f.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → instruction-discovery-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-bw78ga2c.js → instruction-discovery-bw78ga2c.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → instruction-discovery-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-pf4f628p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service63,
|
|
7
|
+
node67
|
|
8
|
+
} from "./instruction-discovery-rjxw408s.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID6,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service52,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node55
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID6 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID6,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service52 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service84;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service63;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service52.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node55 = makeLocationNode({
|
|
188
|
+
service: Service52,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node88,
|
|
190
|
+
deps: [node88, node67]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service52, node55, exports_websearch3, Event9 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-29ry0jec.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-pf4f628p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node47
|
|
12
|
+
} from "./instruction-discovery-2xdnazbr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node42
|
|
16
|
+
} from "./instruction-discovery-3ppptnan.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./instruction-discovery-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service37
|
|
26
|
+
} from "./instruction-discovery-gst7axd9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./instruction-discovery-fa9zq5gx.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-v4htay49.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instruction-discovery-013q7qyk.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service36,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node39,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service36 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service71;
|
|
64
|
+
const instances = yield* Service40;
|
|
65
65
|
const bus = yield* Service84;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service45;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer24 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service37.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer24 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service36.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer24 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node39 = makeGlobalNode({
|
|
127
|
+
service: Service36,
|
|
128
|
+
layer: layer17,
|
|
129
|
+
deps: [node75, node42, node88, node89, node47]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service36, terminal2, layer17, node39, noopLayer2, exports_execution };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service58,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node62,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service58 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service58.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node62 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node62, exports_select };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-pf4f628p.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node56
|
|
18
|
+
} from "./instruction-discovery-qdanfvrz.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
31
|
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service34,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node37
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
46
|
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service34 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service84;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service53;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service34.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node37 = makeLocationNode({
|
|
116
|
+
service: Service34,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node88,
|
|
118
|
+
deps: [Global.node, node88, node56]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3, Info6,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service34, node37, exports_reference2, Event6 };
|