@opencode/core 0.0.0-dev-20844 → 0.0.0-dev-20846
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 +79 -79
- 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/{formatter-6v9y8yth.js → tool-04yjvv9z.js} +3 -3
- package/dist/chunks/{formatter-zav06jzw.js → tool-06x8he3q.js} +4 -4
- package/dist/chunks/{formatter-mnrb0wvm.js → tool-077nw9md.js} +19 -19
- package/dist/chunks/{formatter-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-3h470ew9.js → tool-0pksd81t.js} +5 -5
- package/dist/chunks/{formatter-fr7ck4vq.js → tool-0s3jeq9v.js} +13 -13
- package/dist/chunks/{formatter-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-hd823ygp.js → tool-10h6aaxa.js} +11 -11
- package/dist/chunks/{formatter-cvavr63d.js → tool-161awap4.js} +22 -22
- package/dist/chunks/{formatter-mw6z6saw.js → tool-1dp4rae7.js} +27 -27
- package/dist/chunks/{formatter-zv6nfkan.js → tool-1km6676t.js} +8 -8
- package/dist/chunks/{formatter-t0p0w3g9.js → tool-1qbv9jt9.js} +21 -21
- package/dist/chunks/{formatter-vn11bvqc.js → tool-1ts7qr1k.js} +8 -8
- package/dist/chunks/{formatter-c7vpsa26.js → tool-206ttqvc.js} +17 -17
- package/dist/chunks/{formatter-ep1yn424.js → tool-232z2e7w.js} +3 -3
- package/dist/chunks/{formatter-enarwepj.js → tool-28wtzp1x.js} +8 -8
- package/dist/chunks/{formatter-5fp7te4b.js → tool-2b2b10pr.js} +11 -11
- package/dist/chunks/{formatter-0r53015b.js → tool-2c13444x.js} +15 -15
- package/dist/chunks/{formatter-3nz0bd4c.js → tool-2cybgqhz.js} +2 -2
- package/dist/chunks/{formatter-wct31cks.js → tool-2nmszwhj.js} +42 -42
- package/dist/chunks/{formatter-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
- package/dist/chunks/{formatter-ez1f3vwt.js → tool-35eesyyp.js} +11 -11
- package/dist/chunks/{formatter-aptsrnfj.js → tool-36py4jdg.js} +20 -20
- package/dist/chunks/{formatter-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-m00031xg.js → tool-3gwb8r2s.js} +44 -44
- package/dist/chunks/{formatter-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-ta4r65qv.js → tool-3q7cazx3.js} +8 -8
- package/dist/chunks/{formatter-6bc1jehr.js → tool-3qfxs27s.js} +6 -6
- package/dist/chunks/{formatter-4j4tgtq5.js → tool-3sj8yt8v.js} +4 -4
- package/dist/chunks/{formatter-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-84sp9v26.js → tool-3ssmb346.js} +11 -11
- package/dist/chunks/{formatter-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-gdmg7y7w.js → tool-3wb086fk.js} +20 -20
- package/dist/chunks/{formatter-6r6hnsnp.js → tool-3wmf6f3c.js} +3 -3
- package/dist/chunks/{formatter-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-r5h8n489.js → tool-48243nkh.js} +10 -10
- package/dist/chunks/{formatter-n9a6feh5.js → tool-4mr2x1vr.js} +30 -30
- package/dist/chunks/{formatter-gc2evk3x.js → tool-4p1ce748.js} +5 -5
- package/dist/chunks/{formatter-z0ha1qbj.js → tool-4qbazw45.js} +7 -7
- package/dist/chunks/{formatter-ax2n58t8.js → tool-4r6h9rfp.js} +3 -3
- package/dist/chunks/{formatter-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{formatter-4xpgt2w9.js → tool-4xpgt2w9.js} +2 -2
- package/dist/chunks/{formatter-t4ngctge.js → tool-4yqysksd.js} +34 -34
- package/dist/chunks/{formatter-m5rzs9kv.js → tool-51zp19xj.js} +39 -39
- package/dist/chunks/{formatter-xweqhgzj.js → tool-52tqfb7t.js} +9 -9
- package/dist/chunks/{formatter-5jvkmg6a.js → tool-52zf3ryw.js} +4 -4
- package/dist/chunks/{formatter-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{formatter-p95p47f2.js → tool-5hywj11r.js} +31 -31
- package/dist/chunks/{formatter-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-sxcaecc0.js → tool-5rzwp8tz.js} +3 -3
- package/dist/chunks/{formatter-xt4njr3s.js → tool-5w9yjztw.js} +1 -1
- package/dist/chunks/{formatter-3d4ymmg4.js → tool-607px8n0.js} +13 -13
- package/dist/chunks/{formatter-tmbn7gcx.js → tool-6cf5m0q5.js} +9 -9
- package/dist/chunks/{formatter-advpk7k7.js → tool-6gga028k.js} +23 -23
- package/dist/chunks/{formatter-xn8fmk94.js → tool-6qcxfmt4.js} +21 -21
- package/dist/chunks/{formatter-hk61fc81.js → tool-6rzkm1az.js} +29 -29
- package/dist/chunks/{formatter-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-4kn8dehn.js → tool-6xx70fkw.js} +22 -22
- package/dist/chunks/{formatter-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-2r93mh4x.js → tool-7gra0nqm.js} +5 -5
- package/dist/chunks/{formatter-2eegacq4.js → tool-7gx041tx.js} +8 -8
- package/dist/chunks/{formatter-b34d37jx.js → tool-7j6nyg8b.js} +14 -14
- package/dist/chunks/{formatter-6q1fk26j.js → tool-7t6rstye.js} +16 -16
- package/dist/chunks/{formatter-x1xxp7pr.js → tool-7wm7ck3f.js} +58 -58
- package/dist/chunks/{formatter-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{formatter-y7hva13m.js → tool-873mxp7r.js} +6 -6
- package/dist/chunks/{formatter-fdmyxeta.js → tool-8ae1krg5.js} +1 -1
- package/dist/chunks/{formatter-pwct3qgt.js → tool-8ffyemb8.js} +4 -4
- package/dist/chunks/{formatter-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-91qna3x0.js → tool-91qna3x0.js} +3 -3
- package/dist/chunks/{formatter-97aeaand.js → tool-97aeaand.js} +1 -1
- package/dist/chunks/{formatter-vc3r2ec9.js → tool-9hy1hzvm.js} +19 -19
- package/dist/chunks/{formatter-1eyvf6d7.js → tool-9s3sw3w2.js} +5 -5
- package/dist/chunks/{formatter-1v1jz88t.js → tool-9yr0fr5m.js} +18 -18
- package/dist/chunks/{formatter-tzsvtse1.js → tool-a0jk4dgc.js} +12 -12
- package/dist/chunks/{formatter-ccrb4wds.js → tool-a3hwe848.js} +4 -4
- package/dist/chunks/{formatter-21pyz670.js → tool-a5br798j.js} +31 -31
- package/dist/chunks/{formatter-tk2nybwj.js → tool-a7xz2w96.js} +7 -7
- package/dist/chunks/{formatter-hd88bjr2.js → tool-a8105mew.js} +20 -20
- package/dist/chunks/{formatter-x42b0rq9.js → tool-a9d4ws5f.js} +30 -30
- package/dist/chunks/{formatter-d2x3fvxy.js → tool-aamadd9d.js} +30 -30
- package/dist/chunks/{formatter-rvzmyzm1.js → tool-aavma884.js} +20 -20
- package/dist/chunks/{formatter-fk8kczgx.js → tool-ac91s02x.js} +25 -25
- package/dist/chunks/{formatter-8kwptkep.js → tool-afc2jrhf.js} +9 -9
- package/dist/chunks/{formatter-6q31t9jv.js → tool-aswecc38.js} +10 -10
- package/dist/chunks/{formatter-4n2jdprc.js → tool-azwc917b.js} +4 -4
- package/dist/chunks/{formatter-zw2hpfmh.js → tool-azwe5p1w.js} +4 -4
- package/dist/chunks/{formatter-b674v2dg.js → tool-b674v2dg.js} +2 -2
- package/dist/chunks/{formatter-8pvjw1yk.js → tool-bseb4y7x.js} +11 -11
- package/dist/chunks/{formatter-2map9xty.js → tool-bxnsh2h7.js} +50 -50
- package/dist/chunks/{formatter-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{formatter-r24bhee7.js → tool-c4spg60a.js} +22 -22
- package/dist/chunks/{formatter-4pa8nav4.js → tool-c8zwaxmp.js} +3 -3
- package/dist/chunks/{formatter-pfw33rzy.js → tool-cdzskg65.js} +21 -21
- package/dist/chunks/{formatter-wnkeg6nb.js → tool-ce61gq8c.js} +11 -11
- package/dist/chunks/{formatter-h3wbh357.js → tool-cr8sv6bh.js} +3 -3
- package/dist/chunks/{formatter-p4qrnvy6.js → tool-ct0x63sa.js} +15 -15
- package/dist/chunks/{formatter-exsq973e.js → tool-cx6hsbt0.js} +15 -15
- package/dist/chunks/{formatter-vtk244ca.js → tool-cy9nd497.js} +10 -10
- package/dist/chunks/{formatter-d216944b.js → tool-d216944b.js} +1 -1
- package/dist/chunks/{formatter-s41hc7hx.js → tool-d8c7d30z.js} +20 -20
- package/dist/chunks/{formatter-wee432v1.js → tool-denpq03g.js} +15 -15
- package/dist/chunks/{formatter-bj587msa.js → tool-ds8rcr17.js} +27 -27
- package/dist/chunks/{formatter-jppqdx2t.js → tool-dwn2mnsx.js} +9 -9
- package/dist/chunks/{formatter-x6zpjsfk.js → tool-dy6n44gf.js} +37 -37
- package/dist/chunks/{formatter-3vztebqd.js → tool-dynjzw90.js} +43 -43
- package/dist/chunks/{formatter-zfcwc1y1.js → tool-e25ft575.js} +4 -4
- package/dist/chunks/{formatter-kx7rxa1b.js → tool-e6d7shk6.js} +14 -14
- package/dist/chunks/{formatter-q253zft2.js → tool-e9hyd38m.js} +25 -25
- package/dist/chunks/{formatter-hvnp0mny.js → tool-ebg5fsc2.js} +319 -319
- package/dist/chunks/{formatter-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-tbk04f64.js → tool-ehbsya0k.js} +23 -23
- package/dist/chunks/{formatter-63mfsvgx.js → tool-eknygh2r.js} +11 -11
- package/dist/chunks/{formatter-c1fmzc09.js → tool-ers3vfep.js} +2 -2
- package/dist/chunks/{formatter-1x7hg506.js → tool-evvst45t.js} +9 -9
- package/dist/chunks/{formatter-c2rqg8ey.js → tool-f2hmbx6s.js} +17 -17
- package/dist/chunks/{formatter-68vnzynb.js → tool-f55gme48.js} +16 -16
- package/dist/chunks/{formatter-90j3xnb1.js → tool-f8m7rc0r.js} +16 -16
- package/dist/chunks/{formatter-304591gr.js → tool-fbp33tyy.js} +22 -22
- package/dist/chunks/{formatter-gf1n7vvt.js → tool-fgqejdyc.js} +4 -4
- package/dist/chunks/{formatter-y6y97je4.js → tool-fm0s3b9b.js} +13 -13
- package/dist/chunks/{formatter-0gqjtaj7.js → tool-fye057qm.js} +8 -8
- package/dist/chunks/{formatter-d4j44yz6.js → tool-fyhhm9qw.js} +7 -7
- package/dist/chunks/tool-g0r85kvg.js +253 -0
- package/dist/chunks/{formatter-acwtfcp6.js → tool-g64bn1a9.js} +6 -6
- package/dist/chunks/{formatter-0n6pyt17.js → tool-gce79w0q.js} +19 -19
- package/dist/chunks/{formatter-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-gk8qb678.js → tool-gk8qb678.js} +1 -1
- package/dist/chunks/{formatter-1bb8svhn.js → tool-gka1h982.js} +2 -2
- package/dist/chunks/{formatter-h5941s2r.js → tool-gr980ggd.js} +34 -34
- package/dist/chunks/{formatter-tc000skt.js → tool-gsy0a2fc.js} +20 -20
- package/dist/chunks/{formatter-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-9jzp6rtr.js → tool-h71w788e.js} +9 -9
- package/dist/chunks/{formatter-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
- package/dist/chunks/{formatter-wpswfpkw.js → tool-h9s2vh22.js} +11 -11
- package/dist/chunks/{formatter-d0da1tm4.js → tool-hc4fzbfv.js} +5 -5
- package/dist/chunks/{formatter-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-ngdfe2fc.js → tool-hs2agdmc.js} +5 -5
- package/dist/chunks/{formatter-hy1va3t8.js → tool-hvr28mne.js} +11 -11
- package/dist/chunks/{formatter-ae2ebvqc.js → tool-j40argf2.js} +12 -12
- package/dist/chunks/{formatter-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-9dekqje7.js → tool-j5p87426.js} +16 -16
- package/dist/chunks/{formatter-s57gzy7f.js → tool-j90fxacf.js} +4 -4
- package/dist/chunks/{formatter-63jakaer.js → tool-jc3pryrp.js} +33 -33
- package/dist/chunks/{formatter-jvhh335a.js → tool-jcx2acag.js} +27 -27
- package/dist/chunks/{formatter-ermxvwhp.js → tool-jewzahs7.js} +4 -4
- package/dist/chunks/{formatter-xz2e5smm.js → tool-jg4njqxe.js} +16 -16
- package/dist/chunks/{formatter-j9vw60gp.js → tool-jjb57f1v.js} +5 -5
- package/dist/chunks/{formatter-nnh9ekd1.js → tool-jryjd015.js} +10 -10
- package/dist/chunks/{formatter-t4pgss7x.js → tool-jvzrpfz1.js} +34 -34
- package/dist/chunks/{formatter-n97r6b1p.js → tool-k0gt402z.js} +20 -20
- package/dist/chunks/{formatter-7epx4byg.js → tool-k2sx0fs0.js} +16 -16
- package/dist/chunks/{formatter-kt03xgs8.js → tool-k7v23by5.js} +40 -40
- package/dist/chunks/{formatter-yg5tfmeg.js → tool-ka1znqm3.js} +24 -24
- package/dist/chunks/{formatter-3jvh5386.js → tool-ka6d63ve.js} +14 -14
- package/dist/chunks/{formatter-wsacapk7.js → tool-kghabkhx.js} +3 -3
- package/dist/chunks/{formatter-khmqacep.js → tool-khmqacep.js} +1 -1
- package/dist/chunks/{formatter-wte75qjz.js → tool-kqx1b4hy.js} +4 -4
- package/dist/chunks/{formatter-3kmz1s9n.js → tool-ks9cd2p9.js} +17 -17
- package/dist/chunks/{formatter-aa0aqb92.js → tool-ksq90z2j.js} +18 -18
- package/dist/chunks/{formatter-bpeqk324.js → tool-ktn6hp70.js} +29 -29
- package/dist/chunks/{formatter-tat11k01.js → tool-kvjzkr2v.js} +9 -9
- package/dist/chunks/{formatter-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-sfkj0ta1.js → tool-ma48de29.js} +5 -5
- package/dist/chunks/{formatter-jpar7rgf.js → tool-me4kr82p.js} +19 -19
- package/dist/chunks/{formatter-ryccahdk.js → tool-mmmq1fmj.js} +15 -15
- package/dist/chunks/{formatter-n61013np.js → tool-n61013np.js} +3 -3
- package/dist/chunks/{formatter-wcqpwpqs.js → tool-neyn3p2v.js} +23 -23
- package/dist/chunks/{formatter-pxwtvwnd.js → tool-nnajtnrh.js} +1 -1
- package/dist/chunks/{formatter-rtxeq7sf.js → tool-np4m03pb.js} +16 -16
- package/dist/chunks/{formatter-4g61n2kp.js → tool-nymhndtm.js} +3 -3
- package/dist/chunks/{formatter-9npt1895.js → tool-nypk9e09.js} +10 -10
- package/dist/chunks/{formatter-tmvn36x1.js → tool-nza4bhrq.js} +8 -8
- package/dist/chunks/{formatter-170ybnr4.js → tool-p0vgqfrd.js} +13 -13
- package/dist/chunks/{formatter-gm3mawps.js → tool-p80z2n38.js} +6 -6
- package/dist/chunks/{formatter-gfzqzyz0.js → tool-p97g2b6e.js} +6 -6
- package/dist/chunks/{formatter-qhcjrbh9.js → tool-pa78zzaq.js} +11 -11
- package/dist/chunks/{formatter-n6x4mcww.js → tool-pf7t9ccf.js} +20 -20
- package/dist/chunks/{formatter-cmwkp3r5.js → tool-phz3vpyj.js} +8 -8
- package/dist/chunks/{formatter-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-pfzs8f4y.js → tool-pttbbn28.js} +11 -11
- package/dist/chunks/{formatter-jws6fkes.js → tool-py3kkmfq.js} +8 -8
- package/dist/chunks/{formatter-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{formatter-e3m5w1sy.js → tool-q12r1j28.js} +12 -12
- package/dist/chunks/{formatter-9a161wge.js → tool-q46gh8d3.js} +86 -86
- package/dist/chunks/{formatter-p69x1384.js → tool-q5tvgb2d.js} +24 -24
- package/dist/chunks/{formatter-tbycc2hz.js → tool-q874veys.js} +13 -13
- package/dist/chunks/tool-qc068m1q.js +18 -0
- package/dist/chunks/{formatter-fcrkznn8.js → tool-qgn6gcr1.js} +5 -5
- package/dist/chunks/{formatter-3n40wvxh.js → tool-qjx1ax0j.js} +5 -5
- package/dist/chunks/{formatter-c765mh8b.js → tool-qmqgtz8f.js} +9 -9
- package/dist/chunks/{formatter-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-7npw7b4f.js → tool-r19kge9j.js} +13 -13
- package/dist/chunks/{formatter-gzeebjq4.js → tool-r2n437fd.js} +7 -7
- package/dist/chunks/{formatter-89e7he8k.js → tool-r2p1qcqj.js} +124 -42
- package/dist/chunks/{formatter-d55kms0x.js → tool-r3yrp3s1.js} +19 -19
- package/dist/chunks/{formatter-bjsqrap1.js → tool-r49qeajj.js} +167 -167
- package/dist/chunks/{formatter-521cwzmq.js → tool-r4bpj27y.js} +28 -28
- package/dist/chunks/{formatter-qb5fy139.js → tool-r98mf4ja.js} +11 -11
- package/dist/chunks/{formatter-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-db8hvn5r.js → tool-rdyynte9.js} +3 -3
- package/dist/chunks/{formatter-tkb22qbm.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{formatter-02nrjc1r.js → tool-rhjbct0v.js} +6 -6
- package/dist/chunks/{formatter-c41wscbt.js → tool-rj3eygr5.js} +2 -2
- package/dist/chunks/{formatter-jcp3whqs.js → tool-sa4egyg1.js} +4 -4
- package/dist/chunks/{formatter-cyejtnng.js → tool-sa4ztt1z.js} +50 -50
- package/dist/chunks/{formatter-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{formatter-razkkmbj.js → tool-sc97ncgc.js} +17 -17
- package/dist/chunks/{formatter-refxa0t0.js → tool-scdnddsf.js} +2 -2
- package/dist/chunks/{formatter-8mrxmbmj.js → tool-sfrffybq.js} +16 -16
- package/dist/chunks/{formatter-dwg0wzat.js → tool-sh82avnb.js} +9 -9
- package/dist/chunks/{formatter-dmd4mak0.js → tool-smpf7ekm.js} +9 -9
- package/dist/chunks/{formatter-zzm694dn.js → tool-sp8q6bdg.js} +9 -9
- package/dist/chunks/{formatter-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-p66tndhm.js → tool-t2m1w25e.js} +25 -25
- package/dist/chunks/{formatter-yt20gxxn.js → tool-t4ajgv8x.js} +50 -50
- package/dist/chunks/{formatter-vgx6weyf.js → tool-t89fqycx.js} +8 -8
- package/dist/chunks/{formatter-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-4yw1fbgd.js → tool-tcd69qnc.js} +21 -21
- package/dist/chunks/{formatter-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-0tkpsk1a.js → tool-tk87kdrg.js} +11 -11
- package/dist/chunks/{formatter-k573dvp0.js → tool-tnqyp7a1.js} +31 -31
- package/dist/chunks/{formatter-c8cf3kt2.js → tool-trz6se4e.js} +15 -15
- package/dist/chunks/{formatter-trr7bxs1.js → tool-tvb3zepd.js} +13 -13
- package/dist/chunks/{formatter-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-v0es1rhs.js → tool-v0es1rhs.js} +2 -2
- package/dist/chunks/{formatter-mjgetwmq.js → tool-v1rvcdcz.js} +45 -45
- package/dist/chunks/{formatter-jt9p6a1k.js → tool-v3dr526e.js} +5 -5
- package/dist/chunks/{formatter-7bvz2z4q.js → tool-v4zmjapd.js} +3 -3
- package/dist/chunks/{formatter-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-7khzse4r.js → tool-vm3fje9a.js} +27 -27
- package/dist/chunks/{formatter-r1cvadwr.js → tool-vn1hhbrf.js} +13 -13
- package/dist/chunks/{formatter-c8hpe9t1.js → tool-vn8z3a4b.js} +32 -32
- package/dist/chunks/{formatter-53c3sv1q.js → tool-vq6awb9c.js} +11 -11
- package/dist/chunks/{formatter-gjmk74th.js → tool-vqfzq50h.js} +6 -6
- package/dist/chunks/{formatter-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-42dw4rvm.js → tool-w2mv6cd8.js} +5 -5
- package/dist/chunks/{formatter-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-h1fz3f88.js → tool-wdsf3akg.js} +6 -6
- package/dist/chunks/{formatter-y1zhptrh.js → tool-wh6z6ktm.js} +10 -10
- package/dist/chunks/{formatter-y3gx830p.js → tool-wn5vabxh.js} +11 -11
- package/dist/chunks/{formatter-y9g90tep.js → tool-wps6h3dy.js} +10 -10
- package/dist/chunks/{formatter-zmrfgz7x.js → tool-x1ca3zjn.js} +4 -4
- package/dist/chunks/{formatter-btbmdjwj.js → tool-x3gqap9d.js} +4 -4
- package/dist/chunks/{formatter-n3zkspvb.js → tool-x6gnqd3s.js} +8 -8
- package/dist/chunks/{formatter-j65a6egm.js → tool-x9rxmjt5.js} +11 -11
- package/dist/chunks/tool-xap5v11p.js +26 -0
- package/dist/chunks/{formatter-qqeeq2t9.js → tool-xfkkasph.js} +7 -7
- package/dist/chunks/{formatter-fgbx85dz.js → tool-xhs59p2n.js} +22 -22
- package/dist/chunks/{formatter-dn7ywjh2.js → tool-xmhymaa3.js} +11 -11
- package/dist/chunks/{formatter-6w9p5n85.js → tool-xp6bq807.js} +12 -12
- package/dist/chunks/{formatter-ah1t0cbz.js → tool-xst2akbe.js} +11 -11
- package/dist/chunks/{formatter-1ynav5f4.js → tool-xzg60s99.js} +43 -43
- package/dist/chunks/{formatter-9n3fm182.js → tool-y168gzca.js} +79 -79
- package/dist/chunks/{formatter-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-rk5tjb03.js → tool-y5rgw10j.js} +5 -5
- package/dist/chunks/{formatter-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-1jdt266a.js → tool-y7nndgyc.js} +9 -9
- package/dist/chunks/{formatter-kb20khyt.js → tool-yhnztd3d.js} +38 -38
- package/dist/chunks/{formatter-wrhpknam.js → tool-ympry5e6.js} +34 -34
- package/dist/chunks/{formatter-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{formatter-wjr9rjd7.js → tool-ywt8jp22.js} +6 -6
- package/dist/chunks/{formatter-bfj99pj9.js → tool-yysvbg70.js} +31 -31
- package/dist/chunks/{formatter-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-110tzrbd.js → tool-z5n5ebyg.js} +15 -15
- package/dist/chunks/{formatter-7qqs174k.js → tool-z86ahet9.js} +11 -11
- package/dist/chunks/{formatter-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-2bzq2pzg.js → tool-zt09jx6h.js} +16 -16
- package/dist/chunks/{formatter-xyg64hc1.js → tool-zw1gkzfw.js} +25 -25
- package/dist/chunks/{formatter-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-zyk1yjk8.js → tool-zyk1yjk8.js} +2 -2
- 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 +83 -83
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +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 +216 -216
- 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 +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +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 +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- 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 +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- 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 +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +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 +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- 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 +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- 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/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 +3 -3
- package/dist/v1/config/command.js +1 -1
- 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 +1 -1
- 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/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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/formatter-7fj5dwt0.js +0 -18
- package/dist/chunks/formatter-d6n2v97e.js +0 -26
- package/dist/chunks/formatter-kqgdmvde.js +0 -253
- /package/dist/chunks/{formatter-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service36,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node40
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service36.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node40 = makeGlobalNode({ service: Service36, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service36, makeLayer2, layer15, node40, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-kghabkhx.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-4r6h9rfp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-rdyynte9.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sa4egyg1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-scdnddsf.js";
|
|
9
9
|
import {
|
|
10
10
|
ID15,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service75,
|
|
12
|
+
node79
|
|
13
|
+
} from "./tool-a0jk4dgc.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError6
|
|
16
|
+
} from "./tool-wdsf3akg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node61
|
|
20
|
+
} from "./tool-ka6d63ve.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node60
|
|
27
|
+
} from "./tool-ks9cd2p9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service64,
|
|
30
|
+
node68
|
|
31
|
+
} from "./tool-7gx041tx.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-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: () => Event10,
|
|
46
|
+
ID: () => ID5,
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service56,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node59
|
|
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 Event10 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID5 = 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 Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID5.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID5,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID5,
|
|
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 NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID5
|
|
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 Service56 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service84;
|
|
132
132
|
const location = yield* Service81;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service75;
|
|
134
|
+
const sessions = yield* Service58;
|
|
135
|
+
const saved = yield* Service57;
|
|
136
|
+
const hooks = yield* Service64;
|
|
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(Service71, 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 NotFoundError6({ 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(Service71, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID5.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service71, 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 ?? ID5.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(Service71, 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 NotFoundError5({ 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(Service71, 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 Service56.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node59 = makeLocationNode({
|
|
303
|
+
service: Service56,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node88, node85,
|
|
305
|
+
deps: [node88, node85, node79, node61, node60, node68]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID5, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service56, node59, exports_permission2, Rule3, Ruleset2, Event10 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sa4egyg1.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-1km6676t.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
15
|
node85
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-scdnddsf.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info3,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service17,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
61
|
const location = yield* Service81;
|
|
62
62
|
const bus = yield* Service84;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service17.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node20 = makeLocationNode({
|
|
191
|
+
service: Service17,
|
|
192
192
|
layer,
|
|
193
193
|
deps: [FSUtil.node, node85, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service17, node20, exports_vcs };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-rdyynte9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./tool-vqfzq50h.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-qc068m1q.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-3sj8yt8v.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-28wtzp1x.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-tnqyp7a1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./tool-y168gzca.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service41;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-sa4egyg1.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer6,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer6 = Layer.effect(
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service84;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node88] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|