@opencode/core 0.0.0-dev-21309 → 0.0.0-dev-21317
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-mnxav5te.js → rpc-00jxnzb9.js} +5 -5
- package/dist/chunks/{form-csrxhvh8.js → rpc-01eq5551.js} +50 -50
- package/dist/chunks/{form-cg02sn39.js → rpc-02ap8j7c.js} +16 -16
- package/dist/chunks/{form-d5hbq9vh.js → rpc-08pm112b.js} +37 -37
- package/dist/chunks/{form-y56ehv6b.js → rpc-0996nyz8.js} +9 -9
- package/dist/chunks/{form-f6adby2b.js → rpc-0b3mjyaj.js} +30 -30
- package/dist/chunks/{form-nzq7ck9f.js → rpc-0hf9g8pg.js} +6 -6
- package/dist/chunks/{form-pkbhwwsm.js → rpc-0hy8befc.js} +21 -21
- package/dist/chunks/{form-jh2ps5wy.js → rpc-0jsbygf3.js} +11 -11
- package/dist/chunks/{form-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-mysqzpg8.js → rpc-0w14remh.js} +1 -1
- package/dist/chunks/{form-p5y15tvy.js → rpc-1g16v4dv.js} +16 -16
- package/dist/chunks/{form-0ab2r5bc.js → rpc-1mrh27g9.js} +20 -20
- package/dist/chunks/{form-6wr7nzx9.js → rpc-1rnp160z.js} +149 -149
- package/dist/chunks/{form-q47bt154.js → rpc-1ve1hva8.js} +15 -15
- package/dist/chunks/{form-sd97kvfg.js → rpc-1vm2jr1m.js} +14 -14
- package/dist/chunks/{form-7cs0wf9y.js → rpc-2b3xhh1f.js} +9 -9
- package/dist/chunks/{form-79kzwjp8.js → rpc-2csyvhj5.js} +11 -11
- package/dist/chunks/{form-1j8r0rfw.js → rpc-2s32b1pm.js} +2 -2
- package/dist/chunks/{form-6yfxq52g.js → rpc-2ywtyz89.js} +3 -3
- package/dist/chunks/{form-s12ckd47.js → rpc-33v3hd7n.js} +10 -10
- package/dist/chunks/{form-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → rpc-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-8xnpz133.js → rpc-3vydj3kq.js} +5 -5
- package/dist/chunks/{form-7p3wxydp.js → rpc-3zmp6mvq.js} +24 -24
- package/dist/chunks/{form-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-ddjvg64n.js → rpc-4032msc3.js} +14 -14
- package/dist/chunks/{form-qha5ekyp.js → rpc-4586qpea.js} +4 -4
- package/dist/chunks/{form-2q9fknbq.js → rpc-45z2phwr.js} +8 -8
- package/dist/chunks/{form-bkschzhq.js → rpc-4bgz7na6.js} +13 -13
- package/dist/chunks/{form-2xh5ht5h.js → rpc-4ej1p9w4.js} +3 -3
- package/dist/chunks/{form-v5rm5t0z.js → rpc-4hqc72tv.js} +11 -11
- package/dist/chunks/{form-gcywmqd1.js → rpc-4kvrjvaf.js} +8 -8
- package/dist/chunks/{form-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{form-a6rgdr89.js → rpc-58hz9pw6.js} +29 -29
- package/dist/chunks/{form-zk2qw2pd.js → rpc-5bjhv7bx.js} +13 -13
- package/dist/chunks/{form-64hwtt3x.js → rpc-5dsat6dj.js} +9 -9
- package/dist/chunks/{form-6emxyc9g.js → rpc-5fgmhshs.js} +1 -1
- package/dist/chunks/{form-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-0592574k.js → rpc-5pczf1s7.js} +8 -8
- package/dist/chunks/{form-ydgbnz16.js → rpc-5qrjjsm0.js} +1 -1
- package/dist/chunks/{form-43xx6kda.js → rpc-5rw40y9k.js} +22 -22
- package/dist/chunks/{form-x07jzsrz.js → rpc-5tqfz9j8.js} +16 -16
- package/dist/chunks/{form-6827pfxn.js → rpc-6827pfxn.js} +1 -1
- package/dist/chunks/{form-4553w93m.js → rpc-6e5y98rw.js} +2 -2
- package/dist/chunks/{form-5tp7cf11.js → rpc-6f0mpgjx.js} +4 -4
- package/dist/chunks/{form-ryr25ayn.js → rpc-6hh8tjw2.js} +4 -4
- package/dist/chunks/{form-0y3k7j43.js → rpc-6q7pxhem.js} +4 -4
- package/dist/chunks/{form-apsw5g4h.js → rpc-6thh7prw.js} +10 -10
- package/dist/chunks/{form-6xb47vfp.js → rpc-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-01w6r3jz.js → rpc-70wbgdde.js} +5 -5
- package/dist/chunks/{form-eh6ej367.js → rpc-76rvckpe.js} +5 -5
- package/dist/chunks/{form-4jctyxs9.js → rpc-76yfn11e.js} +21 -21
- package/dist/chunks/{form-775gj3j1.js → rpc-775gj3j1.js} +2 -2
- package/dist/chunks/{form-z3yspz9a.js → rpc-77a8pby6.js} +26 -26
- package/dist/chunks/{form-g66bevh5.js → rpc-79dmsh4f.js} +13 -13
- package/dist/chunks/{form-7evdcjn1.js → rpc-7a74wjkd.js} +4 -4
- package/dist/chunks/{form-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-2k8khapm.js → rpc-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-3cswzw9g.js → rpc-7gzma787.js} +7 -7
- package/dist/chunks/{form-jkjnadar.js → rpc-7hx68391.js} +24 -24
- package/dist/chunks/{form-px6wq6dz.js → rpc-7jj686hc.js} +21 -21
- package/dist/chunks/{form-jxvnzpw8.js → rpc-7pgfbpgc.js} +24 -24
- package/dist/chunks/{form-gyv5agwd.js → rpc-7tv5fpf7.js} +2 -2
- package/dist/chunks/{form-zc34vfrd.js → rpc-7vws6z87.js} +12 -12
- package/dist/chunks/{form-84txncab.js → rpc-84txncab.js} +1 -1
- package/dist/chunks/{form-tbmac1c7.js → rpc-86qzxe6p.js} +4 -4
- package/dist/chunks/{form-p008bemp.js → rpc-88sybas5.js} +17 -17
- package/dist/chunks/{form-as472svt.js → rpc-893fyb3c.js} +12 -12
- package/dist/chunks/{form-njv48zzv.js → rpc-895gdsnd.js} +16 -16
- package/dist/chunks/{form-8fd1zqwe.js → rpc-8brhn7pv.js} +85 -85
- package/dist/chunks/{form-m2ymgz0z.js → rpc-8d6fvqda.js} +33 -33
- package/dist/chunks/{form-a8nkje97.js → rpc-8frgrze6.js} +11 -11
- package/dist/chunks/{form-admdf9qy.js → rpc-8fvc1552.js} +30 -30
- package/dist/chunks/{form-8m6m0r52.js → rpc-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-8mywswrd.js → rpc-8mywswrd.js} +1 -1
- package/dist/chunks/{form-k35dez0d.js → rpc-8t9rjyy6.js} +11 -11
- package/dist/chunks/{form-z9qyhhpt.js → rpc-972jds6k.js} +8 -8
- package/dist/chunks/{form-xqqvwv5j.js → rpc-9p6wdtc7.js} +16 -16
- package/dist/chunks/{form-mtxvdp9r.js → rpc-9q9ehedv.js} +17 -17
- package/dist/chunks/{form-5vfyv2px.js → rpc-9tk9j4pe.js} +29 -29
- package/dist/chunks/{form-qpkfbzpg.js → rpc-9z8xgd1b.js} +15 -15
- package/dist/chunks/{form-a20pjse5.js → rpc-a20pjse5.js} +3 -3
- package/dist/chunks/{form-01yb7a9a.js → rpc-a28109tc.js} +17 -17
- package/dist/chunks/{form-pcymg39e.js → rpc-aha1yb52.js} +24 -24
- package/dist/chunks/{form-n8nt0na6.js → rpc-anrp8nyn.js} +24 -24
- package/dist/chunks/{form-zygegkxh.js → rpc-b6ksnx6d.js} +19 -19
- package/dist/chunks/{form-ww5ckzyq.js → rpc-bbdjexyb.js} +21 -21
- package/dist/chunks/{form-159j6g8a.js → rpc-bc1qbg2y.js} +50 -50
- package/dist/chunks/{form-kk8h1mek.js → rpc-bc9tah8j.js} +8 -8
- package/dist/chunks/{form-zx85k7gh.js → rpc-benkh0ne.js} +7 -7
- package/dist/chunks/{form-ywt8jp22.js → rpc-bjx1sjef.js} +9 -9
- package/dist/chunks/{form-149ww98r.js → rpc-bx9tw11q.js} +6 -6
- package/dist/chunks/{form-65f8ybtn.js → rpc-by7vy9ry.js} +14 -14
- package/dist/chunks/{form-t2gndjp3.js → rpc-byfnn1yt.js} +7 -7
- package/dist/chunks/{form-1ep4rre3.js → rpc-bzeyqsqd.js} +4 -4
- package/dist/chunks/{form-c1fqxshp.js → rpc-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-bmdqnj6f.js → rpc-ccnr14qc.js} +11 -11
- package/dist/chunks/{form-3e4a7xxm.js → rpc-cdpaedqb.js} +11 -11
- package/dist/chunks/{form-2yt4cmmc.js → rpc-ch6w3xdz.js} +4 -4
- package/dist/chunks/{form-p4mj4rdp.js → rpc-cmwkp3r5.js} +8 -8
- package/dist/chunks/{form-evdvhfzx.js → rpc-cq9r63kb.js} +25 -25
- package/dist/chunks/{form-gnzn9cn5.js → rpc-cr81ydc1.js} +4 -4
- package/dist/chunks/{form-7049gnx3.js → rpc-csqy2ej0.js} +29 -29
- package/dist/chunks/{form-wj1kajne.js → rpc-ct53serg.js} +8 -8
- package/dist/chunks/{form-1rydqggj.js → rpc-cyaf7x2b.js} +36 -36
- package/dist/chunks/{form-y98rys2n.js → rpc-cyawa949.js} +11 -11
- package/dist/chunks/{form-k9hrtvd5.js → rpc-czvnsba0.js} +9 -9
- package/dist/chunks/{form-2sejkfem.js → rpc-d4he2qe1.js} +9 -9
- package/dist/chunks/{form-zhgq12gm.js → rpc-davd2qck.js} +30 -30
- package/dist/chunks/{form-addxnjmp.js → rpc-db2wf4at.js} +4 -4
- package/dist/chunks/{form-w8reh54w.js → rpc-dchhc6c0.js} +6 -6
- package/dist/chunks/{form-ybax1fzm.js → rpc-dgbwxr57.js} +2 -2
- package/dist/chunks/{form-ec9r64eb.js → rpc-dn3c1mcf.js} +36 -36
- package/dist/chunks/{form-m0j93tdc.js → rpc-dpa5xhb4.js} +21 -21
- package/dist/chunks/{form-xfkkasph.js → rpc-drwq78ky.js} +4 -4
- package/dist/chunks/{form-6jgeearj.js → rpc-dsdptgac.js} +8 -8
- package/dist/chunks/{form-mtrbqqrq.js → rpc-dtqg9ce1.js} +5 -5
- package/dist/chunks/{form-nem0pv7t.js → rpc-e3gdw1r1.js} +25 -25
- package/dist/chunks/{form-rhjbct0v.js → rpc-eaj1djv9.js} +8 -8
- package/dist/chunks/{form-5hmkpywb.js → rpc-ecwjgqwb.js} +31 -31
- package/dist/chunks/{form-eej6y6fw.js → rpc-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-kn8ghv8t.js → rpc-enftz5nt.js} +167 -167
- package/dist/chunks/{form-0rtp69vm.js → rpc-enkv1cah.js} +10 -10
- package/dist/chunks/{form-7ztexanv.js → rpc-f15bp7fc.js} +15 -15
- package/dist/chunks/{form-293yhkqp.js → rpc-f4rze370.js} +5 -5
- package/dist/chunks/{form-bvr6saty.js → rpc-f5arb8be.js} +22 -22
- package/dist/chunks/{form-da7xf5ay.js → rpc-f7wb66b8.js} +27 -27
- package/dist/chunks/{form-phtk6n36.js → rpc-fav346qz.js} +45 -45
- package/dist/chunks/{form-fcy631f0.js → rpc-fcy631f0.js} +1 -1
- package/dist/chunks/{form-t16svwyk.js → rpc-fjat486w.js} +20 -20
- package/dist/chunks/{form-e0qnmsg8.js → rpc-ftm64v0w.js} +24 -24
- package/dist/chunks/{form-8a6hh32g.js → rpc-g1p1atpp.js} +10 -10
- package/dist/chunks/{form-2ztv3xbn.js → rpc-g255r8kb.js} +3 -3
- package/dist/chunks/{form-kjdm35cs.js → rpc-g6yfr6ja.js} +5 -5
- package/dist/chunks/{form-yf054wvd.js → rpc-g7yr8gcf.js} +20 -20
- package/dist/chunks/{form-kjf4kcws.js → rpc-g8xp5ryd.js} +17 -17
- package/dist/chunks/{form-my6mv4rd.js → rpc-gbtxxg6d.js} +26 -26
- package/dist/chunks/{form-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-bt0xk3k9.js → rpc-gec39g60.js} +37 -37
- package/dist/chunks/{form-jz13mca3.js → rpc-ggbh8asv.js} +28 -28
- package/dist/chunks/{form-b674v2dg.js → rpc-gj71zhbs.js} +5 -5
- package/dist/chunks/{form-mr25sape.js → rpc-gyyzyjff.js} +24 -24
- package/dist/chunks/{form-weqnn3ye.js → rpc-h1p8pfjz.js} +87 -87
- package/dist/chunks/{form-e86gnere.js → rpc-h1sbay6j.js} +10 -10
- package/dist/chunks/{form-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-aspe32j5.js → rpc-h9v1428w.js} +20 -20
- package/dist/chunks/{form-p4ye8mev.js → rpc-hde8myxm.js} +6 -6
- package/dist/chunks/{form-hgz4x7wa.js → rpc-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-f8bcsxje.js → rpc-hkq80jaq.js} +2 -2
- package/dist/chunks/{form-1w2wqhfv.js → rpc-hq3c8me3.js} +4 -4
- package/dist/chunks/{form-ezrgp273.js → rpc-hqqv916v.js} +23 -23
- package/dist/chunks/{form-fv12q9k0.js → rpc-hrfx14v9.js} +13 -13
- package/dist/chunks/{form-88yja26d.js → rpc-hw77q6fs.js} +9 -9
- package/dist/chunks/{form-31fkayz7.js → rpc-hy1sb00p.js} +30 -30
- package/dist/chunks/{form-m1z5ek08.js → rpc-hyay7qq8.js} +8 -8
- package/dist/chunks/{form-jytfn6ja.js → rpc-j0cdr2fc.js} +8 -8
- package/dist/chunks/{form-b12fh71z.js → rpc-j6ktnsbj.js} +5 -5
- package/dist/chunks/{form-pf1b2z5t.js → rpc-jhsnzz9y.js} +32 -32
- package/dist/chunks/{form-46wtzjjz.js → rpc-jr66w75k.js} +3 -3
- package/dist/chunks/{form-f93vdewn.js → rpc-jsba75yt.js} +6 -6
- package/dist/chunks/{form-prcpq60y.js → rpc-jwwcvrfa.js} +8 -8
- package/dist/chunks/{form-9bj0dwv2.js → rpc-k142x1ht.js} +7 -7
- package/dist/chunks/{form-rwm5vee1.js → rpc-k76fn4kw.js} +4 -4
- package/dist/chunks/{form-dke6jjmt.js → rpc-k9vfwqcy.js} +1 -1
- package/dist/chunks/{form-g2jr9t01.js → rpc-kc4pmtd7.js} +15 -15
- package/dist/chunks/{form-wfa292tn.js → rpc-kpc1hm91.js} +9 -9
- package/dist/chunks/{form-5c36xey0.js → rpc-kw8539bv.js} +18 -18
- package/dist/chunks/{form-kwb1v3vj.js → rpc-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-xp2zd69v.js → rpc-kyn2zspx.js} +20 -20
- package/dist/chunks/{form-fn8k43nn.js → rpc-m772a2nk.js} +23 -23
- package/dist/chunks/{form-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → rpc-maspj1v3.js} +1 -1
- package/dist/chunks/{form-mpzfxbse.js → rpc-megydfs1.js} +3 -3
- package/dist/chunks/{form-9pkymny3.js → rpc-mmpzk464.js} +15 -15
- package/dist/chunks/{form-ttfrdszx.js → rpc-n0aztcqq.js} +22 -22
- package/dist/chunks/{form-pw1h6ks1.js → rpc-nd22kdkt.js} +25 -25
- package/dist/chunks/{form-7nqnfc0d.js → rpc-ndq3tns3.js} +19 -19
- package/dist/chunks/{form-w78b8eew.js → rpc-nfaj7hc4.js} +8 -8
- package/dist/chunks/{form-phf263fg.js → rpc-njexvj4x.js} +48 -48
- package/dist/chunks/{form-m7nc2rpb.js → rpc-nrnz1hj7.js} +50 -50
- package/dist/chunks/{form-fww2ha2b.js → rpc-nw0vbtkz.js} +10 -10
- package/dist/chunks/{form-e3abpcc4.js → rpc-nxwp04ag.js} +16 -16
- package/dist/chunks/{form-v13b12ef.js → rpc-nz56sr1f.js} +5 -5
- package/dist/chunks/{form-7t193933.js → rpc-p7ewv77c.js} +2 -2
- package/dist/chunks/{form-5kmmw6ns.js → rpc-pb6e7513.js} +31 -31
- package/dist/chunks/{form-ze75yzft.js → rpc-pedttwxr.js} +8 -8
- package/dist/chunks/{form-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{form-f532e7gj.js → rpc-pqhm9z8g.js} +16 -16
- package/dist/chunks/{form-522p3b9e.js → rpc-pzkkvw2v.js} +5 -5
- package/dist/chunks/{form-e6pqykgy.js → rpc-q2rh4y1n.js} +4 -4
- package/dist/chunks/{form-ppf9jb57.js → rpc-q2wkjcq3.js} +11 -11
- package/dist/chunks/{form-se8s5apy.js → rpc-q3ctsp6k.js} +13 -13
- package/dist/chunks/{form-exp1944n.js → rpc-q5acm4m4.js} +16 -16
- package/dist/chunks/{form-r9vpxkp0.js → rpc-q65b0zw3.js} +41 -41
- package/dist/chunks/{form-fs6b610g.js → rpc-qc67d349.js} +11 -11
- package/dist/chunks/{form-zn6cgmq1.js → rpc-qjfd8twb.js} +32 -32
- package/dist/chunks/{form-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{form-3d7d73y7.js → rpc-qv0sc65t.js} +6 -6
- package/dist/chunks/{form-0n8a0ffz.js → rpc-qzm6q9ch.js} +6 -6
- package/dist/chunks/{form-sxcaecc0.js → rpc-r2z489rp.js} +3 -3
- package/dist/chunks/{form-21r3m04z.js → rpc-r7vb4k0a.js} +14 -14
- package/dist/chunks/{form-k5yp4jza.js → rpc-rccf3xte.js} +38 -38
- package/dist/chunks/{form-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → rpc-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → rpc-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-1tmtn4f0.js → rpc-rjnv3zd2.js} +20 -20
- package/dist/chunks/{form-py3kkmfq.js → rpc-rkprpv83.js} +2 -2
- package/dist/chunks/{form-rmb1gw6x.js → rpc-rptgsz2k.js} +21 -21
- package/dist/chunks/{form-3a2zxt72.js → rpc-s4b91j0y.js} +14 -14
- package/dist/chunks/{form-sa8ekw3f.js → rpc-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-vygwap6r.js → rpc-sce1vgyn.js} +3 -3
- package/dist/chunks/{form-6s0a03gm.js → rpc-spdyatzf.js} +24 -24
- package/dist/chunks/{form-6f7em8tn.js → rpc-sq13d96m.js} +13 -13
- package/dist/chunks/{form-58072hz9.js → rpc-ss358qx3.js} +3 -3
- package/dist/chunks/{form-gr6bp44c.js → rpc-stw4zx2z.js} +17 -17
- package/dist/chunks/{form-ycwe7tdf.js → rpc-sw038fb9.js} +18 -18
- package/dist/chunks/{form-50rkvycx.js → rpc-sygj34gt.js} +22 -22
- package/dist/chunks/{form-syv4x271.js → rpc-syv4x271.js} +1 -1
- package/dist/chunks/{form-8tp1gwdj.js → rpc-t3p0q4cs.js} +32 -32
- package/dist/chunks/{form-7pqmk9b7.js → rpc-t8yrtgjx.js} +11 -11
- package/dist/chunks/{form-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-b7jha8hs.js → rpc-td2fazyb.js} +7 -7
- package/dist/chunks/{form-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{form-7c4aq7s6.js → rpc-teyvr9pn.js} +13 -13
- package/dist/chunks/{form-09rh3qbs.js → rpc-tgv1vth5.js} +17 -17
- package/dist/chunks/{form-tm0kqsz3.js → rpc-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-dq407baf.js → rpc-tt8gc4fv.js} +6 -6
- package/dist/chunks/{form-waskdk5r.js → rpc-txm3e8qz.js} +4 -4
- package/dist/chunks/{form-dgct1c5d.js → rpc-tynxprqf.js} +9 -9
- package/dist/chunks/{form-ccjfg0tr.js → rpc-tyttjw0w.js} +33 -33
- package/dist/chunks/{form-tyytaxap.js → rpc-tyytaxap.js} +1 -1
- package/dist/chunks/{form-v210v162.js → rpc-v210v162.js} +2 -2
- package/dist/chunks/{form-v7p4zvkq.js → rpc-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-bgc5ggmx.js → rpc-v7z2bvyd.js} +4 -4
- package/dist/chunks/{form-zt93p4vm.js → rpc-veff5j2c.js} +19 -19
- package/dist/chunks/{form-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{form-2r00bf87.js → rpc-vnb8gzb8.js} +18 -18
- package/dist/chunks/rpc-vnkjks7b.js +18 -0
- package/dist/chunks/{form-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-f0ftzx98.js → rpc-w8djw5a7.js} +9 -9
- package/dist/chunks/{form-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{form-byehbd7c.js → rpc-wddqga6e.js} +9 -9
- package/dist/chunks/{form-ze4ea8mz.js → rpc-wgcwex3a.js} +11 -11
- package/dist/chunks/{form-745spws3.js → rpc-wr93r6cw.js} +25 -25
- package/dist/chunks/{form-440je11f.js → rpc-wwrfz3b0.js} +27 -27
- package/dist/chunks/{form-bc1hz80r.js → rpc-x0t5pnxf.js} +16 -16
- package/dist/chunks/{form-hdzv5k9p.js → rpc-x9bjgwq0.js} +11 -11
- package/dist/chunks/{form-zjfytr3m.js → rpc-xhht67kb.js} +18 -18
- package/dist/chunks/{form-w56rxd4n.js → rpc-xjz1052a.js} +13 -13
- package/dist/chunks/{form-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-dpkg50ah.js → rpc-y71avatq.js} +4 -4
- package/dist/chunks/{form-d7x0sh0y.js → rpc-y7nndgyc.js} +9 -9
- package/dist/chunks/{form-960ccn17.js → rpc-y9sqk9tm.js} +325 -325
- package/dist/chunks/{form-jdmw2rsk.js → rpc-yhvd17me.js} +19 -19
- package/dist/chunks/{form-h4bnd9mc.js → rpc-ymek8a0n.js} +11 -11
- package/dist/chunks/{form-1acjjqhc.js → rpc-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-djdfaxd1.js → rpc-yy4dw9jz.js} +39 -39
- package/dist/chunks/{form-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z18fegx4.js → rpc-z18fegx4.js} +1 -1
- package/dist/chunks/{form-9q9cc4yk.js → rpc-z2595r2k.js} +13 -13
- package/dist/chunks/{form-8p4v04p7.js → rpc-z5xa59k4.js} +3 -3
- package/dist/chunks/{form-7y1apa1f.js → rpc-z9eaewrq.js} +12 -12
- package/dist/chunks/{form-rgy0q2mm.js → rpc-zezswsb1.js} +9 -9
- package/dist/chunks/rpc-zgrqbn7y.js +26 -0
- package/dist/chunks/{form-ysn0w3pq.js → rpc-zjx3dfpq.js} +57 -57
- package/dist/chunks/{form-g091zayf.js → rpc-zkdr3trz.js} +22 -22
- package/dist/chunks/{form-dys7k0s0.js → rpc-zq01xz8r.js} +8 -8
- package/dist/chunks/{form-m8xah3g8.js → rpc-zqq0bw5m.js} +15 -15
- package/dist/chunks/{form-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-e9hz0076.js → rpc-zrhb62f8.js} +12 -12
- package/dist/chunks/{form-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-5b351nnx.js → rpc-zz959vma.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +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 +116 -116
- 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 +136 -136
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +370 -370
- 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 +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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 +114 -114
- 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 +123 -123
- 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 +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 +347 -347
- 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 +8 -8
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +134 -134
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +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 +223 -223
- 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 +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +3 -3
- 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 +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-m40er8qz.js +0 -26
- package/dist/chunks/form-n95b3jav.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → rpc-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → rpc-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → rpc-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin17
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin17 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin49 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin17, exports_mcp_codemode_defaults };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-q2wkjcq3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-6f0mpgjx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service71
|
|
11
|
+
} from "./rpc-hy1sb00p.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-8fvc1552.js";
|
|
16
16
|
import {
|
|
17
17
|
ID9,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-3zmp6mvq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID5,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info15
|
|
24
|
+
} from "./rpc-gyyzyjff.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./rpc-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-dchhc6c0.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ 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
46
|
var providerID = ID9.openai;
|
|
47
|
-
var integrationID =
|
|
47
|
+
var integrationID = ID10.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* Service71;
|
|
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(ID10.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(Event16.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(ID5.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID9.openai, ID5.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-6f0mpgjx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service44,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node48
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service44, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node48 = makeLocationNode({
|
|
75
|
+
service: Service44,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError5, ExecutionError2, Service44, layer22, node48, exports_command4, Event9 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service22,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service22 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service22.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service22, awaitActivation2, exports_service };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service73,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node77
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service73 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service73.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service73, node77, exports_image2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-q2wkjcq3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./rpc-hy1sb00p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-8fvc1552.js";
|
|
12
12
|
import {
|
|
13
13
|
ID9,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-3zmp6mvq.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service71;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./rpc-rccf3xte.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./rpc-w8djw5a7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const image = yield* Service73;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin19 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin36, exports_image };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-2ywtyz89.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-6f0mpgjx.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-ss358qx3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-nfaj7hc4.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/inbox.ts
|
|
33
33
|
var exports_inbox = {};
|
|
@@ -35,12 +35,12 @@ __export(exports_inbox, {
|
|
|
35
35
|
Compaction: () => Compaction2,
|
|
36
36
|
CompactionPayload: () => CompactionPayload2,
|
|
37
37
|
Delivery: () => Delivery2,
|
|
38
|
-
Info: () =>
|
|
38
|
+
Info: () => Info14,
|
|
39
39
|
Item: () => Item2,
|
|
40
40
|
LifecycleConflict: () => LifecycleConflict2,
|
|
41
41
|
Move: () => Move2,
|
|
42
42
|
MovePayload: () => MovePayload2,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service52,
|
|
44
44
|
SessionInbox: () => exports_inbox,
|
|
45
45
|
Synthetic: () => Synthetic2,
|
|
46
46
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -48,12 +48,12 @@ __export(exports_inbox, {
|
|
|
48
48
|
UserPayload: () => UserPayload2,
|
|
49
49
|
find: () => find2,
|
|
50
50
|
has: () => has2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
list: () =>
|
|
53
|
-
make: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
|
+
list: () => list3,
|
|
53
|
+
make: () => make17,
|
|
54
54
|
moveIDs: () => moveIDs2,
|
|
55
55
|
nextPromotable: () => nextPromotable2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node55,
|
|
57
57
|
projectAdmitted: () => projectAdmitted2,
|
|
58
58
|
projectCancelled: () => projectCancelled2,
|
|
59
59
|
projectDelivered: () => projectDelivered2,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
Compaction as Compaction2,
|
|
69
69
|
CompactionPayload as CompactionPayload2,
|
|
70
70
|
Delivery as Delivery2,
|
|
71
|
-
Info as
|
|
71
|
+
Info as Info14,
|
|
72
72
|
Item as Item2,
|
|
73
73
|
Move as Move2,
|
|
74
74
|
MovePayload as MovePayload2,
|
|
@@ -153,9 +153,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
153
153
|
return yield* new LifecycleConflict2({ id });
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
class
|
|
156
|
+
class Service52 extends Context.Service()("@opencode/SessionInbox") {
|
|
157
157
|
}
|
|
158
|
-
var
|
|
158
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
159
159
|
const database = yield* Service86;
|
|
160
160
|
const db = database.db;
|
|
161
161
|
const bus = yield* Service85;
|
|
@@ -175,7 +175,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
175
175
|
inboxID: request.id,
|
|
176
176
|
sessionID: request.sessionID,
|
|
177
177
|
item: request.item
|
|
178
|
-
}).pipe(Effect.map((event) =>
|
|
178
|
+
}).pipe(Effect.map((event) => Info14.make({
|
|
179
179
|
id: request.id,
|
|
180
180
|
sessionID: request.sessionID,
|
|
181
181
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -195,7 +195,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
195
195
|
}
|
|
196
196
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
197
197
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
198
|
-
const pending = (yield*
|
|
198
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
199
199
|
if (pending)
|
|
200
200
|
return pending;
|
|
201
201
|
return yield* admit({
|
|
@@ -220,7 +220,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
220
220
|
delivery: "queue"
|
|
221
221
|
})));
|
|
222
222
|
return {
|
|
223
|
-
list: (sessionID) =>
|
|
223
|
+
list: (sessionID) => list3(db, sessionID),
|
|
224
224
|
reconcile,
|
|
225
225
|
admit,
|
|
226
226
|
admitCompaction,
|
|
@@ -229,8 +229,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
229
229
|
queue
|
|
230
230
|
};
|
|
231
231
|
});
|
|
232
|
-
var
|
|
233
|
-
var
|
|
232
|
+
var layer26 = Layer.effect(Service52, make17());
|
|
233
|
+
var node55 = makeGlobalNode({ service: Service52, layer: layer26, deps: [node90, node89] });
|
|
234
234
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
235
235
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
236
236
|
if (message !== undefined)
|
|
@@ -268,7 +268,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
268
268
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
269
269
|
to: input.delivery
|
|
270
270
|
}));
|
|
271
|
-
var
|
|
271
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
272
272
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
273
273
|
return rows.map(fromRow);
|
|
274
274
|
});
|
|
@@ -328,4 +328,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
328
328
|
return rows;
|
|
329
329
|
}));
|
|
330
330
|
|
|
331
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
331
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service52, make17, layer26, node55, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|