@opencode/core 0.0.0-dev-21266 → 0.0.0-dev-21268
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{bus-t550f9t1.js → formatter-02nrjc1r.js} +8 -8
- package/dist/chunks/{bus-xjrr1tbj.js → formatter-04ap81dm.js} +9 -9
- package/dist/chunks/{bus-v93rceyp.js → formatter-06c933ea.js} +12 -12
- package/dist/chunks/{bus-b3g5zr8e.js → formatter-0ed8e971.js} +20 -20
- package/dist/chunks/{bus-w82002tp.js → formatter-0j6qdzw7.js} +22 -22
- package/dist/chunks/{bus-93nrydk0.js → formatter-0kve3vzz.js} +15 -15
- package/dist/chunks/{bus-yvvvp4gn.js → formatter-0t9wd588.js} +8 -8
- package/dist/chunks/{bus-ct38gx52.js → formatter-0v8jbydc.js} +32 -32
- package/dist/chunks/{bus-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{bus-emgpt6je.js → formatter-14nzty46.js} +10 -10
- package/dist/chunks/{bus-w9cpnd43.js → formatter-1845wcnm.js} +37 -37
- package/dist/chunks/{bus-79hfyrv0.js → formatter-1gd0p40m.js} +21 -21
- package/dist/chunks/{bus-m7mtmfzx.js → formatter-1hcnqvj0.js} +23 -23
- package/dist/chunks/{bus-3cyr61gt.js → formatter-1pvppg81.js} +11 -11
- package/dist/chunks/{bus-139rzprj.js → formatter-1xf6wzjn.js} +10 -10
- package/dist/chunks/{bus-c6m67ar4.js → formatter-24920ypz.js} +35 -35
- package/dist/chunks/{bus-9bawg3pe.js → formatter-2afzv2w7.js} +13 -13
- package/dist/chunks/{bus-padvf0y2.js → formatter-2mmtmdq9.js} +3 -3
- package/dist/chunks/{bus-w6bawrs9.js → formatter-2mw400dq.js} +17 -17
- package/dist/chunks/{bus-yr283dpd.js → formatter-2p6ntd4m.js} +26 -26
- package/dist/chunks/{bus-4sb5mf0e.js → formatter-2tgf6cja.js} +4 -4
- package/dist/chunks/{bus-7zekvavx.js → formatter-30a99vc0.js} +19 -19
- package/dist/chunks/{bus-xg5mep4p.js → formatter-326x6pdt.js} +4 -4
- package/dist/chunks/{bus-vrhdrba6.js → formatter-38qay2m7.js} +32 -32
- package/dist/chunks/{bus-336dchah.js → formatter-3dbk125e.js} +13 -13
- package/dist/chunks/{bus-7knzy4e6.js → formatter-3gmzkzp0.js} +45 -45
- package/dist/chunks/{bus-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-p37cw4rj.js → formatter-3hfr6h8q.js} +8 -8
- package/dist/chunks/{bus-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{bus-8yqsymsg.js → formatter-3ks3pb71.js} +6 -6
- package/dist/chunks/{bus-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-ced7p37b.js → formatter-49znd53m.js} +14 -14
- package/dist/chunks/{bus-njhqdk9p.js → formatter-4nj4bn9q.js} +2 -2
- package/dist/chunks/{bus-s711m03j.js → formatter-4p2aqbrx.js} +6 -6
- package/dist/chunks/{bus-qsc3f2wk.js → formatter-560ck4c5.js} +3 -3
- package/dist/chunks/{bus-hpmv303z.js → formatter-5fmp7ejv.js} +26 -26
- package/dist/chunks/{bus-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-7xndqqjf.js → formatter-5p6qw3tz.js} +43 -43
- package/dist/chunks/{bus-q2e4fvgq.js → formatter-5tcnstt9.js} +11 -11
- package/dist/chunks/{bus-yn1a7w67.js → formatter-60byc3m8.js} +50 -50
- package/dist/chunks/{bus-ncaher0w.js → formatter-6133dmrp.js} +35 -35
- package/dist/chunks/{bus-6827pfxn.js → formatter-6827pfxn.js} +1 -1
- package/dist/chunks/{bus-jn848ard.js → formatter-6gtdewqb.js} +47 -47
- package/dist/chunks/{bus-t2fc4mz5.js → formatter-6hh8tjw2.js} +4 -4
- package/dist/chunks/{bus-hjs6yvzy.js → formatter-6md12hsa.js} +5 -5
- package/dist/chunks/{bus-btc59y3h.js → formatter-6n87qsqk.js} +40 -40
- package/dist/chunks/{bus-rcfxrzrj.js → formatter-6shsmc4s.js} +16 -16
- package/dist/chunks/{bus-x3gqap9d.js → formatter-6t4hr8r6.js} +4 -4
- package/dist/chunks/{bus-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{bus-xkffaem6.js → formatter-75rtafjv.js} +11 -11
- package/dist/chunks/{bus-775gj3j1.js → formatter-775gj3j1.js} +2 -2
- package/dist/chunks/{bus-cwa6csj7.js → formatter-79qaa2kf.js} +9 -9
- package/dist/chunks/{bus-9py8zj7h.js → formatter-7asbmpsf.js} +8 -8
- package/dist/chunks/{bus-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-gny60x6x.js → formatter-7cx1y1jk.js} +25 -25
- package/dist/chunks/{bus-rz8y5msv.js → formatter-7knmx1zy.js} +5 -5
- package/dist/chunks/{bus-h0w9gz23.js → formatter-7mdty465.js} +30 -30
- package/dist/chunks/{bus-xxnme27d.js → formatter-7mxcbd2h.js} +45 -45
- package/dist/chunks/{bus-tj6bwkjv.js → formatter-7t5c4g27.js} +9 -9
- package/dist/chunks/{bus-ndjvgv0p.js → formatter-81dsrpbq.js} +24 -24
- package/dist/chunks/{bus-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{bus-y0mc46pw.js → formatter-880p7epb.js} +9 -9
- package/dist/chunks/{bus-t7n9q6bq.js → formatter-8gxqpgph.js} +4 -4
- package/dist/chunks/{bus-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{bus-bbmcy7ch.js → formatter-8qgr4h1v.js} +19 -19
- package/dist/chunks/{bus-tnjg4dhx.js → formatter-9864qn22.js} +19 -19
- package/dist/chunks/{bus-xrs412cv.js → formatter-9b8ncctb.js} +8 -8
- package/dist/chunks/{bus-47jkzegy.js → formatter-9hwaqfsw.js} +5 -5
- package/dist/chunks/{bus-rwbjkkrf.js → formatter-9md8he8y.js} +34 -34
- package/dist/chunks/{bus-86a0m7b8.js → formatter-9nerqjs9.js} +21 -21
- package/dist/chunks/{bus-41170nad.js → formatter-9qxahjdj.js} +23 -23
- package/dist/chunks/{bus-tv49b8kf.js → formatter-9x7kjnc6.js} +4 -4
- package/dist/chunks/{bus-k0w1apbg.js → formatter-a01j9zgm.js} +5 -5
- package/dist/chunks/{bus-91qna3x0.js → formatter-a20pjse5.js} +39 -21
- package/dist/chunks/{bus-z29mdr8e.js → formatter-apba62c4.js} +26 -26
- package/dist/chunks/{bus-3zaa0540.js → formatter-axvj98vx.js} +17 -17
- package/dist/chunks/{bus-5a6w5e5z.js → formatter-ay1662mf.js} +9 -9
- package/dist/chunks/{bus-g72yd4k4.js → formatter-b12fh71z.js} +5 -5
- package/dist/chunks/{bus-4tz4vp8b.js → formatter-b3nqcn4t.js} +13 -13
- package/dist/chunks/{bus-g686f6pq.js → formatter-bacj9t34.js} +9 -9
- package/dist/chunks/{bus-yaa9s5bc.js → formatter-bcndysnn.js} +30 -30
- package/dist/chunks/{bus-v0x2aaxa.js → formatter-bmvxsevk.js} +12 -12
- package/dist/chunks/{bus-bzeyqsqd.js → formatter-bzeyqsqd.js} +1 -1
- package/dist/chunks/{bus-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
- package/dist/chunks/{bus-wdevdys9.js → formatter-c340nhfc.js} +13 -13
- package/dist/chunks/{bus-fkc22237.js → formatter-cdf78ym6.js} +28 -28
- package/dist/chunks/{bus-yn1b76hb.js → formatter-ce2nyva1.js} +13 -13
- package/dist/chunks/{bus-wkmnxp3s.js → formatter-cedvsd9p.js} +15 -15
- package/dist/chunks/{bus-8ydjhgne.js → formatter-cqsap5z8.js} +4 -4
- package/dist/chunks/{bus-55zbd5p9.js → formatter-ctbnrc59.js} +10 -10
- package/dist/chunks/{bus-zd33sdg2.js → formatter-d04wke9a.js} +34 -34
- package/dist/chunks/{bus-qypa7y1q.js → formatter-d18yz2tr.js} +11 -11
- package/dist/chunks/{bus-mmv1cmp7.js → formatter-d2m5bwmv.js} +17 -17
- package/dist/chunks/{bus-n9ddjvr3.js → formatter-d3394kee.js} +14 -14
- package/dist/chunks/{bus-zaww7a0s.js → formatter-d55h3tfb.js} +20 -20
- package/dist/chunks/{bus-wgp98h27.js → formatter-d9gp05e8.js} +11 -11
- package/dist/chunks/{bus-dhs3kjcy.js → formatter-dftrqtzk.js} +5 -5
- package/dist/chunks/{bus-1b5hrfer.js → formatter-dktgvxhq.js} +25 -25
- package/dist/chunks/{bus-y71avatq.js → formatter-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-drwq78ky.js → formatter-drwq78ky.js} +1 -1
- package/dist/chunks/{bus-tcay1cqt.js → formatter-dzse07y5.js} +6 -6
- package/dist/chunks/{bus-cs225cq5.js → formatter-e3wg82qa.js} +14 -14
- package/dist/chunks/{bus-c7zza6wf.js → formatter-e80seqcp.js} +3 -3
- package/dist/chunks/{bus-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{bus-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-n1n192bv.js → formatter-f29mbr7f.js} +4 -4
- package/dist/chunks/{bus-5epw6tpg.js → formatter-f5jgrrfv.js} +21 -21
- package/dist/chunks/{bus-9ajf8e0t.js → formatter-f78dsz6n.js} +11 -11
- package/dist/chunks/{bus-0jwsre1p.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{bus-fcy631f0.js → formatter-fcy631f0.js} +1 -1
- package/dist/chunks/{bus-p44megvr.js → formatter-fgvzqqhz.js} +11 -11
- package/dist/chunks/{bus-ve88pny4.js → formatter-fjzkwv4w.js} +5 -5
- package/dist/chunks/{bus-tzdgzxxe.js → formatter-fka0j1an.js} +15 -15
- package/dist/chunks/{bus-25yddszk.js → formatter-fn9t717r.js} +6 -6
- package/dist/chunks/{bus-jwf5bcwj.js → formatter-fqxpggxp.js} +18 -18
- package/dist/chunks/formatter-fsthefce.js +26 -0
- package/dist/chunks/{bus-hq3c8me3.js → formatter-fxaymqdw.js} +4 -4
- package/dist/chunks/{bus-3xm18sx4.js → formatter-g0nw424s.js} +32 -32
- package/dist/chunks/{bus-za6q4rwa.js → formatter-g3tfzm17.js} +4 -4
- package/dist/chunks/{bus-jttnnx7f.js → formatter-g4jej14z.js} +14 -14
- package/dist/chunks/{bus-azj3c9sj.js → formatter-g73qmrf1.js} +37 -37
- package/dist/chunks/{bus-14pd4da0.js → formatter-g9kdeh46.js} +87 -87
- package/dist/chunks/{bus-98m0wdsg.js → formatter-gc9yyap8.js} +8 -8
- package/dist/chunks/{bus-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-y6bex35g.js → formatter-gqtdsdt7.js} +4 -4
- package/dist/chunks/{bus-xten7zsb.js → formatter-gwpaft9z.js} +34 -34
- package/dist/chunks/{bus-7xn7f2f6.js → formatter-gx7ed082.js} +11 -11
- package/dist/chunks/{bus-wpja4rbj.js → formatter-gyahv1by.js} +18 -18
- package/dist/chunks/{bus-2gszvvfr.js → formatter-h4smr58a.js} +44 -44
- package/dist/chunks/{bus-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-h978070j.js → formatter-h978070j.js} +2 -2
- package/dist/chunks/{bus-npdnvv2y.js → formatter-h9ef7te3.js} +5 -5
- package/dist/chunks/{bus-g0tjp5kj.js → formatter-hgpmxtmw.js} +16 -16
- package/dist/chunks/{bus-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{bus-9yeatzar.js → formatter-hj6k4shy.js} +4 -4
- package/dist/chunks/{bus-16nkx76r.js → formatter-hkh1jx8g.js} +18 -18
- package/dist/chunks/{bus-e3w1cn1z.js → formatter-j2r6n3at.js} +24 -24
- package/dist/chunks/{bus-fvw8dq47.js → formatter-j3rvqy98.js} +24 -24
- package/dist/chunks/{bus-fft97yb2.js → formatter-j8y9j9kj.js} +24 -24
- package/dist/chunks/{bus-kmdae88h.js → formatter-jbv6fv9n.js} +4 -4
- package/dist/chunks/{bus-yyxeh4v7.js → formatter-jdma4b20.js} +17 -17
- package/dist/chunks/{bus-mftxrma4.js → formatter-jftvfy36.js} +34 -34
- package/dist/chunks/{bus-tjxj6aya.js → formatter-jnyfd4gm.js} +11 -11
- package/dist/chunks/{bus-7s07e2p8.js → formatter-jq12p00e.js} +3 -3
- package/dist/chunks/{bus-cmmtrxzf.js → formatter-jrbcd3qy.js} +28 -28
- package/dist/chunks/{bus-egeb8arg.js → formatter-jt04gwr3.js} +30 -30
- package/dist/chunks/{bus-es0c3sc8.js → formatter-jwg5m4bp.js} +45 -45
- package/dist/chunks/{bus-3d2wf493.js → formatter-k0a04qyy.js} +8 -8
- package/dist/chunks/{bus-4ecaa909.js → formatter-k10w2rw8.js} +25 -25
- package/dist/chunks/{bus-9s84h5c0.js → formatter-k15rxyma.js} +8 -8
- package/dist/chunks/{bus-cefkz2r6.js → formatter-kd03d9gr.js} +4 -4
- package/dist/chunks/{bus-8ktfsppy.js → formatter-kd568tns.js} +5 -5
- package/dist/chunks/{bus-hfbyhya8.js → formatter-kecqbpkt.js} +10 -10
- package/dist/chunks/{bus-c4n2mq4q.js → formatter-kgnmzmc2.js} +64 -64
- package/dist/chunks/{bus-e8q9eb58.js → formatter-kmk629k8.js} +7 -7
- package/dist/chunks/{bus-80nyy4s7.js → formatter-kpawbemv.js} +21 -21
- package/dist/chunks/{bus-kwb1v3vj.js → formatter-kwb1v3vj.js} +1 -1
- package/dist/chunks/{bus-njga2we6.js → formatter-kzaea99f.js} +14 -14
- package/dist/chunks/{bus-7c3td919.js → formatter-m2eens3g.js} +19 -19
- package/dist/chunks/{bus-xq54w83e.js → formatter-m53709c2.js} +11 -11
- package/dist/chunks/{bus-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-maspj1v3.js → formatter-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-tmheem2e.js → formatter-mdqes59k.js} +47 -47
- package/dist/chunks/{bus-sz15zhhw.js → formatter-mqqhst8y.js} +4 -4
- package/dist/chunks/{bus-grkckybk.js → formatter-n1w5qww0.js} +24 -24
- package/dist/chunks/{bus-t1v6hbrs.js → formatter-n23bjbw3.js} +12 -12
- package/dist/chunks/{bus-ybfnsx4m.js → formatter-n2srvep7.js} +4 -4
- package/dist/chunks/{bus-by4hyqsp.js → formatter-n3kjjdbc.js} +8 -8
- package/dist/chunks/{bus-fp6jbq7y.js → formatter-n3qps2jj.js} +7 -7
- package/dist/chunks/{bus-6gah7m4z.js → formatter-n5s0rf7q.js} +9 -9
- package/dist/chunks/{bus-mwc34nj6.js → formatter-nc16zhnm.js} +20 -20
- package/dist/chunks/{bus-gahz0pvf.js → formatter-njbdz2ej.js} +18 -18
- package/dist/chunks/{bus-85kgbxfs.js → formatter-nsj8m29q.js} +8 -8
- package/dist/chunks/{bus-ydmc33ec.js → formatter-nt6vwrgy.js} +4 -4
- package/dist/chunks/{bus-jpv0vfft.js → formatter-ny53wrt7.js} +31 -31
- package/dist/chunks/{bus-x5ydsv12.js → formatter-p6xnc3rx.js} +19 -19
- package/dist/chunks/{bus-0yyzv7mm.js → formatter-p80cb2q6.js} +13 -13
- package/dist/chunks/{bus-10a4cy2j.js → formatter-p8706pxr.js} +15 -15
- package/dist/chunks/{bus-e01h0bn5.js → formatter-p9j36qey.js} +23 -23
- package/dist/chunks/{bus-jcnxew74.js → formatter-pc7d6ej0.js} +16 -16
- package/dist/chunks/formatter-pf31ssb9.js +18 -0
- package/dist/chunks/{bus-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{bus-jxyme2yx.js → formatter-psf8dvjb.js} +18 -18
- package/dist/chunks/{bus-my4zabxr.js → formatter-pt1ss6jy.js} +3 -3
- package/dist/chunks/{bus-vb6b6ptv.js → formatter-pvzd63td.js} +32 -32
- package/dist/chunks/{bus-3g8j9he4.js → formatter-q5e7cmwt.js} +1 -1
- package/dist/chunks/{bus-f2g4a465.js → formatter-qf501b6x.js} +11 -11
- package/dist/chunks/{bus-rtdqzg6e.js → formatter-qg7te02p.js} +6 -6
- package/dist/chunks/{bus-k9mrgf25.js → formatter-qkr7tnsm.js} +23 -23
- package/dist/chunks/{bus-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{bus-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-3m8g809g.js → formatter-qv11eaqs.js} +11 -11
- package/dist/chunks/{bus-zg9emzrs.js → formatter-qyh1b4jm.js} +6 -6
- package/dist/chunks/{bus-6sxwsw99.js → formatter-r1sktf6h.js} +1 -1
- package/dist/chunks/{bus-stjqqcmy.js → formatter-r78700hm.js} +10 -10
- package/dist/chunks/{bus-f2n192rq.js → formatter-r8xr0va3.js} +4 -4
- package/dist/chunks/{bus-54ma36ye.js → formatter-r94pvvab.js} +4 -4
- package/dist/chunks/{bus-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-rert0e01.js → formatter-rert0e01.js} +2 -2
- package/dist/chunks/{bus-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
- package/dist/chunks/{bus-6pc27hjz.js → formatter-rkprpv83.js} +6 -6
- package/dist/chunks/{bus-h3trcs2a.js → formatter-rzx22v1q.js} +6 -6
- package/dist/chunks/{bus-aw5wcttt.js → formatter-s1hjqbmb.js} +13 -13
- package/dist/chunks/{bus-ed3kz1mg.js → formatter-s4j1ewxt.js} +15 -15
- package/dist/chunks/{bus-ygbt6n51.js → formatter-s5b7v2dw.js} +57 -57
- package/dist/chunks/{bus-6g52hg0z.js → formatter-s6mjk57t.js} +23 -23
- package/dist/chunks/{bus-yj7k2rcj.js → formatter-sa6168g2.js} +6 -6
- package/dist/chunks/{bus-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
- package/dist/chunks/{bus-876nd3zc.js → formatter-sabmmyg1.js} +81 -81
- package/dist/chunks/{bus-szgx7fbb.js → formatter-sbvsyxhr.js} +16 -16
- package/dist/chunks/{bus-d2gk5s1p.js → formatter-sd0pxfvh.js} +9 -9
- package/dist/chunks/{bus-1kpn42tv.js → formatter-sd6q20cc.js} +7 -7
- package/dist/chunks/{bus-0p96nk55.js → formatter-sg1n6he9.js} +5 -5
- package/dist/chunks/{bus-qdv0eqeg.js → formatter-sr8jg6q5.js} +17 -17
- package/dist/chunks/{bus-jg3dfvq9.js → formatter-sx6dfbyf.js} +1 -1
- package/dist/chunks/{bus-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{bus-b23dxy93.js → formatter-t39j3nb6.js} +179 -179
- package/dist/chunks/{bus-1zjxwrfs.js → formatter-t9gjcg3f.js} +27 -27
- package/dist/chunks/{bus-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-8b47pa13.js → formatter-tbcqt8n1.js} +337 -337
- package/dist/chunks/{bus-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{bus-k49f12m2.js → formatter-tgdmrz9m.js} +18 -18
- package/dist/chunks/{bus-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
- package/dist/chunks/{bus-59s08nwn.js → formatter-tn7n77d0.js} +20 -20
- package/dist/chunks/{bus-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{bus-y07syb1s.js → formatter-v4m9j1r3.js} +19 -19
- package/dist/chunks/{bus-dpz8vabp.js → formatter-v6xvqrem.js} +3 -3
- package/dist/chunks/{bus-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{bus-ybzmr3mv.js → formatter-v82nyebm.js} +10 -10
- package/dist/chunks/{bus-wn64xv6f.js → formatter-vebvfg1b.js} +29 -29
- package/dist/chunks/{bus-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-n62bf944.js → formatter-vrfj7wzn.js} +21 -21
- package/dist/chunks/{bus-5tvdg74g.js → formatter-vtdr16f1.js} +25 -25
- package/dist/chunks/{bus-bjmt3h04.js → formatter-vxby77fw.js} +8 -8
- package/dist/chunks/{bus-tkaxmar1.js → formatter-vybdm9k2.js} +45 -45
- package/dist/chunks/{bus-sm55xqtv.js → formatter-vzn69n1x.js} +17 -17
- package/dist/chunks/{bus-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-g3jc4v5k.js → formatter-w56efnhv.js} +8 -8
- package/dist/chunks/{bus-2vgzs72b.js → formatter-w8xr7nv8.js} +5 -5
- package/dist/chunks/{bus-0zsej0wv.js → formatter-waamc7ac.js} +20 -20
- package/dist/chunks/{bus-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{bus-brabvsjg.js → formatter-we093gtr.js} +14 -14
- package/dist/chunks/{bus-tm6y6z8k.js → formatter-wek98stj.js} +5 -5
- package/dist/chunks/{bus-8qa3g5sa.js → formatter-wfc8dvn2.js} +2 -2
- package/dist/chunks/{bus-3jtdpmj5.js → formatter-wfk38fft.js} +10 -10
- package/dist/chunks/{bus-wh6zw745.js → formatter-wh6zw745.js} +2 -2
- package/dist/chunks/{bus-kzgpxbsh.js → formatter-whnjbvkc.js} +11 -11
- package/dist/chunks/{bus-ywt8jp22.js → formatter-wjr9rjd7.js} +6 -6
- package/dist/chunks/{bus-0hm7jcjh.js → formatter-wmmpzfcy.js} +33 -33
- package/dist/chunks/{bus-5m84d531.js → formatter-wrmbd4ct.js} +8 -8
- package/dist/chunks/{bus-mchhdfqj.js → formatter-wxv2y18y.js} +6 -6
- package/dist/chunks/{bus-x5jhdhzv.js → formatter-x5jhdhzv.js} +2 -2
- package/dist/chunks/{bus-9f4jxy4d.js → formatter-xbf45m1m.js} +11 -11
- package/dist/chunks/{bus-9h6hha12.js → formatter-xgfaq3ry.js} +1 -1
- package/dist/chunks/{bus-k0n84rb6.js → formatter-xgqamae7.js} +5 -5
- package/dist/chunks/{bus-qdf4tda4.js → formatter-xr2s98ph.js} +27 -27
- package/dist/chunks/{bus-fey4ts1c.js → formatter-xsj2mzjf.js} +13 -13
- package/dist/chunks/{bus-hb57a7eh.js → formatter-xx0g94j1.js} +10 -10
- package/dist/chunks/{bus-0v0hc1bx.js → formatter-xy38s77h.js} +5 -5
- package/dist/chunks/{bus-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-2v4tj28y.js → formatter-y539vebz.js} +34 -34
- package/dist/chunks/{bus-251hxpd6.js → formatter-ym5wg1kc.js} +2 -2
- package/dist/chunks/formatter-yvpf485x.js +257 -0
- package/dist/chunks/{bus-0w62qmxp.js → formatter-yx0rmv9r.js} +6 -6
- package/dist/chunks/{bus-2c8a123h.js → formatter-yx35gvjr.js} +11 -11
- package/dist/chunks/{bus-epdmq6ge.js → formatter-yz20g6dm.js} +27 -27
- package/dist/chunks/{bus-m9kpzf6v.js → formatter-z039y7x6.js} +31 -31
- package/dist/chunks/{bus-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z18fegx4.js → formatter-z18fegx4.js} +1 -1
- package/dist/chunks/{bus-xxh9hqyg.js → formatter-z6pg3wkb.js} +12 -12
- package/dist/chunks/{bus-5j85swdz.js → formatter-zcgapt0q.js} +25 -25
- package/dist/chunks/{bus-evcv1wv7.js → formatter-zcghh444.js} +25 -25
- package/dist/chunks/{bus-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-9m6g250m.js → formatter-zzywg6y6.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- 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 +123 -123
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +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 +72 -72
- 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 +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +98 -98
- package/dist/git.js +6 -6
- 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 +93 -93
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- 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 +93 -93
- 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 +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- 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 +84 -84
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- 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 +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- 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 +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- 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 +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +126 -126
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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 +100 -100
- 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 → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{bus-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jnyfd4gm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-cqsap5z8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./formatter-7mdty465.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-jt04gwr3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID7,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-0v8jbydc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID6,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./formatter-z039y7x6.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./formatter-r94pvvab.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-wxv2y18y.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID7.openai;
|
|
47
|
+
var integrationID = ID8.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service69;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
|
|
|
224
224
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
225
225
|
return;
|
|
226
226
|
}));
|
|
227
|
-
evt.headers["session-id"] = session ?
|
|
227
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
228
228
|
evt.headers["thread-id"] = evt.sessionID;
|
|
229
229
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
230
230
|
}), { providerID });
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID7.openai, ID6.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-pt1ss6jy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError11 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError11, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID14,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-pt1ss6jy.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-jq12p00e.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-cqsap5z8.js";
|
|
18
18
|
import {
|
|
19
19
|
Service83,
|
|
20
20
|
node87
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-w56efnhv.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service52,
|
|
24
|
+
node55
|
|
25
|
+
} from "./formatter-dzse07y5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node53
|
|
34
|
+
} from "./formatter-n1w5qww0.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-kd03d9gr.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./formatter-vzn69n1x.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node30
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./formatter-ce2nyva1.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node39
|
|
51
|
+
} from "./formatter-jnyfd4gm.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError11,
|
|
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 "./formatter-sa6168g2.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
67
|
+
ListInput4,
|
|
68
|
+
Service73,
|
|
69
|
+
node76
|
|
70
|
+
} from "./formatter-49znd53m.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service53,
|
|
73
|
+
node56
|
|
74
|
+
} from "./formatter-sbvsyxhr.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service48,
|
|
77
|
+
node52
|
|
78
|
+
} from "./formatter-1845wcnm.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./formatter-775gj3j1.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service25,
|
|
84
|
+
node28
|
|
85
|
+
} from "./formatter-qv11eaqs.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./formatter-3dbk125e.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./formatter-9b8ncctb.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
93
|
+
Service57,
|
|
94
94
|
node60
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./formatter-k0a04qyy.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
100
|
+
Service27,
|
|
101
101
|
node29
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./formatter-h4smr58a.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service34,
|
|
105
|
+
node37
|
|
106
|
+
} from "./formatter-0t9wd588.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./
|
|
108
|
+
make13
|
|
109
|
+
} from "./formatter-jftvfy36.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./formatter-xbf45m1m.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./formatter-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: () => ID14,
|
|
128
128
|
InboxConflictError: () => InboxConflictError2,
|
|
129
|
-
Info: () =>
|
|
129
|
+
Info: () => Info25,
|
|
130
130
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
131
131
|
ListAnchor: () => ListAnchor2,
|
|
132
132
|
ListCursor: () => ListCursor2,
|
|
133
133
|
ListInput: () => ListInput3,
|
|
134
134
|
MessageDecodeError: () => MessageDecodeError2,
|
|
135
135
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
136
|
-
NotFoundError: () =>
|
|
136
|
+
NotFoundError: () => NotFoundError11,
|
|
137
137
|
PromptConflictError: () => PromptConflictError2,
|
|
138
|
-
Service: () =>
|
|
138
|
+
Service: () => Service20,
|
|
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: () => node23
|
|
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 ListInput3 =
|
|
154
|
+
var ListInput3 = ListInput4;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service20 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const database = yield* Service86;
|
|
161
161
|
const db = database.db;
|
|
162
162
|
const bus = yield* Service85;
|
|
163
163
|
const projects = yield* Service83;
|
|
164
|
-
const execution = yield*
|
|
164
|
+
const execution = yield* Service48;
|
|
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*
|
|
173
|
-
const sessions = yield*
|
|
166
|
+
const transport = yield* Service25;
|
|
167
|
+
const store = yield* Service73;
|
|
168
|
+
const instances = yield* Service52;
|
|
169
|
+
const moves = yield* Service27;
|
|
170
|
+
const jobs = yield* Service53;
|
|
171
|
+
const environments = yield* Service34;
|
|
172
|
+
const locations = yield* Service57;
|
|
173
|
+
const sessions = yield* make13();
|
|
174
174
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service20.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 NotFoundError11({ 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(Service52, instances), Effect.provideService(Service86, 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(Service52, 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 node23 = Node.makeGlobalNode({
|
|
353
|
+
service: Service20,
|
|
354
354
|
layer,
|
|
355
355
|
deps: [
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
node56,
|
|
357
|
+
node37,
|
|
358
358
|
node90,
|
|
359
359
|
node89,
|
|
360
360
|
node87,
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
node52,
|
|
362
|
+
node28,
|
|
363
363
|
llmClient2,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
364
|
+
node76,
|
|
365
|
+
node55,
|
|
366
|
+
node53,
|
|
367
367
|
node29,
|
|
368
368
|
node30,
|
|
369
369
|
node60,
|
|
370
370
|
FSUtil.node,
|
|
371
|
-
|
|
371
|
+
node39
|
|
372
372
|
]
|
|
373
373
|
});
|
|
374
374
|
|
|
375
|
-
export { ListAnchor2, ListCursor2, ListInput3,
|
|
375
|
+
export { ListAnchor2, ListCursor2, ListInput3, Service20, node23, exports_session };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node81
|
|
4
|
+
} from "./formatter-v82nyebm.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-pt1ss6jy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service53,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node56
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service53 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service78;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make17 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service53.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make17 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service53, make19);
|
|
358
|
+
var node56 = makeGlobalNode({ service: Service53, layer, deps: [node81] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service53, make19, node56, exports_job };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jnyfd4gm.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin24,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin24 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin37 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin37 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin24, exports_parallel };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-cqsap5z8.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-z039y7x6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service17,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./formatter-g73qmrf1.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service17;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./formatter-0v8jbydc.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|