@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,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./reference-bxbcym62.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./reference-nwdmwc9e.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-y68kb7s2.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin18 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service50;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin18, exports_reference };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
|
-
node84
|
|
8
|
-
} from "./persistent-pty-54whtqgx.js";
|
|
4
|
+
} from "./reference-nw1wp5ck.js";
|
|
9
5
|
import {
|
|
10
6
|
Service78,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
7
|
+
node82
|
|
8
|
+
} from "./reference-bxbcym62.js";
|
|
9
|
+
import {
|
|
10
|
+
Service53,
|
|
11
|
+
node56
|
|
12
|
+
} from "./reference-0ecm74t9.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service69,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node71
|
|
20
|
+
} from "./reference-3bkkhtex.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service68,
|
|
23
|
+
node70
|
|
24
|
+
} from "./reference-22sd1qqc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service48,
|
|
27
|
+
node51
|
|
28
|
+
} from "./reference-qe26s0zb.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-y6f0p4jw.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service50,
|
|
35
|
+
node53
|
|
36
|
+
} from "./reference-nwdmwc9e.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./reference-r4xhx5yy.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./reference-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service47,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node50
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service47 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service78;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service69;
|
|
95
|
+
const environment = yield* Service53;
|
|
96
|
+
const hooks = yield* Service68;
|
|
97
|
+
const environments = yield* Service48;
|
|
98
|
+
const config = yield* Service50;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service47.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node50 = makeLocationNode({
|
|
329
|
+
service: Service47,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
|
|
333
|
+
node82,
|
|
334
334
|
Global.node,
|
|
335
|
+
node71,
|
|
336
|
+
node56,
|
|
335
337
|
node70,
|
|
336
|
-
|
|
337
|
-
node77,
|
|
338
|
+
node51,
|
|
338
339
|
node53,
|
|
339
|
-
node61,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export { NotFoundError7, RETENTION2, DIRECTORY2,
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service47, cleanup2, node50, exports_shell4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info13
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info13 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info13, exports_attachment };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-nw1wp5ck.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options6,
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
30
|
+
Service: () => Service43,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options6 = Schema.Struct({
|
|
@@ -50,9 +50,9 @@ var Options6 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service43.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service43,
|
|
110
|
+
layer: layer17(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node46 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options6, Service43, layer17, configured6, node46, exports_instruction_discovery };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./reference-07w59vex.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-f81tjggh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./reference-eq0vda6f.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service58;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service40 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service40.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service40, awaitActivation2, exports_service };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-91xrs62w.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-nw1wp5ck.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info34,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service81,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID18 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event21 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info34 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID18,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info34({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service81.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info34({
|
|
80
|
+
id: ID18.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID18, OAuth3, Key4, Value2, Event21, Info34, Service81, node85, exports_credential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info9
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info9 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info9, exports_command5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service11 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service11.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service11, node13, exports_update };
|