@opencode/core 0.0.0-dev-20965 → 0.0.0-dev-20966
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/{variant-qptva5a0.js → worktree-00bpreyp.js} +8 -8
- package/dist/chunks/{variant-b2yx5ehf.js → worktree-047x8gkn.js} +9 -9
- package/dist/chunks/{variant-f9fjk1ah.js → worktree-0a99m7qb.js} +14 -14
- package/dist/chunks/{variant-94cmvxd3.js → worktree-0b5g1ynf.js} +4 -4
- package/dist/chunks/{variant-aed4v31e.js → worktree-0c8z4cs3.js} +16 -16
- package/dist/chunks/{variant-0j77ygfz.js → worktree-0j77ygfz.js} +2 -2
- package/dist/chunks/{variant-ttffcv7z.js → worktree-0k9zmgbm.js} +11 -11
- package/dist/chunks/{variant-7bcehx3h.js → worktree-0ns114n3.js} +9 -9
- package/dist/chunks/{variant-1dgd40yc.js → worktree-0p4seb2j.js} +4 -4
- package/dist/chunks/{variant-p8899s55.js → worktree-0s8710ya.js} +4 -4
- package/dist/chunks/{variant-0emb60td.js → worktree-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-0x6tm39e.js → worktree-0y76yggw.js} +33 -33
- package/dist/chunks/{variant-675h9k08.js → worktree-11g55wky.js} +36 -36
- package/dist/chunks/{variant-wtc59aw9.js → worktree-13qy106w.js} +10 -10
- package/dist/chunks/{variant-1b1vcbyp.js → worktree-14mhcz0z.js} +35 -35
- package/dist/chunks/{variant-jxg7hd8r.js → worktree-15xqyjtq.js} +10 -10
- package/dist/chunks/{variant-mwqr473v.js → worktree-1cz5vd6m.js} +11 -11
- package/dist/chunks/{variant-hqd5ftkx.js → worktree-1g6fppr6.js} +11 -11
- package/dist/chunks/{variant-yskhjpp6.js → worktree-1g706jtd.js} +30 -30
- package/dist/chunks/{variant-1g7epwpd.js → worktree-1g7epwpd.js} +1 -1
- package/dist/chunks/{variant-zq6n8p55.js → worktree-1pc1gjj0.js} +13 -13
- package/dist/chunks/{variant-49a8ke3b.js → worktree-1yt7rx9k.js} +4 -4
- package/dist/chunks/{variant-th3vkxge.js → worktree-23wx4d1f.js} +6 -6
- package/dist/chunks/{variant-ka4dahqf.js → worktree-2641fc7s.js} +32 -32
- package/dist/chunks/{variant-bn0vkb08.js → worktree-273zw8zg.js} +27 -27
- package/dist/chunks/{variant-j2x94qfn.js → worktree-28b65eap.js} +11 -11
- package/dist/chunks/{variant-fc42s903.js → worktree-2csbwcjg.js} +9 -9
- package/dist/chunks/{variant-ne3cddwz.js → worktree-2g49c99y.js} +18 -18
- package/dist/chunks/{variant-2k8khapm.js → worktree-2k8khapm.js} +1 -1
- package/dist/chunks/{variant-79c12bt7.js → worktree-2mmjvpe1.js} +18 -18
- package/dist/chunks/{variant-fqhbsnr5.js → worktree-2n295dmf.js} +8 -8
- package/dist/chunks/{variant-k9r9jvvd.js → worktree-2pn6kxez.js} +16 -16
- package/dist/chunks/{variant-acp27cb6.js → worktree-31v8j1ma.js} +6 -6
- package/dist/chunks/{variant-7tqnqen3.js → worktree-32npmyat.js} +24 -24
- package/dist/chunks/{variant-wfmeqxnt.js → worktree-352md1ar.js} +10 -10
- package/dist/chunks/{variant-bffezq42.js → worktree-36sqq72v.js} +19 -19
- package/dist/chunks/{variant-2s7cj1a3.js → worktree-39z47dss.js} +18 -18
- package/dist/chunks/{variant-jnfn5ex1.js → worktree-3dak6s47.js} +1 -1
- package/dist/chunks/{variant-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
- package/dist/chunks/{variant-pde076hx.js → worktree-3mpe3zgf.js} +3 -3
- package/dist/chunks/{variant-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-7jbtvk67.js → worktree-3yes92cn.js} +28 -28
- package/dist/chunks/{variant-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-4f1b800q.js → worktree-47jkzegy.js} +5 -5
- package/dist/chunks/{variant-08rawchj.js → worktree-4a7gy6vj.js} +3 -3
- package/dist/chunks/{variant-z0aj456m.js → worktree-4bm5ja14.js} +4 -4
- package/dist/chunks/{variant-qkdyhz0j.js → worktree-4h91jvx1.js} +18 -18
- package/dist/chunks/{variant-j864549w.js → worktree-4w8247ap.js} +11 -11
- package/dist/chunks/{variant-awqjysbz.js → worktree-547mgkha.js} +19 -19
- package/dist/chunks/{variant-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-4tvnehfx.js → worktree-57676ctm.js} +13 -13
- package/dist/chunks/{variant-h9wp8z5w.js → worktree-5dkn69vz.js} +4 -4
- package/dist/chunks/{variant-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-nkxhsnc1.js → worktree-5rq05eez.js} +3 -3
- package/dist/chunks/{variant-5k19yq9w.js → worktree-5wbbhyy2.js} +22 -22
- package/dist/chunks/{variant-1g2tzbqy.js → worktree-5x9t471j.js} +33 -33
- package/dist/chunks/worktree-619r8v3y.js +18 -0
- package/dist/chunks/{variant-yxxy4j45.js → worktree-63xqm307.js} +14 -14
- package/dist/chunks/{variant-jk6kbnxq.js → worktree-6f79fvzy.js} +9 -9
- package/dist/chunks/{variant-6g107h22.js → worktree-6g107h22.js} +2 -2
- package/dist/chunks/{variant-1j8hy33p.js → worktree-6mgx7xe7.js} +8 -8
- package/dist/chunks/{variant-em36464r.js → worktree-6r3dthtv.js} +10 -10
- package/dist/chunks/{variant-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
- package/dist/chunks/{variant-8t6tsgff.js → worktree-713nkfes.js} +50 -50
- package/dist/chunks/{variant-f1y6kd9g.js → worktree-72f2khbq.js} +11 -11
- package/dist/chunks/{variant-775gj3j1.js → worktree-775gj3j1.js} +2 -2
- package/dist/chunks/{variant-eyw1jkg7.js → worktree-7ac80gxj.js} +11 -11
- package/dist/chunks/{variant-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-py3kkmfq.js → worktree-7fkffz83.js} +4 -4
- package/dist/chunks/{variant-m935wjbx.js → worktree-7gra0nqm.js} +12 -12
- package/dist/chunks/{variant-k2wbs1f6.js → worktree-7j49d4k9.js} +20 -20
- package/dist/chunks/{variant-6xw72zbe.js → worktree-7svw2p5b.js} +17 -17
- package/dist/chunks/{variant-84txncab.js → worktree-84txncab.js} +1 -1
- package/dist/chunks/{variant-16ce7mxz.js → worktree-8dc9ddds.js} +15 -15
- package/dist/chunks/{variant-1sne15z1.js → worktree-8e27w5a6.js} +16 -16
- package/dist/chunks/{variant-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
- package/dist/chunks/{variant-8nx44vyg.js → worktree-8tbg6stw.js} +18 -18
- package/dist/chunks/{variant-1jg8srde.js → worktree-919ps8m3.js} +15 -15
- package/dist/chunks/{variant-j09zfasm.js → worktree-91qna3x0.js} +3 -3
- package/dist/chunks/{variant-dp9b5y2c.js → worktree-9a3zed70.js} +30 -30
- package/dist/chunks/{variant-y79ba3ty.js → worktree-9heq1gfm.js} +1 -1
- package/dist/chunks/{variant-4ghc2kqd.js → worktree-9jyxv9wv.js} +5 -5
- package/dist/chunks/{variant-nazaqr6z.js → worktree-9qyart7b.js} +8 -8
- package/dist/chunks/{variant-nz324evw.js → worktree-9t1h6qm2.js} +42 -42
- package/dist/chunks/{variant-bg7accr8.js → worktree-9wqr0z3w.js} +1 -1
- package/dist/chunks/{variant-xgcr0maa.js → worktree-9y8rfr9p.js} +33 -33
- package/dist/chunks/{variant-rc73xy04.js → worktree-a2g5zc1h.js} +2 -2
- package/dist/chunks/{variant-1zqh2xam.js → worktree-a6avbjvq.js} +13 -13
- package/dist/chunks/{variant-v53tbymh.js → worktree-akwfsdqq.js} +19 -19
- package/dist/chunks/{variant-x661k3y3.js → worktree-azwe5p1w.js} +4 -4
- package/dist/chunks/{variant-rb93vns4.js → worktree-ba964zp9.js} +3 -3
- package/dist/chunks/{variant-184e73e7.js → worktree-bc8zjgdy.js} +5 -5
- package/dist/chunks/{variant-0aqkm3bj.js → worktree-bf1tsaws.js} +14 -14
- package/dist/chunks/{variant-cdbvc206.js → worktree-bk4fykk5.js} +11 -11
- package/dist/chunks/{variant-2kzdwg0n.js → worktree-bpn8wa0j.js} +22 -22
- package/dist/chunks/{variant-318ps4mw.js → worktree-bw54z2dz.js} +24 -24
- package/dist/chunks/{variant-es1vcfrp.js → worktree-c1fqxshp.js} +3 -3
- package/dist/chunks/{variant-b2p40mva.js → worktree-c1pn2cak.js} +45 -45
- package/dist/chunks/{variant-wa343y42.js → worktree-c6kyp2vd.js} +24 -24
- package/dist/chunks/{variant-vadaeqkc.js → worktree-c7m8ew2s.js} +25 -25
- package/dist/chunks/{variant-kr7grvbm.js → worktree-cfwkm2sy.js} +41 -41
- package/dist/chunks/{variant-8ryt04pb.js → worktree-cj2pe107.js} +13 -13
- package/dist/chunks/{variant-eqxt343f.js → worktree-ck9w7hsc.js} +26 -26
- package/dist/chunks/{variant-c172tty2.js → worktree-cmchd7hs.js} +3 -3
- package/dist/chunks/{variant-czfptnv9.js → worktree-cmwkp3r5.js} +6 -6
- package/dist/chunks/{variant-t7aaar7j.js → worktree-cnnb9061.js} +18 -18
- package/dist/chunks/{variant-2sejkfem.js → worktree-d4he2qe1.js} +9 -9
- package/dist/chunks/{variant-690t7gnv.js → worktree-d4qs2yq9.js} +4 -4
- package/dist/chunks/{variant-jg41skm4.js → worktree-d784a9zz.js} +22 -22
- package/dist/chunks/{variant-h3bs1kek.js → worktree-d7zx0zg5.js} +8 -8
- package/dist/chunks/{variant-j3v4v25z.js → worktree-d9bwsjmy.js} +46 -46
- package/dist/chunks/{variant-w2ftr1wp.js → worktree-dkhangmk.js} +32 -32
- package/dist/chunks/{variant-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
- package/dist/chunks/{variant-xdx7acry.js → worktree-dvep9rg9.js} +9 -9
- package/dist/chunks/{variant-1shzte8w.js → worktree-dx0ahrbs.js} +11 -11
- package/dist/chunks/{variant-ekg16795.js → worktree-e2s224y0.js} +22 -22
- package/dist/chunks/{variant-31ccf081.js → worktree-e6p3a57j.js} +21 -21
- package/dist/chunks/{variant-zhb76p7m.js → worktree-eb78yqxb.js} +10 -10
- package/dist/chunks/{variant-r2z489rp.js → worktree-ed1g29hy.js} +3 -3
- package/dist/chunks/{variant-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
- package/dist/chunks/{variant-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-xvfcqebw.js → worktree-efamztt7.js} +13 -13
- package/dist/chunks/{variant-r4k54wer.js → worktree-ewzsx78j.js} +15 -15
- package/dist/chunks/{variant-9vq825kb.js → worktree-f0znm7sz.js} +17 -17
- package/dist/chunks/{variant-0e6afmah.js → worktree-f3x7gcm5.js} +32 -32
- package/dist/chunks/{variant-45emh9sw.js → worktree-f6qqz66d.js} +16 -16
- package/dist/chunks/{variant-30f50eyj.js → worktree-faaxxfm8.js} +35 -35
- package/dist/chunks/{variant-rfb6rgvz.js → worktree-fc8788t2.js} +25 -25
- package/dist/chunks/{variant-gr2j2chh.js → worktree-fj9ny8gn.js} +9 -9
- package/dist/chunks/{variant-a8w6dpt8.js → worktree-fv1gh5kw.js} +3 -3
- package/dist/chunks/{variant-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/worktree-gga122km.js +26 -0
- package/dist/chunks/{variant-chymrsmw.js → worktree-gkj5fv17.js} +26 -26
- package/dist/chunks/{variant-k0qnz40c.js → worktree-gr62y671.js} +3 -3
- package/dist/chunks/{variant-dm4mj2b8.js → worktree-gvrzmcf4.js} +21 -21
- package/dist/chunks/{variant-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-31xfzrxg.js → worktree-h7s7r6s9.js} +5 -5
- package/dist/chunks/{variant-nd37ta7v.js → worktree-had4kgfk.js} +8 -8
- package/dist/chunks/{variant-0z9vq3n9.js → worktree-heq1a16y.js} +7 -7
- package/dist/chunks/{variant-x4jmhkba.js → worktree-hex4f5x3.js} +11 -11
- package/dist/chunks/worktree-hfhhdy4d.js +513 -0
- package/dist/chunks/{variant-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
- package/dist/chunks/{variant-n9kvdjtp.js → worktree-hsgza3cm.js} +18 -18
- package/dist/chunks/{variant-tntqxh8d.js → worktree-ht3mx19x.js} +15 -15
- package/dist/chunks/{variant-08axjxgx.js → worktree-hxn427s8.js} +15 -15
- package/dist/chunks/{variant-6cb5bya6.js → worktree-hzmhka1f.js} +41 -41
- package/dist/chunks/{variant-byv8jegc.js → worktree-hzsf6k88.js} +15 -15
- package/dist/chunks/{variant-gtve8185.js → worktree-j1c4j6vn.js} +20 -20
- package/dist/chunks/{variant-q1tr0dsa.js → worktree-j8xvyka0.js} +8 -8
- package/dist/chunks/{variant-n9093sh7.js → worktree-jdks16ag.js} +19 -19
- package/dist/chunks/{variant-yqc6bamn.js → worktree-jhdf29st.js} +1 -1
- package/dist/chunks/{variant-5vsvabpe.js → worktree-jhyqneq0.js} +14 -14
- package/dist/chunks/{variant-drc9xvqh.js → worktree-jjv1jct9.js} +2 -2
- package/dist/chunks/{variant-9bbnj2zh.js → worktree-k1n0z3hy.js} +5 -5
- package/dist/chunks/{variant-4ptrhz46.js → worktree-k368h1bw.js} +14 -14
- package/dist/chunks/{variant-b46qy5jj.js → worktree-k8pbnrry.js} +17 -17
- package/dist/chunks/{variant-ttp06fyh.js → worktree-k8y2vxwm.js} +6 -6
- package/dist/chunks/{variant-hshhh1g0.js → worktree-kada6eax.js} +8 -8
- package/dist/chunks/{variant-ny8edt06.js → worktree-khmqacep.js} +4 -4
- package/dist/chunks/{variant-6h8epbhc.js → worktree-m0xm5t79.js} +1 -1
- package/dist/chunks/{variant-fvgwmm0r.js → worktree-m9qsaj22.js} +8 -8
- package/dist/chunks/{variant-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-maspj1v3.js → worktree-maspj1v3.js} +1 -1
- package/dist/chunks/{variant-8mta8yrw.js → worktree-mj4h5zyy.js} +9 -9
- package/dist/chunks/{variant-7ycwyhsn.js → worktree-mr8m5p48.js} +9 -9
- package/dist/chunks/{variant-vgr0ew10.js → worktree-n3g5pdec.js} +26 -26
- package/dist/chunks/{variant-4r580w2s.js → worktree-nd3zr4qw.js} +15 -15
- package/dist/chunks/{variant-bcwmtc9z.js → worktree-nd4tfyg0.js} +9 -9
- package/dist/chunks/{variant-fxjmfkq7.js → worktree-ndq62nn0.js} +84 -84
- package/dist/chunks/{variant-w5wmpqxq.js → worktree-nhe6bk5v.js} +7 -7
- package/dist/chunks/{variant-k185drda.js → worktree-nq09r4dh.js} +6 -6
- package/dist/chunks/{variant-wvrxhfbz.js → worktree-nvpcjjwg.js} +12 -12
- package/dist/chunks/{variant-j1m8k7tk.js → worktree-nwz3xn1w.js} +4 -4
- package/dist/chunks/{variant-0821qp31.js → worktree-p2w8rnj5.js} +47 -47
- package/dist/chunks/{variant-zztrcv6s.js → worktree-pd760nvw.js} +6 -6
- package/dist/chunks/{variant-f6mz2wx2.js → worktree-phgh38vw.js} +25 -25
- package/dist/chunks/{variant-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{variant-jqax3vrk.js → worktree-q11w256c.js} +33 -33
- package/dist/chunks/{variant-sw0mphdh.js → worktree-q28ks4kq.js} +36 -36
- package/dist/chunks/{variant-c27esgm9.js → worktree-qby9dwvd.js} +8 -8
- package/dist/chunks/{variant-sd60ydk4.js → worktree-qcfhvs9f.js} +35 -35
- package/dist/chunks/{variant-mk8df6ba.js → worktree-qjnp8kth.js} +13 -13
- package/dist/chunks/{variant-1wqbhyhn.js → worktree-qk5v6yqg.js} +20 -20
- package/dist/chunks/{variant-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-y23whk6n.js → worktree-qpzrnwb7.js} +13 -13
- package/dist/chunks/{variant-xfkkasph.js → worktree-qqeeq2t9.js} +7 -7
- package/dist/chunks/{variant-g0xp0fjm.js → worktree-qrmef7q5.js} +14 -14
- package/dist/chunks/{variant-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-fww2ha2b.js → worktree-qsf3y1ew.js} +10 -10
- package/dist/chunks/{variant-98pn6x6y.js → worktree-r7x64v0s.js} +50 -50
- package/dist/chunks/{variant-p0km4v4v.js → worktree-r8bsfb7y.js} +7 -7
- package/dist/chunks/{variant-vav9rtzz.js → worktree-raem8mh3.js} +11 -11
- package/dist/chunks/{variant-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-krcrny4k.js → worktree-rec41zv7.js} +10 -10
- package/dist/chunks/{variant-tkb22qbm.js → worktree-rert0e01.js} +2 -2
- package/dist/chunks/{variant-c41wscbt.js → worktree-rj3eygr5.js} +2 -2
- package/dist/chunks/{variant-kqv3x6rj.js → worktree-rkg4v3e5.js} +4 -4
- package/dist/chunks/{variant-vhsnpknp.js → worktree-rrnkc0yz.js} +23 -23
- package/dist/chunks/{variant-spzkthk3.js → worktree-rzj0vt9r.js} +10 -10
- package/dist/chunks/{variant-r9w3djhf.js → worktree-s1kvmffy.js} +9 -9
- package/dist/chunks/{variant-v99btfp6.js → worktree-s4z024b2.js} +48 -48
- package/dist/chunks/{variant-c8ax2afj.js → worktree-sa8ekw3f.js} +2 -2
- package/dist/chunks/{variant-eyect2y9.js → worktree-sjbmsh99.js} +23 -23
- package/dist/chunks/{variant-bd2rbarm.js → worktree-sq2wxdf8.js} +71 -71
- package/dist/chunks/{variant-m1xvcqhf.js → worktree-svwvq4d5.js} +50 -50
- package/dist/chunks/{variant-syv4x271.js → worktree-syv4x271.js} +1 -1
- package/dist/chunks/{variant-pdbfs7q8.js → worktree-t1bzqew3.js} +13 -13
- package/dist/chunks/{variant-eaj1djv9.js → worktree-t550f9t1.js} +8 -8
- package/dist/chunks/{variant-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-2k05yhhs.js → worktree-tbvqj3dg.js} +4 -4
- package/dist/chunks/{variant-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{variant-safknyzz.js → worktree-tk5h2yrb.js} +34 -34
- package/dist/chunks/{variant-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
- package/dist/chunks/{variant-hhfn0ecg.js → worktree-tp1s2539.js} +9 -9
- package/dist/chunks/{variant-gv3e09km.js → worktree-tthj469c.js} +23 -23
- package/dist/chunks/{variant-tyytaxap.js → worktree-tyytaxap.js} +1 -1
- package/dist/chunks/{variant-mq92c6sz.js → worktree-v0es1rhs.js} +9 -9
- package/dist/chunks/{variant-s8y96gq9.js → worktree-v2fecqa2.js} +20 -20
- package/dist/chunks/{variant-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
- package/dist/chunks/{variant-t5hq3fbq.js → worktree-v9erzek1.js} +5 -5
- package/dist/chunks/{variant-6b4mrnbq.js → worktree-vb3pk5gr.js} +32 -32
- package/dist/chunks/{variant-t1exkcnj.js → worktree-vckqakrf.js} +21 -21
- package/dist/chunks/{variant-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-m4cdjvks.js → worktree-vmvc3m0d.js} +25 -25
- package/dist/chunks/{variant-qh6vqrx5.js → worktree-vnmj6pqx.js} +25 -25
- package/dist/chunks/{variant-jhf3jymm.js → worktree-vvccsdf3.js} +6 -6
- package/dist/chunks/{variant-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-zfme70y8.js → worktree-w0tfgnf2.js} +2 -2
- package/dist/chunks/{variant-rmzxz103.js → worktree-w2fd5jxd.js} +3 -3
- package/dist/chunks/{variant-8b0kp1c1.js → worktree-w3smsxn0.js} +8 -8
- package/dist/chunks/{variant-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-a694798e.js → worktree-w8xr7nv8.js} +5 -5
- package/dist/chunks/{variant-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{variant-b3f8fkhc.js → worktree-wecqtg5s.js} +5 -5
- package/dist/chunks/{variant-3esz0pk7.js → worktree-wgkrc4gf.js} +27 -27
- package/dist/chunks/{variant-v9tezfc4.js → worktree-wh6zw745.js} +5 -5
- package/dist/chunks/{variant-5xdxnttq.js → worktree-wmvxw9n2.js} +87 -87
- package/dist/chunks/{variant-95e562ab.js → worktree-wsss038a.js} +19 -19
- package/dist/chunks/{variant-wpdrjqr0.js → worktree-wwj18gnb.js} +27 -27
- package/dist/chunks/{variant-4qbhtwgs.js → worktree-wxdrkwee.js} +159 -159
- package/dist/chunks/{variant-nd2xbyf5.js → worktree-wyp5t2nv.js} +4 -4
- package/dist/chunks/{variant-xw25t1zq.js → worktree-wzwj114h.js} +43 -43
- package/dist/chunks/{variant-zy43x3f1.js → worktree-x3gqap9d.js} +4 -4
- package/dist/chunks/{variant-sqead0rj.js → worktree-x4yqgpdn.js} +24 -24
- package/dist/chunks/{variant-nq17181k.js → worktree-x7eaanfs.js} +5 -5
- package/dist/chunks/{variant-3jys3s1h.js → worktree-xa33bmm9.js} +9 -9
- package/dist/chunks/{variant-mnx1xs56.js → worktree-xeyk6e5c.js} +16 -16
- package/dist/chunks/{variant-215yrs1m.js → worktree-xfw881m1.js} +10 -10
- package/dist/chunks/{variant-22dae4yx.js → worktree-xmsn35g9.js} +11 -11
- package/dist/chunks/{variant-d1d75ewh.js → worktree-xnpybbqa.js} +28 -28
- package/dist/chunks/{variant-d5f4dshd.js → worktree-xrd6m33g.js} +21 -21
- package/dist/chunks/{variant-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-dpkg50ah.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{variant-e74fnb4d.js → worktree-y73tf1nx.js} +10 -10
- package/dist/chunks/{variant-9x7n08av.js → worktree-yhgqt7b2.js} +25 -25
- package/dist/chunks/{variant-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
- package/dist/chunks/{variant-vcc19h8c.js → worktree-ysq9cvk3.js} +10 -10
- package/dist/chunks/worktree-yvbfxc2q.js +253 -0
- package/dist/chunks/{variant-1ffvrpkg.js → worktree-ywt8jp22.js} +6 -6
- package/dist/chunks/{variant-n4bazptv.js → worktree-yypbz2n6.js} +20 -20
- package/dist/chunks/{variant-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-5c7zhz82.js → worktree-z0jrkcpk.js} +6 -6
- package/dist/chunks/{variant-5q5yxa5j.js → worktree-z4tt41b4.js} +6 -6
- package/dist/chunks/{variant-7qdqhac4.js → worktree-z5cvsch1.js} +11 -11
- package/dist/chunks/{variant-r2pt7hb6.js → worktree-z8ads2fd.js} +16 -16
- package/dist/chunks/{variant-nssgk41k.js → worktree-zjvj18av.js} +15 -15
- package/dist/chunks/{variant-wxvzvkhz.js → worktree-zpkap1h9.js} +2 -2
- package/dist/chunks/{variant-7f5dsppb.js → worktree-zpt8t96v.js} +28 -28
- package/dist/chunks/{variant-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-j5ck4p1e.js → worktree-zvmksf0w.js} +35 -35
- package/dist/chunks/{variant-tz4n1mmd.js → worktree-zvt5dnpc.js} +4 -4
- package/dist/chunks/{variant-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +85 -85
- 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 +118 -118
- 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 +117 -117
- 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 +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 +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 +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 +216 -216
- 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 +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +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.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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +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 +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- 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 +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 +125 -125
- 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 +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +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 +4 -4
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- 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 +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 +137 -137
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +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 +129 -129
- package/dist/session/projector.js +86 -86
- 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 +1 -1
- 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 +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +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 +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +1 -1
- 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 +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 +86 -86
- 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 +84 -84
- 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/variant-0wrjkmeb.js +0 -26
- package/dist/chunks/variant-10rgf74w.js +0 -253
- package/dist/chunks/variant-1x11rq2a.js +0 -18
- package/dist/chunks/variant-dhpfcrwc.js +0 -513
- /package/dist/chunks/{variant-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e3qxr5gk.js → worktree-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{variant-pyv0edze.js → worktree-pyv0edze.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0p4seb2j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./worktree-0c8z4cs3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service54,
|
|
12
|
+
node57
|
|
13
|
+
} from "./worktree-xrd6m33g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError6
|
|
16
|
+
} from "./worktree-nq09r4dh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service53,
|
|
19
|
+
node56
|
|
20
|
+
} from "./worktree-nvpcjjwg.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service52,
|
|
26
|
+
node55
|
|
27
|
+
} from "./worktree-ewzsx78j.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service66,
|
|
30
|
+
node69
|
|
31
|
+
} from "./worktree-qby9dwvd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event10,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service51,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node54
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service51 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service84;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service81;
|
|
133
|
+
const agents = yield* Service54;
|
|
134
|
+
const sessions = yield* Service53;
|
|
135
|
+
const saved = yield* Service52;
|
|
136
|
+
const hooks = yield* Service66;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError6({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError5({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service51.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node54 = makeLocationNode({
|
|
303
|
+
service: Service51,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node88,
|
|
305
|
+
deps: [node88, node85, node57, node56, node55, node69]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service51, node54, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./worktree-hzmhka1f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./worktree-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin45 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_location_watcher2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./worktree-4h91jvx1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./worktree-hzmhka1f.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-31v8j1ma.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin23
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin23 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service60;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service61;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin41 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin23, exports_compatibility };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./worktree-qqeeq2t9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service83,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node87
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service83 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
717
717
|
kind: index === 0 ? "main" : "linked"
|
|
718
718
|
}));
|
|
719
719
|
});
|
|
720
|
-
return
|
|
720
|
+
return Service83.of({
|
|
721
721
|
repo: { discover, clone, create },
|
|
722
722
|
remote: { get: remote },
|
|
723
723
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
734
734
|
objects: { pack: packObjects }
|
|
735
735
|
});
|
|
736
736
|
}));
|
|
737
|
-
var
|
|
737
|
+
var node87 = makeGlobalNode({ service: Service83, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
738
738
|
function run(cwd, proc, args) {
|
|
739
739
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
740
740
|
}
|
|
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
|
|
|
801
801
|
return path.resolve(cwd, normalized);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
804
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service83, node87, exports_git3 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-ba964zp9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0p4seb2j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./worktree-vvccsdf3.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./worktree-q11w256c.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-nq09r4dh.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service47;
|
|
45
45
|
const database = yield* Service85;
|
|
46
46
|
const bus = yield* Service84;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service41;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service47;
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service41;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-bk4fykk5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0p4seb2j.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./worktree-1g706jtd.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-azwe5p1w.js";
|
|
14
14
|
import {
|
|
15
15
|
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-wwj18gnb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service56
|
|
21
|
+
} from "./worktree-qsf3y1ew.js";
|
|
22
22
|
import {
|
|
23
23
|
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-gkj5fv17.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-zpt8t96v.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-phgh38vw.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID4
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
const bus = yield* Service84;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service56;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -339,7 +339,7 @@ var OpencodePlugin2 = define({
|
|
|
339
339
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
340
340
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
341
341
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
342
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
342
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
343
343
|
query: input.query,
|
|
344
344
|
providerID: descriptor.providerID
|
|
345
345
|
}));
|
|
@@ -397,7 +397,7 @@ var OpencodePlugin2 = define({
|
|
|
397
397
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./worktree-0c8z4cs3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
|
+
node: () => node77
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service74 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service74.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node77 = makeLocationNode({
|
|
91
|
+
service: Service74,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service74, node77, exports_formatter2 };
|