@opencode/core 0.0.0-dev-20373 → 0.0.0-dev-20374
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{form-e7fwp3mw.js → config-0bej2pvz.js} +22 -22
- package/dist/chunks/{form-bgc5ggmx.js → config-0br3sbwn.js} +4 -4
- package/dist/chunks/{form-fq6n6ras.js → config-0e5yaj3r.js} +11 -11
- package/dist/chunks/{form-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-w1v2c3mz.js → config-0wts2k1d.js} +10 -10
- package/dist/chunks/{form-0zrf8vmx.js → config-0x16w539.js} +7 -7
- package/dist/chunks/{form-e3f3m51x.js → config-0xs7r085.js} +16 -16
- package/dist/chunks/{form-9vrcr8ys.js → config-122jbwwf.js} +10 -10
- package/dist/chunks/{form-bfb84pvd.js → config-1a6zec11.js} +16 -16
- package/dist/chunks/{form-gn5kgtdn.js → config-1aez1ya5.js} +9 -9
- package/dist/chunks/{form-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-6ctz1c4g.js → config-1esnndwb.js} +50 -50
- package/dist/chunks/{form-j0q2k7rn.js → config-1gdbey34.js} +43 -43
- package/dist/chunks/{form-7k5zn8d5.js → config-1mxt4asb.js} +15 -15
- package/dist/chunks/{form-56gdpj1q.js → config-1ygqh575.js} +9 -9
- package/dist/chunks/{form-fw4ydny3.js → config-205535w4.js} +13 -13
- package/dist/chunks/{form-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{form-41pa3y4j.js → config-289a2xdr.js} +8 -8
- package/dist/chunks/{form-29x78va6.js → config-29x78va6.js} +2 -2
- package/dist/chunks/{form-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-dhwr7h25.js → config-2bmndq8d.js} +6 -6
- package/dist/chunks/{form-ns56p14k.js → config-2q08japs.js} +10 -10
- package/dist/chunks/{form-g72g10d5.js → config-315y6wz2.js} +33 -33
- package/dist/chunks/{form-0fmf346c.js → config-36tt8nd9.js} +80 -80
- package/dist/chunks/{form-85988eff.js → config-379kadg6.js} +6 -6
- package/dist/chunks/{form-f0stqscw.js → config-3ad1hg7w.js} +15 -15
- package/dist/chunks/{form-6kgc56n8.js → config-3c019r4e.js} +6 -6
- package/dist/chunks/{form-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-csgd14vy.js → config-3hsebfg3.js} +14 -14
- package/dist/chunks/{form-t3rnnpb6.js → config-3jjmyz04.js} +20 -20
- package/dist/chunks/{form-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-z3pw5915.js → config-3w0fmcng.js} +5 -5
- package/dist/chunks/{form-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/config-45th5jwr.js +18 -0
- package/dist/chunks/{form-2r1eb10n.js → config-4873453p.js} +4 -4
- package/dist/chunks/{form-66pdsr6q.js → config-4jbaqm9j.js} +10 -10
- package/dist/chunks/{form-gbw1510g.js → config-4kbfjken.js} +15 -15
- package/dist/chunks/{form-4acqjqp7.js → config-4nn6b740.js} +22 -22
- package/dist/chunks/{form-07770t2t.js → config-4ns3h2re.js} +4 -4
- package/dist/chunks/{form-zr4rqm6c.js → config-4th2rfym.js} +11 -11
- package/dist/chunks/{form-ga8av92n.js → config-4w6gj20h.js} +20 -20
- package/dist/chunks/{form-ntd6gjv7.js → config-4wgjrr7k.js} +11 -11
- package/dist/chunks/{form-244fnn6t.js → config-4wygrt13.js} +8 -8
- package/dist/chunks/{form-bs0283m0.js → config-4z5d6mvx.js} +7 -7
- package/dist/chunks/{form-tq319883.js → config-50fm6a3e.js} +4 -4
- package/dist/chunks/{form-zef9ymh5.js → config-50vwkdew.js} +5 -5
- package/dist/chunks/{form-svzrc6xx.js → config-52tt7m3x.js} +20 -20
- package/dist/chunks/{form-22wq7m11.js → config-53w9s50f.js} +29 -29
- package/dist/chunks/{form-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{form-ckecvw8r.js → config-54tcyq79.js} +2 -2
- package/dist/chunks/{form-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/config-583qe7f6.js +26 -0
- package/dist/chunks/{form-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{form-4z58m4b4.js → config-5dkn69vz.js} +4 -4
- package/dist/chunks/{form-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-vy4zg7qh.js → config-607q5haz.js} +5 -5
- package/dist/chunks/{form-bnkess9s.js → config-60bkde8e.js} +1 -1
- package/dist/chunks/{form-yc23ytnm.js → config-63k9yk1c.js} +27 -27
- package/dist/chunks/{form-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{form-f315rm9z.js → config-6ce9hca4.js} +18 -18
- package/dist/chunks/{form-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-6xzpna54.js → config-7173vtq7.js} +9 -9
- package/dist/chunks/{form-9qfr4zqn.js → config-74q11y06.js} +11 -11
- package/dist/chunks/{form-e946v8ac.js → config-79mkp39e.js} +4 -4
- package/dist/chunks/{form-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-py3kkmfq.js → config-7fkffz83.js} +4 -4
- package/dist/chunks/{form-gah3tgw2.js → config-7gm4eydx.js} +25 -25
- package/dist/chunks/{form-wrzdggb8.js → config-7jc02y3v.js} +13 -13
- package/dist/chunks/{form-kysehscz.js → config-7naz71zv.js} +9 -9
- package/dist/chunks/{form-7n9ev2d1.js → config-7pt32xw7.js} +24 -24
- package/dist/chunks/{form-cbgfx3nz.js → config-7vk6skb7.js} +9 -9
- package/dist/chunks/{form-rvfkg51x.js → config-7wb1x11h.js} +35 -35
- package/dist/chunks/{form-tcezcvh9.js → config-89znhe33.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-naw7tact.js → config-967feggt.js} +33 -33
- package/dist/chunks/{form-a77gbpbh.js → config-9cvftjvp.js} +3 -3
- package/dist/chunks/{form-nebvfc7j.js → config-9h7njw71.js} +8 -8
- package/dist/chunks/{form-zg96dn46.js → config-9mcf3g3g.js} +8 -8
- package/dist/chunks/{form-fjvydvzm.js → config-9wjnegnz.js} +6 -6
- package/dist/chunks/{form-ratrq7cm.js → config-a2ew8a62.js} +4 -4
- package/dist/chunks/{form-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{form-0339q5d8.js → config-aeg9cpnc.js} +3 -3
- package/dist/chunks/{form-4b4wdvgp.js → config-aewkdnah.js} +1 -1
- package/dist/chunks/{form-hbzdjm7q.js → config-ajpyf72v.js} +11 -11
- package/dist/chunks/{form-z4ytqg16.js → config-an9mbdbq.js} +10 -10
- package/dist/chunks/{form-761730s6.js → config-ane1wqm5.js} +5 -5
- package/dist/chunks/{form-73kdj4zj.js → config-aq5y8b9e.js} +8 -8
- package/dist/chunks/{form-8a0fr1s9.js → config-avh7tkx4.js} +22 -22
- package/dist/chunks/{form-daz9d9f7.js → config-ay2wwzfh.js} +27 -27
- package/dist/chunks/{form-vn7btz48.js → config-ay6ep6bn.js} +11 -11
- package/dist/chunks/{form-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-bct739vz.js → config-bct739vz.js} +1 -1
- package/dist/chunks/{form-75hqwwjx.js → config-bhq44mhz.js} +6 -6
- package/dist/chunks/{form-z07pqspn.js → config-bjtzbw4r.js} +3 -3
- package/dist/chunks/{form-n1ka8r9d.js → config-bk7jaeqh.js} +4 -4
- package/dist/chunks/{form-bf2vpf8r.js → config-bvfjje8r.js} +3 -3
- package/dist/chunks/{form-z9dm0r0z.js → config-c13ec2bm.js} +24 -24
- package/dist/chunks/{form-jpdc1s1a.js → config-c5yejehj.js} +16 -16
- package/dist/chunks/{form-phjxpegt.js → config-c7nmkvs5.js} +1 -1
- package/dist/chunks/{form-kne8f3cn.js → config-ca7w653e.js} +4 -4
- package/dist/chunks/{form-wnwksz37.js → config-cfgvpj2w.js} +14 -14
- package/dist/chunks/{form-czryp6xt.js → config-cp5pba35.js} +17 -17
- package/dist/chunks/{form-0t0sfdk6.js → config-cpt9vg03.js} +4 -4
- package/dist/chunks/{form-m1vd7a13.js → config-csmw9zka.js} +32 -32
- package/dist/chunks/{form-2sejkfem.js → config-cwa6csj7.js} +9 -9
- package/dist/chunks/{form-6s9ydwck.js → config-d18ae5tq.js} +9 -9
- package/dist/chunks/{form-v8fdf9ab.js → config-d6fdn63k.js} +10 -10
- package/dist/chunks/{form-gq26sc8a.js → config-d9rxkay0.js} +9 -9
- package/dist/chunks/{form-sy055p64.js → config-dbh1y8gj.js} +27 -27
- package/dist/chunks/{form-6mgxyaa6.js → config-dbsncafn.js} +48 -48
- package/dist/chunks/{form-c9hewx58.js → config-dgk9wpy7.js} +15 -15
- package/dist/chunks/{form-dnxkq42g.js → config-dnxkq42g.js} +1 -1
- package/dist/chunks/{form-qv68ke0p.js → config-dpb1wfzr.js} +11 -11
- package/dist/chunks/{form-y71avatq.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-3k9mq6vf.js → config-dpmbmm10.js} +6 -6
- package/dist/chunks/{form-p7gq9vf8.js → config-e6q37ddf.js} +6 -6
- package/dist/chunks/{form-602bew0p.js → config-e8gsefg3.js} +18 -18
- package/dist/chunks/{form-93fen3hn.js → config-ebpy8nrc.js} +11 -11
- package/dist/chunks/{form-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{form-z4xdwvw3.js → config-ed5eydsy.js} +10 -10
- package/dist/chunks/{form-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-fp15ewvn.js → config-efnfb07c.js} +3 -3
- package/dist/chunks/{form-d3mgsjv1.js → config-eh5djfab.js} +30 -30
- package/dist/chunks/{form-ncjnfg9s.js → config-eheyfjv0.js} +13 -13
- package/dist/chunks/{form-mba6q51k.js → config-endyd21g.js} +8 -8
- package/dist/chunks/{form-nn09hs9h.js → config-enfadc74.js} +10 -10
- package/dist/chunks/{form-76da7qqd.js → config-erkdte22.js} +2 -2
- package/dist/chunks/{form-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-yp2x3t23.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{form-k1qrnqst.js → config-f5gy8qwh.js} +8 -8
- package/dist/chunks/{form-kntqpqc2.js → config-fa4y3891.js} +28 -28
- package/dist/chunks/{form-z07k6xgv.js → config-fyk6r02s.js} +13 -13
- package/dist/chunks/{form-a5ymbw8e.js → config-g4c7m3af.js} +9 -9
- package/dist/chunks/{form-0rr4xv3e.js → config-g632r1v4.js} +17 -17
- package/dist/chunks/{form-nng2ktcm.js → config-gafqwe43.js} +2 -2
- package/dist/chunks/{form-pf6pbe00.js → config-gay90p96.js} +8 -8
- package/dist/chunks/{form-8k3v299y.js → config-gct7tk6z.js} +43 -43
- package/dist/chunks/{form-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-b2zkwwh4.js → config-gfq6pea7.js} +4 -4
- package/dist/chunks/{form-94ek1h2f.js → config-gfvb90ym.js} +2 -2
- package/dist/chunks/{form-1v1cq01j.js → config-gk71qtn2.js} +24 -24
- package/dist/chunks/{form-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-3556dn8t.js → config-h5w29vws.js} +1 -1
- package/dist/chunks/{form-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-kcgkppbz.js → config-h8vq1q2v.js} +17 -17
- package/dist/chunks/{form-51t12d4a.js → config-hcqwrhkb.js} +9 -9
- package/dist/chunks/{form-6bhj1fw1.js → config-hmbv37wn.js} +24 -24
- package/dist/chunks/{form-q4d45mga.js → config-hrqezqan.js} +25 -25
- package/dist/chunks/{form-xnhp834s.js → config-hthy74zy.js} +13 -13
- package/dist/chunks/{form-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{form-909p1r3q.js → config-j5w2yx54.js} +6 -6
- package/dist/chunks/{form-d413vceq.js → config-jenj01x5.js} +4 -4
- package/dist/chunks/{form-7qcep57x.js → config-jgyxd05d.js} +26 -26
- package/dist/chunks/{form-6cn3qrsc.js → config-jq6565xn.js} +6 -6
- package/dist/chunks/{form-rpxg4286.js → config-jxwmrnwr.js} +12 -12
- package/dist/chunks/{form-vpy676fj.js → config-k4prt2gq.js} +3 -3
- package/dist/chunks/{form-x8ez01b9.js → config-ke35bj3e.js} +25 -25
- package/dist/chunks/{form-7yqjxrmz.js → config-kmkwybff.js} +6 -6
- package/dist/chunks/{form-yhyr3q2q.js → config-kptdj79q.js} +16 -16
- package/dist/chunks/{form-rcw3cxg2.js → config-kypck4da.js} +2 -2
- package/dist/chunks/{form-z5crsmww.js → config-m2tcdgpb.js} +10 -10
- package/dist/chunks/{form-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-yv41x1zd.js → config-m8pkww8z.js} +16 -16
- package/dist/chunks/{form-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-j0epgshb.js → config-mb0btmem.js} +1 -1
- package/dist/chunks/{form-pe37ces2.js → config-mcpgndgk.js} +15 -15
- package/dist/chunks/{form-n8vja0c5.js → config-mee471n8.js} +36 -36
- package/dist/chunks/{form-r5x6zcsm.js → config-mhkvc446.js} +3 -3
- package/dist/chunks/{form-yp44jjvn.js → config-mpss729k.js} +6 -6
- package/dist/chunks/{form-7rwqf82v.js → config-ms93yq6r.js} +8 -8
- package/dist/chunks/{form-9cngawad.js → config-mws1mbkn.js} +40 -40
- package/dist/chunks/{form-jsyyaypq.js → config-mxfq3xb0.js} +6 -6
- package/dist/chunks/{form-rqrkd3p8.js → config-n0xbx8qm.js} +14 -14
- package/dist/chunks/{form-fctq283n.js → config-n21gjbtg.js} +1 -1
- package/dist/chunks/{form-139zgem4.js → config-n2rqx0tz.js} +11 -11
- package/dist/chunks/{form-48ksmdey.js → config-n4ggt751.js} +31 -31
- package/dist/chunks/{form-qq5t9gdb.js → config-n5qf5bvj.js} +29 -29
- package/dist/chunks/{form-v26eq9k6.js → config-n9cszgdb.js} +36 -36
- package/dist/chunks/{form-2rcqz2b9.js → config-ne5mnvsh.js} +1 -1
- package/dist/chunks/{form-3rakevcf.js → config-nkgqzgmj.js} +11 -11
- package/dist/chunks/{form-eb9jgat3.js → config-nr9xegsg.js} +13 -13
- package/dist/chunks/{form-k3c624dm.js → config-nzks3jc8.js} +3 -3
- package/dist/chunks/{form-ygm66hq9.js → config-p1kbtgj9.js} +71 -71
- package/dist/chunks/{form-jv01nqvq.js → config-p1nm93x7.js} +5 -5
- package/dist/chunks/{form-qvrwx2r4.js → config-p29z10kz.js} +13 -13
- package/dist/chunks/{form-cmwkp3r5.js → config-p37cw4rj.js} +8 -8
- package/dist/chunks/{form-v43nrg7k.js → config-p3t2xyfc.js} +5 -5
- package/dist/chunks/{form-rshxtfk2.js → config-p42kjche.js} +121 -121
- package/dist/chunks/{form-5zjm69ec.js → config-pfsdbphp.js} +11 -11
- package/dist/chunks/{form-48zm7mez.js → config-pgk3wsbp.js} +2 -2
- package/dist/chunks/{form-3ewed21c.js → config-ph842b28.js} +4 -4
- package/dist/chunks/{form-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{form-fv776sqb.js → config-pr1366g1.js} +3 -3
- package/dist/chunks/{form-h71w788e.js → config-prq7hedt.js} +9 -9
- package/dist/chunks/{form-wd3x2cqz.js → config-psazpmmj.js} +2 -2
- package/dist/chunks/{form-gyzq5ent.js → config-pt6d0629.js} +13 -13
- package/dist/chunks/{form-rc1dmyce.js → config-pw9v3g6d.js} +8 -8
- package/dist/chunks/{form-160znxah.js → config-pwyb35gj.js} +11 -11
- package/dist/chunks/{form-qg0jgkcp.js → config-qg0jgkcp.js} +2 -2
- package/dist/chunks/{form-2k8khapm.js → config-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-dz2yheya.js → config-qp29vb3y.js} +11 -11
- package/dist/chunks/{form-xfkkasph.js → config-qqeeq2t9.js} +7 -7
- package/dist/chunks/{form-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{form-f0mrbrre.js → config-qzmeer5x.js} +38 -38
- package/dist/chunks/{form-aeze5qt5.js → config-r4ep2csb.js} +8 -8
- package/dist/chunks/{form-h61ywpar.js → config-r516hjgr.js} +7 -7
- package/dist/chunks/{form-c8qf0ee6.js → config-r58nh0rd.js} +26 -26
- package/dist/chunks/{form-mawhtjq6.js → config-r87ntddn.js} +24 -24
- package/dist/chunks/{form-wmsft2d9.js → config-rcrfp1xj.js} +18 -18
- package/dist/chunks/{form-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-44apgern.js → config-rffx3hs9.js} +20 -20
- package/dist/chunks/{form-tq5sm029.js → config-rgjx1tzk.js} +11 -11
- package/dist/chunks/{form-t550f9t1.js → config-rhjbct0v.js} +4 -4
- package/dist/chunks/{form-axs6pdy0.js → config-rnx2ffb5.js} +5 -5
- package/dist/chunks/{form-gr52wc2v.js → config-rq4k5z9y.js} +11 -11
- package/dist/chunks/{form-0scwa2te.js → config-rq8hvppm.js} +8 -8
- package/dist/chunks/{form-snk8cyh0.js → config-rt6edg2v.js} +31 -31
- package/dist/chunks/{form-ndsy99bw.js → config-rt7mzvcd.js} +21 -21
- package/dist/chunks/{form-fc7nxygs.js → config-rv75ebrf.js} +9 -9
- package/dist/chunks/{form-8sf90wcv.js → config-s4e7ddyy.js} +8 -8
- package/dist/chunks/{form-s4enseaf.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{form-d75fgnkf.js → config-scqexk3r.js} +87 -87
- package/dist/chunks/{form-awm2tyv5.js → config-she2g3s4.js} +20 -20
- package/dist/chunks/{form-xq3xxv31.js → config-sj9x4p0q.js} +8 -8
- package/dist/chunks/{form-avm8jn6n.js → config-sra9araw.js} +5 -5
- package/dist/chunks/{form-2zj5f6xj.js → config-stmmdx9f.js} +17 -17
- package/dist/chunks/{form-zwwapt5c.js → config-sw75nab1.js} +33 -33
- package/dist/chunks/{form-j45wjzs0.js → config-sxe2jfzz.js} +9 -9
- package/dist/chunks/{form-82sancw2.js → config-t7040byj.js} +14 -14
- package/dist/chunks/{form-0exzyrpk.js → config-ta2h439c.js} +16 -16
- package/dist/chunks/{form-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{form-ar0htngx.js → config-tfzma13m.js} +16 -16
- package/dist/chunks/{form-k0yrzbjy.js → config-tj2t611y.js} +13 -13
- package/dist/chunks/{form-yq1cty02.js → config-tjernm89.js} +27 -27
- package/dist/chunks/{form-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{form-wz2d58xk.js → config-v282bym9.js} +11 -11
- package/dist/chunks/{form-zqpwcf9e.js → config-v33c1sxc.js} +43 -43
- package/dist/chunks/{form-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{form-s0dfxk4w.js → config-vewtf1rp.js} +9 -9
- package/dist/chunks/{form-c651xxjb.js → config-vgepzxbh.js} +4 -4
- package/dist/chunks/{form-fegk541e.js → config-vrpz8t5t.js} +5 -5
- package/dist/chunks/{form-vsp1fds9.js → config-vsp1fds9.js} +1 -1
- package/dist/chunks/{form-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-84txncab.js → config-w1eejvng.js} +5 -5
- package/dist/chunks/{form-gxx0jenw.js → config-w1ekvchw.js} +9 -9
- package/dist/chunks/{form-sqmzwr9m.js → config-w3nq1sqw.js} +9 -9
- package/dist/chunks/{form-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-7w99qc9d.js → config-w52wajpr.js} +3 -3
- package/dist/chunks/{form-0n16x0fb.js → config-w7m0vxy1.js} +45 -45
- package/dist/chunks/{form-etpg0q6n.js → config-w9789a56.js} +15 -15
- package/dist/chunks/{form-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/config-ww1w8rs5.js +252 -0
- package/dist/chunks/{form-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-02yk86n3.js → config-x5fvys69.js} +5 -5
- package/dist/chunks/{form-hwd1wnz5.js → config-x9ekvawh.js} +15 -15
- package/dist/chunks/{form-w7xa31tj.js → config-xbvxcxa7.js} +35 -35
- package/dist/chunks/{form-xkntkrq7.js → config-xkntkrq7.js} +2 -2
- package/dist/chunks/{form-cgb9bjm6.js → config-xnrm019n.js} +7 -7
- package/dist/chunks/{form-2p8k3371.js → config-xsxzmn3v.js} +6 -6
- package/dist/chunks/{form-3cvhxgkj.js → config-xtsf53gz.js} +12 -12
- package/dist/chunks/{form-b4p19tx4.js → config-xvp1j2dc.js} +5 -5
- package/dist/chunks/{form-mknn1sqp.js → config-xyf6ftr9.js} +7 -7
- package/dist/chunks/{form-ks6r0cpv.js → config-y0n5xry2.js} +15 -15
- package/dist/chunks/{form-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-9m56axn9.js → config-y1gyxn3e.js} +10 -10
- package/dist/chunks/{form-tjnbn6ea.js → config-y5eyfaps.js} +23 -23
- package/dist/chunks/{form-yttcfxr3.js → config-y889qgws.js} +4 -4
- package/dist/chunks/{form-rxpjjrnb.js → config-y9hsb9xn.js} +2 -2
- package/dist/chunks/{form-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-3cycx1z3.js → config-yxa19p70.js} +15 -15
- package/dist/chunks/{form-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-ytkrr4sz.js → config-z75rat7k.js} +25 -25
- package/dist/chunks/{form-12kcv6pe.js → config-z7mtcp3b.js} +25 -25
- package/dist/chunks/{form-2fbw650d.js → config-z8ffer72.js} +303 -303
- package/dist/chunks/{form-p61r46ey.js → config-zefqnety.js} +9 -9
- package/dist/chunks/{form-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-vwawqe49.js → config-zm8gmkem.js} +24 -24
- package/dist/chunks/{form-s2m0jny8.js → config-zq6wejh9.js} +2 -2
- package/dist/chunks/{form-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-ek3103ga.js → config-zrj607p1.js} +32 -32
- package/dist/chunks/{form-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- 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 +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +91 -91
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/form-8ss63hyg.js +0 -26
- package/dist/chunks/form-fgz0mhyf.js +0 -252
- package/dist/chunks/form-qc068m1q.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e3qxr5gk.js → config-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service14,
|
|
10
|
+
node: () => node16
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service14, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service14.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node16 = makeGlobalNode({ service: Service14, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service14, node16, exports_managed_policy };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./config-w7m0vxy1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./config-she2g3s4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin21,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin21 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service37;
|
|
51
|
+
const permission = yield* Service55;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin6 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output4, description2, toModelOutput2, Plugin21, exports_skill2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node75
|
|
7
|
+
} from "./config-rt7mzvcd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service16,
|
|
17
|
+
node: () => node18,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service16 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service72;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service16.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [node75] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./config-j5w2yx54.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-45th5jwr.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-e6q37ddf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service37
|
|
12
|
+
} from "./config-she2g3s4.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service36;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-pgk3wsbp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service13
|
|
9
|
+
} from "./config-mcpgndgk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./config-0xs7r085.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service7
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-w1ekvchw.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
35
|
Input: () => Input6,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin23,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
38
|
name: () => name6,
|
|
39
|
-
toModelContent: () =>
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -55,12 +55,12 @@ var LocationInput = Schema.Struct({
|
|
|
55
55
|
});
|
|
56
56
|
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin23 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service7;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service13;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
@@ -112,7 +112,7 @@ var Plugin8 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent4 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export { name6, Input6,
|
|
184
|
+
export { name6, Input6, Plugin23, toModelContent4, exports_read };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-w52wajpr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-w52wajpr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-e6q37ddf.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-bk7jaeqh.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-5dkn69vz.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./config-qzmeer5x.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service72
|
|
13
|
+
} from "./config-rt7mzvcd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./config-cp5pba35.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service55
|
|
19
|
+
} from "./config-w7m0vxy1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-mcpgndgk.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service75,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-n2rqx0tz.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service43
|
|
37
|
+
} from "./config-v33c1sxc.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./config-scqexk3r.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-y889qgws.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./config-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: () => Input12,
|
|
53
|
+
Plugin: () => Plugin30,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
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.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
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."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin30 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service18;
|
|
123
|
+
const jobs = yield* Service42;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service72;
|
|
126
|
+
const access = yield* Service13;
|
|
127
|
+
const shell = yield* Service43;
|
|
128
|
+
const shellSelect = yield* Service75;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service55;
|
|
131
|
+
const config = yield* Service63;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin11 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name12,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin11 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name12,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input12,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin11 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name12,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name12];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin30, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-0e5yaj3r.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Service78
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-p3t2xyfc.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-bhq44mhz.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-mpss729k.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|