@opencode/core 0.0.0-dev-21177 → 0.0.0-dev-21198
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/{pty-0dcab6yb.js → location-0534ky0c.js} +14 -14
- package/dist/chunks/{pty-jr8d78rx.js → location-063qsvhf.js} +18 -18
- package/dist/chunks/{pty-97s3qq9m.js → location-07b9dypv.js} +14 -14
- package/dist/chunks/{pty-rbnwg7cj.js → location-0c4zwny2.js} +27 -27
- package/dist/chunks/{pty-0gva8j83.js → location-0j2whhmm.js} +2 -2
- package/dist/chunks/{pty-z6c3x22d.js → location-0r3c1bmw.js} +5 -5
- package/dist/chunks/{pty-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-8ww2gede.js → location-0vzwrjx3.js} +5 -5
- package/dist/chunks/{pty-bfabrp63.js → location-0w65kga7.js} +9 -9
- package/dist/chunks/{pty-xhfpyqwv.js → location-0xy308ad.js} +11 -11
- package/dist/chunks/{pty-rcgycnpc.js → location-145jd4w1.js} +16 -16
- package/dist/chunks/{pty-vv9rr97d.js → location-16apx87z.js} +33 -33
- package/dist/chunks/{pty-a0r78awy.js → location-16nb375z.js} +10 -10
- package/dist/chunks/{pty-yp2x3t23.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-69nb7mte.js → location-1k11nr7d.js} +15 -15
- package/dist/chunks/{pty-hq3c8me3.js → location-1w2wqhfv.js} +4 -4
- package/dist/chunks/{pty-sajpmnx7.js → location-23kaxwfv.js} +9 -9
- package/dist/chunks/{pty-g049fyg0.js → location-23pawfzx.js} +18 -18
- package/dist/chunks/{pty-kxx41s58.js → location-25v2n2r1.js} +33 -33
- package/dist/chunks/{pty-7baah2nz.js → location-28z3cneb.js} +8 -8
- package/dist/chunks/{pty-58h69jjx.js → location-2fvttt54.js} +17 -17
- package/dist/chunks/{pty-ysa5gsqv.js → location-2k7hmv4v.js} +24 -24
- package/dist/chunks/{pty-7dqw4kz8.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-djszqvmq.js → location-2mq1h16s.js} +9 -9
- package/dist/chunks/{pty-c29rd6g0.js → location-2ty8egxs.js} +5 -5
- package/dist/chunks/{pty-y14wdc3z.js → location-32h6rhct.js} +14 -14
- package/dist/chunks/{pty-hzaj131z.js → location-34z3f9xr.js} +20 -20
- package/dist/chunks/{pty-c23c3mz0.js → location-3ezs8r61.js} +24 -24
- package/dist/chunks/{pty-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-hfbyhya8.js → location-3g642jy4.js} +10 -10
- package/dist/chunks/{pty-yqc6bamn.js → location-3g8j9he4.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-66etgr7v.js → location-3nmkja6b.js} +3 -3
- package/dist/chunks/{pty-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-r84pq0rk.js → location-3zyawagg.js} +9 -9
- package/dist/chunks/location-496pr060.js +26 -0
- package/dist/chunks/{pty-b2n2c3pj.js → location-4a47vhcc.js} +18 -18
- package/dist/chunks/{pty-9xagcj41.js → location-4c34w2zv.js} +21 -21
- package/dist/chunks/{pty-1cy1fvz2.js → location-4da1h11n.js} +24 -24
- package/dist/chunks/{pty-brpn0yq7.js → location-4egkd47v.js} +11 -11
- package/dist/chunks/{pty-ggbzsg95.js → location-4fpc5jah.js} +37 -37
- package/dist/chunks/{pty-x4yz0ptf.js → location-4gfvbgvz.js} +28 -28
- package/dist/chunks/{pty-gfwb8sf1.js → location-4jj2msg6.js} +24 -24
- package/dist/chunks/{pty-1fde4gmb.js → location-4sh6etqy.js} +3 -3
- package/dist/chunks/{pty-hj273wnv.js → location-4z1p7es3.js} +1 -1
- package/dist/chunks/{pty-kj9v1f3y.js → location-51e0qdjd.js} +6 -6
- package/dist/chunks/{pty-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-k8h85fj7.js → location-5bnha4a9.js} +2 -2
- package/dist/chunks/{pty-efs6wv9h.js → location-5cecgzb9.js} +21 -21
- package/dist/chunks/{pty-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-0ss45e0g.js → location-5ntkgda3.js} +18 -18
- package/dist/chunks/{pty-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-65wgkzmg.js → location-5r8dc44b.js} +3 -3
- package/dist/chunks/{pty-4g4s6x68.js → location-5w91dnyc.js} +21 -21
- package/dist/chunks/{pty-c2qwrsdn.js → location-5yxr5f14.js} +17 -17
- package/dist/chunks/{pty-d0epqsfp.js → location-5z1rq7y7.js} +48 -48
- package/dist/chunks/{pty-rwkv9rtx.js → location-603jbbtr.js} +13 -13
- package/dist/chunks/{pty-sa09w3ef.js → location-67cvef8r.js} +46 -46
- package/dist/chunks/{pty-6827pfxn.js → location-6827pfxn.js} +1 -1
- package/dist/chunks/{pty-6afr2rje.js → location-6b5zwc3a.js} +9 -9
- package/dist/chunks/{pty-332j5t5e.js → location-6hqjze18.js} +84 -84
- package/dist/chunks/{pty-cvftb236.js → location-6r42yntf.js} +32 -32
- package/dist/chunks/{pty-vqeq0fhp.js → location-6x2k96nh.js} +67 -67
- package/dist/chunks/{pty-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-1qawy49j.js → location-73ekctke.js} +14 -14
- package/dist/chunks/{pty-775gj3j1.js → location-775gj3j1.js} +2 -2
- package/dist/chunks/{pty-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-n8j0ad3c.js → location-7cc5kxt3.js} +6 -6
- package/dist/chunks/{pty-ypxfhh66.js → location-7h00etdm.js} +25 -25
- package/dist/chunks/{pty-v7xcn73q.js → location-7n50n386.js} +7 -7
- package/dist/chunks/{pty-7dks1d1n.js → location-7vfecp73.js} +6 -6
- package/dist/chunks/{pty-7a63cxzq.js → location-7wbtv9kx.js} +20 -20
- package/dist/chunks/{pty-hfeceh65.js → location-82evjk03.js} +32 -32
- package/dist/chunks/{pty-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{pty-apzkc9dc.js → location-87n69sem.js} +1 -1
- package/dist/chunks/{pty-zysym8wc.js → location-8bq439h5.js} +26 -26
- package/dist/chunks/{pty-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-py3kkmfq.js → location-8sze2n9a.js} +6 -6
- package/dist/chunks/{pty-91qna3x0.js → location-91qna3x0.js} +3 -3
- package/dist/chunks/{pty-pp87jdt4.js → location-95jm72p9.js} +18 -18
- package/dist/chunks/{pty-kqv3x6rj.js → location-97aeaand.js} +9 -9
- package/dist/chunks/{pty-4fnc5vpd.js → location-989zwrne.js} +12 -12
- package/dist/chunks/{pty-a7a43a3w.js → location-99rzcqpw.js} +25 -25
- package/dist/chunks/{pty-phb1sbsg.js → location-9ha17m46.js} +13 -13
- package/dist/chunks/{pty-amwms54f.js → location-9qphk9mp.js} +15 -15
- package/dist/chunks/{pty-3zk10d63.js → location-9w2t8m45.js} +14 -14
- package/dist/chunks/{pty-p2ccqsff.js → location-a7acryf3.js} +34 -34
- package/dist/chunks/{pty-vgdf0v3q.js → location-a8tjp345.js} +49 -49
- package/dist/chunks/{pty-bd0ch2rs.js → location-adxdseqr.js} +14 -14
- package/dist/chunks/{pty-37sfe3bm.js → location-ajzsbz6h.js} +9 -9
- package/dist/chunks/{pty-axj4d8xa.js → location-akmpr121.js} +29 -29
- package/dist/chunks/{pty-3s2wwjdv.js → location-amt00vnw.js} +4 -4
- package/dist/chunks/{pty-8whp40kv.js → location-arz7hw7x.js} +3 -3
- package/dist/chunks/{pty-2ktf0ed2.js → location-at1kfnmk.js} +8 -8
- package/dist/chunks/{pty-m997ahh4.js → location-azf56bk0.js} +23 -23
- package/dist/chunks/{pty-83gy3yq2.js → location-b9n9z0s4.js} +19 -19
- package/dist/chunks/{pty-wps1s803.js → location-bdpzzc2x.js} +11 -11
- package/dist/chunks/{pty-fwkr8rng.js → location-bh0br2f8.js} +36 -36
- package/dist/chunks/{pty-yfzaheh6.js → location-bh6fvrw2.js} +28 -28
- package/dist/chunks/{pty-e2f4d7w4.js → location-bm82pab4.js} +20 -20
- package/dist/chunks/{pty-v7z2bvyd.js → location-bp8fbaqn.js} +4 -4
- package/dist/chunks/{pty-b0jp0bej.js → location-bpywct1a.js} +33 -33
- package/dist/chunks/{pty-5xtgfte3.js → location-br0tr5aq.js} +8 -8
- package/dist/chunks/{pty-5w01hbp6.js → location-bty0wzn7.js} +22 -22
- package/dist/chunks/{pty-z09azjc0.js → location-bwk1j07r.js} +29 -29
- package/dist/chunks/{pty-ybqv58y2.js → location-byqvgwaz.js} +17 -17
- package/dist/chunks/{pty-1ep4rre3.js → location-bzeyqsqd.js} +4 -4
- package/dist/chunks/{pty-c1fqxshp.js → location-c1fqxshp.js} +3 -3
- package/dist/chunks/{pty-hr141zjg.js → location-cfeys8se.js} +11 -11
- package/dist/chunks/{pty-4z5pf2em.js → location-cpnatsfb.js} +17 -17
- package/dist/chunks/{pty-ret9kwh0.js → location-cx9635r5.js} +24 -24
- package/dist/chunks/{pty-81y4a27x.js → location-czc7ahar.js} +45 -45
- package/dist/chunks/{pty-d1a28jh7.js → location-d1a28jh7.js} +2 -2
- package/dist/chunks/{pty-1ycz83fm.js → location-d1k3f5pq.js} +20 -20
- package/dist/chunks/{pty-qa3qhgw8.js → location-d216944b.js} +7 -7
- package/dist/chunks/{pty-fkbnvjhs.js → location-d5cb04kw.js} +28 -28
- package/dist/chunks/{pty-njarxngx.js → location-d89pvmsa.js} +17 -17
- package/dist/chunks/{pty-7y4pe9zb.js → location-dm5ybv65.js} +23 -23
- package/dist/chunks/{pty-x21xsnty.js → location-dn0w480y.js} +5 -5
- package/dist/chunks/{pty-y71avatq.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-fn9t717r.js → location-dq407baf.js} +6 -6
- package/dist/chunks/{pty-rbakw9sr.js → location-drs64gwb.js} +21 -21
- package/dist/chunks/{pty-n96cp4bh.js → location-ds49x2rx.js} +14 -14
- package/dist/chunks/{pty-tnmnn7e4.js → location-dvtne00t.js} +36 -36
- package/dist/chunks/location-e3ek6sz5.js +257 -0
- package/dist/chunks/{pty-eej6y6fw.js → location-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-aqrjem7b.js → location-ef408bse.js} +20 -20
- package/dist/chunks/{pty-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-jd7jt2a4.js → location-em2d8pme.js} +6 -6
- package/dist/chunks/{pty-zvt5dnpc.js → location-embw8kgh.js} +4 -4
- package/dist/chunks/{pty-p1rwgv3d.js → location-es2kn06e.js} +11 -11
- package/dist/chunks/{pty-tafwdsvs.js → location-esevsdxy.js} +3 -3
- package/dist/chunks/{pty-68tnz3e8.js → location-fb3dtxv3.js} +15 -15
- package/dist/chunks/{pty-fcy631f0.js → location-fcy631f0.js} +1 -1
- package/dist/chunks/{pty-hst5n1cs.js → location-fdys8s7b.js} +15 -15
- package/dist/chunks/{pty-wb9rhkdy.js → location-fgtrk66x.js} +48 -48
- package/dist/chunks/{pty-1kmnnw2n.js → location-fr3ezjyq.js} +45 -45
- package/dist/chunks/{pty-2yf9htnm.js → location-fxatx79r.js} +16 -16
- package/dist/chunks/{pty-r04b27we.js → location-g405m9aw.js} +14 -14
- package/dist/chunks/{pty-1bqj5c5m.js → location-g41nf0e0.js} +13 -13
- package/dist/chunks/{pty-7k8jbme7.js → location-g4wp1ate.js} +34 -34
- package/dist/chunks/{pty-bacj9t34.js → location-g686f6pq.js} +9 -9
- package/dist/chunks/{pty-kmz0bz7s.js → location-g9qaxaca.js} +20 -20
- package/dist/chunks/{pty-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-q62wak94.js → location-gfhn3889.js} +24 -24
- package/dist/chunks/{pty-sq9yydtn.js → location-gfrjx8pe.js} +24 -24
- package/dist/chunks/{pty-d9vhn3nc.js → location-ggrw7xb2.js} +10 -10
- package/dist/chunks/{pty-s88jxsq4.js → location-gssgp24n.js} +18 -18
- package/dist/chunks/{pty-6yvmd6g0.js → location-gwvrmfwb.js} +5 -5
- package/dist/chunks/{pty-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-s857ash9.js → location-h9rm1rrn.js} +5 -5
- package/dist/chunks/{pty-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
- package/dist/chunks/{pty-kqx1b4hy.js → location-hkffa77z.js} +4 -4
- package/dist/chunks/{pty-vcqq2ea7.js → location-hm0wjybs.js} +10 -10
- package/dist/chunks/{pty-sn3stvbn.js → location-hmnzdrmx.js} +50 -50
- package/dist/chunks/{pty-aw5400a1.js → location-hpwxgay7.js} +9 -9
- package/dist/chunks/{pty-909p1r3q.js → location-hq8zt1th.js} +6 -6
- package/dist/chunks/{pty-qcfsp7vy.js → location-hr35ctgn.js} +22 -22
- package/dist/chunks/{pty-3cxe0ccz.js → location-hr3r50rq.js} +32 -32
- package/dist/chunks/{pty-r8mqjg1b.js → location-htqjf2p3.js} +5 -5
- package/dist/chunks/{pty-835y3cmd.js → location-j2nmhapf.js} +23 -23
- package/dist/chunks/{pty-94204gn9.js → location-j33tqen4.js} +11 -11
- package/dist/chunks/{pty-h71w788e.js → location-j58c5xyq.js} +9 -9
- package/dist/chunks/{pty-h7nv9fm5.js → location-jq30160n.js} +15 -15
- package/dist/chunks/{pty-awrjh9yh.js → location-jrrr0vgd.js} +5 -5
- package/dist/chunks/{pty-9m6qkdem.js → location-k1efet51.js} +24 -24
- package/dist/chunks/{pty-yn45kn81.js → location-k2d1nyd0.js} +47 -47
- package/dist/chunks/{pty-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
- package/dist/chunks/{pty-72b35rd4.js → location-kx66dp5b.js} +14 -14
- package/dist/chunks/{pty-0xndvgp0.js → location-ky55kfet.js} +8 -8
- package/dist/chunks/{pty-d0we51xq.js → location-m1kh2nsb.js} +4 -4
- package/dist/chunks/{pty-qfrtht0v.js → location-m5acmbv3.js} +22 -22
- package/dist/chunks/{pty-m2nf4q9z.js → location-m68xwnrq.js} +19 -19
- package/dist/chunks/{pty-409dx5e0.js → location-m8hhxrfk.js} +11 -11
- package/dist/chunks/{pty-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{pty-b5k0m31y.js → location-md74ebjh.js} +5 -5
- package/dist/chunks/{pty-072y95tq.js → location-mfp2vjgr.js} +7 -7
- package/dist/chunks/{pty-fce1ctzp.js → location-mgwk1xfv.js} +28 -28
- package/dist/chunks/{pty-fncnja3r.js → location-mnpd334b.js} +17 -17
- package/dist/chunks/{pty-r61qxybf.js → location-mp6d0dty.js} +8 -8
- package/dist/chunks/{pty-h9wp8z5w.js → location-n1n192bv.js} +4 -4
- package/dist/chunks/{pty-967benbv.js → location-n61013np.js} +11 -11
- package/dist/chunks/{pty-frxe1693.js → location-n7f7srr9.js} +11 -11
- package/dist/chunks/location-n95b3jav.js +18 -0
- package/dist/chunks/{pty-zxxshg8d.js → location-nfv0j92c.js} +13 -13
- package/dist/chunks/{pty-s7r2tet0.js → location-ntvypand.js} +22 -22
- package/dist/chunks/{pty-e5dabrwz.js → location-nvwzzs4t.js} +10 -10
- package/dist/chunks/{pty-88sqq7ae.js → location-nydcqbxx.js} +32 -32
- package/dist/chunks/{pty-cansen50.js → location-nz9b8yfq.js} +10 -10
- package/dist/chunks/{pty-jmzfcjas.js → location-p32sqmdt.js} +39 -39
- package/dist/chunks/{pty-kzp2p6b7.js → location-pbf8s9t3.js} +5 -5
- package/dist/chunks/{pty-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{pty-bdcde2ps.js → location-pv8jz97g.js} +2 -2
- package/dist/chunks/{pty-vqjddh0d.js → location-q1yjy5zz.js} +4 -4
- package/dist/chunks/{pty-m79dkcvs.js → location-q5h7teyk.js} +8 -8
- package/dist/chunks/{pty-4esk8sqt.js → location-q6y0jr1j.js} +13 -13
- package/dist/chunks/{pty-6q74b9t9.js → location-q7gf9sas.js} +21 -21
- package/dist/chunks/{pty-y9exhfjj.js → location-q8vtgrm0.js} +18 -18
- package/dist/chunks/{pty-80xcpyq8.js → location-q9eq07pb.js} +27 -27
- package/dist/chunks/{pty-vbfgae2j.js → location-qbqbaz6q.js} +4 -4
- package/dist/chunks/{pty-58hng72m.js → location-qjx1ax0j.js} +5 -5
- package/dist/chunks/{pty-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-q1r0pa81.js → location-qry5sa1n.js} +4 -4
- package/dist/chunks/{pty-nmbh15fm.js → location-qs1k1512.js} +11 -11
- package/dist/chunks/{pty-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-x3kre6es.js → location-r0e2kwbg.js} +4 -4
- package/dist/chunks/{pty-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-rert0e01.js → location-rert0e01.js} +2 -2
- package/dist/chunks/{pty-rj3eygr5.js → location-rj3eygr5.js} +2 -2
- package/dist/chunks/{pty-67ajme4p.js → location-rjzxqzmw.js} +7 -7
- package/dist/chunks/{pty-rhjbct0v.js → location-s8d7rejh.js} +4 -4
- package/dist/chunks/{pty-sa8ekw3f.js → location-sa8ekw3f.js} +2 -2
- package/dist/chunks/{pty-qfw355cv.js → location-sqab7qp3.js} +34 -34
- package/dist/chunks/{pty-6cywv53g.js → location-sqgnhamd.js} +7 -7
- package/dist/chunks/{pty-v210v162.js → location-sr7jmsgt.js} +7 -7
- package/dist/chunks/{pty-ywxwm15a.js → location-stsvfap6.js} +33 -33
- package/dist/chunks/{pty-e80seqcp.js → location-sxcaecc0.js} +3 -3
- package/dist/chunks/{pty-syv4x271.js → location-syv4x271.js} +1 -1
- package/dist/chunks/{pty-g72yd4k4.js → location-t95zrypp.js} +12 -12
- package/dist/chunks/{pty-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-deyktbey.js → location-tb0gxtrf.js} +11 -11
- package/dist/chunks/{pty-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-pa5kwetm.js → location-tdj451eg.js} +35 -35
- package/dist/chunks/{pty-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{pty-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
- package/dist/chunks/{pty-hbazd458.js → location-tmvz21nc.js} +30 -30
- package/dist/chunks/{pty-cf5e3918.js → location-twd5y57z.js} +26 -26
- package/dist/chunks/{pty-st0368v5.js → location-tx24ndva.js} +5 -5
- package/dist/chunks/{pty-va5r0dq2.js → location-txssyqt7.js} +3 -3
- package/dist/chunks/{pty-s8pxmgfm.js → location-ty9hjdkx.js} +50 -50
- package/dist/chunks/{pty-tyytaxap.js → location-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-14wynrn6.js → location-v0c40a8e.js} +43 -43
- package/dist/chunks/{pty-rnmvysgz.js → location-v1wgydhy.js} +4 -4
- package/dist/chunks/{pty-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-qzsep9jm.js → location-vaz663yk.js} +25 -25
- package/dist/chunks/{pty-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-k76gfw63.js → location-vk0vjr06.js} +6 -6
- package/dist/chunks/{pty-2wak32hr.js → location-vn2rgj3v.js} +79 -79
- package/dist/chunks/{pty-z8esweh3.js → location-vr325jcz.js} +27 -27
- package/dist/chunks/{pty-gv7bhpe8.js → location-vs8dydjt.js} +11 -11
- package/dist/chunks/{pty-h2tq07ke.js → location-vwp2jxjn.js} +15 -15
- package/dist/chunks/{pty-hgpdn4cj.js → location-vxnyg7ah.js} +10 -10
- package/dist/chunks/{pty-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-qh8vdwx1.js → location-w6zk8pbt.js} +6 -6
- package/dist/chunks/{pty-3b9qt4hj.js → location-w8djw5a7.js} +9 -9
- package/dist/chunks/{pty-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{pty-6yz0wx8n.js → location-wh6zw745.js} +5 -5
- package/dist/chunks/{pty-pqkvj9g1.js → location-wkehryqc.js} +16 -16
- package/dist/chunks/{pty-0s4jjkv3.js → location-wpd6sf1m.js} +17 -17
- package/dist/chunks/{pty-35ddvwna.js → location-wx6dy300.js} +4 -4
- package/dist/chunks/{pty-p4pkk9xt.js → location-wy9rq243.js} +19 -19
- package/dist/chunks/{pty-fhh11s5w.js → location-wyebk0xf.js} +10 -10
- package/dist/chunks/{pty-mxvxcxwy.js → location-x661k3y3.js} +4 -4
- package/dist/chunks/{pty-xfkkasph.js → location-xfkkasph.js} +1 -1
- package/dist/chunks/{pty-z0scchpv.js → location-xq16cs6r.js} +20 -20
- package/dist/chunks/{pty-1gwhweqv.js → location-xqw2c93y.js} +16 -16
- package/dist/chunks/{pty-a0bbkc97.js → location-xwq8mpja.js} +333 -333
- package/dist/chunks/{pty-k2yecyca.js → location-xy41f4x7.js} +27 -27
- package/dist/chunks/{pty-eqhzy62x.js → location-y14vatw8.js} +17 -17
- package/dist/chunks/{pty-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-7k3t91vn.js → location-y4p39a62.js} +14 -14
- package/dist/chunks/{pty-jeqqnt0n.js → location-yg3p29yq.js} +185 -185
- package/dist/chunks/{pty-jgvqkc2b.js → location-yt8c9d7f.js} +4 -4
- package/dist/chunks/{pty-zmkc6qbt.js → location-ywpkyr4m.js} +6 -6
- package/dist/chunks/{pty-bjx1sjef.js → location-ywt8jp22.js} +9 -9
- package/dist/chunks/{pty-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-jkg51xq8.js → location-z1hzzxvs.js} +18 -18
- package/dist/chunks/{pty-hghq5j4z.js → location-z2rty11q.js} +5 -5
- package/dist/chunks/{pty-gd41frsq.js → location-z3v7r765.js} +14 -14
- package/dist/chunks/{pty-e0qr5ad7.js → location-zbh564mk.js} +30 -30
- package/dist/chunks/{pty-628d53px.js → location-zgn8r0cb.js} +25 -25
- package/dist/chunks/{pty-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-7ppyhzjx.js → location-zsrhk7tm.js} +8 -8
- package/dist/chunks/{pty-zxq2ej10.js → location-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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +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 +219 -219
- 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 +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- 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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +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 +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- 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 +95 -95
- 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 +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- 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 +120 -120
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/pty-9sh4wc5j.js +0 -18
- package/dist/chunks/pty-dexk7st3.js +0 -26
- package/dist/chunks/pty-h75fbyn9.js +0 -257
- /package/dist/chunks/{pty-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → location-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./location-t95zrypp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./location-fxatx79r.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node45 = makeLocationNode({
|
|
153
|
+
service: Service42,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service81, Service81.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID4, Error3, Service42, node45, noopLayer2, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service12,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service12 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service12,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service12, node14, bound2, exports_instance2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-twd5y57z.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info20
|
|
11
|
+
} from "./location-q9eq07pb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info20.make({
|
|
122
|
+
...Info20.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-k1efet51.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./location-hmnzdrmx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service43
|
|
14
|
+
} from "./location-zgn8r0cb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin24,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin24 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service68;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
|
+
const websearch = yield* Service43;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name5, NO_RESULTS2, description2, Input5, Plugin24, exports_websearch2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-yt8c9d7f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./location-bpywct1a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./location-99rzcqpw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./location-bdpzzc2x.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-txssyqt7.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-jrrr0vgd.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-4sh6etqy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-dq407baf.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service85;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service42;
|
|
58
|
+
const toolOutput = yield* Service60;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-twd5y57z.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service75,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node79
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID13,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service75 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service75.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node79 = makeLocationNode({ service: Service75, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service75, locationLayer2, node79, exports_aisdk };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-wyebk0xf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-yt8c9d7f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./location-bh6fvrw2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./location-2k7hmv4v.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./location-twd5y57z.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-ywpkyr4m.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* Service80;
|
|
57
|
+
const integrations = yield* Service78;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|