@opencode/core 0.0.0-dev-21266 → 0.0.0-dev-21267
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{bus-yn1b76hb.js → generate-00xf4nk1.js} +22 -22
- package/dist/chunks/{bus-zd33sdg2.js → generate-01m325sd.js} +46 -46
- package/dist/chunks/{bus-e01h0bn5.js → generate-05473zrx.js} +23 -23
- package/dist/chunks/{bus-ed3kz1mg.js → generate-090kmjxw.js} +17 -17
- package/dist/chunks/{bus-ydmc33ec.js → generate-0f09nngp.js} +4 -4
- package/dist/chunks/{bus-t550f9t1.js → generate-0gdmqesm.js} +4 -4
- package/dist/chunks/{bus-0jwsre1p.js → generate-0jwsre1p.js} +1 -1
- package/dist/chunks/{bus-kmdae88h.js → generate-0p56qr6s.js} +4 -4
- package/dist/chunks/{bus-yvvvp4gn.js → generate-0t9wd588.js} +8 -8
- package/dist/chunks/{bus-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{bus-jttnnx7f.js → generate-0ybe7mx1.js} +11 -11
- package/dist/chunks/{bus-yr283dpd.js → generate-0yfxsrzp.js} +20 -20
- package/dist/chunks/{bus-3jtdpmj5.js → generate-104pff1j.js} +13 -13
- package/dist/chunks/{bus-6sxwsw99.js → generate-16zn8v6x.js} +1 -1
- package/dist/chunks/{bus-wn64xv6f.js → generate-1hv113sc.js} +35 -35
- package/dist/chunks/{bus-vrhdrba6.js → generate-25553g2w.js} +29 -29
- package/dist/chunks/{bus-25yddszk.js → generate-25yddszk.js} +3 -3
- package/dist/chunks/{bus-0zsej0wv.js → generate-29fw136q.js} +12 -12
- package/dist/chunks/{bus-7knzy4e6.js → generate-2cj70478.js} +49 -49
- package/dist/chunks/{bus-yyxeh4v7.js → generate-2hsqkpxy.js} +17 -17
- package/dist/chunks/{bus-jg3dfvq9.js → generate-2ns20q01.js} +1 -1
- package/dist/chunks/{bus-8ydjhgne.js → generate-2vc2tgzp.js} +16 -16
- package/dist/chunks/{bus-10a4cy2j.js → generate-2y91agfv.js} +15 -15
- package/dist/chunks/{bus-98m0wdsg.js → generate-35a13mjs.js} +8 -8
- package/dist/chunks/{bus-za6q4rwa.js → generate-367nvyt8.js} +4 -4
- package/dist/chunks/{bus-d2gk5s1p.js → generate-369xw9xr.js} +9 -9
- package/dist/chunks/{bus-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{bus-n1n192bv.js → generate-3sj8yt8v.js} +4 -4
- package/dist/chunks/{bus-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-gny60x6x.js → generate-41g0a9q5.js} +24 -24
- package/dist/chunks/{bus-x3gqap9d.js → generate-44ak30pa.js} +4 -4
- package/dist/chunks/{bus-k9mrgf25.js → generate-46006692.js} +26 -26
- package/dist/chunks/{bus-3zaa0540.js → generate-4kkbnph0.js} +17 -17
- package/dist/chunks/{bus-wgp98h27.js → generate-4wqv1m3b.js} +11 -11
- package/dist/chunks/{bus-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{bus-g72yd4k4.js → generate-55m81wnp.js} +12 -12
- package/dist/chunks/{bus-s711m03j.js → generate-58tzmscz.js} +4 -4
- package/dist/chunks/{bus-9s84h5c0.js → generate-5fychvb3.js} +8 -8
- package/dist/chunks/{bus-jpv0vfft.js → generate-5kn7dr7a.js} +31 -31
- package/dist/chunks/{bus-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-w82002tp.js → generate-5n0tzv7x.js} +18 -18
- package/dist/chunks/{bus-3g8j9he4.js → generate-5w9yjztw.js} +1 -1
- package/dist/chunks/{bus-6827pfxn.js → generate-6827pfxn.js} +1 -1
- package/dist/chunks/{bus-251hxpd6.js → generate-6ac9zck1.js} +2 -2
- package/dist/chunks/{bus-g3jc4v5k.js → generate-6fzxepjb.js} +25 -25
- package/dist/chunks/{bus-b3g5zr8e.js → generate-6gwn7aqx.js} +21 -21
- package/dist/chunks/{bus-yn1a7w67.js → generate-6je9mqj2.js} +50 -50
- package/dist/chunks/{bus-qypa7y1q.js → generate-6tkmm0gj.js} +22 -22
- package/dist/chunks/{bus-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{bus-k0w1apbg.js → generate-76rvckpe.js} +5 -5
- package/dist/chunks/{bus-775gj3j1.js → generate-775gj3j1.js} +2 -2
- package/dist/chunks/{bus-bjmt3h04.js → generate-79mnhcfn.js} +8 -8
- package/dist/chunks/{bus-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-padvf0y2.js → generate-7ej2vx6g.js} +3 -3
- package/dist/chunks/{bus-g0tjp5kj.js → generate-7sfe249w.js} +18 -18
- package/dist/chunks/{bus-tjxj6aya.js → generate-7ydzythe.js} +11 -11
- package/dist/chunks/{bus-ndjvgv0p.js → generate-80qg8hhn.js} +24 -24
- package/dist/chunks/{bus-ygbt6n51.js → generate-84jvfywv.js} +45 -45
- package/dist/chunks/{bus-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{bus-ybfnsx4m.js → generate-86qzxe6p.js} +4 -4
- package/dist/chunks/{bus-59s08nwn.js → generate-86zv8aac.js} +23 -23
- package/dist/chunks/{bus-tcezcvh9.js → generate-89znhe33.js} +4 -4
- package/dist/chunks/{bus-tkaxmar1.js → generate-8ca6h76w.js} +42 -42
- package/dist/chunks/{bus-xxh9hqyg.js → generate-8e3x1n40.js} +12 -12
- package/dist/chunks/{bus-t1v6hbrs.js → generate-8e6zqeab.js} +23 -23
- package/dist/chunks/{bus-3m8g809g.js → generate-8frgrze6.js} +11 -11
- package/dist/chunks/{bus-f2g4a465.js → generate-8g3wkbtq.js} +11 -11
- package/dist/chunks/{bus-bbmcy7ch.js → generate-8h38gey0.js} +19 -19
- package/dist/chunks/{bus-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{bus-mwc34nj6.js → generate-8p6gc52r.js} +21 -21
- package/dist/chunks/{bus-ybzmr3mv.js → generate-8z95084d.js} +13 -13
- package/dist/chunks/{bus-sz15zhhw.js → generate-97aeaand.js} +4 -4
- package/dist/chunks/{bus-mftxrma4.js → generate-990wje9c.js} +34 -34
- package/dist/chunks/{bus-4ecaa909.js → generate-9apn9dpd.js} +27 -27
- package/dist/chunks/{bus-xrs412cv.js → generate-9ej0kez9.js} +8 -8
- package/dist/chunks/{bus-epdmq6ge.js → generate-9ejswvkp.js} +27 -27
- package/dist/chunks/{bus-jxyme2yx.js → generate-9en1v00j.js} +15 -15
- package/dist/chunks/{bus-47jkzegy.js → generate-9hwaqfsw.js} +5 -5
- package/dist/chunks/{bus-k0n84rb6.js → generate-9k5e52qd.js} +5 -5
- package/dist/chunks/{bus-1kpn42tv.js → generate-9r9t654e.js} +9 -9
- package/dist/chunks/{bus-xq54w83e.js → generate-9w3hv6tb.js} +11 -11
- package/dist/chunks/{bus-ced7p37b.js → generate-9xkywmt2.js} +17 -17
- package/dist/chunks/{bus-0hm7jcjh.js → generate-9xvs703c.js} +33 -33
- package/dist/chunks/{bus-91qna3x0.js → generate-a20pjse5.js} +39 -21
- package/dist/chunks/{bus-tnjg4dhx.js → generate-a4w0e3g0.js} +36 -36
- package/dist/chunks/{bus-9py8zj7h.js → generate-adr7sscw.js} +8 -8
- package/dist/chunks/{bus-hfbyhya8.js → generate-am1tmpj5.js} +9 -9
- package/dist/chunks/{bus-79hfyrv0.js → generate-aws61wts.js} +24 -24
- package/dist/chunks/{bus-mmv1cmp7.js → generate-ay0tswwg.js} +20 -20
- package/dist/chunks/{bus-41170nad.js → generate-b0av9spa.js} +21 -21
- package/dist/chunks/{bus-hjs6yvzy.js → generate-b4pznp96.js} +5 -5
- package/dist/chunks/{bus-c6m67ar4.js → generate-b5ywcw8t.js} +35 -35
- package/dist/chunks/{bus-9ajf8e0t.js → generate-bdpzzc2x.js} +11 -11
- package/dist/chunks/{bus-4tz4vp8b.js → generate-bf6bgs8n.js} +13 -13
- package/dist/chunks/{bus-ywt8jp22.js → generate-bjx1sjef.js} +9 -9
- package/dist/chunks/{bus-qdv0eqeg.js → generate-btnpkdvn.js} +20 -20
- package/dist/chunks/{bus-e8q9eb58.js → generate-bvkycppa.js} +7 -7
- package/dist/chunks/{bus-szgx7fbb.js → generate-bza9db00.js} +14 -14
- package/dist/chunks/{bus-bzeyqsqd.js → generate-bzeyqsqd.js} +1 -1
- package/dist/chunks/{bus-mchhdfqj.js → generate-c0gqk2ym.js} +6 -6
- package/dist/chunks/{bus-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
- package/dist/chunks/{bus-kzgpxbsh.js → generate-c7mzjgkk.js} +11 -11
- package/dist/chunks/{bus-emgpt6je.js → generate-c9rn2ypc.js} +10 -10
- package/dist/chunks/{bus-xkffaem6.js → generate-cjr4jfwe.js} +16 -16
- package/dist/chunks/{bus-p37cw4rj.js → generate-cmwkp3r5.js} +8 -8
- package/dist/chunks/{bus-hpmv303z.js → generate-cv3qp16z.js} +29 -29
- package/dist/chunks/{bus-ncaher0w.js → generate-czpjcjhw.js} +35 -35
- package/dist/chunks/{bus-fvw8dq47.js → generate-d0anyxb0.js} +26 -26
- package/dist/chunks/{bus-egeb8arg.js → generate-d0dysfx8.js} +29 -29
- package/dist/chunks/{bus-m7mtmfzx.js → generate-d101pqd8.js} +28 -28
- package/dist/chunks/{bus-cwa6csj7.js → generate-d4he2qe1.js} +9 -9
- package/dist/chunks/{bus-4sb5mf0e.js → generate-d9ff5bxv.js} +4 -4
- package/dist/chunks/{bus-zg9emzrs.js → generate-dcpjzjzy.js} +6 -6
- package/dist/chunks/{bus-0p96nk55.js → generate-dcvnv4qb.js} +5 -5
- package/dist/chunks/{bus-yj7k2rcj.js → generate-de12mgtc.js} +6 -6
- package/dist/chunks/{bus-6gah7m4z.js → generate-dgkwachn.js} +9 -9
- package/dist/chunks/{bus-jn848ard.js → generate-dmx7sk54.js} +51 -51
- package/dist/chunks/{bus-cefkz2r6.js → generate-dqkkx36v.js} +4 -4
- package/dist/chunks/{bus-drwq78ky.js → generate-drwq78ky.js} +1 -1
- package/dist/chunks/{bus-wh6zw745.js → generate-dssbfrwz.js} +5 -5
- package/dist/chunks/{bus-55zbd5p9.js → generate-dx0kb2rv.js} +10 -10
- package/dist/chunks/{bus-wpja4rbj.js → generate-e40jp9gw.js} +18 -18
- package/dist/chunks/{bus-stjqqcmy.js → generate-eaxwmach.js} +13 -13
- package/dist/chunks/{bus-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{bus-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-0w62qmxp.js → generate-eq20ba7x.js} +4 -4
- package/dist/chunks/{bus-q2e4fvgq.js → generate-exf1rp2q.js} +11 -11
- package/dist/chunks/{bus-fp6jbq7y.js → generate-f6s8y378.js} +7 -7
- package/dist/chunks/{bus-fcy631f0.js → generate-fcy631f0.js} +1 -1
- package/dist/chunks/{bus-1zjxwrfs.js → generate-fh261699.js} +30 -30
- package/dist/chunks/{bus-hq3c8me3.js → generate-fxaymqdw.js} +4 -4
- package/dist/chunks/{bus-gahz0pvf.js → generate-g00sp35w.js} +18 -18
- package/dist/chunks/{bus-btc59y3h.js → generate-g2yy5a74.js} +47 -47
- package/dist/chunks/{bus-9m6g250m.js → generate-ga5hpz79.js} +18 -18
- package/dist/chunks/{bus-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-5epw6tpg.js → generate-ge51s02a.js} +21 -21
- package/dist/chunks/{bus-dpz8vabp.js → generate-gg30gf2m.js} +3 -3
- package/dist/chunks/{bus-9yeatzar.js → generate-gksetf8c.js} +4 -4
- package/dist/chunks/{bus-5tvdg74g.js → generate-gs5b9ard.js} +23 -23
- package/dist/chunks/{bus-7s07e2p8.js → generate-h19hvyjb.js} +11 -11
- package/dist/chunks/{bus-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-njhqdk9p.js → generate-h71w788e.js} +9 -9
- package/dist/chunks/{bus-tcay1cqt.js → generate-h896pcm5.js} +6 -6
- package/dist/chunks/{bus-h978070j.js → generate-h978070j.js} +2 -2
- package/dist/chunks/{bus-p44megvr.js → generate-hb8amrc1.js} +11 -11
- package/dist/chunks/{bus-vb6b6ptv.js → generate-hc80vjct.js} +37 -37
- package/dist/chunks/{bus-8qa3g5sa.js → generate-hetnczqw.js} +2 -2
- package/dist/chunks/{bus-93nrydk0.js → generate-hgnqc3f0.js} +15 -15
- package/dist/chunks/{bus-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{bus-yaa9s5bc.js → generate-hw19m2y8.js} +30 -30
- package/dist/chunks/{bus-ve88pny4.js → generate-hyay7qq8.js} +8 -8
- package/dist/chunks/{bus-6g52hg0z.js → generate-j5xd911s.js} +23 -23
- package/dist/chunks/{bus-h0w9gz23.js → generate-j9esqkaj.js} +33 -33
- package/dist/chunks/{bus-v93rceyp.js → generate-jsxs2ezn.js} +16 -16
- package/dist/chunks/{bus-azj3c9sj.js → generate-jt801djq.js} +40 -40
- package/dist/chunks/{bus-t2fc4mz5.js → generate-k76krqzs.js} +4 -4
- package/dist/chunks/{bus-2gszvvfr.js → generate-k7ymkhxy.js} +59 -59
- package/dist/chunks/{bus-rcfxrzrj.js → generate-kd5vgtqm.js} +21 -21
- package/dist/chunks/{bus-fey4ts1c.js → generate-kg45811x.js} +9 -9
- package/dist/chunks/{bus-rz8y5msv.js → generate-ksqm10am.js} +5 -5
- package/dist/chunks/{bus-rtdqzg6e.js → generate-kt569c0v.js} +8 -8
- package/dist/chunks/{bus-kwb1v3vj.js → generate-kwb1v3vj.js} +1 -1
- package/dist/chunks/{bus-7xndqqjf.js → generate-m28pths9.js} +43 -43
- package/dist/chunks/{bus-my4zabxr.js → generate-m5jcjszt.js} +3 -3
- package/dist/chunks/{bus-c4n2mq4q.js → generate-m85h8xbw.js} +75 -75
- package/dist/chunks/{bus-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-n62bf944.js → generate-mhjdq6ms.js} +19 -19
- package/dist/chunks/{bus-npdnvv2y.js → generate-mmqcypja.js} +5 -5
- package/dist/chunks/{bus-8yqsymsg.js → generate-mpa2ejqj.js} +3 -3
- package/dist/chunks/{bus-tj6bwkjv.js → generate-mpb94e18.js} +6 -6
- package/dist/chunks/{bus-xjrr1tbj.js → generate-mzwdprrq.js} +18 -18
- package/dist/chunks/{bus-3xm18sx4.js → generate-n0ehqsbt.js} +32 -32
- package/dist/chunks/{bus-85kgbxfs.js → generate-n37wa2ef.js} +5 -5
- package/dist/chunks/{bus-y07syb1s.js → generate-n53bd8x0.js} +22 -22
- package/dist/chunks/{bus-qsc3f2wk.js → generate-n60k5ghq.js} +3 -3
- package/dist/chunks/{bus-5m84d531.js → generate-n61013np.js} +8 -8
- package/dist/chunks/{bus-9h6hha12.js → generate-nad40530.js} +4 -4
- package/dist/chunks/{bus-es0c3sc8.js → generate-nsqpyhg2.js} +45 -45
- package/dist/chunks/generate-nvmgv2ve.js +257 -0
- package/dist/chunks/{bus-5j85swdz.js → generate-nwvs2xsf.js} +28 -28
- package/dist/chunks/{bus-aw5wcttt.js → generate-nya2vtjv.js} +19 -19
- package/dist/chunks/{bus-876nd3zc.js → generate-p8jsg7pq.js} +97 -97
- package/dist/chunks/{bus-sm55xqtv.js → generate-pe1jyrm4.js} +18 -18
- package/dist/chunks/{bus-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{bus-wkmnxp3s.js → generate-pyeaw5nf.js} +15 -15
- package/dist/chunks/{bus-cmmtrxzf.js → generate-q0r0skws.js} +23 -23
- package/dist/chunks/{bus-9f4jxy4d.js → generate-q6pcr4cj.js} +8 -8
- package/dist/chunks/{bus-2vgzs72b.js → generate-q6yya7b3.js} +5 -5
- package/dist/chunks/{bus-evcv1wv7.js → generate-q7mytj03.js} +27 -27
- package/dist/chunks/{bus-tmheem2e.js → generate-q90qzcc3.js} +54 -54
- package/dist/chunks/{bus-xxnme27d.js → generate-q9p3axm1.js} +47 -47
- package/dist/chunks/{bus-brabvsjg.js → generate-qd25wvge.js} +14 -14
- package/dist/chunks/{bus-336dchah.js → generate-qgnk2xzv.js} +19 -19
- package/dist/chunks/{bus-k49f12m2.js → generate-qh3m0bt8.js} +22 -22
- package/dist/chunks/{bus-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{bus-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-fkc22237.js → generate-qx2dcbnj.js} +31 -31
- package/dist/chunks/{bus-c7zza6wf.js → generate-r2z489rp.js} +3 -3
- package/dist/chunks/{bus-y0mc46pw.js → generate-r36qtfr5.js} +9 -9
- package/dist/chunks/{bus-hb57a7eh.js → generate-r6yt1a8r.js} +12 -12
- package/dist/chunks/{bus-b23dxy93.js → generate-rd90dz52.js} +194 -194
- package/dist/chunks/{bus-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-9bawg3pe.js → generate-reppd9nn.js} +13 -13
- package/dist/chunks/{bus-rert0e01.js → generate-rert0e01.js} +2 -2
- package/dist/chunks/{bus-5a6w5e5z.js → generate-rgwsscdf.js} +9 -9
- package/dist/chunks/{bus-3d2wf493.js → generate-rh1ehjhp.js} +9 -9
- package/dist/chunks/{bus-njga2we6.js → generate-rhd650sz.js} +14 -14
- package/dist/chunks/{bus-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
- package/dist/chunks/{bus-6pc27hjz.js → generate-rkprpv83.js} +6 -6
- package/dist/chunks/{bus-2c8a123h.js → generate-rq2az322.js} +14 -14
- package/dist/chunks/{bus-cs225cq5.js → generate-ryjck82n.js} +14 -14
- package/dist/chunks/{bus-tzdgzxxe.js → generate-rypx97jt.js} +17 -17
- package/dist/chunks/{bus-86a0m7b8.js → generate-s59wcpct.js} +18 -18
- package/dist/chunks/{bus-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
- package/dist/chunks/{bus-m9kpzf6v.js → generate-sdds1ttc.js} +34 -34
- package/dist/chunks/{bus-tv49b8kf.js → generate-sgecb4a9.js} +4 -4
- package/dist/chunks/{bus-2v4tj28y.js → generate-sp1w0rbh.js} +35 -35
- package/dist/chunks/{bus-v0x2aaxa.js → generate-sphypsd8.js} +9 -9
- package/dist/chunks/{bus-3cyr61gt.js → generate-swvd7h3x.js} +7 -7
- package/dist/chunks/{bus-syv4x271.js → generate-syv4x271.js} +1 -1
- package/dist/chunks/{bus-16nkx76r.js → generate-szzeq7yn.js} +20 -20
- package/dist/chunks/{bus-wdevdys9.js → generate-ta2yzdag.js} +13 -13
- package/dist/chunks/{bus-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-n9ddjvr3.js → generate-tc1xhxj3.js} +9 -9
- package/dist/chunks/{bus-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{bus-e3w1cn1z.js → generate-tj93jbcz.js} +32 -32
- package/dist/chunks/{bus-by4hyqsp.js → generate-tk3kjvjs.js} +26 -26
- package/dist/chunks/{bus-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
- package/dist/chunks/{bus-7zekvavx.js → generate-tsw5e8b1.js} +22 -22
- package/dist/chunks/{bus-x5ydsv12.js → generate-tt004vec.js} +34 -34
- package/dist/chunks/{bus-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{bus-xg5mep4p.js → generate-v0dnza1z.js} +4 -4
- package/dist/chunks/{bus-jwf5bcwj.js → generate-v0nk6czx.js} +19 -19
- package/dist/chunks/{bus-w9cpnd43.js → generate-v3q0dy8p.js} +42 -42
- package/dist/chunks/{bus-80nyy4s7.js → generate-v47b7hyc.js} +25 -25
- package/dist/chunks/{bus-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{bus-14pd4da0.js → generate-v7w38sqv.js} +91 -91
- package/dist/chunks/{bus-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/generate-vnkjks7b.js +18 -0
- package/dist/chunks/{bus-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-z29mdr8e.js → generate-w8xs7tx2.js} +32 -32
- package/dist/chunks/{bus-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{bus-tm6y6z8k.js → generate-wkt7fkw0.js} +5 -5
- package/dist/chunks/{bus-dhs3kjcy.js → generate-wzm8that.js} +3 -3
- package/dist/chunks/{bus-x5jhdhzv.js → generate-x5jhdhzv.js} +2 -2
- package/dist/chunks/{bus-y6bex35g.js → generate-x661k3y3.js} +4 -4
- package/dist/chunks/{bus-qdf4tda4.js → generate-xet4vjak.js} +27 -27
- package/dist/chunks/{bus-h3trcs2a.js → generate-xfnxesgc.js} +6 -6
- package/dist/chunks/{bus-1b5hrfer.js → generate-xr921mz0.js} +27 -27
- package/dist/chunks/{bus-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{bus-g686f6pq.js → generate-y7nndgyc.js} +9 -9
- package/dist/chunks/{bus-fft97yb2.js → generate-y9068s8b.js} +13 -13
- package/dist/chunks/{bus-xten7zsb.js → generate-ycbz4zet.js} +38 -38
- package/dist/chunks/{bus-0yyzv7mm.js → generate-yfrv12an.js} +13 -13
- package/dist/chunks/{bus-jcnxew74.js → generate-yg3agy0r.js} +16 -16
- package/dist/chunks/{bus-rwbjkkrf.js → generate-yjcsa246.js} +34 -34
- package/dist/chunks/{bus-f2n192rq.js → generate-yp2x3t23.js} +4 -4
- package/dist/chunks/{bus-w6bawrs9.js → generate-yqcazjzb.js} +19 -19
- package/dist/chunks/{bus-8ktfsppy.js → generate-yr99bf11.js} +10 -10
- package/dist/chunks/{bus-139rzprj.js → generate-yy4tknq9.js} +13 -13
- package/dist/chunks/{bus-8b47pa13.js → generate-yyk0gn1k.js} +343 -343
- package/dist/chunks/{bus-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z18fegx4.js → generate-z18fegx4.js} +1 -1
- package/dist/chunks/{bus-7xn7f2f6.js → generate-z4tdvtz8.js} +11 -11
- package/dist/chunks/generate-z5m47y6j.js +26 -0
- package/dist/chunks/{bus-t7n9q6bq.js → generate-zav06jzw.js} +4 -4
- package/dist/chunks/{bus-grkckybk.js → generate-zne0chz1.js} +26 -26
- package/dist/chunks/{bus-0v0hc1bx.js → generate-zprz3bv1.js} +5 -5
- package/dist/chunks/{bus-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zaww7a0s.js → generate-zrhmxj1q.js} +22 -22
- package/dist/chunks/{bus-ct38gx52.js → generate-zw38a422.js} +33 -33
- package/dist/chunks/{bus-7c3td919.js → generate-zwgc0wm1.js} +16 -16
- package/dist/chunks/{bus-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/codemode/tool.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/bus-1x11rq2a.js +0 -18
- package/dist/chunks/bus-eexcx3re.js +0 -257
- package/dist/chunks/bus-v8stgmvm.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{bus-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./generate-mhjdq6ms.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./generate-jsxs2ezn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./generate-2cj70478.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service77,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-v0nk6czx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./generate-p8jsg7pq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./generate-8h38gey0.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin21
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin21 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service36;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin14 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service81;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service77;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service57;
|
|
62
|
+
const subagents = yield* Service11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin14 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin21, exports_command2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./generate-2vc2tgzp.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./generate-j9esqkaj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./generate-d0dysfx8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service65
|
|
16
|
+
} from "./generate-zw38a422.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./generate-8e6zqeab.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 = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service65;
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(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(derive3(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(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID9,
|
|
3
|
+
Info17,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-m5jcjszt.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
Service86,
|
|
11
|
-
node90
|
|
12
|
-
} from "./bus-7s07e2p8.js";
|
|
13
|
-
import {
|
|
14
|
-
isSynced2,
|
|
15
10
|
Service85,
|
|
16
11
|
node89
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./generate-h19hvyjb.js";
|
|
13
|
+
import {
|
|
14
|
+
isSynced2,
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./generate-2vc2tgzp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./generate-6fzxepjb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service50,
|
|
24
|
+
node52
|
|
25
|
+
} from "./generate-h896pcm5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node51
|
|
34
|
+
} from "./generate-zne0chz1.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./generate-dqkkx36v.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-pe1jyrm4.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./generate-00xf4nk1.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node62
|
|
51
|
+
} from "./generate-7ydzythe.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError7,
|
|
54
54
|
InvalidListCursorError2,
|
|
55
55
|
MessageNotFoundError2,
|
|
56
56
|
ForkEmptyError2,
|
|
@@ -62,58 +62,58 @@ import {
|
|
|
62
62
|
BusyError2,
|
|
63
63
|
InboxConflictError2,
|
|
64
64
|
SkillNotFoundError2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./generate-de12mgtc.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
67
|
+
ListInput3,
|
|
68
|
+
Service54,
|
|
69
|
+
node56
|
|
70
|
+
} from "./generate-9xkywmt2.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service52,
|
|
73
|
+
node54
|
|
74
|
+
} from "./generate-bza9db00.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service47,
|
|
77
|
+
node50
|
|
78
|
+
} from "./generate-v3q0dy8p.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./generate-775gj3j1.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service25,
|
|
84
|
+
node28
|
|
85
|
+
} from "./generate-8frgrze6.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./generate-qgnk2xzv.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./generate-9ej0kez9.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service80,
|
|
94
|
+
node84
|
|
95
|
+
} from "./generate-rh1ehjhp.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service19,
|
|
101
|
+
node22
|
|
102
|
+
} from "./generate-k7ymkhxy.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service34,
|
|
105
|
+
node37
|
|
106
|
+
} from "./generate-0t9wd588.js";
|
|
107
107
|
import {
|
|
108
108
|
make12
|
|
109
|
-
} from "./
|
|
109
|
+
} from "./generate-990wje9c.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./generate-q6pcr4cj.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./generate-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -124,24 +124,24 @@ __export(exports_session, {
|
|
|
124
124
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
125
125
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
126
126
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
127
|
-
ID: () =>
|
|
127
|
+
ID: () => ID9,
|
|
128
128
|
InboxConflictError: () => InboxConflictError2,
|
|
129
|
-
Info: () =>
|
|
129
|
+
Info: () => Info17,
|
|
130
130
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
131
131
|
ListAnchor: () => ListAnchor2,
|
|
132
132
|
ListCursor: () => ListCursor2,
|
|
133
|
-
ListInput: () =>
|
|
133
|
+
ListInput: () => ListInput2,
|
|
134
134
|
MessageDecodeError: () => MessageDecodeError2,
|
|
135
135
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
136
|
-
NotFoundError: () =>
|
|
136
|
+
NotFoundError: () => NotFoundError7,
|
|
137
137
|
PromptConflictError: () => PromptConflictError2,
|
|
138
|
-
Service: () =>
|
|
138
|
+
Service: () => Service18,
|
|
139
139
|
Session: () => exports_session,
|
|
140
140
|
SessionSchema: () => SessionSchema2,
|
|
141
141
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
142
142
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
143
143
|
TurnRangeError: () => TurnRangeError2,
|
|
144
|
-
node: () =>
|
|
144
|
+
node: () => node21
|
|
145
145
|
});
|
|
146
146
|
import { DateTime, Effect, Layer, Schema, Context, Stream } from "effect";
|
|
147
147
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -151,28 +151,28 @@ import { Model } from "@opencode/schema/model";
|
|
|
151
151
|
import path from "path";
|
|
152
152
|
import { Node } from "@opencode/util/effect/app-node";
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
|
-
var
|
|
154
|
+
var ListInput2 = ListInput3;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
|
-
const database = yield*
|
|
160
|
+
const database = yield* Service85;
|
|
161
161
|
const db = database.db;
|
|
162
|
-
const bus = yield*
|
|
163
|
-
const projects = yield*
|
|
164
|
-
const execution = yield*
|
|
162
|
+
const bus = yield* Service84;
|
|
163
|
+
const projects = yield* Service82;
|
|
164
|
+
const execution = yield* Service47;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
171
|
-
const environments = yield*
|
|
172
|
-
const locations = yield*
|
|
166
|
+
const transport = yield* Service25;
|
|
167
|
+
const store = yield* Service54;
|
|
168
|
+
const instances = yield* Service50;
|
|
169
|
+
const moves = yield* Service19;
|
|
170
|
+
const jobs = yield* Service52;
|
|
171
|
+
const environments = yield* Service34;
|
|
172
|
+
const locations = yield* Service80;
|
|
173
173
|
const sessions = yield* make12();
|
|
174
174
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service18.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
180
180
|
return recorded;
|
|
181
181
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
182
182
|
if (input.parentID && parent === undefined)
|
|
183
|
-
return yield* new
|
|
183
|
+
return yield* new NotFoundError7({ sessionID: input.parentID });
|
|
184
184
|
const location = parent?.location ?? input.location;
|
|
185
185
|
if (location === undefined)
|
|
186
186
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -301,11 +301,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
301
301
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
302
302
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
304
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
305
305
|
}),
|
|
306
306
|
command: Effect.fn("Session.command")(function* (input) {
|
|
307
307
|
const session = yield* result.get(input.sessionID);
|
|
308
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
308
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
|
|
309
309
|
}),
|
|
310
310
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
311
311
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -349,27 +349,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
349
349
|
});
|
|
350
350
|
return result;
|
|
351
351
|
}));
|
|
352
|
-
var
|
|
353
|
-
service:
|
|
352
|
+
var node21 = Node.makeGlobalNode({
|
|
353
|
+
service: Service18,
|
|
354
354
|
layer,
|
|
355
355
|
deps: [
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
node90,
|
|
356
|
+
node54,
|
|
357
|
+
node37,
|
|
359
358
|
node89,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
node35,
|
|
363
|
-
llmClient2,
|
|
364
|
-
node65,
|
|
359
|
+
node88,
|
|
360
|
+
node86,
|
|
365
361
|
node50,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
362
|
+
node28,
|
|
363
|
+
llmClient2,
|
|
364
|
+
node56,
|
|
365
|
+
node52,
|
|
366
|
+
node51,
|
|
367
|
+
node22,
|
|
368
|
+
node23,
|
|
369
|
+
node84,
|
|
370
370
|
FSUtil.node,
|
|
371
|
-
|
|
371
|
+
node62
|
|
372
372
|
]
|
|
373
373
|
});
|
|
374
374
|
|
|
375
|
-
export { ListAnchor2, ListCursor2,
|
|
375
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service18, node21, exports_session };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./generate-h19hvyjb.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service21 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make18({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service21.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./generate-jsxs2ezn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./generate-2cj70478.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service79
|
|
12
|
+
} from "./generate-6gwn7aqx.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin31
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin31 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service36;
|
|
34
|
+
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service79;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin11 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin31, exports_worktree };
|