@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
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
node: () => node42
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service40 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service40, node42, exports_service2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-pf4f628p.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-ya0wjwqz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service58,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node62
|
|
13
|
+
} from "./instruction-discovery-d15x96cv.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node18
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service81;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service58;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node18 = makeLocationNode({
|
|
273
|
+
service: Service16,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node88, node85,
|
|
275
|
+
deps: [node88, node85, node62]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service16, node18, exports_pty, Event3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-rn9rfv4g.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-a7p2x4hn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-rn9rfv4g.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-a7p2x4hn.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./instruction-discovery-at0j0jj5.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-hvzsqqsx.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin28
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin28 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service59;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin28, exports_provider };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-29ry0jec.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node60
|
|
18
|
+
} from "./instruction-discovery-z2qvtray.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID7,
|
|
31
|
+
Info: () => Info10,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
33
|
Service: () => Service56,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured6,
|
|
36
|
+
node: () => node59
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info10 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID7,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,11 +52,11 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
@@ -64,10 +64,10 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
64
64
|
|
|
65
65
|
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var configured6 = (options = {}) => makeGlobalNode({
|
|
68
68
|
service: Service56,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node60]
|
|
71
71
|
});
|
|
72
72
|
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info10({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -166,7 +166,7 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
167
|
return Service56.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node59 = configured6();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info10, NotFound2, CreateConflict2, Service56, configured6, node59, exports_workspace };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-0pzz74xs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-8ef3w3za.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instruction-discovery-a7p2x4hn.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service73,
|
|
10
|
+
node: () => node77
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service73 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service73.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service73, node77, exports_hooks };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./instruction-discovery-rn9rfv4g.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-q0xm7vwc.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service27.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node30 = makeGlobalNode({ service: Service27, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service27, makeLayer2, layer12, node30, exports_model_transport };
|