@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-cqsap5z8.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-gqtdsdt7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service67,
|
|
15
|
+
node70,
|
|
16
|
+
Event14
|
|
17
|
+
} from "./formatter-jt04gwr3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./formatter-06c933ea.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event13,
|
|
43
|
+
ID: () => ID7,
|
|
44
|
+
Info: () => Info17,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request2,
|
|
48
|
+
Service: () => Service66,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node69,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
75
|
+
var ID7 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request2 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info17 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service66 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
303
|
+
const integrations = yield* Service67;
|
|
304
|
+
const location = yield* Service82;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info17.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service66.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node89, node70, node86] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service66, node69, exports_provider3, Event13 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service82
|
|
14
|
+
} from "./formatter-06c933ea.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-1gd0p40m.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin21 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin21, exports_git };
|
|
@@ -1,56 +1,56 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node56
|
|
12
|
+
} from "./formatter-sbvsyxhr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./formatter-dzse07y5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./formatter-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service49
|
|
26
|
+
} from "./formatter-8gxqpgph.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service73,
|
|
29
|
+
node76
|
|
30
|
+
} from "./formatter-49znd53m.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-xy38s77h.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./formatter-n1w5qww0.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./formatter-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service48,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node52,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service48 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service73;
|
|
64
|
+
const instances = yield* Service52;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service53;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service49.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service48.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node52 = makeGlobalNode({
|
|
127
|
+
service: Service48,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node76, node55, node89, node90, node56]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service48, terminal2, layer21, node52, noopLayer3, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-cqsap5z8.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-w56efnhv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./formatter-06c933ea.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info6,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service43,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node47
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service43 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
62
|
const bus = yield* Service85;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service43.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node47 = makeLocationNode({
|
|
191
|
+
service: Service43,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node86, node89]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service43, node47, exports_vcs };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-cqsap5z8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node35
|
|
8
|
+
} from "./formatter-mdqes59k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node75
|
|
12
|
+
} from "./formatter-s5b7v2dw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node45
|
|
16
|
+
} from "./formatter-t9gjcg3f.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
layer: () => layer15,
|
|
27
27
|
name: () => name15,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer15 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
43
|
const bus = yield* Service85;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service72;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node34 = makeLocationNode({
|
|
124
|
+
service: Service31,
|
|
125
125
|
layer: layer15,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node45, node35, node89, node75]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name15,
|
|
129
|
+
export { namespace2, name15, Service31, layer15, node34, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./formatter-dktgvxhq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./formatter-s5b7v2dw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service68;
|
|
57
|
+
const permission = yield* Service72;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name14, description6,
|
|
120
|
+
export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service57,
|
|
3
3
|
node60,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-k0a04qyy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node55
|
|
9
|
+
} from "./formatter-dzse07y5.js";
|
|
10
10
|
import {
|
|
11
11
|
Service14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9864qn22.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-yvpf485x.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node55.replace(Layer.succeed(Service52, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
node60.replace(Layer.succeed(
|
|
61
|
+
node60.replace(Layer.succeed(Service57, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|