@opencode/core 0.0.0-dev-21207 → 0.0.0-dev-21215
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 +77 -77
- package/dist/chunks/{persistent-pty-rtvdsvz0.js → credential-06nq0k6z.js} +13 -13
- package/dist/chunks/{persistent-pty-0b5g1ynf.js → credential-0b5g1ynf.js} +4 -4
- package/dist/chunks/{persistent-pty-e0pc35xj.js → credential-0cmwrtj6.js} +39 -39
- package/dist/chunks/{persistent-pty-g1kxasap.js → credential-0dyyysyc.js} +17 -17
- package/dist/chunks/{persistent-pty-catab2z7.js → credential-0f85jzr4.js} +3 -3
- package/dist/chunks/{persistent-pty-pb1esjts.js → credential-0p78r4x4.js} +10 -10
- package/dist/chunks/{persistent-pty-0bamrq62.js → credential-0pvv1c5q.js} +17 -17
- package/dist/chunks/{persistent-pty-0vbcp93d.js → credential-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-bzeyqsqd.js → credential-1ep4rre3.js} +4 -4
- package/dist/chunks/{persistent-pty-dcvyzbc9.js → credential-1gy2kdvj.js} +26 -26
- package/dist/chunks/{persistent-pty-0e4dr41z.js → credential-1sbg73nq.js} +33 -33
- package/dist/chunks/{persistent-pty-1mgnj47k.js → credential-1yamg18a.js} +3 -3
- package/dist/chunks/{persistent-pty-pxmy34vh.js → credential-1zyqs4bv.js} +13 -13
- package/dist/chunks/{persistent-pty-vvgahrge.js → credential-20jjewhm.js} +31 -31
- package/dist/chunks/{persistent-pty-1nwxscpy.js → credential-2cmv458r.js} +5 -5
- package/dist/chunks/{persistent-pty-39vged4c.js → credential-2jygy2ed.js} +17 -17
- package/dist/chunks/{persistent-pty-7y5ptgp2.js → credential-2v16nk6n.js} +11 -11
- package/dist/chunks/{persistent-pty-76nj6dhf.js → credential-30vr69rm.js} +7 -7
- package/dist/chunks/{persistent-pty-bgfh09k4.js → credential-380xsyfr.js} +14 -14
- package/dist/chunks/{persistent-pty-t6dt94yt.js → credential-3chf03wh.js} +11 -11
- package/dist/chunks/{persistent-pty-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3hwn7j4h.js → credential-3hwn7j4h.js} +2 -2
- package/dist/chunks/{persistent-pty-v9ncrnjw.js → credential-3rt8v641.js} +9 -9
- package/dist/chunks/{persistent-pty-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-zswavtpb.js → credential-3w6712nq.js} +2 -2
- package/dist/chunks/{persistent-pty-3zsf4n22.js → credential-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-7g7x9kjy.js → credential-43vcnrrz.js} +8 -8
- package/dist/chunks/{persistent-pty-gm31ynds.js → credential-461nxmbv.js} +5 -5
- package/dist/chunks/credential-4dnkb904.js +257 -0
- package/dist/chunks/{persistent-pty-5cdwp8x1.js → credential-4heb770w.js} +13 -13
- package/dist/chunks/{persistent-pty-0jmz7zhd.js → credential-4hkcjtf4.js} +13 -13
- package/dist/chunks/{persistent-pty-v2rhndg3.js → credential-4r8w9sj8.js} +32 -32
- package/dist/chunks/{persistent-pty-fawagqxt.js → credential-4t7bjcx1.js} +30 -30
- package/dist/chunks/{persistent-pty-b3kbpvds.js → credential-4wnpk8s1.js} +50 -50
- package/dist/chunks/{persistent-pty-hv3fvgxa.js → credential-512sb6hd.js} +4 -4
- package/dist/chunks/{persistent-pty-s4e55a1y.js → credential-513fjzst.js} +5 -5
- package/dist/chunks/{persistent-pty-pjnrv22w.js → credential-54e3wb9v.js} +11 -11
- package/dist/chunks/{persistent-pty-54ma36ye.js → credential-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-4d3befan.js → credential-5b35b6x0.js} +43 -43
- package/dist/chunks/{persistent-pty-18g55aa2.js → credential-5ej6fcjw.js} +6 -6
- package/dist/chunks/{persistent-pty-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-7s8vtvkc.js → credential-5mrcxfar.js} +5 -5
- package/dist/chunks/{persistent-pty-vxb9f0te.js → credential-5njsp6db.js} +7 -7
- package/dist/chunks/{persistent-pty-7gvejd0q.js → credential-5qndpx2w.js} +24 -24
- package/dist/chunks/{persistent-pty-zvkna10r.js → credential-61m3evwq.js} +25 -25
- package/dist/chunks/{persistent-pty-h5h55k1t.js → credential-66w41kd0.js} +18 -18
- package/dist/chunks/{persistent-pty-6hcchj7j.js → credential-67jerfv6.js} +77 -77
- package/dist/chunks/{persistent-pty-6827pfxn.js → credential-6827pfxn.js} +1 -1
- package/dist/chunks/{persistent-pty-7b0e7y4m.js → credential-6b1s8aqa.js} +6 -6
- package/dist/chunks/{persistent-pty-0a4xt203.js → credential-6geq063x.js} +22 -22
- package/dist/chunks/{persistent-pty-zdhjww4c.js → credential-6h8f2rna.js} +9 -9
- package/dist/chunks/{persistent-pty-hkajtpqc.js → credential-6j60vss0.js} +16 -16
- package/dist/chunks/{persistent-pty-29jpnasx.js → credential-6jwzgjy8.js} +7 -7
- package/dist/chunks/{persistent-pty-z5tkq5nc.js → credential-6mdt5s3y.js} +32 -32
- package/dist/chunks/{persistent-pty-68spmrpe.js → credential-6nfcpfgj.js} +3 -3
- package/dist/chunks/{persistent-pty-8nqwyyrr.js → credential-6r64h49w.js} +25 -25
- package/dist/chunks/{persistent-pty-9nv551d5.js → credential-6s6qny9t.js} +15 -15
- package/dist/chunks/{persistent-pty-6xb47vfp.js → credential-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-ak0n8wqr.js → credential-6ywvrrbf.js} +11 -11
- package/dist/chunks/{persistent-pty-yfcvgves.js → credential-725pgwpr.js} +21 -21
- package/dist/chunks/{persistent-pty-775gj3j1.js → credential-775gj3j1.js} +2 -2
- package/dist/chunks/{persistent-pty-8m4ndff2.js → credential-79yp3gha.js} +28 -28
- package/dist/chunks/{persistent-pty-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-607tc6va.js → credential-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-1gzh7x8v.js → credential-7w6pf623.js} +17 -17
- package/dist/chunks/{persistent-pty-mswjsdq2.js → credential-7wzbnvvj.js} +26 -26
- package/dist/chunks/{persistent-pty-84txncab.js → credential-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-296pqcyw.js → credential-89vt8edy.js} +2 -2
- package/dist/chunks/{persistent-pty-6v03kn10.js → credential-8a3m53ms.js} +32 -32
- package/dist/chunks/{persistent-pty-argqn24j.js → credential-8e5g1rqf.js} +25 -25
- package/dist/chunks/{persistent-pty-ca7w653e.js → credential-8gxqpgph.js} +4 -4
- package/dist/chunks/{persistent-pty-8m6m0r52.js → credential-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-7fkffz83.js → credential-8sze2n9a.js} +8 -8
- package/dist/chunks/{persistent-pty-1pav5ndx.js → credential-8w7r8evj.js} +20 -20
- package/dist/chunks/{persistent-pty-x5hm6bvw.js → credential-90dfvdtc.js} +12 -12
- package/dist/chunks/{persistent-pty-dy0tp0j6.js → credential-92k2zvrm.js} +10 -10
- package/dist/chunks/{persistent-pty-hdfxv9rf.js → credential-93s0933k.js} +13 -13
- package/dist/chunks/{persistent-pty-bcxm7vqe.js → credential-9c4mg81w.js} +14 -14
- package/dist/chunks/{persistent-pty-gakes9sg.js → credential-9hnj8m91.js} +6 -6
- package/dist/chunks/credential-9sh4wc5j.js +18 -0
- package/dist/chunks/{persistent-pty-hk8s4rpe.js → credential-9t102qjt.js} +18 -18
- package/dist/chunks/{persistent-pty-md3yr6xj.js → credential-9wahvfne.js} +9 -9
- package/dist/chunks/{persistent-pty-vzm2s9ff.js → credential-9x5ey5cj.js} +8 -8
- package/dist/chunks/{persistent-pty-a4xxkpja.js → credential-9y47tcxd.js} +13 -13
- package/dist/chunks/{persistent-pty-1msrarhd.js → credential-a10rd6rt.js} +26 -26
- package/dist/chunks/{persistent-pty-0vs1brv3.js → credential-a79hjy9g.js} +8 -8
- package/dist/chunks/{persistent-pty-2sf5w7c0.js → credential-aj285h1q.js} +10 -10
- package/dist/chunks/{persistent-pty-26pvtrrv.js → credential-avxm8t77.js} +22 -22
- package/dist/chunks/{persistent-pty-0m15zpmn.js → credential-axc9g66b.js} +12 -12
- package/dist/chunks/{persistent-pty-0kq1vnt2.js → credential-bay5n71e.js} +19 -19
- package/dist/chunks/{persistent-pty-cw4vxgxd.js → credential-bbfmeh70.js} +29 -29
- package/dist/chunks/{persistent-pty-xpyhv29g.js → credential-bbz974h8.js} +27 -27
- package/dist/chunks/{persistent-pty-wjr9rjd7.js → credential-bjx1sjef.js} +6 -6
- package/dist/chunks/{persistent-pty-ts10gvyd.js → credential-c0x4bacm.js} +14 -14
- package/dist/chunks/{persistent-pty-c1fqxshp.js → credential-c1fqxshp.js} +3 -3
- package/dist/chunks/{persistent-pty-qgccrhvw.js → credential-c1k0pwhg.js} +10 -10
- package/dist/chunks/{persistent-pty-q5rwhrtr.js → credential-c5zn6ab1.js} +34 -34
- package/dist/chunks/{persistent-pty-w9qdmkss.js → credential-cbq5fey3.js} +23 -23
- package/dist/chunks/{persistent-pty-j4yfb354.js → credential-ccgbtwgc.js} +11 -11
- package/dist/chunks/{persistent-pty-h2955e8q.js → credential-ckajj5ea.js} +20 -20
- package/dist/chunks/{persistent-pty-znznz47e.js → credential-cq23epbd.js} +18 -18
- package/dist/chunks/{persistent-pty-kee9eehy.js → credential-csey17fn.js} +8 -8
- package/dist/chunks/{persistent-pty-36rq9ymx.js → credential-ctzxj63w.js} +6 -6
- package/dist/chunks/{persistent-pty-c75t29hq.js → credential-cvfz62vn.js} +9 -9
- package/dist/chunks/{persistent-pty-d1a28jh7.js → credential-d1a28jh7.js} +2 -2
- package/dist/chunks/{persistent-pty-1jge3f37.js → credential-d7y2a5kd.js} +36 -36
- package/dist/chunks/{persistent-pty-4p1cenkk.js → credential-d9etbekp.js} +43 -43
- package/dist/chunks/{persistent-pty-dpkg50ah.js → credential-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-t0tz8gfx.js → credential-dqbfcr17.js} +14 -14
- package/dist/chunks/{persistent-pty-vk73as10.js → credential-dw66w2fq.js} +22 -22
- package/dist/chunks/{persistent-pty-7j2qrq70.js → credential-dywbpq8p.js} +34 -34
- package/dist/chunks/{persistent-pty-sxcaecc0.js → credential-e80seqcp.js} +3 -3
- package/dist/chunks/{persistent-pty-tcxp8tq6.js → credential-e8qrt4b5.js} +3 -3
- package/dist/chunks/{persistent-pty-zd0masta.js → credential-e92nyhhr.js} +60 -60
- package/dist/chunks/{persistent-pty-eej6y6fw.js → credential-eej6y6fw.js} +2 -2
- package/dist/chunks/{persistent-pty-3j7kj2y8.js → credential-ef4r2ry2.js} +16 -16
- package/dist/chunks/{persistent-pty-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-0tz9w1hv.js → credential-en15c0wn.js} +46 -46
- package/dist/chunks/{persistent-pty-gs0drmb7.js → credential-ernspkd5.js} +3 -3
- package/dist/chunks/{persistent-pty-nmhvfjt2.js → credential-evqws8cg.js} +20 -20
- package/dist/chunks/{persistent-pty-m1skjvb8.js → credential-ewrq8mh2.js} +1 -1
- package/dist/chunks/{persistent-pty-8qw7ce1p.js → credential-f79d26hd.js} +24 -24
- package/dist/chunks/{persistent-pty-df3a40xp.js → credential-fb9h1zpd.js} +20 -20
- package/dist/chunks/{persistent-pty-fcy631f0.js → credential-fcy631f0.js} +1 -1
- package/dist/chunks/{persistent-pty-1qpcq0yb.js → credential-fenvdmpd.js} +11 -11
- package/dist/chunks/{persistent-pty-mswsvpz6.js → credential-fjznstmf.js} +4 -4
- package/dist/chunks/{persistent-pty-m05fbbj0.js → credential-frvhg24z.js} +89 -89
- package/dist/chunks/{persistent-pty-1w2wqhfv.js → credential-fxaymqdw.js} +4 -4
- package/dist/chunks/{persistent-pty-1ajx6rf5.js → credential-g0445xdp.js} +8 -8
- package/dist/chunks/{persistent-pty-287dc9gj.js → credential-g69bhtys.js} +14 -14
- package/dist/chunks/{persistent-pty-5fykfdj7.js → credential-g6yfr6ja.js} +5 -5
- package/dist/chunks/{persistent-pty-nt017e08.js → credential-g7srfa3y.js} +6 -6
- package/dist/chunks/{persistent-pty-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-68g6xwqn.js → credential-gmpf7xjb.js} +28 -28
- package/dist/chunks/{persistent-pty-3a83a0n4.js → credential-gqxmd7mw.js} +8 -8
- package/dist/chunks/{persistent-pty-2pvdeqne.js → credential-gsb9xmde.js} +98 -98
- package/dist/chunks/{persistent-pty-7eqp7xtn.js → credential-gzatps39.js} +151 -151
- package/dist/chunks/{persistent-pty-9qjz7egn.js → credential-h532h9cs.js} +25 -25
- package/dist/chunks/{persistent-pty-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-he0cfhpc.js → credential-h7hsvas8.js} +46 -46
- package/dist/chunks/{persistent-pty-9ae44cfy.js → credential-h896pcm5.js} +6 -6
- package/dist/chunks/{persistent-pty-dq407baf.js → credential-hbb7npd7.js} +6 -6
- package/dist/chunks/{persistent-pty-ryt5ycva.js → credential-hbd093e1.js} +15 -15
- package/dist/chunks/{persistent-pty-3fkmq7pq.js → credential-hc0tyw59.js} +9 -9
- package/dist/chunks/{persistent-pty-hgz4x7wa.js → credential-hgz4x7wa.js} +1 -1
- package/dist/chunks/{persistent-pty-xacqwv33.js → credential-ht59szz0.js} +11 -11
- package/dist/chunks/{persistent-pty-pkm7e8th.js → credential-hy9hen9y.js} +6 -6
- package/dist/chunks/{persistent-pty-3dedrcqz.js → credential-hzrfc1p4.js} +3 -3
- package/dist/chunks/{persistent-pty-91qna3x0.js → credential-j09zfasm.js} +3 -3
- package/dist/chunks/{persistent-pty-374251z8.js → credential-j842fqs5.js} +16 -16
- package/dist/chunks/{persistent-pty-k3bwfq85.js → credential-jh272vkw.js} +4 -4
- package/dist/chunks/{persistent-pty-0ehmmcyw.js → credential-jh7hm8j6.js} +15 -15
- package/dist/chunks/{persistent-pty-hyry98jx.js → credential-jkpwzps6.js} +28 -28
- package/dist/chunks/{persistent-pty-c0nr5bpp.js → credential-jrfj64d4.js} +23 -23
- package/dist/chunks/{persistent-pty-m87p00k5.js → credential-jrpbdnyg.js} +11 -11
- package/dist/chunks/{persistent-pty-fgg1h6tp.js → credential-jvzc6p6r.js} +18 -18
- package/dist/chunks/{persistent-pty-368fk4db.js → credential-kebpaez3.js} +2 -2
- package/dist/chunks/{persistent-pty-qs13swd0.js → credential-kfj755v5.js} +49 -49
- package/dist/chunks/{persistent-pty-h26kdy9n.js → credential-knbwcmz6.js} +27 -27
- package/dist/chunks/{persistent-pty-ybt6a39d.js → credential-krdey6nc.js} +6 -6
- package/dist/chunks/credential-ks3bqvez.js +513 -0
- package/dist/chunks/{persistent-pty-kwb1v3vj.js → credential-kwb1v3vj.js} +1 -1
- package/dist/chunks/{persistent-pty-vxttbewe.js → credential-m0azfdyz.js} +9 -9
- package/dist/chunks/{persistent-pty-p1dnjvcc.js → credential-m8cyb89a.js} +5 -5
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-maspj1v3.js → credential-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-8mxaw1fa.js → credential-memnpynf.js} +48 -48
- package/dist/chunks/{persistent-pty-54f956qq.js → credential-mhe0g0p5.js} +13 -13
- package/dist/chunks/{persistent-pty-g7fa7svs.js → credential-mjbp1h77.js} +22 -22
- package/dist/chunks/{persistent-pty-vhekmsjv.js → credential-nb43gqgm.js} +1 -1
- package/dist/chunks/{persistent-pty-38phfjcn.js → credential-ndn5nttk.js} +9 -9
- package/dist/chunks/{persistent-pty-4rmh7taa.js → credential-nk85k8h4.js} +8 -8
- package/dist/chunks/{persistent-pty-n61013np.js → credential-npw39rc8.js} +8 -8
- package/dist/chunks/{persistent-pty-pwxqqvpq.js → credential-p6agkp8v.js} +33 -33
- package/dist/chunks/{persistent-pty-dcsvv0a8.js → credential-pcz0vat3.js} +3 -3
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-h90v2x9d.js → credential-pmwpe40e.js} +4 -4
- package/dist/chunks/{persistent-pty-6xcvt31d.js → credential-pnzf6mjf.js} +1 -1
- package/dist/chunks/{persistent-pty-nq3qw2vm.js → credential-ps2zx4jn.js} +4 -4
- package/dist/chunks/{persistent-pty-cne5fydz.js → credential-psmgkcev.js} +15 -15
- package/dist/chunks/{persistent-pty-se3cmajw.js → credential-q4rarndx.js} +18 -18
- package/dist/chunks/{persistent-pty-sj31pcmn.js → credential-q5vzdzv7.js} +37 -37
- package/dist/chunks/{persistent-pty-d216944b.js → credential-qa3qhgw8.js} +7 -7
- package/dist/chunks/{persistent-pty-2mq1h16s.js → credential-qmqgtz8f.js} +9 -9
- package/dist/chunks/{persistent-pty-qnc92qwc.js → credential-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-vtbat0ks.js → credential-qxe1je4p.js} +17 -17
- package/dist/chunks/{persistent-pty-23hfca39.js → credential-r0969brx.js} +4 -4
- package/dist/chunks/{persistent-pty-tpbvzr1y.js → credential-r2qj04q3.js} +11 -11
- package/dist/chunks/{persistent-pty-45yxkxq5.js → credential-r6762b1f.js} +4 -4
- package/dist/chunks/{persistent-pty-xf8yqmad.js → credential-r9w3djhf.js} +9 -9
- package/dist/chunks/{persistent-pty-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-rert0e01.js → credential-rert0e01.js} +2 -2
- package/dist/chunks/{persistent-pty-pes8a9te.js → credential-rg17d408.js} +41 -41
- package/dist/chunks/{persistent-pty-sxgg5vg7.js → credential-rgnxk938.js} +15 -15
- package/dist/chunks/{persistent-pty-rj3eygr5.js → credential-rj3eygr5.js} +2 -2
- package/dist/chunks/{persistent-pty-9nmz2bca.js → credential-rnd2wdxm.js} +9 -9
- package/dist/chunks/{persistent-pty-fwbmh39w.js → credential-rryqzpf7.js} +7 -7
- package/dist/chunks/{persistent-pty-3126pgvt.js → credential-s0q3ftad.js} +31 -31
- package/dist/chunks/{persistent-pty-fqyjd71p.js → credential-s1vs6g8m.js} +32 -32
- package/dist/chunks/{persistent-pty-q4d4j6bt.js → credential-s2jpechx.js} +15 -15
- package/dist/chunks/{persistent-pty-k8xwrkek.js → credential-s6bezc7p.js} +22 -22
- package/dist/chunks/{persistent-pty-sa8ekw3f.js → credential-sa8ekw3f.js} +2 -2
- package/dist/chunks/{persistent-pty-546wh2b3.js → credential-sfvx59jg.js} +13 -13
- package/dist/chunks/{persistent-pty-0hvxqb6d.js → credential-sg07zk51.js} +35 -35
- package/dist/chunks/{persistent-pty-7k8y39tb.js → credential-srqharbm.js} +53 -53
- package/dist/chunks/{persistent-pty-tea6mbfw.js → credential-staw5rj3.js} +13 -13
- package/dist/chunks/{persistent-pty-syv4x271.js → credential-syv4x271.js} +1 -1
- package/dist/chunks/{persistent-pty-97aeaand.js → credential-sz15zhhw.js} +4 -4
- package/dist/chunks/{persistent-pty-t550f9t1.js → credential-t550f9t1.js} +1 -1
- package/dist/chunks/{persistent-pty-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → credential-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-57ws9skg.js → credential-tdsb1xpv.js} +21 -21
- package/dist/chunks/{persistent-pty-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-3sv35849.js → credential-tet0x2x5.js} +34 -34
- package/dist/chunks/{persistent-pty-tm0kqsz3.js → credential-tm0kqsz3.js} +1 -1
- package/dist/chunks/{persistent-pty-98kr54cv.js → credential-tph0s9dr.js} +33 -33
- package/dist/chunks/{persistent-pty-2b974e2a.js → credential-tpwfj9q7.js} +16 -16
- package/dist/chunks/{persistent-pty-wak88xg7.js → credential-trq7bz11.js} +22 -22
- package/dist/chunks/{persistent-pty-2xt21v74.js → credential-ttjwvx26.js} +16 -16
- package/dist/chunks/{persistent-pty-tyytaxap.js → credential-tyytaxap.js} +1 -1
- package/dist/chunks/{persistent-pty-4rv9xmb7.js → credential-v322raa9.js} +11 -11
- package/dist/chunks/{persistent-pty-v7p4zvkq.js → credential-v7p4zvkq.js} +2 -2
- package/dist/chunks/{persistent-pty-cp937pt4.js → credential-v7z2bvyd.js} +4 -4
- package/dist/chunks/{persistent-pty-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-5x0spf49.js → credential-vnr1arqv.js} +52 -52
- package/dist/chunks/{persistent-pty-nt2cm5g7.js → credential-vp0bfksy.js} +2 -2
- package/dist/chunks/{persistent-pty-qgzg94dt.js → credential-vpc0mzyy.js} +24 -24
- package/dist/chunks/{persistent-pty-vnvv926v.js → credential-vywkzp4v.js} +11 -11
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → credential-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-b2df57q2.js → credential-w1v47t14.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-fqhbsnr5.js → credential-w3x9v1nk.js} +8 -8
- package/dist/chunks/{persistent-pty-mbjmp2z7.js → credential-w5ht28hd.js} +54 -50
- package/dist/chunks/{persistent-pty-gshnfpyh.js → credential-w5na9dqb.js} +18 -18
- package/dist/chunks/{persistent-pty-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-41mnrj5z.js → credential-weban0cd.js} +12 -12
- package/dist/chunks/{persistent-pty-cdqe3acw.js → credential-wgahhr0x.js} +8 -8
- package/dist/chunks/{persistent-pty-53wmdg2z.js → credential-wjgm3cta.js} +32 -32
- package/dist/chunks/{persistent-pty-bfc3jzxx.js → credential-wwmtcwyt.js} +14 -14
- package/dist/chunks/{persistent-pty-6m2evtbw.js → credential-x01h19mw.js} +16 -16
- package/dist/chunks/{persistent-pty-mxvxcxwy.js → credential-x661k3y3.js} +4 -4
- package/dist/chunks/{persistent-pty-ww7z4zes.js → credential-x74xmnxk.js} +17 -17
- package/dist/chunks/{persistent-pty-v210v162.js → credential-x8ga927e.js} +7 -7
- package/dist/chunks/{persistent-pty-ay5c0bv3.js → credential-x9cw3gm2.js} +27 -27
- package/dist/chunks/{persistent-pty-rx905nvw.js → credential-xayeaa42.js} +11 -11
- package/dist/chunks/{persistent-pty-fv4sm444.js → credential-xc7ywzxk.js} +33 -33
- package/dist/chunks/{persistent-pty-e87gf2rh.js → credential-xeb3evp0.js} +12 -12
- package/dist/chunks/{persistent-pty-qqeeq2t9.js → credential-xfkkasph.js} +7 -7
- package/dist/chunks/{persistent-pty-a0z8gye3.js → credential-xjwyxz4n.js} +15 -15
- package/dist/chunks/{persistent-pty-khzq4x05.js → credential-xveeyqv2.js} +32 -32
- package/dist/chunks/{persistent-pty-jj579w2g.js → credential-xy8xnxtw.js} +27 -27
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-19m9vfay.js → credential-y2ygvm3z.js} +21 -21
- package/dist/chunks/{persistent-pty-v293qw80.js → credential-y3btf78e.js} +27 -27
- package/dist/chunks/{persistent-pty-v9t8k6fh.js → credential-y49t6yxk.js} +17 -17
- package/dist/chunks/{persistent-pty-avyh4w4k.js → credential-y5p4ve91.js} +16 -16
- package/dist/chunks/{persistent-pty-kjd40bgk.js → credential-y7nndgyc.js} +9 -9
- package/dist/chunks/{persistent-pty-6qx5ffhj.js → credential-yamxdr06.js} +1 -1
- package/dist/chunks/{persistent-pty-aacha31a.js → credential-yb3yv1n8.js} +12 -12
- package/dist/chunks/{persistent-pty-f2n192rq.js → credential-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-9n49pgr6.js → credential-yqncb7ba.js} +22 -22
- package/dist/chunks/{persistent-pty-nxe4pcap.js → credential-yrcj3v3g.js} +4 -4
- package/dist/chunks/{persistent-pty-gzqd72by.js → credential-ysvnem4g.js} +18 -18
- package/dist/chunks/{persistent-pty-bq3rfpty.js → credential-yzdsqd8r.js} +24 -24
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-wjr337jx.js → credential-z32c81yc.js} +25 -25
- package/dist/chunks/{persistent-pty-39z47dss.js → credential-z5crsmww.js} +11 -11
- package/dist/chunks/{persistent-pty-bx0gyb4h.js → credential-z6c3x22d.js} +5 -5
- package/dist/chunks/{persistent-pty-0qfx4vg1.js → credential-ze2cff16.js} +3 -3
- package/dist/chunks/{persistent-pty-07hm112z.js → credential-zet2wr62.js} +22 -22
- package/dist/chunks/{persistent-pty-t0pyhqcw.js → credential-zqma82cw.js} +11 -11
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-s1rzx2rx.js → credential-ztkx55p6.js} +16 -16
- package/dist/chunks/credential-zwenznck.js +26 -0
- package/dist/chunks/{persistent-pty-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +138 -138
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- 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 +2 -2
- 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 +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- 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 +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- 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 +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +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 +114 -114
- 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 +130 -130
- 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 +118 -118
- 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 +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +16 -16
- 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 +5 -5
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-7n7aetrn.js +0 -513
- package/dist/chunks/persistent-pty-9zy3g968.js +0 -26
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- package/dist/chunks/persistent-pty-kt23qymt.js +0 -257
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → credential-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → credential-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → credential-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → credential-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → credential-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → credential-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-pyv0edze.js → credential-pyv0edze.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → credential-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./credential-h896pcm5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-krdey6nc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./credential-79yp3gha.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service50;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./credential-5b35b6x0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref4, response2, Service80, node83, boundNode2, exports_location };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-3chf03wh.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-bjx1sjef.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
20
|
endpoint: () => endpoint2
|
|
21
21
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin5 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export { endpoint2,
|
|
123
|
+
export { endpoint2, Plugin5, exports_tinyfish };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./credential-66w41kd0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service36,
|
|
7
|
+
node39
|
|
8
|
+
} from "./credential-kfj755v5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node71
|
|
12
|
+
} from "./credential-vnr1arqv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service62,
|
|
15
|
+
node64
|
|
16
|
+
} from "./credential-61m3evwq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service35 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service36;
|
|
42
|
+
const tools = yield* Service62;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service69;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: { input: input ?? {} },
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node38 = makeLocationNode({
|
|
124
|
+
service: Service35,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node64, node39, node86, node71]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service35, layer14, node38, exports_mcp3 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-w1v47t14.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-1yamg18a.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./credential-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node86
|
|
5
|
+
} from "./credential-66w41kd0.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event13,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options10,
|
|
27
|
+
Service: () => Service67,
|
|
28
|
+
configured: () => configured9,
|
|
29
|
+
layer: () => layer26,
|
|
30
|
+
node: () => node69
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,18 +39,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event13 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options10 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service67 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer26 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,7 +69,7 @@ var layer24 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event13.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
74
|
const source = (value) => make19({
|
|
75
75
|
key,
|
|
@@ -87,7 +87,7 @@ var layer24 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service67.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer24 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured9(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service67,
|
|
107
|
+
layer: layer26(options),
|
|
108
|
+
deps: [node86]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node69 = configured9();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event13, Options10, Service67, layer26, configured9, node69, exports_instruction_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node83
|
|
4
|
+
} from "./credential-6j60vss0.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service22,
|
|
17
|
+
node: () => node24
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service22 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service22.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node24 = makeLocationNode({
|
|
91
|
+
service: Service22,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node83, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service22, node24, exports_formatter2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-1yamg18a.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-e8qrt4b5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service85,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer29,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node89
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service85 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service85, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service85, layer: layer29(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service85,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node89 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service85, layer29, layerFromClient2, configured13, configuredClient2, node89, exports_database };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-vnr1arqv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service36,
|
|
12
|
+
node39
|
|
13
|
+
} from "./credential-kfj755v5.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./credential-6mdt5s3y.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service34,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node37
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service36;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
@@ -86,7 +86,7 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node37 = makeLocationNode({ service: Service34, layer: layer13, deps: [node39] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service34, layer13, node37, exports_instructions4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|