@opencode/core 0.0.0-dev-20161 → 0.0.0-dev-20162
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-0zms6rpb.js → reference-01x1ys4d.js} +6 -6
- package/dist/chunks/{persistent-pty-909p1r3q.js → reference-07w59vex.js} +6 -6
- package/dist/chunks/{persistent-pty-j0exgwae.js → reference-0amqtv85.js} +17 -17
- package/dist/chunks/{persistent-pty-n0ecsdh3.js → reference-0ecm74t9.js} +24 -24
- package/dist/chunks/{persistent-pty-c7jcxm17.js → reference-0gx7vwr2.js} +16 -16
- package/dist/chunks/{persistent-pty-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-dfe8djrf.js → reference-0v53mg2y.js} +4 -4
- package/dist/chunks/{persistent-pty-pz0sazxr.js → reference-12gpr7d5.js} +8 -8
- package/dist/chunks/{persistent-pty-pzwp9vyv.js → reference-16bbg7ec.js} +38 -38
- package/dist/chunks/{persistent-pty-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-ck0wjfjv.js → reference-1ft6zanx.js} +35 -35
- package/dist/chunks/{persistent-pty-czpwm44a.js → reference-1kn1kk3r.js} +11 -11
- package/dist/chunks/{persistent-pty-rrxgszfj.js → reference-1pjwb51h.js} +27 -27
- package/dist/chunks/{persistent-pty-afed7ext.js → reference-1v6wmkfd.js} +12 -12
- package/dist/chunks/{persistent-pty-tb7f0f66.js → reference-1z0e90kj.js} +15 -15
- package/dist/chunks/reference-1zxhsznx.js +26 -0
- package/dist/chunks/{persistent-pty-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-8ank75fn.js → reference-22sd1qqc.js} +8 -8
- package/dist/chunks/{persistent-pty-2402vzrj.js → reference-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-57ez7d0k.js → reference-2fgn2we9.js} +9 -9
- package/dist/chunks/{persistent-pty-gbqzgj7y.js → reference-2mjwbfp5.js} +17 -17
- package/dist/chunks/{persistent-pty-cwa6csj7.js → reference-2mq1h16s.js} +9 -9
- package/dist/chunks/{persistent-pty-tpzdabj1.js → reference-2y2njx4h.js} +6 -6
- package/dist/chunks/{persistent-pty-m7hh4551.js → reference-2yy3z0jy.js} +30 -30
- package/dist/chunks/{persistent-pty-y87t9fp6.js → reference-3bkkhtex.js} +13 -13
- package/dist/chunks/{persistent-pty-58h6nhfy.js → reference-3cfg471a.js} +7 -7
- package/dist/chunks/{persistent-pty-bkk31atn.js → reference-3f72df5w.js} +21 -21
- package/dist/chunks/{persistent-pty-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-53tb33wk.js → reference-3fkr61hr.js} +5 -5
- package/dist/chunks/{persistent-pty-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-cpvy7b7p.js → reference-3p3vnky8.js} +11 -11
- package/dist/chunks/{persistent-pty-83g6ksvf.js → reference-3r15x7gc.js} +12 -12
- package/dist/chunks/{persistent-pty-d9jme974.js → reference-3s6dz3zh.js} +10 -10
- package/dist/chunks/{persistent-pty-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-8pggv5rn.js → reference-3v7e0nj5.js} +22 -22
- package/dist/chunks/{persistent-pty-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-v2zjbjd3.js → reference-43b73ppw.js} +48 -48
- package/dist/chunks/{persistent-pty-6v46makf.js → reference-46c3760n.js} +29 -29
- package/dist/chunks/{persistent-pty-pn9rmv0x.js → reference-49yzscfc.js} +10 -10
- package/dist/chunks/{persistent-pty-bz1n60hy.js → reference-4gwesgvk.js} +17 -17
- package/dist/chunks/{persistent-pty-3hz5d8pf.js → reference-4j3q3gy0.js} +30 -30
- package/dist/chunks/{persistent-pty-4sftmnet.js → reference-4t6dvhtz.js} +18 -18
- package/dist/chunks/{persistent-pty-ajzbtavw.js → reference-4twm1v8c.js} +12 -12
- package/dist/chunks/{persistent-pty-dk7pdvq2.js → reference-51t1nk0w.js} +16 -16
- package/dist/chunks/{persistent-pty-hfcyh0cs.js → reference-53b1aas6.js} +6 -6
- package/dist/chunks/{persistent-pty-f3bevy8m.js → reference-5422n3t7.js} +21 -21
- package/dist/chunks/{persistent-pty-56gdpj1q.js → reference-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-5b84avn1.js → reference-5b84avn1.js} +1 -1
- package/dist/chunks/{persistent-pty-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-j3w6saxc.js → reference-5fre3x80.js} +5 -5
- package/dist/chunks/{persistent-pty-hy9skd6v.js → reference-5hcyjm69.js} +5 -5
- package/dist/chunks/{persistent-pty-6v65b3fz.js → reference-5pd7ahqb.js} +23 -23
- package/dist/chunks/{persistent-pty-7dhhhw6e.js → reference-5qsvmyhn.js} +84 -84
- package/dist/chunks/{persistent-pty-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-weyhrafj.js → reference-5xhn02sj.js} +15 -15
- package/dist/chunks/{persistent-pty-sjdt00n5.js → reference-62c64d0f.js} +20 -20
- package/dist/chunks/{persistent-pty-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-zas2f676.js → reference-66ysksfg.js} +8 -8
- package/dist/chunks/{persistent-pty-sq5357bb.js → reference-69t6210w.js} +16 -16
- package/dist/chunks/{persistent-pty-xjdbqttv.js → reference-6a13jgj0.js} +17 -17
- package/dist/chunks/{persistent-pty-83zq1v6a.js → reference-6hb7b85m.js} +33 -33
- package/dist/chunks/{persistent-pty-b2ymzsjy.js → reference-6j4qz43p.js} +22 -22
- package/dist/chunks/{persistent-pty-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-5s51epvc.js → reference-6zkkrft8.js} +35 -35
- package/dist/chunks/{persistent-pty-4g8a3071.js → reference-7ah923bx.js} +44 -44
- package/dist/chunks/{persistent-pty-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-2k8khapm.js → reference-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-kg6vqa2g.js → reference-7gc63ees.js} +42 -42
- package/dist/chunks/{persistent-pty-0tk0r9vs.js → reference-7ky71vec.js} +11 -11
- package/dist/chunks/{persistent-pty-89tas9n7.js → reference-7n3h8z8x.js} +30 -30
- package/dist/chunks/{persistent-pty-qjxevsft.js → reference-7tgakezr.js} +1 -1
- package/dist/chunks/{persistent-pty-0hp4c3hn.js → reference-7xrebrp4.js} +4 -4
- package/dist/chunks/{persistent-pty-hbn9qevp.js → reference-826wxmg7.js} +34 -34
- package/dist/chunks/{persistent-pty-1wgjazvh.js → reference-82t62krp.js} +10 -10
- package/dist/chunks/{persistent-pty-fgcwhffx.js → reference-847b4gce.js} +6 -6
- package/dist/chunks/{persistent-pty-721wyhkj.js → reference-88tdds3s.js} +53 -53
- package/dist/chunks/{persistent-pty-vpyec1rj.js → reference-8ac1ch0a.js} +16 -16
- package/dist/chunks/{persistent-pty-p8q141tk.js → reference-8aw490j5.js} +5 -5
- package/dist/chunks/{persistent-pty-xgv5607x.js → reference-8bhj9fqm.js} +3 -3
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-vyx03eky.js → reference-8fypk95p.js} +179 -179
- package/dist/chunks/{persistent-pty-25cqgkt3.js → reference-8nk0jvjq.js} +12 -12
- package/dist/chunks/{persistent-pty-gpy90s52.js → reference-8t5wqk0x.js} +13 -13
- package/dist/chunks/{persistent-pty-p42hj8p8.js → reference-8v6pyhej.js} +8 -8
- package/dist/chunks/{persistent-pty-4rjsgs5d.js → reference-8v842n89.js} +13 -13
- package/dist/chunks/{persistent-pty-1dj1qnqc.js → reference-8wy5hk7w.js} +11 -11
- package/dist/chunks/{persistent-pty-tvgkc4yy.js → reference-90bn1v09.js} +4 -4
- package/dist/chunks/reference-91h3g1xt.js +252 -0
- package/dist/chunks/{persistent-pty-aqxrhhqj.js → reference-91xrs62w.js} +3 -3
- package/dist/chunks/{persistent-pty-94ek1h2f.js → reference-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-70s96e4j.js → reference-964jcbyv.js} +15 -15
- package/dist/chunks/{persistent-pty-1phy0an4.js → reference-96y032zk.js} +9 -9
- package/dist/chunks/{persistent-pty-wrmrmykr.js → reference-984xje6x.js} +6 -6
- package/dist/chunks/{persistent-pty-4v68peyh.js → reference-9f53fa7g.js} +5 -5
- package/dist/chunks/{persistent-pty-5sz0tvwy.js → reference-9mfgef28.js} +1 -1
- package/dist/chunks/{persistent-pty-a9fv3hpn.js → reference-9qygrp94.js} +10 -10
- package/dist/chunks/{persistent-pty-96ctqc5x.js → reference-9x77fmbz.js} +4 -4
- package/dist/chunks/{persistent-pty-vdvpd1jg.js → reference-a0n8sp6n.js} +9 -9
- package/dist/chunks/{persistent-pty-cenvhtqn.js → reference-a3x70673.js} +21 -21
- package/dist/chunks/{persistent-pty-620nd8sc.js → reference-a7szthnd.js} +9 -9
- package/dist/chunks/{persistent-pty-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-4snmkckq.js → reference-adr897hr.js} +25 -25
- package/dist/chunks/{persistent-pty-5rc4gns8.js → reference-akyrbgpn.js} +18 -18
- package/dist/chunks/{persistent-pty-m2r9tm47.js → reference-as206x49.js} +11 -11
- package/dist/chunks/{persistent-pty-hkagk5ex.js → reference-b09hzw3k.js} +2 -2
- package/dist/chunks/{persistent-pty-c7vf4kh0.js → reference-b1n688j8.js} +4 -4
- package/dist/chunks/{persistent-pty-qw6ew0vv.js → reference-b669rhzj.js} +17 -17
- package/dist/chunks/{persistent-pty-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-b7b4ctej.js → reference-b7b4ctej.js} +2 -2
- package/dist/chunks/{persistent-pty-yjptyezs.js → reference-bgxcxs0p.js} +5 -5
- package/dist/chunks/{persistent-pty-8h3wkb9t.js → reference-bpp3ryfj.js} +10 -10
- package/dist/chunks/{persistent-pty-qq8x5mwt.js → reference-bscb95cy.js} +6 -6
- package/dist/chunks/{persistent-pty-54whtqgx.js → reference-bxbcym62.js} +16 -16
- package/dist/chunks/{persistent-pty-511zxn61.js → reference-c38bjq8c.js} +28 -28
- package/dist/chunks/{persistent-pty-yr1cdtnb.js → reference-c43a01n5.js} +30 -30
- package/dist/chunks/{persistent-pty-jmj6k8nb.js → reference-c49cqfqd.js} +10 -10
- package/dist/chunks/{persistent-pty-zz6fs82c.js → reference-c9fprm0x.js} +2 -2
- package/dist/chunks/{persistent-pty-6e3ttc5b.js → reference-cezasygy.js} +30 -30
- package/dist/chunks/{persistent-pty-ckecvw8r.js → reference-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-6anwy9fs.js → reference-cpy6gm2a.js} +5 -5
- package/dist/chunks/{persistent-pty-kaafkdk2.js → reference-csaq20vk.js} +41 -41
- package/dist/chunks/{persistent-pty-9cz1e5x5.js → reference-ct1p0e3y.js} +25 -25
- package/dist/chunks/{persistent-pty-f5dmnpzb.js → reference-cv4vwhby.js} +11 -11
- package/dist/chunks/{persistent-pty-azw5h5wv.js → reference-d02z46y2.js} +8 -8
- package/dist/chunks/{persistent-pty-00qdhpqs.js → reference-d0j2a5wc.js} +15 -15
- package/dist/chunks/{persistent-pty-8z04j688.js → reference-d6bxb51r.js} +18 -18
- package/dist/chunks/{persistent-pty-bdgt4s9b.js → reference-d8ek7das.js} +5 -5
- package/dist/chunks/{persistent-pty-pgmzfdk5.js → reference-dcx1sf8q.js} +7 -7
- package/dist/chunks/{persistent-pty-mgvjhcwg.js → reference-dgk138jj.js} +11 -11
- package/dist/chunks/{persistent-pty-8z4djcf1.js → reference-dkhbyg2v.js} +10 -10
- package/dist/chunks/{persistent-pty-y71avatq.js → reference-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-mgmaefw5.js → reference-dt2x0zh0.js} +5 -5
- package/dist/chunks/{persistent-pty-qq4d284g.js → reference-dt9mh0bm.js} +4 -4
- package/dist/chunks/{persistent-pty-dwq6ryhm.js → reference-dwq6ryhm.js} +2 -2
- package/dist/chunks/{persistent-pty-8frg9jgy.js → reference-dx8786a0.js} +10 -10
- package/dist/chunks/{persistent-pty-zvt5dnpc.js → reference-e2hjzebn.js} +4 -4
- package/dist/chunks/reference-ebe412tk.js +511 -0
- package/dist/chunks/{persistent-pty-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
- package/dist/chunks/{persistent-pty-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-gm9ayw17.js → reference-egvk2tm3.js} +17 -17
- package/dist/chunks/{persistent-pty-e90jpx4a.js → reference-ejhs522f.js} +15 -15
- package/dist/chunks/{persistent-pty-4ej9fmev.js → reference-engh8x4k.js} +6 -6
- package/dist/chunks/{persistent-pty-ncxkwzes.js → reference-epg42mqj.js} +13 -13
- package/dist/chunks/{persistent-pty-x64cfhhk.js → reference-eq0vda6f.js} +41 -41
- package/dist/chunks/{persistent-pty-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-2f0bjgcj.js → reference-evbgk2k8.js} +5 -5
- package/dist/chunks/{persistent-pty-drbh3724.js → reference-f0s79xst.js} +22 -22
- package/dist/chunks/{persistent-pty-p0m94kn1.js → reference-f1080f95.js} +9 -9
- package/dist/chunks/reference-f81tjggh.js +18 -0
- package/dist/chunks/{persistent-pty-mjeayme1.js → reference-ffwxfrj0.js} +28 -28
- package/dist/chunks/{persistent-pty-qa3qhgw8.js → reference-fqb2p7cx.js} +4 -4
- package/dist/chunks/{persistent-pty-82rhge12.js → reference-fqcgpcra.js} +9 -9
- package/dist/chunks/{persistent-pty-2c7hjkzv.js → reference-g21r4nge.js} +15 -15
- package/dist/chunks/{persistent-pty-kj9mzqja.js → reference-g558e3ha.js} +27 -27
- package/dist/chunks/{persistent-pty-kkxrf4q9.js → reference-g9b34w1m.js} +15 -15
- package/dist/chunks/{persistent-pty-911wn564.js → reference-gbxwt4zb.js} +17 -17
- package/dist/chunks/{persistent-pty-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-0zs6fyez.js → reference-gdgd201h.js} +8 -8
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-cpj0znwe.js → reference-h6r3nrb9.js} +4 -4
- package/dist/chunks/{persistent-pty-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-qghn429y.js → reference-hbzkwv96.js} +22 -22
- package/dist/chunks/{persistent-pty-nxhqveyz.js → reference-hkfg6fzm.js} +5 -5
- package/dist/chunks/{persistent-pty-c53acc8g.js → reference-hzmk18ty.js} +24 -24
- package/dist/chunks/{persistent-pty-g8jasmdt.js → reference-j12s1dt6.js} +8 -8
- package/dist/chunks/{persistent-pty-mtrbqqrq.js → reference-j34dxvpb.js} +5 -5
- package/dist/chunks/{persistent-pty-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-cmp9tspr.js → reference-j8y55bdm.js} +30 -30
- package/dist/chunks/{persistent-pty-wt44zdry.js → reference-jr3qt0m1.js} +3 -3
- package/dist/chunks/{persistent-pty-cavr175a.js → reference-jw80jp6b.js} +4 -4
- package/dist/chunks/{persistent-pty-g2by5rc0.js → reference-k10yg983.js} +11 -11
- package/dist/chunks/{persistent-pty-nzks3jc8.js → reference-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-tyvhjzdr.js → reference-k607ew7q.js} +26 -26
- package/dist/chunks/{persistent-pty-ages87gt.js → reference-k7v87v4h.js} +15 -15
- package/dist/chunks/{persistent-pty-2gkx64as.js → reference-kyev7ve5.js} +3 -3
- package/dist/chunks/{persistent-pty-6bd6ytb7.js → reference-kysnx2fh.js} +16 -16
- package/dist/chunks/{persistent-pty-a8b42nbe.js → reference-m2h158as.js} +9 -9
- package/dist/chunks/{persistent-pty-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-q5wdx1yq.js → reference-m3k0s26c.js} +6 -6
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-99edkwrt.js → reference-mj8gsvpt.js} +43 -43
- package/dist/chunks/{persistent-pty-r16x646x.js → reference-mzrbxmyd.js} +11 -11
- package/dist/chunks/{persistent-pty-yrtwb1pz.js → reference-n0w1s0p8.js} +11 -11
- package/dist/chunks/{persistent-pty-mvksx64m.js → reference-n1ka8r9d.js} +4 -4
- package/dist/chunks/{persistent-pty-kdtg0hmj.js → reference-n3kpww26.js} +32 -32
- package/dist/chunks/{persistent-pty-6b342141.js → reference-n4jtts10.js} +26 -26
- package/dist/chunks/{persistent-pty-3ttpyjev.js → reference-nf7k385e.js} +5 -5
- package/dist/chunks/{persistent-pty-8m2wsxaa.js → reference-nf7y2nv3.js} +5 -5
- package/dist/chunks/{persistent-pty-qg0jgkcp.js → reference-nq7qbqzc.js} +9 -9
- package/dist/chunks/{persistent-pty-0km2ps5n.js → reference-nrbetfhp.js} +11 -11
- package/dist/chunks/{persistent-pty-1y5g7d32.js → reference-ntwwz3xg.js} +5 -5
- package/dist/chunks/{persistent-pty-wfs1cdtc.js → reference-nw1wp5ck.js} +4 -4
- package/dist/chunks/{persistent-pty-41tjw832.js → reference-nwdmwc9e.js} +41 -41
- package/dist/chunks/{persistent-pty-1sjkd43q.js → reference-p7d3n4tx.js} +33 -33
- package/dist/chunks/{persistent-pty-rzef2apf.js → reference-pgdff0n2.js} +18 -18
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-vv5pystr.js → reference-pk2nqkv1.js} +25 -25
- package/dist/chunks/{persistent-pty-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-fxv4vbj0.js → reference-psgxw3jt.js} +5 -5
- package/dist/chunks/{persistent-pty-w92k2e0p.js → reference-py3kkmfq.js} +8 -8
- package/dist/chunks/{persistent-pty-qpa1z2xq.js → reference-q2s2k355.js} +39 -39
- package/dist/chunks/{persistent-pty-4bm5ja14.js → reference-qbqbaz6q.js} +4 -4
- package/dist/chunks/{persistent-pty-vwpcpzep.js → reference-qe26s0zb.js} +8 -8
- package/dist/chunks/{persistent-pty-yfydxkxn.js → reference-qh436n0b.js} +27 -27
- package/dist/chunks/{persistent-pty-hxtnvy26.js → reference-qj1xz12p.js} +4 -4
- package/dist/chunks/{persistent-pty-2xsn1zg1.js → reference-qmc2sv0z.js} +8 -8
- package/dist/chunks/{persistent-pty-h584h0q7.js → reference-qqd9nqt4.js} +24 -24
- package/dist/chunks/{persistent-pty-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-c5e87xej.js → reference-qw0a87jh.js} +20 -20
- package/dist/chunks/{persistent-pty-e48e4j0a.js → reference-qyrqhvab.js} +24 -24
- package/dist/chunks/{persistent-pty-10cps0de.js → reference-qz8v4has.js} +57 -57
- package/dist/chunks/{persistent-pty-dbnx9smq.js → reference-r2pcxk2q.js} +14 -14
- package/dist/chunks/{persistent-pty-zp72hf0n.js → reference-r4xhx5yy.js} +12 -12
- package/dist/chunks/{persistent-pty-yyasfjgt.js → reference-r59w9cr0.js} +15 -15
- package/dist/chunks/{persistent-pty-a1gpj94z.js → reference-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-ag580yac.js → reference-rdecwvm0.js} +4 -4
- package/dist/chunks/{persistent-pty-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-5tmg9z32.js → reference-re8n8mvq.js} +61 -61
- package/dist/chunks/{persistent-pty-001y1jgc.js → reference-rhs1s70h.js} +32 -32
- package/dist/chunks/{persistent-pty-bex1ttf8.js → reference-rzxqnzwt.js} +18 -18
- package/dist/chunks/{persistent-pty-eb65cref.js → reference-s179y50x.js} +3 -3
- package/dist/chunks/{persistent-pty-58nbvhsb.js → reference-s2wnrmgh.js} +35 -35
- package/dist/chunks/{persistent-pty-16t7m2p8.js → reference-sb9w1qj8.js} +6 -6
- package/dist/chunks/{persistent-pty-rjgm2g5y.js → reference-sm5gt5gy.js} +11 -11
- package/dist/chunks/{persistent-pty-ap94g0em.js → reference-t54k9pq0.js} +1 -1
- package/dist/chunks/{persistent-pty-rhjbct0v.js → reference-t550f9t1.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-1pkc5cmh.js → reference-td88ers4.js} +23 -23
- package/dist/chunks/{persistent-pty-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-vz6t9qnh.js → reference-tgxh7826.js} +6 -6
- package/dist/chunks/{persistent-pty-q66wawzv.js → reference-tq9cs6qv.js} +24 -24
- package/dist/chunks/{persistent-pty-43amtwcs.js → reference-tv601men.js} +16 -16
- package/dist/chunks/{persistent-pty-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-efm0s0bd.js → reference-tweg7shc.js} +13 -13
- package/dist/chunks/{persistent-pty-9b0hn6p1.js → reference-v7m9x23a.js} +32 -32
- package/dist/chunks/{persistent-pty-yk0enmjw.js → reference-va3k01c5.js} +17 -17
- package/dist/chunks/{persistent-pty-6jdw569z.js → reference-vdanqmfn.js} +9 -9
- package/dist/chunks/{persistent-pty-kqeepe86.js → reference-vdcvmm1j.js} +9 -9
- package/dist/chunks/{persistent-pty-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-f19h6g1r.js → reference-vtj7y5ay.js} +32 -32
- package/dist/chunks/{persistent-pty-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-h8d1bq6v.js → reference-w45dy96y.js} +20 -20
- package/dist/chunks/{persistent-pty-wd3x2cqz.js → reference-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-5kjs1xx3.js → reference-wq5mx1s6.js} +15 -15
- package/dist/chunks/{persistent-pty-cgp2fa9y.js → reference-wryz29p9.js} +20 -20
- package/dist/chunks/{persistent-pty-xqcdm74r.js → reference-wsjfscnr.js} +18 -18
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-j8m1p4p1.js → reference-x3gqap9d.js} +4 -4
- package/dist/chunks/{persistent-pty-973ajm3c.js → reference-x6vfkpfk.js} +26 -26
- package/dist/chunks/{persistent-pty-dekmczra.js → reference-xatqgmg5.js} +86 -86
- package/dist/chunks/{persistent-pty-57b9ws8p.js → reference-xfkkasph.js} +7 -7
- package/dist/chunks/{persistent-pty-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
- package/dist/chunks/{persistent-pty-dq2map5x.js → reference-xnbmy0b6.js} +25 -25
- package/dist/chunks/{persistent-pty-p4zsmmgp.js → reference-xx4gy9g2.js} +23 -23
- package/dist/chunks/{persistent-pty-h641zn2v.js → reference-y0zsxj1p.js} +44 -44
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-p912m9y8.js → reference-y68kb7s2.js} +26 -26
- package/dist/chunks/{persistent-pty-ndmv45hp.js → reference-y6f0p4jw.js} +3 -3
- package/dist/chunks/{persistent-pty-awbdf8k5.js → reference-ynnjenk0.js} +10 -10
- package/dist/chunks/{persistent-pty-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-6993v4hz.js → reference-ypxg5ew0.js} +5 -5
- package/dist/chunks/{persistent-pty-6n4b0dsb.js → reference-yqhaceyq.js} +9 -9
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-5hn18gj9.js → reference-ytys1bh6.js} +19 -19
- package/dist/chunks/{persistent-pty-z07pqspn.js → reference-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-n0aymgn1.js → reference-z3as9k27.js} +23 -23
- package/dist/chunks/{persistent-pty-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-v1xx0enh.js → reference-z7gkyp1n.js} +11 -11
- package/dist/chunks/{persistent-pty-w5xkzqwn.js → reference-zeente5n.js} +17 -17
- package/dist/chunks/{persistent-pty-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-ydgy0jv4.js → reference-zfq801h6.js} +6 -6
- package/dist/chunks/{persistent-pty-a9wcce88.js → reference-zhmyjth5.js} +14 -14
- package/dist/chunks/{persistent-pty-j622fpqk.js → reference-zkgb0eff.js} +19 -19
- package/dist/chunks/{persistent-pty-akhrmp6k.js → reference-zqd4qn9t.js} +3 -3
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-2fcahxgq.js → reference-zt9e00je.js} +7 -7
- package/dist/chunks/{persistent-pty-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- 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 +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-619r8v3y.js +0 -18
- package/dist/chunks/persistent-pty-cdss73z7.js +0 -252
- package/dist/chunks/persistent-pty-fk7v7fft.js +0 -511
- package/dist/chunks/persistent-pty-vw66btjd.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qapv375x.js → reference-qapv375x.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-y6f0p4jw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-ffwxfrj0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-xnbmy0b6.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-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/unstable/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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./reference-4j3q3gy0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./reference-nwdmwc9e.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-m3k0s26c.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service50;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make7();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make7, VLLMPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin26,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin26 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin8 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin26, exports_opencode };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-mzrbxmyd.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin36 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin37 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin37 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin36, exports_tinyfish };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-qz8v4has.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service37,
|
|
12
12
|
node41
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-7gc63ees.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./reference-n4jtts10.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service35,
|
|
27
|
+
layer: () => layer12,
|
|
28
28
|
node: () => node39
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service37;
|
|
68
|
+
return Service35.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer14 = Layer.effect(Service36, 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 layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node39 = makeLocationNode({ service:
|
|
99
|
+
var node39 = makeLocationNode({ service: Service35, layer: layer12, deps: [node41] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service35, layer12, node39, exports_instructions3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-mzrbxmyd.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin37 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin34 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin37, exports_firecrawl };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-nw1wp5ck.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-nw1wp5ck.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./reference-49yzscfc.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
21
|
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service28,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node31
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service28 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service82;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service28.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node31 = makeLocationNode({
|
|
188
|
+
service: Service28,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node86]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service28, node31, exports_websearch3, Event6 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-nw1wp5ck.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./reference-bxbcym62.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./reference-7gc63ees.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin39
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin39 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service37;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin39, exports_command2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-y6f0p4jw.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|