@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node77
|
|
5
|
+
} from "./reference-mzrbxmyd.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-rdecwvm0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node70
|
|
13
|
+
} from "./reference-22sd1qqc.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-qz8v4has.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-z7gkyp1n.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./reference-hzmk18ty.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service39,
|
|
25
|
+
node43
|
|
26
|
+
} from "./reference-dgk138jj.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make15
|
|
29
|
+
} from "./reference-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./reference-7tgakezr.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./reference-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service38,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer15,
|
|
45
|
+
node: () => node42,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service68;
|
|
163
|
+
const transport = yield* Service39;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -258,17 +258,17 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service38.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [
|
|
268
|
+
var node42 = makeLocationNode({
|
|
269
|
+
service: Service38,
|
|
270
|
+
layer: layer15,
|
|
271
|
+
deps: [node70, node43, node77]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer15, node42, exports_model_request };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-nw1wp5ck.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event21
|
|
9
|
+
} from "./reference-ffwxfrj0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./reference-xnbmy0b6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service75
|
|
16
|
+
} from "./reference-rhs1s70h.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./reference-xx4gy9g2.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
node56
|
|
7
|
+
} from "./reference-0ecm74t9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
16
|
Service: () => Service14,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -35,7 +35,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
37
|
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
-
const environment = yield*
|
|
38
|
+
const environment = yield* Service53;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -58,6 +58,6 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
58
58
|
})));
|
|
59
59
|
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node56] });
|
|
62
62
|
|
|
63
|
-
export { Service14, readText2, syncTextBom2,
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-bxbcym62.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service61,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node63,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node63 = LayerNode.unbound(Service61, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service61;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service61, node63, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./persistent-pty-afed7ext.js";
|
|
4
|
+
} from "./reference-nw1wp5ck.js";
|
|
9
5
|
import {
|
|
10
6
|
Service80,
|
|
11
7
|
node84
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./reference-1v6wmkfd.js";
|
|
9
|
+
import {
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./reference-bxbcym62.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-f81tjggh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service51,
|
|
18
|
+
node54
|
|
19
|
+
} from "./reference-3v7e0nj5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./reference-td88ers4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service5,
|
|
25
|
+
node7
|
|
26
|
+
} from "./reference-2mq1h16s.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service51;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
|
+
const policy = yield* Service5;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node54, FSUtil.node, node82, node84, node87, node20, node7]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./reference-1v6wmkfd.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./reference-49yzscfc.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service72,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node74,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service72 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service82;
|
|
110
|
+
return Service72.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node74 = makeGlobalNode({
|
|
171
|
+
service: Service72,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service72, isError2, validateBranch2, node74, exports_repository_cache };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node56
|
|
9
|
+
} from "./reference-0ecm74t9.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-k607ew7q.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service53;
|
|
335
|
+
return Service7.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node56] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|