@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./formatter-06c933ea.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service80
|
|
12
|
+
} from "./formatter-81dsrpbq.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./formatter-gyahv1by.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-p6xnc3rx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service72
|
|
26
|
+
} from "./formatter-s5b7v2dw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./formatter-njbdz2ej.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./formatter-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output9,
|
|
40
|
+
Plugin: () => Plugin49,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output9 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin49 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service80;
|
|
90
|
+
const ripgrep = yield* Service79;
|
|
91
|
+
const location = yield* Service82;
|
|
92
|
+
const access = yield* Service71;
|
|
93
|
+
const permission = yield* Service72;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output9,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin28 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin28 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output9, toModelContent6, Plugin49, exports_grep };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./formatter-81dsrpbq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service39,
|
|
17
|
+
node: () => node43,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service39 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service80;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service39.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node43 = makeLocationNode({ service: Service39, layer, deps: [node83] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service39, readText2, syncTextBom2, node43, exports_file_mutation };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-xy38s77h.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jnyfd4gm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-cqsap5z8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./formatter-7mdty465.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./formatter-jt04gwr3.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./formatter-0v8jbydc.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-wxv2y18y.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID7.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID8.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service69;
|
|
57
|
+
const integrations = yield* Service67;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-cqsap5z8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-s5b7v2dw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event17,
|
|
21
|
+
ID: () => ID11,
|
|
22
|
+
Info: () => Info22,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service70,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node73,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event17 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var Source4 = Skill.Source;
|
|
43
|
+
var Info22 = Skill.Info;
|
|
44
|
+
var ID11 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service70 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID11.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID11.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID11.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID11.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service70.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node73 = makeLocationNode({
|
|
119
|
+
service: Service70,
|
|
120
120
|
layer,
|
|
121
121
|
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info22, ID11, Name2, available3, toModelOutput3, prepare3, Service70, node73, exports_skill5, Event17 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-0v8jbydc.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-z039y7x6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Service67,
|
|
7
|
+
node70
|
|
8
|
+
} from "./formatter-jt04gwr3.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer19,
|
|
21
|
+
node: () => node49
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,16 +37,16 @@ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service45 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service67;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
46
46
|
const engine = Realtime.engine(input.model);
|
|
47
47
|
if (!engine)
|
|
48
48
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
49
|
-
const connection = (yield* integrations.get(
|
|
49
|
+
const connection = (yield* integrations.get(ID8.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
|
|
50
50
|
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: engine.provider, message: error.message }))) : undefined;
|
|
51
51
|
if (credential?.type !== "key")
|
|
52
52
|
return yield* new UnavailableError3({
|
|
@@ -55,12 +55,12 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
55
55
|
});
|
|
56
56
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service45.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node49 = makeLocationNode({
|
|
61
|
+
service: Service45,
|
|
62
|
+
layer: layer19,
|
|
63
|
+
deps: [node70, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
var missingKeyMessage = {
|
|
66
66
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -68,4 +68,4 @@ var missingKeyMessage = {
|
|
|
68
68
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
export { InvalidRequestError2, UnavailableError3,
|
|
71
|
+
export { InvalidRequestError2, UnavailableError3, Service45, layer19, node49, exports_voice };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-kzaea99f.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make6 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make6();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./formatter-81dsrpbq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service39,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-2afzv2w7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./formatter-p8706pxr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./formatter-s5b7v2dw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service71
|
|
17
|
+
} from "./formatter-njbdz2ej.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin47,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name10,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin47 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service71;
|
|
56
|
+
const fileMutation = yield* Service39;
|
|
57
|
+
const environment = yield* Service80;
|
|
58
|
+
const formatter = yield* Service62;
|
|
59
|
+
const permission = yield* Service72;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input10,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output7, toModelContent5, Plugin47, exports_write };
|