@opencode/core 0.0.0-dev-21267 → 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 +75 -75
- package/dist/chunks/{generate-0gdmqesm.js → formatter-02nrjc1r.js} +8 -8
- package/dist/chunks/{generate-mzwdprrq.js → formatter-04ap81dm.js} +18 -18
- package/dist/chunks/{generate-jsxs2ezn.js → formatter-06c933ea.js} +14 -14
- package/dist/chunks/{generate-6gwn7aqx.js → formatter-0ed8e971.js} +21 -21
- package/dist/chunks/{generate-5n0tzv7x.js → formatter-0j6qdzw7.js} +22 -22
- package/dist/chunks/{generate-hgnqc3f0.js → formatter-0kve3vzz.js} +15 -15
- package/dist/chunks/{generate-0t9wd588.js → formatter-0t9wd588.js} +1 -1
- package/dist/chunks/{generate-zw38a422.js → formatter-0v8jbydc.js} +35 -35
- package/dist/chunks/{generate-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-c9rn2ypc.js → formatter-14nzty46.js} +10 -10
- package/dist/chunks/{generate-v3q0dy8p.js → formatter-1845wcnm.js} +40 -40
- package/dist/chunks/{generate-aws61wts.js → formatter-1gd0p40m.js} +24 -24
- package/dist/chunks/{generate-d101pqd8.js → formatter-1hcnqvj0.js} +28 -28
- package/dist/chunks/{generate-swvd7h3x.js → formatter-1pvppg81.js} +11 -11
- package/dist/chunks/{generate-yy4tknq9.js → formatter-1xf6wzjn.js} +13 -13
- package/dist/chunks/{generate-b5ywcw8t.js → formatter-24920ypz.js} +29 -29
- package/dist/chunks/{generate-reppd9nn.js → formatter-2afzv2w7.js} +12 -12
- package/dist/chunks/{generate-7ej2vx6g.js → formatter-2mmtmdq9.js} +3 -3
- package/dist/chunks/{generate-yqcazjzb.js → formatter-2mw400dq.js} +19 -19
- package/dist/chunks/{generate-0yfxsrzp.js → formatter-2p6ntd4m.js} +30 -30
- package/dist/chunks/{generate-d9ff5bxv.js → formatter-2tgf6cja.js} +4 -4
- package/dist/chunks/{generate-tsw5e8b1.js → formatter-30a99vc0.js} +24 -24
- package/dist/chunks/{generate-v0dnza1z.js → formatter-326x6pdt.js} +4 -4
- package/dist/chunks/{generate-25553g2w.js → formatter-38qay2m7.js} +32 -32
- package/dist/chunks/{generate-qgnk2xzv.js → formatter-3dbk125e.js} +19 -19
- package/dist/chunks/{generate-2cj70478.js → formatter-3gmzkzp0.js} +53 -53
- package/dist/chunks/{generate-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-cmwkp3r5.js → formatter-3hfr6h8q.js} +8 -8
- package/dist/chunks/{generate-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-mpa2ejqj.js → formatter-3ks3pb71.js} +6 -6
- package/dist/chunks/{generate-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-9xkywmt2.js → formatter-49znd53m.js} +17 -17
- package/dist/chunks/{generate-h71w788e.js → formatter-4nj4bn9q.js} +9 -9
- package/dist/chunks/{generate-58tzmscz.js → formatter-4p2aqbrx.js} +6 -6
- package/dist/chunks/{generate-n60k5ghq.js → formatter-560ck4c5.js} +3 -3
- package/dist/chunks/{generate-cv3qp16z.js → formatter-5fmp7ejv.js} +29 -29
- package/dist/chunks/{generate-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-m28pths9.js → formatter-5p6qw3tz.js} +41 -41
- package/dist/chunks/{generate-exf1rp2q.js → formatter-5tcnstt9.js} +11 -11
- package/dist/chunks/{generate-6je9mqj2.js → formatter-60byc3m8.js} +50 -50
- package/dist/chunks/{generate-czpjcjhw.js → formatter-6133dmrp.js} +35 -35
- package/dist/chunks/{generate-6827pfxn.js → formatter-6827pfxn.js} +1 -1
- package/dist/chunks/{generate-dmx7sk54.js → formatter-6gtdewqb.js} +40 -40
- package/dist/chunks/{generate-k76krqzs.js → formatter-6hh8tjw2.js} +4 -4
- package/dist/chunks/{generate-b4pznp96.js → formatter-6md12hsa.js} +5 -5
- package/dist/chunks/{generate-g2yy5a74.js → formatter-6n87qsqk.js} +42 -42
- package/dist/chunks/{generate-kd5vgtqm.js → formatter-6shsmc4s.js} +22 -22
- package/dist/chunks/{generate-44ak30pa.js → formatter-6t4hr8r6.js} +4 -4
- package/dist/chunks/{generate-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-cjr4jfwe.js → formatter-75rtafjv.js} +16 -16
- package/dist/chunks/{generate-775gj3j1.js → formatter-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-d4he2qe1.js → formatter-79qaa2kf.js} +9 -9
- package/dist/chunks/{generate-adr7sscw.js → formatter-7asbmpsf.js} +8 -8
- package/dist/chunks/{generate-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-41g0a9q5.js → formatter-7cx1y1jk.js} +23 -23
- package/dist/chunks/{generate-ksqm10am.js → formatter-7knmx1zy.js} +5 -5
- package/dist/chunks/{generate-j9esqkaj.js → formatter-7mdty465.js} +35 -35
- package/dist/chunks/{generate-q9p3axm1.js → formatter-7mxcbd2h.js} +47 -47
- package/dist/chunks/{generate-mpb94e18.js → formatter-7t5c4g27.js} +9 -9
- package/dist/chunks/{generate-80qg8hhn.js → formatter-81dsrpbq.js} +24 -24
- package/dist/chunks/{generate-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{generate-r36qtfr5.js → formatter-880p7epb.js} +9 -9
- package/dist/chunks/{generate-zav06jzw.js → formatter-8gxqpgph.js} +4 -4
- package/dist/chunks/{generate-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-8h38gey0.js → formatter-8qgr4h1v.js} +19 -19
- package/dist/chunks/{generate-a4w0e3g0.js → formatter-9864qn22.js} +36 -36
- package/dist/chunks/{generate-9ej0kez9.js → formatter-9b8ncctb.js} +8 -8
- package/dist/chunks/{generate-9hwaqfsw.js → formatter-9hwaqfsw.js} +2 -2
- package/dist/chunks/{generate-yjcsa246.js → formatter-9md8he8y.js} +32 -32
- package/dist/chunks/{generate-s59wcpct.js → formatter-9nerqjs9.js} +24 -24
- package/dist/chunks/{generate-b0av9spa.js → formatter-9qxahjdj.js} +22 -22
- package/dist/chunks/{generate-sgecb4a9.js → formatter-9x7kjnc6.js} +4 -4
- package/dist/chunks/{generate-76rvckpe.js → formatter-a01j9zgm.js} +5 -5
- package/dist/chunks/{generate-a20pjse5.js → formatter-a20pjse5.js} +3 -3
- package/dist/chunks/{generate-w8xs7tx2.js → formatter-apba62c4.js} +32 -32
- package/dist/chunks/{generate-4kkbnph0.js → formatter-axvj98vx.js} +17 -17
- package/dist/chunks/{generate-rgwsscdf.js → formatter-ay1662mf.js} +7 -7
- package/dist/chunks/{generate-55m81wnp.js → formatter-b12fh71z.js} +12 -12
- package/dist/chunks/{generate-bf6bgs8n.js → formatter-b3nqcn4t.js} +13 -13
- package/dist/chunks/{generate-y7nndgyc.js → formatter-bacj9t34.js} +9 -9
- package/dist/chunks/{generate-hw19m2y8.js → formatter-bcndysnn.js} +32 -32
- package/dist/chunks/{generate-sphypsd8.js → formatter-bmvxsevk.js} +12 -12
- package/dist/chunks/{generate-bzeyqsqd.js → formatter-bzeyqsqd.js} +1 -1
- package/dist/chunks/{generate-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-ta2yzdag.js → formatter-c340nhfc.js} +9 -9
- package/dist/chunks/{generate-qx2dcbnj.js → formatter-cdf78ym6.js} +25 -25
- package/dist/chunks/{generate-00xf4nk1.js → formatter-ce2nyva1.js} +22 -22
- package/dist/chunks/{generate-pyeaw5nf.js → formatter-cedvsd9p.js} +15 -15
- package/dist/chunks/{generate-2vc2tgzp.js → formatter-cqsap5z8.js} +16 -16
- package/dist/chunks/{generate-dx0kb2rv.js → formatter-ctbnrc59.js} +10 -10
- package/dist/chunks/{generate-01m325sd.js → formatter-d04wke9a.js} +46 -46
- package/dist/chunks/{generate-6tkmm0gj.js → formatter-d18yz2tr.js} +22 -22
- package/dist/chunks/{generate-ay0tswwg.js → formatter-d2m5bwmv.js} +20 -20
- package/dist/chunks/{generate-tc1xhxj3.js → formatter-d3394kee.js} +12 -12
- package/dist/chunks/{generate-zrhmxj1q.js → formatter-d55h3tfb.js} +22 -22
- package/dist/chunks/{generate-4wqv1m3b.js → formatter-d9gp05e8.js} +11 -11
- package/dist/chunks/{generate-wzm8that.js → formatter-dftrqtzk.js} +5 -5
- package/dist/chunks/{generate-xr921mz0.js → formatter-dktgvxhq.js} +29 -29
- package/dist/chunks/{generate-y71avatq.js → formatter-dpkg50ah.js} +4 -4
- package/dist/chunks/{generate-drwq78ky.js → formatter-drwq78ky.js} +1 -1
- package/dist/chunks/{generate-h896pcm5.js → formatter-dzse07y5.js} +6 -6
- package/dist/chunks/{generate-ryjck82n.js → formatter-e3wg82qa.js} +11 -11
- package/dist/chunks/{generate-r2z489rp.js → formatter-e80seqcp.js} +3 -3
- package/dist/chunks/{generate-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-3sj8yt8v.js → formatter-f29mbr7f.js} +4 -4
- package/dist/chunks/{generate-ge51s02a.js → formatter-f5jgrrfv.js} +21 -21
- package/dist/chunks/{generate-bdpzzc2x.js → formatter-f78dsz6n.js} +11 -11
- package/dist/chunks/{generate-0jwsre1p.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{generate-fcy631f0.js → formatter-fcy631f0.js} +1 -1
- package/dist/chunks/{generate-hb8amrc1.js → formatter-fgvzqqhz.js} +11 -11
- package/dist/chunks/{generate-hyay7qq8.js → formatter-fjzkwv4w.js} +8 -8
- package/dist/chunks/{generate-rypx97jt.js → formatter-fka0j1an.js} +17 -17
- package/dist/chunks/{generate-25yddszk.js → formatter-fn9t717r.js} +6 -6
- package/dist/chunks/{generate-v0nk6czx.js → formatter-fqxpggxp.js} +22 -22
- package/dist/chunks/formatter-fsthefce.js +26 -0
- package/dist/chunks/{generate-fxaymqdw.js → formatter-fxaymqdw.js} +1 -1
- package/dist/chunks/{generate-n0ehqsbt.js → formatter-g0nw424s.js} +32 -32
- package/dist/chunks/{generate-367nvyt8.js → formatter-g3tfzm17.js} +4 -4
- package/dist/chunks/{generate-0ybe7mx1.js → formatter-g4jej14z.js} +14 -14
- package/dist/chunks/{generate-jt801djq.js → formatter-g73qmrf1.js} +34 -34
- package/dist/chunks/{generate-v7w38sqv.js → formatter-g9kdeh46.js} +83 -83
- package/dist/chunks/{generate-35a13mjs.js → formatter-gc9yyap8.js} +8 -8
- package/dist/chunks/{generate-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-x661k3y3.js → formatter-gqtdsdt7.js} +4 -4
- package/dist/chunks/{generate-ycbz4zet.js → formatter-gwpaft9z.js} +40 -40
- package/dist/chunks/{generate-z4tdvtz8.js → formatter-gx7ed082.js} +11 -11
- package/dist/chunks/{generate-e40jp9gw.js → formatter-gyahv1by.js} +14 -14
- package/dist/chunks/{generate-k7ymkhxy.js → formatter-h4smr58a.js} +59 -59
- package/dist/chunks/{generate-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-h978070j.js → formatter-h978070j.js} +2 -2
- package/dist/chunks/{generate-mmqcypja.js → formatter-h9ef7te3.js} +5 -5
- package/dist/chunks/{generate-7sfe249w.js → formatter-hgpmxtmw.js} +16 -16
- package/dist/chunks/{generate-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-gksetf8c.js → formatter-hj6k4shy.js} +4 -4
- package/dist/chunks/{generate-szzeq7yn.js → formatter-hkh1jx8g.js} +20 -20
- package/dist/chunks/{generate-tj93jbcz.js → formatter-j2r6n3at.js} +31 -31
- package/dist/chunks/{generate-d0anyxb0.js → formatter-j3rvqy98.js} +28 -28
- package/dist/chunks/{generate-y9068s8b.js → formatter-j8y9j9kj.js} +27 -27
- package/dist/chunks/{generate-0p56qr6s.js → formatter-jbv6fv9n.js} +4 -4
- package/dist/chunks/{generate-2hsqkpxy.js → formatter-jdma4b20.js} +17 -17
- package/dist/chunks/{generate-990wje9c.js → formatter-jftvfy36.js} +38 -38
- package/dist/chunks/{generate-7ydzythe.js → formatter-jnyfd4gm.js} +11 -11
- package/dist/chunks/{generate-h19hvyjb.js → formatter-jq12p00e.js} +11 -11
- package/dist/chunks/{generate-q0r0skws.js → formatter-jrbcd3qy.js} +25 -25
- package/dist/chunks/{generate-d0dysfx8.js → formatter-jt04gwr3.js} +33 -33
- package/dist/chunks/{generate-nsqpyhg2.js → formatter-jwg5m4bp.js} +45 -45
- package/dist/chunks/{generate-rh1ehjhp.js → formatter-k0a04qyy.js} +9 -9
- package/dist/chunks/{generate-9apn9dpd.js → formatter-k10w2rw8.js} +27 -27
- package/dist/chunks/{generate-5fychvb3.js → formatter-k15rxyma.js} +8 -8
- package/dist/chunks/{generate-dqkkx36v.js → formatter-kd03d9gr.js} +4 -4
- package/dist/chunks/{generate-yr99bf11.js → formatter-kd568tns.js} +10 -10
- package/dist/chunks/{generate-am1tmpj5.js → formatter-kecqbpkt.js} +10 -10
- package/dist/chunks/{generate-m85h8xbw.js → formatter-kgnmzmc2.js} +72 -72
- package/dist/chunks/{generate-bvkycppa.js → formatter-kmk629k8.js} +7 -7
- package/dist/chunks/{generate-v47b7hyc.js → formatter-kpawbemv.js} +25 -25
- package/dist/chunks/{generate-kwb1v3vj.js → formatter-kwb1v3vj.js} +1 -1
- package/dist/chunks/{generate-rhd650sz.js → formatter-kzaea99f.js} +14 -14
- package/dist/chunks/{generate-zwgc0wm1.js → formatter-m2eens3g.js} +19 -19
- package/dist/chunks/{generate-9w3hv6tb.js → formatter-m53709c2.js} +11 -11
- package/dist/chunks/{generate-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → formatter-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-q90qzcc3.js → formatter-mdqes59k.js} +51 -51
- package/dist/chunks/{generate-97aeaand.js → formatter-mqqhst8y.js} +4 -4
- package/dist/chunks/{generate-zne0chz1.js → formatter-n1w5qww0.js} +30 -30
- package/dist/chunks/{generate-8e6zqeab.js → formatter-n23bjbw3.js} +23 -23
- package/dist/chunks/{generate-86qzxe6p.js → formatter-n2srvep7.js} +4 -4
- package/dist/chunks/{generate-tk3kjvjs.js → formatter-n3kjjdbc.js} +26 -26
- package/dist/chunks/{generate-f6s8y378.js → formatter-n3qps2jj.js} +7 -7
- package/dist/chunks/{generate-dgkwachn.js → formatter-n5s0rf7q.js} +9 -9
- package/dist/chunks/{generate-8p6gc52r.js → formatter-nc16zhnm.js} +25 -25
- package/dist/chunks/{generate-g00sp35w.js → formatter-njbdz2ej.js} +18 -18
- package/dist/chunks/{generate-n37wa2ef.js → formatter-nsj8m29q.js} +8 -8
- package/dist/chunks/{generate-0f09nngp.js → formatter-nt6vwrgy.js} +4 -4
- package/dist/chunks/{generate-5kn7dr7a.js → formatter-ny53wrt7.js} +24 -24
- package/dist/chunks/{generate-tt004vec.js → formatter-p6xnc3rx.js} +34 -34
- package/dist/chunks/{generate-yfrv12an.js → formatter-p80cb2q6.js} +13 -13
- package/dist/chunks/{generate-2y91agfv.js → formatter-p8706pxr.js} +15 -15
- package/dist/chunks/{generate-05473zrx.js → formatter-p9j36qey.js} +23 -23
- package/dist/chunks/{generate-yg3agy0r.js → formatter-pc7d6ej0.js} +16 -16
- package/dist/chunks/formatter-pf31ssb9.js +18 -0
- package/dist/chunks/{generate-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{generate-9en1v00j.js → formatter-psf8dvjb.js} +18 -18
- package/dist/chunks/{generate-m5jcjszt.js → formatter-pt1ss6jy.js} +3 -3
- package/dist/chunks/{generate-hc80vjct.js → formatter-pvzd63td.js} +39 -39
- package/dist/chunks/{generate-5w9yjztw.js → formatter-q5e7cmwt.js} +1 -1
- package/dist/chunks/{generate-8g3wkbtq.js → formatter-qf501b6x.js} +11 -11
- package/dist/chunks/{generate-kt569c0v.js → formatter-qg7te02p.js} +8 -8
- package/dist/chunks/{generate-46006692.js → formatter-qkr7tnsm.js} +24 -24
- package/dist/chunks/{generate-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-8frgrze6.js → formatter-qv11eaqs.js} +6 -6
- package/dist/chunks/{generate-dcpjzjzy.js → formatter-qyh1b4jm.js} +3 -3
- package/dist/chunks/{generate-16zn8v6x.js → formatter-r1sktf6h.js} +1 -1
- package/dist/chunks/{generate-eaxwmach.js → formatter-r78700hm.js} +8 -8
- package/dist/chunks/{generate-yp2x3t23.js → formatter-r8xr0va3.js} +4 -4
- package/dist/chunks/{generate-54ma36ye.js → formatter-r94pvvab.js} +4 -4
- package/dist/chunks/{generate-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rert0e01.js → formatter-rert0e01.js} +2 -2
- package/dist/chunks/{generate-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-rkprpv83.js → formatter-rkprpv83.js} +2 -2
- package/dist/chunks/{generate-xfnxesgc.js → formatter-rzx22v1q.js} +6 -6
- package/dist/chunks/{generate-nya2vtjv.js → formatter-s1hjqbmb.js} +19 -19
- package/dist/chunks/{generate-090kmjxw.js → formatter-s4j1ewxt.js} +17 -17
- package/dist/chunks/{generate-84jvfywv.js → formatter-s5b7v2dw.js} +58 -58
- package/dist/chunks/{generate-j5xd911s.js → formatter-s6mjk57t.js} +25 -25
- package/dist/chunks/{generate-de12mgtc.js → formatter-sa6168g2.js} +6 -6
- package/dist/chunks/{generate-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-p8jsg7pq.js → formatter-sabmmyg1.js} +91 -91
- package/dist/chunks/{generate-bza9db00.js → formatter-sbvsyxhr.js} +16 -16
- package/dist/chunks/{generate-369xw9xr.js → formatter-sd0pxfvh.js} +9 -9
- package/dist/chunks/{generate-9r9t654e.js → formatter-sd6q20cc.js} +9 -9
- package/dist/chunks/{generate-dcvnv4qb.js → formatter-sg1n6he9.js} +5 -5
- package/dist/chunks/{generate-btnpkdvn.js → formatter-sr8jg6q5.js} +20 -20
- package/dist/chunks/{generate-2ns20q01.js → formatter-sx6dfbyf.js} +1 -1
- package/dist/chunks/{generate-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{generate-rd90dz52.js → formatter-t39j3nb6.js} +184 -184
- package/dist/chunks/{generate-fh261699.js → formatter-t9gjcg3f.js} +25 -25
- package/dist/chunks/{generate-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-yyk0gn1k.js → formatter-tbcqt8n1.js} +325 -325
- package/dist/chunks/{generate-89znhe33.js → formatter-tcezcvh9.js} +4 -4
- package/dist/chunks/{generate-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{generate-qh3m0bt8.js → formatter-tgdmrz9m.js} +22 -22
- package/dist/chunks/{generate-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-86zv8aac.js → formatter-tn7n77d0.js} +23 -23
- package/dist/chunks/{generate-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-n53bd8x0.js → formatter-v4m9j1r3.js} +22 -22
- package/dist/chunks/{generate-gg30gf2m.js → formatter-v6xvqrem.js} +3 -3
- package/dist/chunks/{generate-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-8z95084d.js → formatter-v82nyebm.js} +13 -13
- package/dist/chunks/{generate-1hv113sc.js → formatter-vebvfg1b.js} +24 -24
- package/dist/chunks/{generate-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-mhjdq6ms.js → formatter-vrfj7wzn.js} +24 -24
- package/dist/chunks/{generate-gs5b9ard.js → formatter-vtdr16f1.js} +28 -28
- package/dist/chunks/{generate-79mnhcfn.js → formatter-vxby77fw.js} +8 -8
- package/dist/chunks/{generate-8ca6h76w.js → formatter-vybdm9k2.js} +45 -45
- package/dist/chunks/{generate-pe1jyrm4.js → formatter-vzn69n1x.js} +20 -20
- package/dist/chunks/{generate-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-6fzxepjb.js → formatter-w56efnhv.js} +25 -25
- package/dist/chunks/{generate-q6yya7b3.js → formatter-w8xr7nv8.js} +5 -5
- package/dist/chunks/{generate-29fw136q.js → formatter-waamc7ac.js} +17 -17
- package/dist/chunks/{generate-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{generate-qd25wvge.js → formatter-we093gtr.js} +11 -11
- package/dist/chunks/{generate-wkt7fkw0.js → formatter-wek98stj.js} +5 -5
- package/dist/chunks/{generate-hetnczqw.js → formatter-wfc8dvn2.js} +2 -2
- package/dist/chunks/{generate-104pff1j.js → formatter-wfk38fft.js} +13 -13
- package/dist/chunks/{generate-dssbfrwz.js → formatter-wh6zw745.js} +5 -5
- package/dist/chunks/{generate-c7mzjgkk.js → formatter-whnjbvkc.js} +11 -11
- package/dist/chunks/{generate-bjx1sjef.js → formatter-wjr9rjd7.js} +6 -6
- package/dist/chunks/{generate-9xvs703c.js → formatter-wmmpzfcy.js} +36 -36
- package/dist/chunks/{generate-n61013np.js → formatter-wrmbd4ct.js} +8 -8
- package/dist/chunks/{generate-c0gqk2ym.js → formatter-wxv2y18y.js} +6 -6
- package/dist/chunks/{generate-x5jhdhzv.js → formatter-x5jhdhzv.js} +2 -2
- package/dist/chunks/{generate-q6pcr4cj.js → formatter-xbf45m1m.js} +11 -11
- package/dist/chunks/{generate-nad40530.js → formatter-xgfaq3ry.js} +4 -4
- package/dist/chunks/{generate-9k5e52qd.js → formatter-xgqamae7.js} +5 -5
- package/dist/chunks/{generate-xet4vjak.js → formatter-xr2s98ph.js} +27 -27
- package/dist/chunks/{generate-kg45811x.js → formatter-xsj2mzjf.js} +13 -13
- package/dist/chunks/{generate-r6yt1a8r.js → formatter-xx0g94j1.js} +12 -12
- package/dist/chunks/{generate-zprz3bv1.js → formatter-xy38s77h.js} +5 -5
- package/dist/chunks/{generate-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-sp1w0rbh.js → formatter-y539vebz.js} +37 -37
- package/dist/chunks/{generate-6ac9zck1.js → formatter-ym5wg1kc.js} +2 -2
- package/dist/chunks/formatter-yvpf485x.js +257 -0
- package/dist/chunks/{generate-eq20ba7x.js → formatter-yx0rmv9r.js} +6 -6
- package/dist/chunks/{generate-rq2az322.js → formatter-yx35gvjr.js} +14 -14
- package/dist/chunks/{generate-9ejswvkp.js → formatter-yz20g6dm.js} +25 -25
- package/dist/chunks/{generate-sdds1ttc.js → formatter-z039y7x6.js} +34 -34
- package/dist/chunks/{generate-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z18fegx4.js → formatter-z18fegx4.js} +1 -1
- package/dist/chunks/{generate-8e3x1n40.js → formatter-z6pg3wkb.js} +12 -12
- package/dist/chunks/{generate-nwvs2xsf.js → formatter-zcgapt0q.js} +28 -28
- package/dist/chunks/{generate-q7mytj03.js → formatter-zcghh444.js} +27 -27
- package/dist/chunks/{generate-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-ga5hpz79.js → formatter-zzywg6y6.js} +20 -20
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +94 -94
- 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 +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +84 -84
- 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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- 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 +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- 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 +115 -115
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- 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 +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +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 +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- 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 +138 -138
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- 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 +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- 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 +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- 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 +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- 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 +82 -82
- 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/generate-nvmgv2ve.js +0 -257
- package/dist/chunks/generate-vnkjks7b.js +0 -18
- package/dist/chunks/generate-z5m47y6j.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./formatter-cqsap5z8.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-gqtdsdt7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./formatter-7mdty465.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID8
|
|
12
|
+
} from "./formatter-jt04gwr3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID7,
|
|
15
|
+
Service66
|
|
16
|
+
} from "./formatter-0v8jbydc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./formatter-n23bjbw3.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service66;
|
|
30
|
+
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./formatter-81dsrpbq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./formatter-p6xnc3rx.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service13,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service13 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service80;
|
|
335
|
+
return Service13.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node83] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./formatter-cqsap5z8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./formatter-06c933ea.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service76,
|
|
12
|
+
node79
|
|
13
|
+
} from "./formatter-vrfj7wzn.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError11
|
|
16
|
+
} from "./formatter-sa6168g2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node76
|
|
20
|
+
} from "./formatter-49znd53m.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node77
|
|
27
|
+
} from "./formatter-j8y9j9kj.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node78
|
|
31
|
+
} from "./formatter-vxby77fw.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID12,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service72,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node75
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID12,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service72 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service85;
|
|
132
|
+
const location = yield* Service82;
|
|
133
|
+
const agents = yield* Service76;
|
|
134
|
+
const sessions = yield* Service73;
|
|
135
|
+
const saved = yield* Service74;
|
|
136
|
+
const hooks = yield* Service75;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError11({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID12.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID12.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service72.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node75 = makeLocationNode({
|
|
303
|
+
service: Service72,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node89, node86, node79, node76, node77, node78]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service72, node75, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jnyfd4gm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./formatter-cqsap5z8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./formatter-7mdty465.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-jt04gwr3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID7,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-0v8jbydc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID6,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./formatter-z039y7x6.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./formatter-r94pvvab.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-wxv2y18y.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID7.openai;
|
|
47
|
+
var integrationID = ID8.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service85;
|
|
183
|
+
const credentials = yield* Service69;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
|
|
|
224
224
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
225
225
|
return;
|
|
226
226
|
}));
|
|
227
|
-
evt.headers["session-id"] = session ?
|
|
227
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
228
228
|
evt.headers["thread-id"] = evt.sessionID;
|
|
229
229
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
230
230
|
}), { providerID });
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID7.openai, ID6.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-pt1ss6jy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError11 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError11, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|