@opencode/core 0.0.0-dev-21581 → 0.0.0-dev-21590
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 +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{permission-vqwfsp1y.js → reference-02szp9gm.js} +9 -9
- package/dist/chunks/{permission-aj7mw0zk.js → reference-034tev2y.js} +2 -2
- package/dist/chunks/{permission-pkq14bb3.js → reference-0ceasb8s.js} +20 -20
- package/dist/chunks/{permission-w687dnns.js → reference-0h8y3ex8.js} +4 -4
- package/dist/chunks/{permission-27r72dsh.js → reference-0mfc0d68.js} +35 -35
- package/dist/chunks/{permission-jw3wx0eq.js → reference-0pv52n9j.js} +12 -12
- package/dist/chunks/{permission-3a259crh.js → reference-1178vxht.js} +45 -45
- package/dist/chunks/{permission-697qrpec.js → reference-14v17fgg.js} +28 -28
- package/dist/chunks/{permission-e2d0fny2.js → reference-158tfn12.js} +11 -11
- package/dist/chunks/{permission-67bm21qs.js → reference-17gtvps5.js} +18 -18
- package/dist/chunks/{permission-phgp918k.js → reference-18sg5j62.js} +14 -14
- package/dist/chunks/{permission-27w5k9zf.js → reference-1ep2p91f.js} +2 -2
- package/dist/chunks/{permission-rxj45xh7.js → reference-1hahx13g.js} +190 -190
- package/dist/chunks/{permission-t0ew9z5w.js → reference-1m5v0ayp.js} +20 -20
- package/dist/chunks/{permission-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
- package/dist/chunks/{permission-mv6anmnf.js → reference-1zrn58qb.js} +15 -15
- package/dist/chunks/{permission-bfjb4f0c.js → reference-22hmzxt9.js} +33 -33
- package/dist/chunks/{permission-xk8xgfn0.js → reference-2e3p09q4.js} +26 -26
- package/dist/chunks/{permission-7xa1pfa8.js → reference-2ga909q5.js} +19 -19
- package/dist/chunks/{permission-a54f5a5a.js → reference-2k6pc5wc.js} +18 -18
- package/dist/chunks/{permission-3z6avc2r.js → reference-2vaegvqr.js} +20 -20
- package/dist/chunks/{permission-1xw4e6g2.js → reference-2wjzf534.js} +17 -17
- package/dist/chunks/{permission-2z1j29yd.js → reference-2z1j29yd.js} +1 -1
- package/dist/chunks/{permission-rxrz6b15.js → reference-331p6xjh.js} +2 -2
- package/dist/chunks/{permission-dskex2pk.js → reference-35fm799j.js} +32 -32
- package/dist/chunks/{permission-c4s71v40.js → reference-392nsjvq.js} +46 -46
- package/dist/chunks/{permission-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-pdwvva8b.js → reference-3k4jc8v0.js} +5 -5
- package/dist/chunks/{permission-3nnrz6f6.js → reference-3nnrz6f6.js} +1 -1
- package/dist/chunks/{permission-s4rcfet1.js → reference-3rsg1p7p.js} +19 -19
- package/dist/chunks/{permission-dtqg9ce1.js → reference-3tt1qkhr.js} +5 -5
- package/dist/chunks/{permission-5frx1wsy.js → reference-3wj3659j.js} +4 -4
- package/dist/chunks/{permission-vhspgydr.js → reference-3zvjb0hd.js} +21 -21
- package/dist/chunks/{permission-zba5tm1j.js → reference-42jd4697.js} +4 -4
- package/dist/chunks/{permission-cnecfwnw.js → reference-45sa55ra.js} +32 -32
- package/dist/chunks/{permission-mveydcg4.js → reference-49n54dn2.js} +9 -9
- package/dist/chunks/{permission-yqqmszk1.js → reference-4jzj6ttp.js} +19 -19
- package/dist/chunks/{permission-4v008n1t.js → reference-4v008n1t.js} +1 -1
- package/dist/chunks/{permission-httjfkej.js → reference-4x43ze8b.js} +18 -18
- package/dist/chunks/{permission-4xvmh7wp.js → reference-4xvmh7wp.js} +3 -3
- package/dist/chunks/{permission-q1vg9cw7.js → reference-57kxvcz1.js} +16 -16
- package/dist/chunks/{permission-by6d5qep.js → reference-585ybms8.js} +20 -20
- package/dist/chunks/{permission-r41sfy63.js → reference-5enarcya.js} +9 -9
- package/dist/chunks/{permission-jfw7mew9.js → reference-5hr8xq0q.js} +4 -4
- package/dist/chunks/{permission-wxtdwwr7.js → reference-5jz32ng9.js} +8 -8
- package/dist/chunks/{permission-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-gzm4qrd3.js → reference-5qapgh17.js} +3 -3
- package/dist/chunks/{permission-8y6zr0np.js → reference-617zxnkf.js} +4 -4
- package/dist/chunks/{permission-nx1jxsn9.js → reference-69dckygt.js} +4 -4
- package/dist/chunks/{permission-pc4dn92c.js → reference-69vhhgbf.js} +14 -14
- package/dist/chunks/{permission-yc6j1cm5.js → reference-6czmj677.js} +4 -4
- package/dist/chunks/{permission-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
- package/dist/chunks/{permission-07f35y3n.js → reference-6f6dq05w.js} +11 -11
- package/dist/chunks/{permission-fdb0zvwg.js → reference-6m8d80j4.js} +10 -10
- package/dist/chunks/{permission-khk9cezz.js → reference-6mhdkm3r.js} +17 -17
- package/dist/chunks/{permission-6pjqjmy2.js → reference-6pjqjmy2.js} +1 -1
- package/dist/chunks/{permission-as54z6k2.js → reference-6pz21ma1.js} +21 -21
- package/dist/chunks/{permission-3s5c481d.js → reference-6z67c7sw.js} +32 -32
- package/dist/chunks/reference-6zjm2phc.js +18 -0
- package/dist/chunks/{permission-6vmxzzcs.js → reference-73hhvkv7.js} +4 -4
- package/dist/chunks/{permission-92yxqdmx.js → reference-75n0062n.js} +11 -11
- package/dist/chunks/{permission-2j5ravmp.js → reference-76jxzvwp.js} +13 -13
- package/dist/chunks/{permission-jvc2kz28.js → reference-7784vw5s.js} +28 -28
- package/dist/chunks/{permission-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-wzdcdf7r.js → reference-7cd2rmsc.js} +35 -35
- package/dist/chunks/{permission-wrk90yr8.js → reference-7e442h9n.js} +48 -48
- package/dist/chunks/{permission-dk1gke3c.js → reference-7jp0etre.js} +11 -11
- package/dist/chunks/{permission-pmeg9mq3.js → reference-7k3386r2.js} +14 -14
- package/dist/chunks/{permission-vb1k1ws1.js → reference-7mkh44ga.js} +19 -19
- package/dist/chunks/{permission-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
- package/dist/chunks/{permission-25r9qvx8.js → reference-82k6k4r9.js} +13 -13
- package/dist/chunks/{permission-qjnmhe6f.js → reference-8cn6bdr7.js} +4 -4
- package/dist/chunks/{permission-tq1s9fze.js → reference-8w3ybxxd.js} +12 -12
- package/dist/chunks/{permission-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
- package/dist/chunks/{permission-91rj84md.js → reference-91rj84md.js} +1 -1
- package/dist/chunks/{permission-nap8qs22.js → reference-91tbfg8t.js} +15 -15
- package/dist/chunks/{permission-4hd9y2z5.js → reference-92at24ve.js} +33 -33
- package/dist/chunks/{permission-pa9sgc09.js → reference-97q6z4z1.js} +20 -20
- package/dist/chunks/{permission-tnqzh63d.js → reference-997dsrmm.js} +2 -2
- package/dist/chunks/{permission-dvj9ct8m.js → reference-998yhzzq.js} +3 -3
- package/dist/chunks/{permission-c61rvgrh.js → reference-9b28cy4d.js} +5 -5
- package/dist/chunks/{permission-et5s2pck.js → reference-9n5nfdbf.js} +25 -25
- package/dist/chunks/{permission-s9nw9eye.js → reference-9rq4kxzz.js} +23 -23
- package/dist/chunks/{permission-g463wkqn.js → reference-9t2khtsw.js} +11 -11
- package/dist/chunks/{permission-12a87htm.js → reference-9t6kz4yn.js} +8 -8
- package/dist/chunks/{permission-53vkgfgv.js → reference-9xt3rwsk.js} +14 -14
- package/dist/chunks/{permission-teqpm1vg.js → reference-aapktb4s.js} +11 -11
- package/dist/chunks/{permission-vmn23kmk.js → reference-ap22wcp6.js} +10 -10
- package/dist/chunks/{permission-0421tmwc.js → reference-apd5jra7.js} +9 -9
- package/dist/chunks/{permission-vy0q671d.js → reference-aqfgbfd8.js} +24 -24
- package/dist/chunks/{permission-cv8eeb1d.js → reference-atxct68j.js} +53 -53
- package/dist/chunks/{permission-653zj6cf.js → reference-ax04rzcv.js} +5 -5
- package/dist/chunks/{permission-963c1wye.js → reference-axa1k9j1.js} +9 -9
- package/dist/chunks/{permission-3cbjf1nt.js → reference-ayjs7tqn.js} +2 -2
- package/dist/chunks/{permission-b0mv4wxm.js → reference-b0mv4wxm.js} +2 -2
- package/dist/chunks/{permission-qp7684c1.js → reference-b321b1xq.js} +36 -36
- package/dist/chunks/{permission-b6vsg801.js → reference-b6vsg801.js} +2 -2
- package/dist/chunks/{permission-hk0aetvg.js → reference-b792txny.js} +14 -14
- package/dist/chunks/{permission-ew9t1cqw.js → reference-b7tdm2jb.js} +24 -24
- package/dist/chunks/{permission-hzrfc1p4.js → reference-ba07h9gm.js} +2 -2
- package/dist/chunks/{permission-14nr1we3.js → reference-bcb37r7z.js} +16 -16
- package/dist/chunks/{permission-8j3gc1sz.js → reference-bhknf9fc.js} +21 -21
- package/dist/chunks/{permission-mry6eq9x.js → reference-bjf39wav.js} +34 -34
- package/dist/chunks/{permission-mda55v02.js → reference-bpe9b5xd.js} +36 -36
- package/dist/chunks/{permission-zvwzcwk0.js → reference-br28babr.js} +6 -6
- package/dist/chunks/{permission-f4pw3tp7.js → reference-bt6rz2kw.js} +25 -25
- package/dist/chunks/{permission-nwvarf2y.js → reference-btxxq5tt.js} +26 -26
- package/dist/chunks/{permission-zecnjrg9.js → reference-bxmy050v.js} +3 -3
- package/dist/chunks/{permission-thzfrsxj.js → reference-c3cfh5w6.js} +9 -9
- package/dist/chunks/{permission-bjhj37k2.js → reference-c4mt52fx.js} +18 -18
- package/dist/chunks/{permission-zmfbct8y.js → reference-c4y96v02.js} +23 -23
- package/dist/chunks/{permission-p8sbff2p.js → reference-c55tr7hb.js} +22 -22
- package/dist/chunks/{permission-dwh5rme7.js → reference-c62eb685.js} +34 -34
- package/dist/chunks/{permission-nyhsm72m.js → reference-cf1w38y2.js} +45 -45
- package/dist/chunks/{permission-yqghpsmf.js → reference-cgx3zxj6.js} +9 -9
- package/dist/chunks/{permission-v3m02923.js → reference-cnjhsh0b.js} +7 -7
- package/dist/chunks/{permission-r2y1gcsf.js → reference-ctewqk08.js} +14 -14
- package/dist/chunks/{permission-qy0xx1fg.js → reference-ctya507c.js} +5 -5
- package/dist/chunks/{permission-m3m8z7xq.js → reference-d0jwqxv7.js} +37 -37
- package/dist/chunks/{permission-c9t2ty9q.js → reference-d2887f8n.js} +4 -4
- package/dist/chunks/{permission-gn8tkhbf.js → reference-d4v9tmah.js} +2 -2
- package/dist/chunks/{permission-70mwbg0d.js → reference-da7jqf2t.js} +13 -13
- package/dist/chunks/{permission-yvvgvppe.js → reference-dbs9f4d2.js} +44 -44
- package/dist/chunks/{permission-z0htsaj2.js → reference-dcqk33sb.js} +18 -18
- package/dist/chunks/{permission-5w047whv.js → reference-dfv0e3xz.js} +18 -18
- package/dist/chunks/reference-dfy9at9k.js +26 -0
- package/dist/chunks/{permission-pwtpbgxe.js → reference-dgaww69h.js} +29 -29
- package/dist/chunks/{permission-wmztd2wj.js → reference-dghpgdwh.js} +9 -9
- package/dist/chunks/{permission-kwfnkjs0.js → reference-dj0vzv63.js} +30 -30
- package/dist/chunks/{permission-3trrtfr5.js → reference-dmcydt5k.js} +14 -14
- package/dist/chunks/{permission-cqxf2v2j.js → reference-dpydvgsc.js} +6 -6
- package/dist/chunks/{permission-p5teea9m.js → reference-dv41yykm.js} +33 -33
- package/dist/chunks/{permission-kgq6c069.js → reference-dwwyec8z.js} +6 -6
- package/dist/chunks/{permission-wcr9qjwb.js → reference-dy5an0j5.js} +5 -5
- package/dist/chunks/{permission-wvt10j39.js → reference-dyqd29rb.js} +13 -13
- package/dist/chunks/{permission-5qd3pb7m.js → reference-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-avq466zp.js → reference-e3tyzyg9.js} +11 -11
- package/dist/chunks/{permission-13xbgjmy.js → reference-e42petng.js} +13 -13
- package/dist/chunks/{permission-e5dqjz6v.js → reference-e5dqjz6v.js} +1 -1
- package/dist/chunks/{permission-e834z07m.js → reference-e834z07m.js} +1 -1
- package/dist/chunks/{permission-t587ae1z.js → reference-e93cazkx.js} +13 -13
- package/dist/chunks/{permission-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-kmzgegqq.js → reference-enkpkfwx.js} +8 -8
- package/dist/chunks/{permission-20nwq5j7.js → reference-ev4x93rx.js} +10 -10
- package/dist/chunks/{permission-33dgmqaq.js → reference-f2jmt318.js} +43 -43
- package/dist/chunks/{permission-144mr5sh.js → reference-f2tcvpah.js} +21 -21
- package/dist/chunks/{permission-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
- package/dist/chunks/{permission-xh6ezr0k.js → reference-fkdejkqx.js} +10 -10
- package/dist/chunks/{permission-bgjcmezg.js → reference-fm90g8ey.js} +7 -7
- package/dist/chunks/{permission-s5d2vmct.js → reference-fyxzhex2.js} +12 -12
- package/dist/chunks/{permission-j4xf6en1.js → reference-g02452fg.js} +7 -7
- package/dist/chunks/{permission-15fbvae3.js → reference-g32wv891.js} +43 -43
- package/dist/chunks/{permission-4faanzap.js → reference-g35eyyjw.js} +52 -52
- package/dist/chunks/{permission-g5h9c0rr.js → reference-g5h9c0rr.js} +2 -2
- package/dist/chunks/{permission-21xfcten.js → reference-g5wz76jx.js} +43 -43
- package/dist/chunks/{permission-eqmd2tfz.js → reference-g7esga4v.js} +4 -4
- package/dist/chunks/{permission-zp6zn6an.js → reference-ga0jheq7.js} +15 -15
- package/dist/chunks/{permission-zjfvjab9.js → reference-gb7emm0a.js} +4 -4
- package/dist/chunks/{permission-xpeshqab.js → reference-gbc8mqyx.js} +6 -6
- package/dist/chunks/{permission-qmfyrqgm.js → reference-gk1rk4s8.js} +7 -7
- package/dist/chunks/{permission-mhw8pa4s.js → reference-gphsqkvp.js} +16 -16
- package/dist/chunks/{permission-vt1p8g5r.js → reference-gqv6dref.js} +5 -5
- package/dist/chunks/{permission-bx5h5atg.js → reference-gt0jrv1m.js} +4 -4
- package/dist/chunks/{permission-mt7t3679.js → reference-gth7ey8h.js} +28 -28
- package/dist/chunks/reference-gy55dmjh.js +257 -0
- package/dist/chunks/{permission-65re2tkt.js → reference-h0wvm00t.js} +5 -5
- package/dist/chunks/{permission-3svhqqn3.js → reference-h26pfjbv.js} +11 -11
- package/dist/chunks/{permission-3sqvdk5h.js → reference-h5x76x6y.js} +18 -18
- package/dist/chunks/{permission-hcjcnhpb.js → reference-h85hk0jt.js} +5 -5
- package/dist/chunks/{permission-hqmjc9w6.js → reference-hh0p0dz0.js} +24 -24
- package/dist/chunks/{permission-9cma5nkd.js → reference-hp05sb1w.js} +23 -23
- package/dist/chunks/{permission-7phtqfsn.js → reference-hwhakdtp.js} +15 -15
- package/dist/chunks/{permission-avkertw7.js → reference-hwnyt2r8.js} +345 -345
- package/dist/chunks/{permission-j113cymg.js → reference-j113cymg.js} +1 -1
- package/dist/chunks/{permission-gmsg8eqm.js → reference-jk7ax7q1.js} +44 -44
- package/dist/chunks/{permission-9q94f8wx.js → reference-jk7xnh1r.js} +4 -4
- package/dist/chunks/{permission-r09nw2rs.js → reference-jpfg3tzk.js} +16 -16
- package/dist/chunks/{permission-wmdbma0r.js → reference-jt507tgk.js} +10 -10
- package/dist/chunks/{permission-q5ksxkha.js → reference-jxxeqwt8.js} +6 -6
- package/dist/chunks/{permission-k814nvkf.js → reference-k814nvkf.js} +1 -1
- package/dist/chunks/{permission-j02gp9xr.js → reference-k879r3tb.js} +2 -2
- package/dist/chunks/{permission-x03g62wm.js → reference-khz9qtbd.js} +22 -22
- package/dist/chunks/{permission-m1714858.js → reference-m1714858.js} +1 -1
- package/dist/chunks/{permission-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → reference-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-me5bcav6.js → reference-me5bcav6.js} +1 -1
- package/dist/chunks/{permission-ae7hb8c5.js → reference-mfyv679b.js} +9 -9
- package/dist/chunks/{permission-a2yjd7st.js → reference-mgc5ajq3.js} +15 -15
- package/dist/chunks/{permission-fyzm4447.js → reference-mgrmgacb.js} +33 -33
- package/dist/chunks/{permission-50m87fqe.js → reference-mqnjedcc.js} +12 -12
- package/dist/chunks/{permission-rc7ek8zj.js → reference-mrn7jrf1.js} +28 -28
- package/dist/chunks/{permission-sa14a5nv.js → reference-mt84etn8.js} +3 -3
- package/dist/chunks/{permission-ppd8r3bw.js → reference-mvx17366.js} +11 -11
- package/dist/chunks/{permission-cgx4p3vw.js → reference-mxej95nn.js} +23 -23
- package/dist/chunks/{permission-n0p0277s.js → reference-n0p0277s.js} +1 -1
- package/dist/chunks/{permission-tsrsrn1g.js → reference-n17ttpw5.js} +6 -6
- package/dist/chunks/{permission-nzxfskdc.js → reference-n6j3m873.js} +17 -17
- package/dist/chunks/{permission-e97en3k4.js → reference-n6xp163e.js} +16 -16
- package/dist/chunks/{permission-dz9s092h.js → reference-n72v8kyg.js} +23 -23
- package/dist/chunks/{permission-770pw0s1.js → reference-nah043kf.js} +4 -4
- package/dist/chunks/{permission-7x2dfwkf.js → reference-nggn9d43.js} +28 -28
- package/dist/chunks/{permission-ns0sec0c.js → reference-nkxa5wq0.js} +4 -4
- package/dist/chunks/{permission-p015t6z3.js → reference-p015t6z3.js} +2 -2
- package/dist/chunks/{permission-23gxv6e2.js → reference-p0bn44dh.js} +14 -14
- package/dist/chunks/{permission-t211gxpv.js → reference-p0tsr9h6.js} +4 -4
- package/dist/chunks/{permission-9z5ep6ev.js → reference-p1c1t367.js} +24 -24
- package/dist/chunks/{permission-gh8271rt.js → reference-p48hbk47.js} +9 -9
- package/dist/chunks/{permission-1yq9hg58.js → reference-p7vhpwh8.js} +5 -5
- package/dist/chunks/{permission-pc1v25hk.js → reference-pc1v25hk.js} +1 -1
- package/dist/chunks/{permission-sajjfzhw.js → reference-pka0ykct.js} +16 -16
- package/dist/chunks/{permission-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{permission-abat3gv0.js → reference-pnz1sqhe.js} +1 -1
- package/dist/chunks/{permission-c5s13xac.js → reference-pvk64qra.js} +31 -31
- package/dist/chunks/{permission-6n33f6xj.js → reference-pzjxx5kj.js} +1 -1
- package/dist/chunks/{permission-3tfrx4d0.js → reference-q21p601r.js} +6 -6
- package/dist/chunks/{permission-ed7xpzhj.js → reference-qh6sbcd8.js} +4 -4
- package/dist/chunks/{permission-qjgzc4b4.js → reference-qjgzc4b4.js} +1 -1
- package/dist/chunks/{permission-q71xwdgh.js → reference-qp86s7ck.js} +3 -3
- package/dist/chunks/{permission-h0xvb9c9.js → reference-r0h3bw7v.js} +31 -31
- package/dist/chunks/{permission-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
- package/dist/chunks/{permission-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
- package/dist/chunks/{permission-a5zjyd5j.js → reference-rjr2dewt.js} +24 -24
- package/dist/chunks/{permission-takvccra.js → reference-rt0txz63.js} +8 -8
- package/dist/chunks/{permission-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
- package/dist/chunks/{permission-bkgcdz7f.js → reference-s0m4xskg.js} +88 -88
- package/dist/chunks/{permission-45t4pvv9.js → reference-s12jh10e.js} +8 -8
- package/dist/chunks/{permission-ky596kc3.js → reference-s85z3cra.js} +4 -4
- package/dist/chunks/{permission-vzmjdaw1.js → reference-sah69mkr.js} +9 -9
- package/dist/chunks/{permission-4sg2svrr.js → reference-sd9qfce6.js} +15 -15
- package/dist/chunks/{permission-b432cxr7.js → reference-sfpgp9sh.js} +2 -2
- package/dist/chunks/{permission-7h9y8t2j.js → reference-sp2pyba2.js} +7 -7
- package/dist/chunks/{permission-2136jsky.js → reference-sparrdxh.js} +32 -32
- package/dist/chunks/{permission-m0rac248.js → reference-spqp8scq.js} +8 -8
- package/dist/chunks/{permission-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
- package/dist/chunks/{permission-626zy64k.js → reference-szcgc7h4.js} +5 -5
- package/dist/chunks/{permission-cm6s1jfq.js → reference-t5jgkqc0.js} +70 -70
- package/dist/chunks/{permission-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
- package/dist/chunks/{permission-s4f8ct6t.js → reference-tmd1r8tg.js} +4 -4
- package/dist/chunks/{permission-tw8zr1ps.js → reference-tw8zr1ps.js} +1 -1
- package/dist/chunks/{permission-twv2r8f4.js → reference-twv2r8f4.js} +2 -2
- package/dist/chunks/{permission-qqegaxm6.js → reference-v7s2kyj8.js} +3 -3
- package/dist/chunks/{permission-vd3b3yk9.js → reference-vd3b3yk9.js} +1 -1
- package/dist/chunks/{permission-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-e03hwt6h.js → reference-vfqfz9ng.js} +14 -14
- package/dist/chunks/{permission-90r332b3.js → reference-vk70kcm0.js} +11 -11
- package/dist/chunks/{permission-qv7y9773.js → reference-w35wzz9x.js} +9 -9
- package/dist/chunks/{permission-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-nnmc9ed9.js → reference-w70n3epg.js} +8 -8
- package/dist/chunks/{permission-w8qtt4th.js → reference-w8qtt4th.js} +1 -1
- package/dist/chunks/{permission-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{permission-xyfdysdk.js → reference-wxd8q9mp.js} +22 -22
- package/dist/chunks/{permission-qdmrbv3w.js → reference-wy4ffk9y.js} +7 -7
- package/dist/chunks/{permission-849jt09p.js → reference-wyt6s0d6.js} +32 -32
- package/dist/chunks/{permission-8heddbx0.js → reference-x774aw49.js} +8 -8
- package/dist/chunks/{permission-bstexjd6.js → reference-xd9cc171.js} +5 -5
- package/dist/chunks/{permission-c8666r4c.js → reference-xkympmbz.js} +6 -6
- package/dist/chunks/{permission-epwczgcb.js → reference-xptgtj2n.js} +5 -5
- package/dist/chunks/{permission-fc8p38t6.js → reference-xt1e9zqw.js} +19 -19
- package/dist/chunks/{permission-5b80fy0k.js → reference-xydhs8a8.js} +30 -30
- package/dist/chunks/{permission-81b2fawr.js → reference-y06e3eb4.js} +11 -11
- package/dist/chunks/{permission-bng780ce.js → reference-y70av53j.js} +26 -26
- package/dist/chunks/{permission-1zyab2nj.js → reference-y8dt0ywh.js} +11 -11
- package/dist/chunks/{permission-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
- package/dist/chunks/{permission-j7c3dc9z.js → reference-yd3g8txe.js} +9 -9
- package/dist/chunks/{permission-bfffb4j8.js → reference-ygavzdh1.js} +38 -38
- package/dist/chunks/{permission-whpzb130.js → reference-yhbnhfm6.js} +11 -11
- package/dist/chunks/{permission-628smf0x.js → reference-yjptjaqs.js} +48 -48
- package/dist/chunks/{permission-27zgj432.js → reference-yqtd0t4r.js} +17 -17
- package/dist/chunks/{permission-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-n9b9a8z3.js → reference-z1797mdk.js} +13 -13
- package/dist/chunks/{permission-z38nccrw.js → reference-z38nccrw.js} +1 -1
- package/dist/chunks/{permission-ahxg8avp.js → reference-z47ak11q.js} +3 -3
- package/dist/chunks/{permission-0yd0jjng.js → reference-z8bkf37c.js} +19 -19
- package/dist/chunks/{permission-5ww7y468.js → reference-zb9z236r.js} +8 -8
- package/dist/chunks/{permission-zkg84ctx.js → reference-zkg84ctx.js} +1 -1
- package/dist/chunks/{permission-0jkw94xn.js → reference-zw1psc7x.js} +20 -20
- package/dist/chunks/{permission-b18e9sf1.js → reference-zwexphgd.js} +86 -86
- package/dist/chunks/{permission-k5d1etkm.js → reference-zwtk19q4.js} +24 -24
- package/dist/chunks/{permission-qahvr734.js → reference-zysxana2.js} +50 -50
- package/dist/chunks/{permission-ebb7q5gd.js → reference-zz476xrp.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +118 -118
- 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 +115 -115
- 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 +119 -119
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- 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 +111 -111
- package/dist/mcp/instructions.js +140 -140
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- 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 +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- 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/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/permission-2dkjcnxp.js +0 -18
- package/dist/chunks/permission-fevykam8.js +0 -257
- package/dist/chunks/permission-zqbek9dz.js +0 -26
- /package/dist/chunks/{permission-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5fjb7ams.js → reference-5fjb7ams.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a058387c.js → reference-a058387c.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-42jd4697.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-69dckygt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./reference-14v17fgg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-y70av53j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service63
|
|
20
|
+
} from "./reference-xydhs8a8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./reference-c62eb685.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./reference-wxd8q9mp.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-x774aw49.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID7
|
|
33
|
+
} from "./reference-khz9qtbd.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID12.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service63;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load2(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID11.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID11.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID7.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID11.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID11.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./reference-jk7ax7q1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./reference-c55tr7hb.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin12
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin12 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service60;
|
|
27
|
+
const shell = yield* Service78;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin33 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin12, exports_shell };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-69dckygt.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-c55tr7hb.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
22
|
Service: () => Service40,
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer17,
|
|
27
|
+
node: () => node42
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,18 +34,18 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
261
|
+
var layer17 = makeLayer();
|
|
262
|
+
var configured3 = (options) => makeGlobalNode({
|
|
263
263
|
service: Service40,
|
|
264
|
-
layer: options === undefined ?
|
|
264
|
+
layer: options === undefined ? layer17 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node42 = configured3();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options3, UnavailableError2, NotFoundError4, Service40, layer17, configured3, node42, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID9 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info12 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID9,
|
|
7
|
+
export { ID9, Info12, SessionSchema2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-bxmy050v.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-69dckygt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./reference-dwwyec8z.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service38
|
|
15
|
+
} from "./reference-mgrmgacb.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-jxxeqwt8.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-998yhzzq.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-ap22wcp6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service36;
|
|
44
44
|
const database = yield* Service86;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service38;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service36;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service38;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-x774aw49.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-69dckygt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service65
|
|
11
|
+
} from "./reference-14v17fgg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-y70av53j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-xydhs8a8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID10,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./reference-c62eb685.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-n17ttpw5.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID11.openai;
|
|
47
|
+
var integrationID = ID12.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service65;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info18.default(ID11.openai, ID10.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-69dckygt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./reference-n6xp163e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service78,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node82
|
|
13
|
+
} from "./reference-c55tr7hb.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event19,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID16,
|
|
28
|
+
Info: () => Info26,
|
|
29
|
+
NotFoundError: () => NotFoundError11,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service77,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node81
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event19 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID16 = Pty.ID;
|
|
43
|
+
var Info26 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID16
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID16
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service77 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const shell = yield* Service78;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError11({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID16.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service77.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node81 = makeLocationNode({
|
|
273
|
+
service: Service77,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89,
|
|
275
|
+
deps: [node89, node83, node82]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID16, Info26, CreateInput3, UpdateInput2, NotFoundError11, ExitedError2, Service77, node81, exports_pty, Event19 };
|