@opencode/core 0.0.0-dev-20846 → 0.0.0-dev-20848
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{tool-pf7t9ccf.js → mime-002hnt25.js} +22 -22
- package/dist/chunks/{tool-q12r1j28.js → mime-002yfvjw.js} +20 -20
- package/dist/chunks/{tool-t2m1w25e.js → mime-010n58ab.js} +25 -25
- package/dist/chunks/{tool-y168gzca.js → mime-03zdqwm6.js} +78 -78
- package/dist/chunks/{tool-ac91s02x.js → mime-093ezmkq.js} +25 -25
- package/dist/chunks/{tool-a5br798j.js → mime-0hzwm2j4.js} +33 -33
- package/dist/chunks/{tool-q0xm7vwc.js → mime-0j77ygfz.js} +6 -6
- package/dist/chunks/{tool-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-04yjvv9z.js → mime-18wcmczp.js} +3 -3
- package/dist/chunks/{tool-z86ahet9.js → mime-19ehbbx2.js} +11 -11
- package/dist/chunks/{tool-jcx2acag.js → mime-19vkts2s.js} +27 -27
- package/dist/chunks/{tool-wn5vabxh.js → mime-1f45z9qr.js} +11 -11
- package/dist/chunks/{tool-ywt8jp22.js → mime-1ffvrpkg.js} +6 -6
- package/dist/chunks/{tool-607px8n0.js → mime-1fxcdfpr.js} +14 -14
- package/dist/chunks/{tool-afc2jrhf.js → mime-1nwrzgv4.js} +18 -18
- package/dist/chunks/{tool-ers3vfep.js → mime-1vdt07et.js} +4 -4
- package/dist/chunks/{tool-pttbbn28.js → mime-25x08sgb.js} +11 -11
- package/dist/chunks/{tool-trz6se4e.js → mime-28rmsg7j.js} +15 -15
- package/dist/chunks/{tool-a8105mew.js → mime-2c1y2c17.js} +25 -25
- package/dist/chunks/{tool-4ts7tf6z.js → mime-2ccvkpx1.js} +2 -2
- package/dist/chunks/{tool-vn1hhbrf.js → mime-2d3qjknd.js} +13 -13
- package/dist/chunks/{tool-a9d4ws5f.js → mime-2eqf98j4.js} +26 -26
- package/dist/chunks/{tool-36py4jdg.js → mime-2njrmdps.js} +20 -20
- package/dist/chunks/{tool-2vvh33eb.js → mime-2vvh33eb.js} +2 -2
- package/dist/chunks/{tool-fyhhm9qw.js → mime-2zrs9e1z.js} +7 -7
- package/dist/chunks/{tool-vq6awb9c.js → mime-2zznshrj.js} +14 -14
- package/dist/chunks/{tool-v4zmjapd.js → mime-305smynn.js} +3 -3
- package/dist/chunks/{tool-h7s7r6s9.js → mime-31xfzrxg.js} +5 -5
- package/dist/chunks/{tool-dy6n44gf.js → mime-341887x8.js} +34 -34
- package/dist/chunks/{tool-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-jvzrpfz1.js → mime-3tdspdk0.js} +32 -32
- package/dist/chunks/{tool-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-jg4njqxe.js → mime-3wm8rynf.js} +16 -16
- package/dist/chunks/{tool-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-azwc917b.js → mime-44rdwtgh.js} +4 -4
- package/dist/chunks/{tool-a3hwe848.js → mime-48c45xbx.js} +4 -4
- package/dist/chunks/{tool-51zp19xj.js → mime-4b2pdyzr.js} +42 -42
- package/dist/chunks/{tool-h71w788e.js → mime-4nj4bn9q.js} +9 -9
- package/dist/chunks/{tool-dwn2mnsx.js → mime-4qneze2k.js} +9 -9
- package/dist/chunks/{tool-cdzskg65.js → mime-4vy300yq.js} +26 -26
- package/dist/chunks/{tool-3sj8yt8v.js → mime-4z58m4b4.js} +4 -4
- package/dist/chunks/{tool-6cf5m0q5.js → mime-50gcym7f.js} +9 -9
- package/dist/chunks/{tool-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-yysvbg70.js → mime-564q7t6e.js} +31 -31
- package/dist/chunks/{tool-6gga028k.js → mime-5a2crbnm.js} +20 -20
- package/dist/chunks/{tool-e6d7shk6.js → mime-5crmb2xf.js} +12 -12
- package/dist/chunks/{tool-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/mime-5r09gv9w.js +26 -0
- package/dist/chunks/{tool-gka1h982.js → mime-5v4tq1pr.js} +2 -2
- package/dist/chunks/{tool-denpq03g.js → mime-5zxyxt67.js} +18 -18
- package/dist/chunks/{tool-fm0s3b9b.js → mime-621kfk4a.js} +11 -11
- package/dist/chunks/{tool-0s3jeq9v.js → mime-6258hrf2.js} +13 -13
- package/dist/chunks/{tool-f55gme48.js → mime-63qttpz0.js} +27 -27
- package/dist/chunks/{tool-4qbazw45.js → mime-64197h0s.js} +7 -7
- package/dist/chunks/{tool-3q7cazx3.js → mime-6nhrap54.js} +8 -8
- package/dist/chunks/{tool-zt09jx6h.js → mime-6pyvjtsa.js} +18 -18
- package/dist/chunks/{tool-8ffyemb8.js → mime-6wzskj7v.js} +4 -4
- package/dist/chunks/{tool-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-4xpgt2w9.js → mime-6yz0wx8n.js} +5 -5
- package/dist/chunks/{tool-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-e9hyd38m.js → mime-7c9rhtvt.js} +25 -25
- package/dist/chunks/{tool-nymhndtm.js → mime-7d8xn48g.js} +3 -3
- package/dist/chunks/{tool-qgn6gcr1.js → mime-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-pa78zzaq.js → mime-7t21zscw.js} +11 -11
- package/dist/chunks/{tool-neyn3p2v.js → mime-7t45mqen.js} +23 -23
- package/dist/chunks/{tool-evvst45t.js → mime-7x88nx06.js} +6 -6
- package/dist/chunks/{tool-tcd69qnc.js → mime-817wyjpp.js} +21 -21
- package/dist/chunks/{tool-kqx1b4hy.js → mime-83r455cj.js} +4 -4
- package/dist/chunks/{tool-84txncab.js → mime-84txncab.js} +1 -1
- package/dist/chunks/{tool-2cybgqhz.js → mime-85xxa1xb.js} +2 -2
- package/dist/chunks/{tool-hvr28mne.js → mime-874mqwgr.js} +11 -11
- package/dist/chunks/{tool-ds8rcr17.js → mime-8758vc7w.js} +27 -27
- package/dist/chunks/{tool-bxnsh2h7.js → mime-88j8nb7d.js} +50 -50
- package/dist/chunks/{tool-gsy0a2fc.js → mime-8ge66yjw.js} +20 -20
- package/dist/chunks/{tool-e25ft575.js → mime-8ja30ehw.js} +6 -6
- package/dist/chunks/{tool-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-9yr0fr5m.js → mime-8nn0aekz.js} +10 -10
- package/dist/chunks/{tool-rdyynte9.js → mime-8vg2ek78.js} +3 -3
- package/dist/chunks/{tool-873mxp7r.js → mime-943skrnc.js} +6 -6
- package/dist/chunks/{tool-28wtzp1x.js → mime-98tgrza1.js} +11 -11
- package/dist/chunks/{tool-mmmq1fmj.js → mime-9ayz8qe3.js} +15 -15
- package/dist/chunks/{tool-t89fqycx.js → mime-9c3np669.js} +8 -8
- package/dist/chunks/{tool-ks9cd2p9.js → mime-9cbcaerr.js} +15 -15
- package/dist/chunks/{tool-4p1ce748.js → mime-9gagznbj.js} +5 -5
- package/dist/chunks/{tool-np4m03pb.js → mime-9h6b9xcq.js} +25 -25
- package/dist/chunks/{tool-h9s2vh22.js → mime-9khdf5s3.js} +10 -10
- package/dist/chunks/mime-9sh4wc5j.js +18 -0
- package/dist/chunks/{tool-qjx1ax0j.js → mime-a01j9zgm.js} +5 -5
- package/dist/chunks/{tool-077nw9md.js → mime-a3vy0zy5.js} +22 -22
- package/dist/chunks/{tool-g0r85kvg.js → mime-aars6rd8.js} +154 -154
- package/dist/chunks/{tool-azwe5p1w.js → mime-addxnjmp.js} +4 -4
- package/dist/chunks/{tool-2c13444x.js → mime-agdd9xsj.js} +15 -15
- package/dist/chunks/{tool-r3yrp3s1.js → mime-avcrxgn1.js} +18 -18
- package/dist/chunks/{tool-eknygh2r.js → mime-aysmer6g.js} +11 -11
- package/dist/chunks/{tool-smpf7ekm.js → mime-b5expwxh.js} +12 -12
- package/dist/chunks/{tool-g64bn1a9.js → mime-b5pctew3.js} +9 -9
- package/dist/chunks/{tool-52tqfb7t.js → mime-b8j6recp.js} +9 -9
- package/dist/chunks/{tool-6rzkm1az.js → mime-b9hjh4zd.js} +27 -27
- package/dist/chunks/{tool-c8zwaxmp.js → mime-ba07h9gm.js} +3 -3
- package/dist/chunks/{tool-k2sx0fs0.js → mime-bbmgsf8y.js} +16 -16
- package/dist/chunks/{tool-xzg60s99.js → mime-bf73z2bd.js} +46 -46
- package/dist/chunks/{tool-0pksd81t.js → mime-bfbcwk3j.js} +5 -5
- package/dist/chunks/{tool-r2p1qcqj.js → mime-bpcp2wk4.js} +30 -30
- package/dist/chunks/{tool-r2n437fd.js → mime-bsdt1m9e.js} +7 -7
- package/dist/chunks/{tool-1qbv9jt9.js → mime-bydzhrwf.js} +22 -22
- package/dist/chunks/{tool-7gx041tx.js → mime-c27esgm9.js} +8 -8
- package/dist/chunks/{tool-52zf3ryw.js → mime-c28b4grb.js} +4 -4
- package/dist/chunks/{tool-v1rvcdcz.js → mime-c3kdf4nh.js} +45 -45
- package/dist/chunks/{tool-rj3eygr5.js → mime-c41wscbt.js} +2 -2
- package/dist/chunks/{tool-9s3sw3w2.js → mime-c74pnqn7.js} +5 -5
- package/dist/chunks/{tool-sa8ekw3f.js → mime-c8ax2afj.js} +2 -2
- package/dist/chunks/{tool-4yqysksd.js → mime-cjdmztnd.js} +36 -36
- package/dist/chunks/{tool-f8m7rc0r.js → mime-ct5msdbx.js} +16 -16
- package/dist/chunks/{tool-6xx70fkw.js → mime-ctdy4p88.js} +26 -26
- package/dist/chunks/{tool-xmhymaa3.js → mime-cthrtr0v.js} +11 -11
- package/dist/chunks/{tool-p80z2n38.js → mime-cy5d7jcg.js} +6 -6
- package/dist/chunks/{tool-vqfzq50h.js → mime-d0k1g5nx.js} +6 -6
- package/dist/chunks/{tool-cr8sv6bh.js → mime-d3j1yfh5.js} +3 -3
- package/dist/chunks/{tool-xst2akbe.js → mime-d4qxdy3f.js} +11 -11
- package/dist/chunks/{tool-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-xfkkasph.js → mime-drwq78ky.js} +4 -4
- package/dist/chunks/{tool-232z2e7w.js → mime-dvf6tdtm.js} +5 -5
- package/dist/chunks/{tool-aamadd9d.js → mime-dwctjmtf.js} +32 -32
- package/dist/chunks/{tool-y5rgw10j.js → mime-dzxpq3he.js} +14 -14
- package/dist/chunks/{tool-2b2b10pr.js → mime-e2n962sp.js} +11 -11
- package/dist/chunks/{tool-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{tool-5rzwp8tz.js → mime-e80seqcp.js} +3 -3
- package/dist/chunks/{tool-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-p0vgqfrd.js → mime-egk29gxp.js} +13 -13
- package/dist/chunks/{tool-c1fqxshp.js → mime-es1vcfrp.js} +3 -3
- package/dist/chunks/{tool-ma48de29.js → mime-ex0pka66.js} +5 -5
- package/dist/chunks/{tool-z5n5ebyg.js → mime-f8wv18vk.js} +15 -15
- package/dist/chunks/{tool-k7v23by5.js → mime-fg20npmb.js} +40 -40
- package/dist/chunks/{tool-fye057qm.js → mime-fmwz837r.js} +8 -8
- package/dist/chunks/{tool-qmqgtz8f.js → mime-ft3hqk2c.js} +9 -9
- package/dist/chunks/{tool-4mr2x1vr.js → mime-ft8f0j73.js} +28 -28
- package/dist/chunks/{tool-xhs59p2n.js → mime-fv0pzh3a.js} +22 -22
- package/dist/chunks/{tool-c4spg60a.js → mime-fv1xpqq8.js} +24 -24
- package/dist/chunks/{tool-x6gnqd3s.js → mime-fzejrech.js} +8 -8
- package/dist/chunks/{tool-5w9yjztw.js → mime-gd0tnyjc.js} +1 -1
- package/dist/chunks/{tool-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-p97g2b6e.js → mime-ghdx6zwz.js} +6 -6
- package/dist/chunks/{tool-gk8qb678.js → mime-gk8qb678.js} +1 -1
- package/dist/chunks/{tool-q874veys.js → mime-grcxjrjv.js} +15 -15
- package/dist/chunks/{tool-x1ca3zjn.js → mime-gsb0ytgh.js} +4 -4
- package/dist/chunks/{tool-cx6hsbt0.js → mime-h0t0bv9g.js} +15 -15
- package/dist/chunks/{tool-tvb3zepd.js → mime-h14hz9z0.js} +13 -13
- package/dist/chunks/{tool-2nmszwhj.js → mime-h581xfce.js} +48 -48
- package/dist/chunks/{tool-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-ebg5fsc2.js → mime-h8k9kr22.js} +323 -323
- package/dist/chunks/{tool-7j6nyg8b.js → mime-hdnmq8jc.js} +11 -11
- package/dist/chunks/{tool-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-khmqacep.js → mime-hq3c8me3.js} +4 -4
- package/dist/chunks/{tool-6qcxfmt4.js → mime-hqz60g6y.js} +25 -25
- package/dist/chunks/{tool-r19kge9j.js → mime-hte375x9.js} +13 -13
- package/dist/chunks/{tool-jc3pryrp.js → mime-hvq1vxtv.js} +30 -30
- package/dist/chunks/{tool-91qna3x0.js → mime-j09zfasm.js} +3 -3
- package/dist/chunks/{tool-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-dynjzw90.js → mime-jc7bxj62.js} +45 -45
- package/dist/chunks/{tool-3gwb8r2s.js → mime-jexmkm21.js} +43 -43
- package/dist/chunks/{tool-f2hmbx6s.js → mime-jvcyxgjy.js} +17 -17
- package/dist/chunks/{tool-r98mf4ja.js → mime-k1xhjma1.js} +11 -11
- package/dist/chunks/{tool-7gra0nqm.js → mime-k3bh1kct.js} +5 -5
- package/dist/chunks/{tool-vm3fje9a.js → mime-k5ha2rxc.js} +27 -27
- package/dist/chunks/{tool-me4kr82p.js → mime-kbkgrfea.js} +19 -19
- package/dist/chunks/{tool-k0gt402z.js → mime-kqkndje3.js} +20 -20
- package/dist/chunks/{tool-r4bpj27y.js → mime-m2zdk9kx.js} +25 -25
- package/dist/chunks/{tool-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-v3dr526e.js → mime-mg1adt76.js} +5 -5
- package/dist/chunks/{tool-gr980ggd.js → mime-mqgk8r7f.js} +42 -42
- package/dist/chunks/{tool-d216944b.js → mime-mtq6xxnx.js} +4 -4
- package/dist/chunks/{tool-jryjd015.js → mime-mz10zc8h.js} +10 -10
- package/dist/chunks/{tool-48243nkh.js → mime-n21cjp58.js} +10 -10
- package/dist/chunks/{tool-jewzahs7.js → mime-nb9p6b26.js} +4 -4
- package/dist/chunks/{tool-y7nndgyc.js → mime-nd4tfyg0.js} +9 -9
- package/dist/chunks/{tool-5hywj11r.js → mime-nk1a0m4h.js} +33 -33
- package/dist/chunks/{tool-ktn6hp70.js → mime-nr82q2y3.js} +26 -26
- package/dist/chunks/{tool-3ssmb346.js → mime-nwb5j2mm.js} +8 -8
- package/dist/chunks/{tool-nypk9e09.js → mime-nypk9e09.js} +2 -2
- package/dist/chunks/{tool-ce61gq8c.js → mime-nyq6zjbq.js} +14 -14
- package/dist/chunks/{tool-gce79w0q.js → mime-p167xd9m.js} +22 -22
- package/dist/chunks/{tool-phz3vpyj.js → mime-p37cw4rj.js} +8 -8
- package/dist/chunks/{tool-sa4egyg1.js → mime-p75g0t75.js} +4 -4
- package/dist/chunks/{tool-206ttqvc.js → mime-p84pazke.js} +17 -17
- package/dist/chunks/{tool-ka6d63ve.js → mime-pccmesk3.js} +14 -14
- package/dist/chunks/{tool-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{tool-ksq90z2j.js → mime-pzxj9hfq.js} +18 -18
- package/dist/chunks/{tool-a7xz2w96.js → mime-q4eqpz6z.js} +21 -21
- package/dist/chunks/{tool-j5p87426.js → mime-q52t79da.js} +24 -24
- package/dist/chunks/{tool-sp8q6bdg.js → mime-q6k0rjqm.js} +9 -9
- package/dist/chunks/{tool-a0jk4dgc.js → mime-q7sg16y8.js} +24 -24
- package/dist/chunks/{tool-bseb4y7x.js → mime-qa5vprxq.js} +11 -11
- package/dist/chunks/{tool-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-b674v2dg.js → mime-qne3fa44.js} +5 -5
- package/dist/chunks/{tool-fbp33tyy.js → mime-qpm56zd3.js} +22 -22
- package/dist/chunks/{tool-nza4bhrq.js → mime-qptva5a0.js} +8 -8
- package/dist/chunks/{tool-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-x9rxmjt5.js → mime-r1v71m1q.js} +11 -11
- package/dist/chunks/{tool-scdnddsf.js → mime-r9gmq3a3.js} +2 -2
- package/dist/chunks/{tool-ympry5e6.js → mime-rcxxtyg9.js} +34 -34
- package/dist/chunks/{tool-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-kghabkhx.js → mime-rjv486v1.js} +6 -6
- package/dist/chunks/{tool-97aeaand.js → mime-rkg4v3e5.js} +9 -9
- package/dist/chunks/{tool-py3kkmfq.js → mime-rkprpv83.js} +2 -2
- package/dist/chunks/{tool-wps6h3dy.js → mime-rnkwpqsj.js} +13 -13
- package/dist/chunks/{tool-jjb57f1v.js → mime-rw63zn1c.js} +7 -7
- package/dist/chunks/{tool-ct0x63sa.js → mime-rwbv99bt.js} +20 -20
- package/dist/chunks/{tool-hs2agdmc.js → mime-rxkwhjbw.js} +5 -5
- package/dist/chunks/{tool-ehbsya0k.js → mime-s674p844.js} +24 -24
- package/dist/chunks/{tool-3wmf6f3c.js → mime-s79kdw20.js} +3 -3
- package/dist/chunks/{tool-zyk1yjk8.js → mime-scgrse2b.js} +5 -5
- package/dist/chunks/{tool-vn8z3a4b.js → mime-shxcat2w.js} +28 -28
- package/dist/chunks/{tool-tnqyp7a1.js → mime-spdr2m8g.js} +33 -33
- package/dist/chunks/{tool-syv4x271.js → mime-syv4x271.js} +1 -1
- package/dist/chunks/{tool-7t6rstye.js → mime-t0czkw58.js} +14 -14
- package/dist/chunks/{tool-j40argf2.js → mime-t44n0djv.js} +15 -15
- package/dist/chunks/{tool-rhjbct0v.js → mime-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-wdsf3akg.js → mime-t8g2rvm9.js} +9 -9
- package/dist/chunks/{tool-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-aavma884.js → mime-td4h0tpz.js} +20 -20
- package/dist/chunks/{tool-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{tool-nnajtnrh.js → mime-thye16kd.js} +1 -1
- package/dist/chunks/{tool-rert0e01.js → mime-tkb22qbm.js} +2 -2
- package/dist/chunks/{tool-r49qeajj.js → mime-tpd4zc77.js} +173 -173
- package/dist/chunks/{tool-06x8he3q.js → mime-ttqh24zm.js} +4 -4
- package/dist/chunks/{tool-ka1znqm3.js → mime-tyhvedd8.js} +22 -22
- package/dist/chunks/{tool-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-v0es1rhs.js → mime-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-hc4fzbfv.js → mime-v531ggt4.js} +5 -5
- package/dist/chunks/{tool-3wb086fk.js → mime-v56myrm4.js} +28 -28
- package/dist/chunks/{tool-9hy1hzvm.js → mime-v67tqvgv.js} +17 -17
- package/dist/chunks/{tool-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-w2mv6cd8.js → mime-vf2dg72c.js} +5 -5
- package/dist/chunks/{tool-x3gqap9d.js → mime-vfjhn2wd.js} +4 -4
- package/dist/chunks/{tool-q5tvgb2d.js → mime-vkjxqv50.js} +29 -29
- package/dist/chunks/{tool-fgqejdyc.js → mime-vqgjf46c.js} +4 -4
- package/dist/chunks/{tool-n61013np.js → mime-vtqafnzr.js} +11 -11
- package/dist/chunks/{tool-161awap4.js → mime-vz1740cg.js} +24 -24
- package/dist/chunks/{tool-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-xp6bq807.js → mime-w546eqkd.js} +24 -24
- package/dist/chunks/{tool-3qfxs27s.js → mime-w6fjva46.js} +6 -6
- package/dist/chunks/{tool-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{tool-j90fxacf.js → mime-wj4ga3q8.js} +4 -4
- package/dist/chunks/{tool-wh6z6ktm.js → mime-wmswtf3a.js} +13 -13
- package/dist/chunks/{tool-aswecc38.js → mime-x19mfkfa.js} +10 -10
- package/dist/chunks/{tool-1dp4rae7.js → mime-xay352td.js} +35 -35
- package/dist/chunks/{tool-sc97ncgc.js → mime-xbxz27st.js} +17 -17
- package/dist/chunks/{tool-tk87kdrg.js → mime-xg6vc4yz.js} +11 -11
- package/dist/chunks/{tool-35eesyyp.js → mime-xvy6exsz.js} +11 -11
- package/dist/chunks/{tool-t4ajgv8x.js → mime-xyn3q1e0.js} +49 -49
- package/dist/chunks/{tool-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-zw1gkzfw.js → mime-y4783gag.js} +25 -25
- package/dist/chunks/{tool-10h6aaxa.js → mime-y82gm3gz.js} +11 -11
- package/dist/chunks/{tool-sh82avnb.js → mime-ydp8pw23.js} +10 -10
- package/dist/chunks/{tool-yhnztd3d.js → mime-ykgfn48v.js} +44 -44
- package/dist/chunks/{tool-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-sfrffybq.js → mime-yt8s49gy.js} +14 -14
- package/dist/chunks/{tool-q46gh8d3.js → mime-yvd3xmh6.js} +81 -81
- package/dist/chunks/{tool-d8c7d30z.js → mime-z001n1ar.js} +20 -20
- package/dist/chunks/{tool-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-1km6676t.js → mime-z2tkkdyw.js} +8 -8
- package/dist/chunks/{tool-7wm7ck3f.js → mime-z2z2ww5c.js} +69 -69
- package/dist/chunks/{tool-8ae1krg5.js → mime-z321w99j.js} +1 -1
- package/dist/chunks/{tool-1ts7qr1k.js → mime-zdssxewb.js} +5 -5
- package/dist/chunks/{tool-4r6h9rfp.js → mime-zfm2k9h8.js} +3 -3
- package/dist/chunks/{tool-kvjzkr2v.js → mime-zg3tcem2.js} +9 -9
- package/dist/chunks/{tool-cy9nd497.js → mime-znqq22v1.js} +12 -12
- package/dist/chunks/{tool-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-sa4ztt1z.js → mime-ztkjbas2.js} +50 -50
- package/dist/chunks/{tool-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- 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 +118 -118
- 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 +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- 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 +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- 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 +107 -107
- 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 +85 -85
- 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 +78 -78
- 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 +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- 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 +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +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 +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 +119 -119
- 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 +95 -95
- 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 +78 -78
- 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 +350 -350
- 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 +6 -6
- 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 +4 -4
- 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 +101 -101
- 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 +87 -87
- 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 +137 -137
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +4 -4
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- 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 +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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- 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 +213 -213
- 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 +134 -134
- 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 +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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +14 -14
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/tool-qc068m1q.js +0 -18
- package/dist/chunks/tool-xap5v11p.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-bw78ga2c.js → mime-bw78ga2c.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./mime-fg20npmb.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service50
|
|
13
|
+
} from "./mime-q4eqpz6z.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service57
|
|
16
|
+
} from "./mime-t0czkw58.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service58
|
|
19
|
+
} from "./mime-ztkjbas2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-f8wv18vk.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service43,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-p167xd9m.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./mime-4b2pdyzr.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./mime-yvd3xmh6.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-wj4ga3q8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name2 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input2 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin3 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service27;
|
|
124
|
+
const jobs = yield* Service57;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service50;
|
|
127
|
+
const access = yield* Service19;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service43;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service58;
|
|
132
|
+
const config = yield* Service64;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin4 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name2,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin4 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name2,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input2,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin4 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name2,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name2];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin3, exports_shell };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9khdf5s3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-p75g0t75.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./mime-ft8f0j73.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./mime-2eqf98j4.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./mime-b9hjh4zd.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-cy5d7jcg.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service79;
|
|
57
|
+
const integrations = yield* Service78;
|
|
58
58
|
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-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: () => Service38,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer18,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
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 Service38 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(Service38, 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(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service38.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer18 = 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 node41 = makeGlobalNode({ service: Service38, layer: layer18, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service38, makeLayer2, layer18, node41, exports_model_transport };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-p75g0t75.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-r9gmq3a3.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./mime-b9hjh4zd.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./mime-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service76,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node80,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,12 +66,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info21 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service76 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service77;
|
|
75
75
|
const bus = yield* Service84;
|
|
76
76
|
const location = yield* Service81;
|
|
77
77
|
let input;
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service76.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node81, node88, node85] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service76, node80, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service57,
|
|
3
|
+
node60
|
|
4
|
+
} from "./mime-t0czkw58.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service27,
|
|
7
|
+
node30
|
|
8
|
+
} from "./mime-yvd3xmh6.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service10,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node12
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service27;
|
|
30
|
+
const jobs = yield* Service57;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service10.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node12 = Node.makeGlobalNode({
|
|
68
|
+
service: Service10,
|
|
69
|
+
layer: Layer.effect(Service10, make),
|
|
70
|
+
deps: [node30, node60]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service10, node12, exports_subagent_job };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9khdf5s3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-p75g0t75.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./mime-ft8f0j73.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-2eqf98j4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service77
|
|
22
|
+
} from "./mime-b9hjh4zd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./mime-k5ha2rxc.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service77;
|
|
61
61
|
const bus = yield* Service84;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|