@opencode/core 0.0.0-dev-21020 → 0.0.0-dev-21022
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 +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{git-0gdmqesm.js → generate-02nrjc1r.js} +8 -8
- package/dist/chunks/{git-6cdy90xd.js → generate-03qpgtxm.js} +39 -39
- package/dist/chunks/{git-h5p5sqw4.js → generate-08xsmh6n.js} +3 -3
- package/dist/chunks/{git-qsy2hnp3.js → generate-0a8ksa24.js} +10 -10
- package/dist/chunks/{git-85wq36yf.js → generate-0crr0gfc.js} +19 -19
- package/dist/chunks/{git-hfbyhya8.js → generate-0d5fjz2h.js} +10 -10
- package/dist/chunks/{git-4nj4bn9q.js → generate-0jq9fyba.js} +9 -9
- package/dist/chunks/{git-1qqnj077.js → generate-0sg4sx3g.js} +43 -43
- package/dist/chunks/{git-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-zz7jnkzn.js → generate-0ywb27hw.js} +24 -24
- package/dist/chunks/{git-2e7f9scb.js → generate-1eg42xax.js} +24 -24
- package/dist/chunks/{git-wjr9rjd7.js → generate-1ffvrpkg.js} +9 -9
- package/dist/chunks/{git-akmhe6es.js → generate-1stxgd8c.js} +16 -16
- package/dist/chunks/{git-hz1jhskc.js → generate-1w8fdk0d.js} +10 -10
- package/dist/chunks/{git-04wnsr0b.js → generate-1wqw6d7n.js} +7 -7
- package/dist/chunks/{git-fanhrq7d.js → generate-2fkkh717.js} +13 -13
- package/dist/chunks/{git-9hq9njac.js → generate-2hk2ydh2.js} +3 -3
- package/dist/chunks/{git-2k8khapm.js → generate-2k8khapm.js} +1 -1
- package/dist/chunks/{git-yssqz2tb.js → generate-2mr82eke.js} +4 -4
- package/dist/chunks/{git-6h9ztbaz.js → generate-2zq4dj3s.js} +19 -19
- package/dist/chunks/{git-2m90p0f2.js → generate-319jyy1m.js} +17 -17
- package/dist/chunks/{git-dvzj1xmf.js → generate-32gpd1xw.js} +10 -10
- package/dist/chunks/generate-38rcd1wy.js +26 -0
- package/dist/chunks/{git-1426e4tb.js → generate-3cb4vsbh.js} +35 -35
- package/dist/chunks/{git-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-sg6pmba3.js → generate-3pm9ry58.js} +11 -11
- package/dist/chunks/{git-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-77sc6xgt.js → generate-457s9w80.js} +10 -10
- package/dist/chunks/{git-4a7gy6vj.js → generate-48kw51zw.js} +3 -3
- package/dist/chunks/{git-kjzp4feh.js → generate-4e0p0fpd.js} +50 -50
- package/dist/chunks/{git-4ekscj25.js → generate-4ekscj25.js} +2 -2
- package/dist/chunks/{git-c5jgzh5f.js → generate-4evbv4gb.js} +22 -22
- package/dist/chunks/{git-mhprw537.js → generate-4fvt83t5.js} +3 -3
- package/dist/chunks/{git-327r5152.js → generate-4rx0zshk.js} +8 -8
- package/dist/chunks/{git-fzmbt9me.js → generate-4z39z968.js} +1 -1
- package/dist/chunks/{git-7gnyf1a7.js → generate-51qcsxgk.js} +11 -11
- package/dist/chunks/{git-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{git-ambchc19.js → generate-5fhve76z.js} +45 -45
- package/dist/chunks/{git-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-esbhy878.js → generate-5pr12dw0.js} +15 -15
- package/dist/chunks/{git-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
- package/dist/chunks/{git-s2qn355b.js → generate-61va9acd.js} +19 -19
- package/dist/chunks/{git-0rmr5qer.js → generate-6424kev6.js} +15 -15
- package/dist/chunks/{git-bpq8bv7g.js → generate-647metxh.js} +75 -75
- package/dist/chunks/{git-arnhpe0z.js → generate-66x3e96s.js} +11 -11
- package/dist/chunks/{git-q4kb9483.js → generate-68yg9n24.js} +14 -14
- package/dist/chunks/{git-w323274d.js → generate-6gkwybtq.js} +15 -15
- package/dist/chunks/{git-8sze2n9a.js → generate-6pc27hjz.js} +2 -2
- package/dist/chunks/{git-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-2qdgnb1c.js → generate-6xg49yv5.js} +21 -21
- package/dist/chunks/{git-pm8e59zn.js → generate-71c3ma91.js} +2 -2
- package/dist/chunks/{git-775gj3j1.js → generate-775gj3j1.js} +2 -2
- package/dist/chunks/{git-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-dx0ahrbs.js → generate-7hhqs9ev.js} +11 -11
- package/dist/chunks/{git-ppy949mp.js → generate-7ph0vnsv.js} +8 -8
- package/dist/chunks/{git-7djggyfs.js → generate-7r0r2nec.js} +35 -35
- package/dist/chunks/{git-1mvfkh72.js → generate-820m75ay.js} +23 -23
- package/dist/chunks/{git-ka537s8x.js → generate-82jnz8vq.js} +17 -17
- package/dist/chunks/{git-ctz7jbry.js → generate-8aaqm6qj.js} +8 -8
- package/dist/chunks/{git-bxr47hc4.js → generate-8g2t0nrb.js} +11 -11
- package/dist/chunks/{git-tjztzgd5.js → generate-8j6692t6.js} +7 -7
- package/dist/chunks/{git-j1441nnn.js → generate-8k39r2mp.js} +11 -11
- package/dist/chunks/{git-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-160pwc7a.js → generate-8npnmh1j.js} +7 -7
- package/dist/chunks/{git-d5z54tqc.js → generate-8qqj46vq.js} +17 -17
- package/dist/chunks/{git-kg0qcfxc.js → generate-8tm3358f.js} +16 -16
- package/dist/chunks/{git-q52nff5p.js → generate-8xf62mhm.js} +22 -22
- package/dist/chunks/{git-8q7ghtqs.js → generate-8yrtv903.js} +14 -14
- package/dist/chunks/{git-tcay1cqt.js → generate-909p1r3q.js} +6 -6
- package/dist/chunks/{git-5fmkgt82.js → generate-90nc1nhv.js} +45 -45
- package/dist/chunks/{git-91qna3x0.js → generate-91qna3x0.js} +3 -3
- package/dist/chunks/{git-tapzf8fe.js → generate-9at6tv1c.js} +9 -9
- package/dist/chunks/{git-27qbm3z0.js → generate-9cgjtbjp.js} +20 -20
- package/dist/chunks/{git-tcd7y0pj.js → generate-9d8ha7wk.js} +3 -3
- package/dist/chunks/{git-xdjerwe0.js → generate-9eb0cyrw.js} +13 -13
- package/dist/chunks/{git-0w1y0rgd.js → generate-9jhc6p5j.js} +11 -11
- package/dist/chunks/{git-ed0h16fb.js → generate-9mp1bzg1.js} +19 -19
- package/dist/chunks/{git-h0eapdxh.js → generate-9xxh1q1e.js} +5 -5
- package/dist/chunks/{git-9gjm14vs.js → generate-9znwrv1e.js} +32 -32
- package/dist/chunks/{git-a1pzv0af.js → generate-ad8sbtaf.js} +5 -5
- package/dist/chunks/{git-e16y58tk.js → generate-agbrrg4r.js} +18 -18
- package/dist/chunks/{git-qkc9yjvc.js → generate-ak963xne.js} +33 -33
- package/dist/chunks/{git-2frv8mpr.js → generate-amcg9hk8.js} +30 -30
- package/dist/chunks/{git-6bt2wg6w.js → generate-azdezd4n.js} +35 -35
- package/dist/chunks/{git-q0d6zxbh.js → generate-b1nmds8p.js} +20 -20
- package/dist/chunks/{git-fpgxzyw5.js → generate-b3sm7x6w.js} +28 -28
- package/dist/chunks/{git-y971thnt.js → generate-b65pmv0k.js} +27 -27
- package/dist/chunks/{git-bd94ff7m.js → generate-bg9pb3hs.js} +8 -8
- package/dist/chunks/{git-gb7d80af.js → generate-bjnagtpr.js} +9 -9
- package/dist/chunks/{git-4d2zqy8g.js → generate-bmz30bfc.js} +11 -11
- package/dist/chunks/{git-vmj9fr13.js → generate-bt618zmv.js} +22 -22
- package/dist/chunks/generate-by5v678g.js +18 -0
- package/dist/chunks/{git-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
- package/dist/chunks/{git-chy8rxbs.js → generate-c3k8fx1y.js} +16 -16
- package/dist/chunks/{git-gbh65n66.js → generate-c9wbyant.js} +4 -4
- package/dist/chunks/{git-t2qr8xwz.js → generate-cfybw0sz.js} +11 -11
- package/dist/chunks/{git-d6p1hscb.js → generate-ck04n157.js} +28 -28
- package/dist/chunks/{git-80nz7nyq.js → generate-ctzqdfkd.js} +15 -15
- package/dist/chunks/{git-v6ghzfeb.js → generate-d9wzmzc3.js} +5 -5
- package/dist/chunks/{git-3y377wv9.js → generate-db2wf4at.js} +4 -4
- package/dist/chunks/{git-6mt4s7pc.js → generate-dc5wd9ye.js} +15 -15
- package/dist/chunks/{git-k02bsv5j.js → generate-dk51qrek.js} +32 -32
- package/dist/chunks/{git-dqxsqydv.js → generate-dqxsqydv.js} +1 -1
- package/dist/chunks/{git-5q44j617.js → generate-dr348f92.js} +13 -13
- package/dist/chunks/{git-xfkkasph.js → generate-drwq78ky.js} +4 -4
- package/dist/chunks/{git-h8hrp1zc.js → generate-dw8wxjxb.js} +4 -4
- package/dist/chunks/{git-rjw0cna6.js → generate-e4p24ara.js} +14 -14
- package/dist/chunks/{git-fbft5n7v.js → generate-e7n3ya83.js} +35 -35
- package/dist/chunks/{git-c7zza6wf.js → generate-e80seqcp.js} +3 -3
- package/dist/chunks/{git-pppx0110.js → generate-eabkatpb.js} +4 -4
- package/dist/chunks/{git-az0b5dgs.js → generate-ed2aanj4.js} +6 -6
- package/dist/chunks/{git-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-g6gm77cp.js → generate-evsxga0j.js} +11 -11
- package/dist/chunks/{git-camaazgp.js → generate-ewprqnzw.js} +26 -26
- package/dist/chunks/{git-5dkn69vz.js → generate-f29mbr7f.js} +4 -4
- package/dist/chunks/{git-yp2x3t23.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{git-qpbqb2nr.js → generate-f5xe0mk2.js} +23 -23
- package/dist/chunks/{git-0xcda8sn.js → generate-fa0b3k97.js} +12 -12
- package/dist/chunks/{git-f4yxj0vv.js → generate-ff1ymwtx.js} +23 -23
- package/dist/chunks/{git-4434d9q2.js → generate-fpecnkgp.js} +9 -9
- package/dist/chunks/{git-3gs24s9g.js → generate-fs96esax.js} +26 -26
- package/dist/chunks/{git-1besy32e.js → generate-fsj12tdk.js} +11 -11
- package/dist/chunks/{git-eys57y9b.js → generate-g0445xdp.js} +8 -8
- package/dist/chunks/{git-v1vh7s4p.js → generate-g686f6pq.js} +9 -9
- package/dist/chunks/{git-vbzwagc9.js → generate-gcb2m958.js} +30 -30
- package/dist/chunks/{git-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-wd0vxgyq.js → generate-gm2e0st7.js} +18 -18
- package/dist/chunks/{git-hzn12ym2.js → generate-gr2xtfax.js} +11 -11
- package/dist/chunks/{git-nz760qet.js → generate-gwaq8jy9.js} +24 -24
- package/dist/chunks/{git-bhz85x75.js → generate-h2mwb1rt.js} +8 -8
- package/dist/chunks/{git-hyqew7s4.js → generate-h3k0sdzw.js} +9 -9
- package/dist/chunks/{git-kg5y8km3.js → generate-h61jsw8z.js} +26 -26
- package/dist/chunks/{git-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
- package/dist/chunks/{git-n6mj5fd0.js → generate-hbqwyh5b.js} +9 -9
- package/dist/chunks/{git-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-y276d5pa.js → generate-hsakzz9a.js} +14 -14
- package/dist/chunks/{git-d0nnwg73.js → generate-hzkveby0.js} +6 -6
- package/dist/chunks/{git-bjqx3wez.js → generate-j3nkb9wj.js} +12 -12
- package/dist/chunks/{git-ca9ag5jd.js → generate-jerzhz83.js} +13 -13
- package/dist/chunks/{git-cm15zwkz.js → generate-jj2708p2.js} +5 -5
- package/dist/chunks/{git-6g107h22.js → generate-jk540des.js} +2 -2
- package/dist/chunks/{git-06tsrf37.js → generate-jm2dqw0s.js} +6 -6
- package/dist/chunks/{git-cqa25d74.js → generate-jsre8083.js} +38 -38
- package/dist/chunks/{git-zeakd07k.js → generate-k01atk97.js} +37 -37
- package/dist/chunks/{git-4z7vdsey.js → generate-k045zbz9.js} +45 -45
- package/dist/chunks/{git-e264yjjw.js → generate-k1bs2h3f.js} +23 -23
- package/dist/chunks/{git-vaz5x21m.js → generate-k2esz74z.js} +197 -197
- package/dist/chunks/{git-ty3gh6kk.js → generate-k7qgnp9n.js} +19 -19
- package/dist/chunks/{git-axms0aaz.js → generate-kdn70dry.js} +21 -21
- package/dist/chunks/{git-hpchzyjw.js → generate-kgs10km5.js} +1 -1
- package/dist/chunks/{git-dhmh7aw6.js → generate-kne8f3cn.js} +4 -4
- package/dist/chunks/{git-cr0f5pn5.js → generate-kxxbqm5f.js} +62 -62
- package/dist/chunks/{git-5yq7dtg5.js → generate-m1efmtwr.js} +47 -47
- package/dist/chunks/{git-av3rebby.js → generate-m1ywmr27.js} +5 -5
- package/dist/chunks/{git-dxdsq1ga.js → generate-m3emc3g7.js} +51 -51
- package/dist/chunks/{git-qa2ngjj1.js → generate-m6twg17p.js} +13 -13
- package/dist/chunks/{git-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{git-3k91j3pc.js → generate-mfxyg6fd.js} +2 -2
- package/dist/chunks/{git-9rqfmaaw.js → generate-mrm6qzaa.js} +27 -27
- package/dist/chunks/{git-80q3tzn0.js → generate-mtntnqk5.js} +29 -29
- package/dist/chunks/{git-s7a7q68w.js → generate-mv100j38.js} +8 -8
- package/dist/chunks/{git-n2srvep7.js → generate-nb9p6b26.js} +4 -4
- package/dist/chunks/{git-j23xp3rg.js → generate-nhyepbsc.js} +14 -14
- package/dist/chunks/{git-h64syw7g.js → generate-njf7rzjw.js} +17 -17
- package/dist/chunks/{git-2kbxssc4.js → generate-nq3r004t.js} +6 -6
- package/dist/chunks/{git-fxaymqdw.js → generate-ny8edt06.js} +4 -4
- package/dist/chunks/{git-tqpy3vfr.js → generate-nyb09g2v.js} +24 -24
- package/dist/chunks/{git-6ejxrw0z.js → generate-nz00s972.js} +9 -9
- package/dist/chunks/{git-2mvdces3.js → generate-p1thmww4.js} +12 -12
- package/dist/chunks/{git-v40jhfgv.js → generate-p5p106c5.js} +28 -28
- package/dist/chunks/{git-2cb3tdsa.js → generate-p79ar1np.js} +8 -8
- package/dist/chunks/{git-saft7jqm.js → generate-p9r2c5t1.js} +7 -7
- package/dist/chunks/{git-tq54tggv.js → generate-pab3ay35.js} +23 -23
- package/dist/chunks/{git-nk04yc8p.js → generate-pe1ys5ng.js} +20 -20
- package/dist/chunks/{git-962642t6.js → generate-pe36awch.js} +16 -16
- package/dist/chunks/{git-cwa399ss.js → generate-ph6a4evn.js} +19 -19
- package/dist/chunks/{git-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{git-b1rn6ejy.js → generate-pnq2asy9.js} +20 -20
- package/dist/chunks/generate-pp5qxgcs.js +253 -0
- package/dist/chunks/{git-800pf2ey.js → generate-pvywfm1n.js} +4 -4
- package/dist/chunks/{git-fb77j2tq.js → generate-q0bv3cn2.js} +59 -59
- package/dist/chunks/{git-20wnnq6g.js → generate-q0wwkmtc.js} +18 -18
- package/dist/chunks/{git-0j77ygfz.js → generate-q0xm7vwc.js} +6 -6
- package/dist/chunks/{git-yefkbma1.js → generate-q1x1rvbe.js} +29 -29
- package/dist/chunks/{git-3bvntg95.js → generate-q4q0tmjh.js} +38 -38
- package/dist/chunks/{git-jhdf29st.js → generate-q5e7cmwt.js} +1 -1
- package/dist/chunks/{git-ehxvrac8.js → generate-q806gczq.js} +13 -13
- package/dist/chunks/{git-3mkrhvdx.js → generate-q92qcf3t.js} +13 -13
- package/dist/chunks/{git-w8t6yxk8.js → generate-qaw4ptrj.js} +13 -13
- package/dist/chunks/{git-yb885tzd.js → generate-qbkpptp7.js} +22 -22
- package/dist/chunks/{git-5aeb062r.js → generate-qfzqcc6n.js} +33 -33
- package/dist/chunks/{git-cfgt6bdr.js → generate-qjvd7p01.js} +17 -17
- package/dist/chunks/{git-8tvc8s6h.js → generate-qmkghy1h.js} +11 -11
- package/dist/chunks/{git-79qaa2kf.js → generate-qmqgtz8f.js} +9 -9
- package/dist/chunks/{git-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{git-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-rert0e01.js → generate-rert0e01.js} +2 -2
- package/dist/chunks/{git-y7zsnxq4.js → generate-rgy34r50.js} +4 -4
- package/dist/chunks/{git-axe0bz6b.js → generate-rhk74dyv.js} +39 -39
- package/dist/chunks/{git-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
- package/dist/chunks/{git-w0tfgnf2.js → generate-rqa1jxse.js} +2 -2
- package/dist/chunks/{git-tz74y624.js → generate-rr2frrzn.js} +22 -22
- package/dist/chunks/{git-6tse523n.js → generate-rr58t4fd.js} +23 -23
- package/dist/chunks/{git-tkmwgdpd.js → generate-ryr25ayn.js} +7 -7
- package/dist/chunks/{git-r73gxetb.js → generate-s3cm33sf.js} +10 -10
- package/dist/chunks/{git-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
- package/dist/chunks/{git-b3f8fkhc.js → generate-scgrse2b.js} +5 -5
- package/dist/chunks/{git-qx7s22zk.js → generate-sfhqvnpf.js} +28 -28
- package/dist/chunks/{git-jwvm7gej.js → generate-sjqh3mj3.js} +5 -5
- package/dist/chunks/{git-ws3nt8g0.js → generate-svmrvdvs.js} +14 -14
- package/dist/chunks/{git-syv4x271.js → generate-syv4x271.js} +1 -1
- package/dist/chunks/{git-045nn9pc.js → generate-sz15zhhw.js} +9 -9
- package/dist/chunks/{git-gnbgkv9z.js → generate-t5wwwxkh.js} +5 -5
- package/dist/chunks/{git-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-95tq7yv1.js → generate-tdf8hw5n.js} +88 -88
- package/dist/chunks/{git-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{git-esdsw5hn.js → generate-tgk3qf8f.js} +9 -9
- package/dist/chunks/{git-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
- package/dist/chunks/{git-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{git-fy3mehht.js → generate-v4mqz3w8.js} +5 -5
- package/dist/chunks/{git-2zknaymx.js → generate-v4zj8138.js} +27 -27
- package/dist/chunks/{git-0wj29s15.js → generate-v5p3rnnz.js} +333 -333
- package/dist/chunks/{git-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{git-9m3sgeft.js → generate-vhtfstd8.js} +14 -14
- package/dist/chunks/{git-rda2qpa7.js → generate-vjkbc1z2.js} +5 -5
- package/dist/chunks/{git-nmg59fc6.js → generate-vnv9wwnh.js} +11 -11
- package/dist/chunks/{git-1qg3q56q.js → generate-vpxrjyh9.js} +22 -22
- package/dist/chunks/{git-0c8x1b4f.js → generate-vw95np9e.js} +40 -40
- package/dist/chunks/{git-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w1eejvng.js → generate-w1eejvng.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-xvtqr6gp.js → generate-w5zzhgd0.js} +8 -8
- package/dist/chunks/{git-ngwpesc0.js → generate-wafexnmx.js} +29 -29
- package/dist/chunks/{git-rb4mbqq0.js → generate-wb0v33rf.js} +15 -15
- package/dist/chunks/{git-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{git-kjdm35cs.js → generate-wh6zw745.js} +5 -5
- package/dist/chunks/{git-e6nbdtth.js → generate-whebsv80.js} +93 -93
- package/dist/chunks/{git-cg22jcxb.js → generate-wkcx7fj9.js} +6 -6
- package/dist/chunks/{git-qfb2n6w8.js → generate-ws8gre0k.js} +4 -4
- package/dist/chunks/{git-d737nyfv.js → generate-xdx7acry.js} +9 -9
- package/dist/chunks/{git-6kcqcecw.js → generate-xhtmvx5q.js} +12 -12
- package/dist/chunks/{git-3bscz66d.js → generate-xkm5zh6x.js} +29 -29
- package/dist/chunks/{git-9gbtz9hn.js → generate-xnt6fver.js} +40 -40
- package/dist/chunks/{git-3my7b5tm.js → generate-xtbhb3vb.js} +4 -4
- package/dist/chunks/{git-4dr476sk.js → generate-xy02r08k.js} +4 -4
- package/dist/chunks/{git-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-1caamthg.js → generate-y39tjqdd.js} +24 -24
- package/dist/chunks/{git-v76w5y0p.js → generate-y6agp0rp.js} +17 -17
- package/dist/chunks/{git-ra5e1p3e.js → generate-y6nmpnm5.js} +34 -34
- package/dist/chunks/{git-x0qfghwr.js → generate-y6t3xqc7.js} +36 -36
- package/dist/chunks/{git-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{git-m1y5bjyb.js → generate-y932fbb5.js} +20 -20
- package/dist/chunks/{git-3pykwxdf.js → generate-y9pr6q2f.js} +33 -33
- package/dist/chunks/{git-ex36thft.js → generate-yc4d889b.js} +17 -17
- package/dist/chunks/{git-szsx7q7s.js → generate-yeereb2r.js} +19 -19
- package/dist/chunks/{git-jtcm6ah7.js → generate-yfxs65tx.js} +21 -21
- package/dist/chunks/{git-9hwaqfsw.js → generate-ygdna4kr.js} +5 -5
- package/dist/chunks/{git-30846h32.js → generate-ypw91m64.js} +8 -8
- package/dist/chunks/{git-20wzg7fj.js → generate-yz9yqyt1.js} +8 -8
- package/dist/chunks/{git-bvch94c9.js → generate-yzt2x2kg.js} +45 -45
- package/dist/chunks/{git-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-nmc4rv8c.js → generate-z0bysbaa.js} +35 -35
- package/dist/chunks/{git-bbnvtmzd.js → generate-z8fpjdp3.js} +47 -47
- package/dist/chunks/{git-yjhx1jvs.js → generate-z964fg8a.js} +24 -24
- package/dist/chunks/{git-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-zy43x3f1.js → generate-zy43x3f1.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- 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 +368 -368
- 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 +97 -97
- 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 +76 -76
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- 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 +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +2 -2
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +135 -135
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +118 -118
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- 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/git-9sh4wc5j.js +0 -18
- package/dist/chunks/git-s8xv3ahs.js +0 -253
- package/dist/chunks/git-x0jcc5yc.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-7r0r2nec.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-y6nmpnm5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info28,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info28 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info28, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-2hk2ydh2.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node59
|
|
18
|
+
} from "./generate-w5zzhgd0.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID6,
|
|
31
|
+
Info: () => Info14,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service56,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured9,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node58
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID6 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info14 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID6,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info16 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID6,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service56,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node59]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info14({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service56.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID6.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node58 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID6, Info14, NotFound2, CreateConflict2, Service56, configured9, node58, exports_workspace };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service36,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node39
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service36.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service36, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service36, makeLayer2, layer16, node39, exports_model_transport };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node6, bound2, exports_instance2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service13,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service13.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service13, node15, exports_discovery };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./generate-319jyy1m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service23,
|
|
10
|
+
node26
|
|
11
|
+
} from "./generate-e4p24ara.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service22,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node25,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service80;
|
|
63
|
+
const ripgrep = yield* Service23;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service22.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service22.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service22.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service22, layer: layer11(options), deps: [node83, node26] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node25 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service22, ripgrepLayer2, fffLayer2, layer11, configured3, node25, exports_search };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-yzt2x2kg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node83
|
|
10
|
+
} from "./generate-319jyy1m.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node77
|
|
14
|
+
} from "./generate-kxxbqm5f.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
node: () => node27,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service24 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service74;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service24.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [FSUtil.node, node83, node77] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service24, resolvePath2, node27, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./generate-03qpgtxm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./generate-xdx7acry.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-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: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = 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* Service49;
|
|
26
|
+
const image = yield* Service54;
|
|
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 Plugin8 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|