@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,31 +1,31 @@
|
|
|
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
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-sa6168g2.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-02nrjc1r.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-kd03d9gr.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-f29mbr7f.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-cqsap5z8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node81
|
|
8
|
+
} from "./formatter-v82nyebm.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input15,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service38,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node42
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input15 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service38 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service85;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service78;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service38.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node42 = makeLocationNode({
|
|
188
|
+
service: Service38,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node89,
|
|
190
|
+
deps: [node89, node81]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service38, node42, exports_websearch3, Event6 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-7mdty465.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID8,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-jt04gwr3.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID8.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-jq12p00e.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-cqsap5z8.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID10,
|
|
26
|
+
Info: () => Info21,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service69,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node72
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
|
-
var
|
|
40
|
+
var Key3 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event16 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info21 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID10,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service69 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service86).db;
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info21({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service69.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info21({
|
|
82
|
+
id: input.id ?? ID10.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [node90, node89] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID10, OAuth3, Key3, External2, Value2, Event16, Info21, Service69, node72, exports_credential };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID10,
|
|
9
|
+
Event16,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./formatter-7mdty465.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-gqtdsdt7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-jt04gwr3.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID7,
|
|
24
|
+
Service66
|
|
25
|
+
} from "./formatter-0v8jbydc.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID6
|
|
28
|
+
} from "./formatter-z039y7x6.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-wxv2y18y.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make3(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service69;
|
|
77
|
+
const providers = yield* Service66;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID7.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID7.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID7.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID7.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID7.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID7.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID7.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID7.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID7.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID7.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID7.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID7.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID7.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID7.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID7.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make3();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID6.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID6.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make3, AzurePlugin2 };
|
|
@@ -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/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin26 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin38 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin26, exports_firecrawl };
|