@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,32 +1,32 @@
|
|
|
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
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-01eq5551.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service38,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node42,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source4 = Skill.Source;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var Info7 = Skill.Info;
|
|
44
|
+
var ID4 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service38 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID4.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID4.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID4.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node42 = makeLocationNode({
|
|
119
|
+
service: Service38,
|
|
120
120
|
layer,
|
|
121
121
|
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID4, Name2, available3, toModelOutput3, prepare3, Service38, node42, exports_skill5, Event6 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-6f0mpgjx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID11,
|
|
6
|
+
Event16,
|
|
7
|
+
Service71
|
|
8
|
+
} from "./rpc-hy1sb00p.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-3zmp6mvq.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-dchhc6c0.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service71;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -66,7 +66,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
68
|
const connection = yield* ctx.integration.connection.active(ID9.googleVertex);
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-hkq80jaq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./rpc-n0aztcqq.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-hkq80jaq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./rpc-rccf3xte.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-ftm64v0w.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./rpc-y7nndgyc.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-jsba75yt.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
scan2
|
|
27
|
+
} from "./rpc-bzeyqsqd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
33
|
var exports_skill2 = {};
|
|
34
34
|
__export(exports_skill2, {
|
|
35
35
|
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin35
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin35 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service47;
|
|
47
|
+
const discovery = yield* Service10;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
50
|
const location = yield* Service82;
|
|
51
|
-
const watcher = yield*
|
|
51
|
+
const watcher = yield* Service48;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -122,7 +122,7 @@ var Plugin33 = define({
|
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
123
123
|
const skills = [];
|
|
124
124
|
for (const directory of directories) {
|
|
125
|
-
for (const filepath of yield*
|
|
125
|
+
for (const filepath of yield* scan2(directory)) {
|
|
126
126
|
const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
|
|
127
127
|
if (!roots.some((root) => FSUtil.contains(root, resolved)))
|
|
128
128
|
yield* watch(resolved, "file");
|
|
@@ -179,4 +179,4 @@ var Plugin33 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin35, exports_skill2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-txm3e8qz.js";
|
|
7
|
+
import {
|
|
8
|
+
Info9
|
|
9
|
+
} from "./rpc-zq01xz8r.js";
|
|
7
10
|
import {
|
|
8
11
|
Info13
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./rpc-6hh8tjw2.js";
|
|
10
13
|
import {
|
|
11
14
|
Info11
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Info15
|
|
15
|
-
} from "./form-kjdm35cs.js";
|
|
15
|
+
} from "./rpc-g6yfr6ja.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info10
|
|
21
|
+
} from "./rpc-gj71zhbs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-7a74wjkd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -430,7 +430,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
430
430
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
431
431
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
432
432
|
return [];
|
|
433
|
-
const provider = decodeValue(
|
|
433
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
434
434
|
if (provider === undefined)
|
|
435
435
|
return [];
|
|
436
436
|
const destination = providerID2(name);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service84,
|
|
9
9
|
node88
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-j6ktnsbj.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-hkq80jaq.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID8,
|
|
27
|
+
Service: () => Service66,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node70,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID8 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service66 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID8.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service66.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node70 = makeLocationNode({
|
|
153
|
+
service: Service66,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node88, Global.node, node86]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service66, Service66.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service46, Service46.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error5({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID8, Error5, Service66, node70, noopLayer3, exports_snapshot2 };
|