@opencode/core 0.0.0-dev-19627 → 0.0.0-dev-19629
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{file-mutation-06dxphr1.js → kv-06dxphr1.js} +1 -1
- package/dist/chunks/{file-mutation-t1eg3y3w.js → kv-0fqqwfme.js} +13 -13
- package/dist/chunks/{file-mutation-91sxxkcr.js → kv-0jdwemc3.js} +5 -5
- package/dist/chunks/{file-mutation-qz3sdwq7.js → kv-0kxjg0q6.js} +4 -4
- package/dist/chunks/{file-mutation-7ycsd0tm.js → kv-0mesg93d.js} +16 -16
- package/dist/chunks/{file-mutation-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-4sy6x2w1.js → kv-0v0g3rme.js} +11 -11
- package/dist/chunks/{file-mutation-3aaqwtv7.js → kv-0xbae0ch.js} +44 -44
- package/dist/chunks/{file-mutation-q5rhn9x0.js → kv-13q063b0.js} +13 -13
- package/dist/chunks/{file-mutation-mvfsc1pv.js → kv-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-mutation-kyvf95r7.js → kv-1bqb4p60.js} +26 -26
- package/dist/chunks/{file-mutation-jfya27vc.js → kv-1cy0dveg.js} +11 -11
- package/dist/chunks/{file-mutation-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-rmkqwdpg.js → kv-1dd4vm50.js} +94 -94
- package/dist/chunks/{file-mutation-0nes3kdx.js → kv-1gjp40nv.js} +26 -26
- package/dist/chunks/{file-mutation-cr1q0w15.js → kv-1hepnvy6.js} +18 -18
- package/dist/chunks/{file-mutation-x2fjf6jt.js → kv-1j4wj2wj.js} +1 -1
- package/dist/chunks/{file-mutation-gcavn3wx.js → kv-1nwxscpy.js} +5 -5
- package/dist/chunks/{file-mutation-56gdpj1q.js → kv-1ygqh575.js} +9 -9
- package/dist/chunks/{file-mutation-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-xx8we5ps.js → kv-23wc2maw.js} +4 -4
- package/dist/chunks/{file-mutation-2402vzrj.js → kv-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-5p8vcd02.js → kv-2czm2xf1.js} +30 -30
- package/dist/chunks/{file-mutation-gh317mre.js → kv-2k6xrwva.js} +22 -22
- package/dist/chunks/{file-mutation-7dqw4kz8.js → kv-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-dmgsj5zc.js → kv-2qzhajv7.js} +27 -27
- package/dist/chunks/{file-mutation-5fxvnth9.js → kv-2wtgfcw5.js} +8 -8
- package/dist/chunks/{file-mutation-g1sxm558.js → kv-30846h32.js} +4 -4
- package/dist/chunks/{file-mutation-d4fjsvxd.js → kv-30jdby9k.js} +34 -34
- package/dist/chunks/{file-mutation-8rsrtv6x.js → kv-32qkfht5.js} +20 -20
- package/dist/chunks/{file-mutation-1306karf.js → kv-34vv8vke.js} +40 -40
- package/dist/chunks/{file-mutation-k6v14n43.js → kv-372jp7zc.js} +17 -17
- package/dist/chunks/{file-mutation-dzrq5311.js → kv-3em56y7w.js} +9 -9
- package/dist/chunks/{file-mutation-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/kv-3fehqr8e.js +474 -0
- package/dist/chunks/{file-mutation-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-tgft0wfk.js → kv-3kth0658.js} +28 -28
- package/dist/chunks/{file-mutation-gcwb3twc.js → kv-3r7dg8e2.js} +33 -33
- package/dist/chunks/{file-mutation-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-f9yn9122.js → kv-4ddcvy6e.js} +16 -16
- package/dist/chunks/{file-mutation-4dgbcxzg.js → kv-4dgbcxzg.js} +1 -1
- package/dist/chunks/{file-mutation-gw4zmj2g.js → kv-4e0pntr6.js} +27 -27
- package/dist/chunks/{file-mutation-6zwemvqm.js → kv-4hrje9fh.js} +26 -26
- package/dist/chunks/{file-mutation-wa2k838w.js → kv-4m9ebp8q.js} +10 -10
- package/dist/chunks/{file-mutation-18db4y5c.js → kv-4nd1vhcc.js} +23 -23
- package/dist/chunks/{file-mutation-6k7rtajw.js → kv-527k0vp5.js} +30 -30
- package/dist/chunks/{file-mutation-pvp0xbtq.js → kv-542nn9ke.js} +5 -5
- package/dist/chunks/{file-mutation-5c4hm403.js → kv-5c4hm403.js} +3 -3
- package/dist/chunks/{file-mutation-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-k9vs72wj.js → kv-5dcwpk27.js} +11 -11
- package/dist/chunks/{file-mutation-0j4wr494.js → kv-5hjmcfpt.js} +15 -15
- package/dist/chunks/{file-mutation-eqfn3g5k.js → kv-5mt5zsn7.js} +21 -21
- package/dist/chunks/{file-mutation-c175xrn1.js → kv-5nqxz0mf.js} +32 -32
- package/dist/chunks/{file-mutation-7w3s9kd0.js → kv-5qkxfyep.js} +4 -4
- package/dist/chunks/{file-mutation-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-hfvv3mv3.js → kv-5tgy5hp4.js} +29 -29
- package/dist/chunks/{file-mutation-0j569f3z.js → kv-5v79k2nc.js} +3 -3
- package/dist/chunks/{file-mutation-cmwkp3r5.js → kv-5yzzbxa7.js} +8 -8
- package/dist/chunks/{file-mutation-rr1pnw44.js → kv-63zbbs1j.js} +8 -8
- package/dist/chunks/{file-mutation-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-h71w788e.js → kv-6hjx5zpb.js} +9 -9
- package/dist/chunks/{file-mutation-x3ykbdq0.js → kv-6m3jg8gc.js} +24 -24
- package/dist/chunks/{file-mutation-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-azma9pmk.js → kv-6sh9twb3.js} +18 -18
- package/dist/chunks/{file-mutation-xqhhrdfp.js → kv-6tpe83gt.js} +22 -22
- package/dist/chunks/{file-mutation-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-0tncbqge.js → kv-7ncyt31b.js} +34 -34
- package/dist/chunks/{file-mutation-pcwvymat.js → kv-7qqyjhvb.js} +15 -15
- package/dist/chunks/{file-mutation-x1r77kwh.js → kv-7w0zh5tk.js} +3 -3
- package/dist/chunks/{file-mutation-sr25wdwa.js → kv-7zc61v3j.js} +19 -19
- package/dist/chunks/{file-mutation-3nmkgzqt.js → kv-81p48be3.js} +3 -3
- package/dist/chunks/{file-mutation-qebawg89.js → kv-81swgkk7.js} +5 -5
- package/dist/chunks/{file-mutation-3fz3b278.js → kv-8b82hca9.js} +26 -26
- package/dist/chunks/{file-mutation-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-1c76g24z.js → kv-8hh8nk77.js} +6 -6
- package/dist/chunks/{file-mutation-10s3487r.js → kv-8kqwd5pg.js} +17 -17
- package/dist/chunks/{file-mutation-sqeh6kv1.js → kv-8ngqmhjn.js} +20 -20
- package/dist/chunks/{file-mutation-nw2nz702.js → kv-8s8mxddj.js} +4 -4
- package/dist/chunks/{file-mutation-t5vtrxv1.js → kv-8syrtys8.js} +20 -20
- package/dist/chunks/{file-mutation-7hg3t1ht.js → kv-8tt0ytjn.js} +21 -21
- package/dist/chunks/{file-mutation-es3fm114.js → kv-8yvyc9sz.js} +1 -1
- package/dist/chunks/{file-mutation-s8yyarnz.js → kv-9030epd1.js} +13 -13
- package/dist/chunks/{file-mutation-0c0n109p.js → kv-90ymhmgy.js} +31 -31
- package/dist/chunks/{file-mutation-sxzvkvgj.js → kv-93ygb5af.js} +6 -6
- package/dist/chunks/{file-mutation-5bbsmdtr.js → kv-95g476w1.js} +4 -4
- package/dist/chunks/{file-mutation-7k05wx0c.js → kv-95q9m7a4.js} +13 -13
- package/dist/chunks/{file-mutation-yphy50z6.js → kv-9esays49.js} +23 -23
- package/dist/chunks/{file-mutation-4afm2zz7.js → kv-9f8ak43h.js} +43 -43
- package/dist/chunks/{file-mutation-9x4ccdjv.js → kv-9gm7t8wy.js} +177 -177
- package/dist/chunks/{file-mutation-9nygvg6d.js → kv-9mwzt4fq.js} +11 -11
- package/dist/chunks/kv-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-mutation-jwbqhvyy.js → kv-a1a50ys5.js} +5 -5
- package/dist/chunks/{file-mutation-s5ech5g2.js → kv-a5wfw340.js} +30 -30
- package/dist/chunks/{file-mutation-qj8eh1ht.js → kv-a8bn8zg0.js} +4 -4
- package/dist/chunks/{file-mutation-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-qxmaq0sm.js → kv-ahd542yp.js} +8 -8
- package/dist/chunks/{file-mutation-kcm959y1.js → kv-ahxxq61c.js} +28 -28
- package/dist/chunks/{file-mutation-yf98xpe6.js → kv-aphhdr9a.js} +9 -9
- package/dist/chunks/{file-mutation-13c44461.js → kv-at2jt8b6.js} +24 -24
- package/dist/chunks/{file-mutation-nng2ktcm.js → kv-b09hzw3k.js} +2 -2
- package/dist/chunks/{file-mutation-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-24b9aadw.js → kv-bdh9mrz4.js} +12 -12
- package/dist/chunks/{file-mutation-x121vean.js → kv-bqns2xeb.js} +6 -6
- package/dist/chunks/{file-mutation-tzz76ghp.js → kv-bwx7yfz9.js} +3 -3
- package/dist/chunks/{file-mutation-bz85s9hh.js → kv-bz85s9hh.js} +1 -1
- package/dist/chunks/{file-mutation-ajwqadgf.js → kv-c2zwhayg.js} +15 -15
- package/dist/chunks/{file-mutation-ac5xk54v.js → kv-c3zqkckj.js} +23 -23
- package/dist/chunks/{file-mutation-5sj81wm5.js → kv-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-mutation-yqf3qraq.js → kv-ca4srnk3.js} +8 -8
- package/dist/chunks/{file-mutation-ns5krr68.js → kv-cw8kd3he.js} +5 -5
- package/dist/chunks/{file-mutation-2h5ctm2z.js → kv-cz7ybxbg.js} +86 -86
- package/dist/chunks/{file-mutation-ddg0keqc.js → kv-dbjhyg4p.js} +7 -7
- package/dist/chunks/{file-mutation-v3fdhb9p.js → kv-dd0kn80g.js} +33 -33
- package/dist/chunks/{file-mutation-nap3yrea.js → kv-ddaa640a.js} +47 -47
- package/dist/chunks/{file-mutation-30n84348.js → kv-df5t2j38.js} +11 -11
- package/dist/chunks/{file-mutation-dj2t23y0.js → kv-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-mutation-wdzhm1dy.js → kv-dk8y6tpb.js} +20 -20
- package/dist/chunks/{file-mutation-z76rvear.js → kv-dkbfs573.js} +4 -4
- package/dist/chunks/{file-mutation-wc8c3q07.js → kv-dr13ydbw.js} +11 -11
- package/dist/chunks/{file-mutation-ssz2ek6x.js → kv-dwqd4fec.js} +11 -11
- package/dist/chunks/{file-mutation-tbb58408.js → kv-dysy2d9a.js} +47 -47
- package/dist/chunks/{file-mutation-pf2ava87.js → kv-e0xcq4mb.js} +17 -17
- package/dist/chunks/{file-mutation-e5nv3ght.js → kv-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-mutation-k9avtbwf.js → kv-e5xpd6yj.js} +6 -6
- package/dist/chunks/{file-mutation-hjt4xg1x.js → kv-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-mutation-v0x321vx.js → kv-e9cyw18g.js} +38 -38
- package/dist/chunks/{file-mutation-xe94yqgp.js → kv-ec3p188n.js} +4 -4
- package/dist/chunks/{file-mutation-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-t3swkhbg.js → kv-eq23s0y6.js} +5 -5
- package/dist/chunks/{file-mutation-gmp12gr6.js → kv-eqsf0vrq.js} +14 -14
- package/dist/chunks/{file-mutation-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-gj014zr3.js → kv-f65qawn9.js} +18 -18
- package/dist/chunks/{file-mutation-06x8he3q.js → kv-f73rjn58.js} +4 -4
- package/dist/chunks/{file-mutation-ryrj46hv.js → kv-f8xn5mp1.js} +15 -15
- package/dist/chunks/{file-mutation-tv17mb0q.js → kv-feadmf2k.js} +7 -7
- package/dist/chunks/{file-mutation-pcvnxmb4.js → kv-fj47jftw.js} +17 -17
- package/dist/chunks/{file-mutation-bvdx5xp3.js → kv-fm2ehgba.js} +16 -16
- package/dist/chunks/{file-mutation-the10gxd.js → kv-fmvxt08z.js} +18 -18
- package/dist/chunks/{file-mutation-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-eajyy5ey.js → kv-fy685n2s.js} +41 -41
- package/dist/chunks/{file-mutation-4g2m7ccv.js → kv-g2p206kf.js} +25 -25
- package/dist/chunks/{file-mutation-kjfdeayr.js → kv-g2y161wv.js} +8 -8
- package/dist/chunks/{file-mutation-a46v4e4v.js → kv-g8d3gcyj.js} +7 -7
- package/dist/chunks/{file-mutation-2n0epbhs.js → kv-g9sd7rfb.js} +3 -3
- package/dist/chunks/{file-mutation-5kh97ynp.js → kv-gcddavgz.js} +44 -44
- package/dist/chunks/{file-mutation-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-czzymjv3.js → kv-gf2azzj7.js} +43 -43
- package/dist/chunks/{file-mutation-698497kr.js → kv-ggyk9197.js} +18 -18
- package/dist/chunks/{file-mutation-r8s4q6ph.js → kv-gk3xegv2.js} +9 -9
- package/dist/chunks/{file-mutation-r1jcp9he.js → kv-gqvs4pn0.js} +37 -37
- package/dist/chunks/{file-mutation-j7jqt5tj.js → kv-gs9jkpg2.js} +8 -8
- package/dist/chunks/{file-mutation-yyb7tjpc.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-dp45y3n1.js → kv-h29ec78n.js} +20 -20
- package/dist/chunks/{file-mutation-xrv8p737.js → kv-h5y9zjhm.js} +31 -31
- package/dist/chunks/{file-mutation-9y2fz4rr.js → kv-h6nf8f2s.js} +13 -13
- package/dist/chunks/{file-mutation-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-hdnk95c8.js → kv-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-mutation-synq1jy2.js → kv-hqaqsecz.js} +13 -13
- package/dist/chunks/{file-mutation-11n3wfat.js → kv-hwdqbtk8.js} +20 -20
- package/dist/chunks/kv-hxa7m5za.js +4 -0
- package/dist/chunks/{file-mutation-pes8w8r9.js → kv-hyn19ewr.js} +28 -28
- package/dist/chunks/{file-mutation-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-6h3wybc7.js → kv-jp5d52r3.js} +6 -6
- package/dist/chunks/{file-mutation-a3k5zcqz.js → kv-k00jvwze.js} +30 -30
- package/dist/chunks/{file-mutation-48r4agm7.js → kv-k7fvcj83.js} +21 -21
- package/dist/chunks/{file-mutation-r8bq8m7e.js → kv-k9x9pwcp.js} +3 -3
- package/dist/chunks/{file-mutation-tds7k197.js → kv-knnr3ffb.js} +2 -2
- package/dist/chunks/{file-mutation-n8j5ecm5.js → kv-kwpsrvng.js} +4 -4
- package/dist/chunks/{file-mutation-06xhg51a.js → kv-kywwpdnb.js} +30 -30
- package/dist/chunks/{file-mutation-7rtzrs6z.js → kv-m0f726mn.js} +23 -23
- package/dist/chunks/{file-mutation-m0jqrx5p.js → kv-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-mutation-z2ab2b6j.js → kv-m7jrkp26.js} +11 -11
- package/dist/chunks/{file-mutation-03nfxjzw.js → kv-m8m3zpqy.js} +30 -30
- package/dist/chunks/{file-mutation-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-c5rw5aek.js → kv-matxb2xk.js} +5 -5
- package/dist/chunks/{file-mutation-5bdbc12f.js → kv-mnbh32fx.js} +6 -6
- package/dist/chunks/{file-mutation-xyny64hx.js → kv-n6vgg671.js} +20 -20
- package/dist/chunks/{file-mutation-2fhwbkrm.js → kv-nbrmnvm6.js} +28 -28
- package/dist/chunks/{file-mutation-cpy6gm2a.js → kv-nqnxh7mc.js} +4 -4
- package/dist/chunks/{file-mutation-xb3f970q.js → kv-p0mccv6z.js} +10 -10
- package/dist/chunks/{file-mutation-g87vc5p1.js → kv-pdmffqas.js} +16 -16
- package/dist/chunks/{file-mutation-dcq050h0.js → kv-pe51b52v.js} +32 -32
- package/dist/chunks/{file-mutation-ynjpqawr.js → kv-pgwmtx9h.js} +11 -11
- package/dist/chunks/{file-mutation-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/kv-pjwrvnpv.js +247 -0
- package/dist/chunks/{file-mutation-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-ve4pfa0n.js → kv-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-mutation-cyx09s2a.js → kv-pprr9hht.js} +12 -12
- package/dist/chunks/{file-mutation-h23j7wn7.js → kv-prshwy6f.js} +10 -10
- package/dist/chunks/{file-mutation-6804x6mf.js → kv-q07v9h9y.js} +22 -22
- package/dist/chunks/{file-mutation-j4p8w3kg.js → kv-qffs32b2.js} +37 -37
- package/dist/chunks/{file-mutation-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-qkxympve.js → kv-qxn9n16s.js} +49 -49
- package/dist/chunks/{file-mutation-hdh38a9b.js → kv-r00cs8xe.js} +9 -9
- package/dist/chunks/{file-mutation-a04y0etw.js → kv-r1d8brym.js} +21 -21
- package/dist/chunks/{file-mutation-c765mh8b.js → kv-r2m716tb.js} +5 -5
- package/dist/chunks/{file-mutation-1acjjqhc.js → kv-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-mutation-r9mregkx.js → kv-r9mregkx.js} +2 -2
- package/dist/chunks/{file-mutation-2py7vkgw.js → kv-rd8yq3pc.js} +6 -6
- package/dist/chunks/{file-mutation-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-s8d7rejh.js → kv-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-mutation-3qgtx68d.js → kv-rhzsrfv2.js} +17 -17
- package/dist/chunks/{file-mutation-2tvcbkwg.js → kv-rmjmtd11.js} +10 -10
- package/dist/chunks/{file-mutation-gr1f03ws.js → kv-rpjgfq5s.js} +9 -9
- package/dist/chunks/{file-mutation-dwvb776c.js → kv-rwp9jh2s.js} +20 -20
- package/dist/chunks/{file-mutation-ayex3wth.js → kv-s2vfe9rb.js} +25 -25
- package/dist/chunks/{file-mutation-qr8mshgh.js → kv-s30dnwqx.js} +30 -30
- package/dist/chunks/{file-mutation-rdwnzddt.js → kv-s5smtsjm.js} +40 -40
- package/dist/chunks/{file-mutation-qb9x24v0.js → kv-shpbz5ss.js} +18 -18
- package/dist/chunks/{file-mutation-xqk8sbne.js → kv-sjf3tctt.js} +12 -12
- package/dist/chunks/{file-mutation-8fk85gr8.js → kv-t2e73jsf.js} +4 -4
- package/dist/chunks/{file-mutation-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-eg6djbbr.js → kv-tc99cfes.js} +30 -30
- package/dist/chunks/{file-mutation-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-aychzs8s.js → kv-tshc7g5p.js} +14 -14
- package/dist/chunks/{file-mutation-qyqjfx9x.js → kv-tsmrpsr3.js} +18 -18
- package/dist/chunks/{file-mutation-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-rf848q2s.js → kv-v712pcm8.js} +8 -8
- package/dist/chunks/{file-mutation-k86shhx4.js → kv-v8q1sw48.js} +13 -13
- package/dist/chunks/{file-mutation-jxwjknq3.js → kv-v9wse47b.js} +5 -5
- package/dist/chunks/{file-mutation-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-ekezzs5q.js → kv-vngnfmgt.js} +5 -5
- package/dist/chunks/{file-mutation-g9nckgd1.js → kv-vxc69cc3.js} +29 -29
- package/dist/chunks/{file-mutation-1x1ag7qp.js → kv-vy06sfs5.js} +15 -15
- package/dist/chunks/{file-mutation-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-rz5kv9fq.js → kv-w2tpxd08.js} +17 -17
- package/dist/chunks/{file-mutation-2v6a2rnj.js → kv-w35smk9y.js} +12 -12
- package/dist/chunks/{file-mutation-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-x2c9waxa.js → kv-w7s1kwgb.js} +8 -8
- package/dist/chunks/{file-mutation-my26e0c6.js → kv-w8ts9jr1.js} +28 -28
- package/dist/chunks/{file-mutation-635mjk8g.js → kv-w9y6ap5g.js} +28 -28
- package/dist/chunks/{file-mutation-89smrnyf.js → kv-wcge806m.js} +4 -4
- package/dist/chunks/{file-mutation-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-7v7yaejn.js → kv-wmvxdcxf.js} +10 -10
- package/dist/chunks/{file-mutation-jdcpnvpf.js → kv-wqbc9es3.js} +9 -9
- package/dist/chunks/{file-mutation-yce1w55j.js → kv-wtfafaw2.js} +9 -9
- package/dist/chunks/{file-mutation-0tbwr05t.js → kv-ww506ezs.js} +10 -10
- package/dist/chunks/{file-mutation-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-vtfn81vb.js → kv-x1pmkwqz.js} +13 -13
- package/dist/chunks/{file-mutation-h85ccg7e.js → kv-x3z5bnde.js} +4 -4
- package/dist/chunks/{file-mutation-rw337v24.js → kv-x4ksm1tj.js} +9 -9
- package/dist/chunks/{file-mutation-f7j90zp2.js → kv-xk747vep.js} +9 -9
- package/dist/chunks/{file-mutation-p2f53c8e.js → kv-xky1335j.js} +41 -41
- package/dist/chunks/{file-mutation-wejf0rdp.js → kv-xrz9vnwt.js} +69 -69
- package/dist/chunks/{file-mutation-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-2qcp78kg.js → kv-y47czx5y.js} +17 -17
- package/dist/chunks/{file-mutation-25jpqk5v.js → kv-y4naaajn.js} +11 -11
- package/dist/chunks/{file-mutation-7w99qc9d.js → kv-y6f0p4jw.js} +2 -2
- package/dist/chunks/{file-mutation-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-a5de4bcy.js → kv-yb5nc9wz.js} +37 -37
- package/dist/chunks/{file-mutation-3ar42wrm.js → kv-ynj7eg78.js} +21 -21
- package/dist/chunks/kv-yp2eeyxk.js +26 -0
- package/dist/chunks/{file-mutation-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-tcdc8g31.js → kv-ywepdr4j.js} +9 -9
- package/dist/chunks/{file-mutation-bqnv8r25.js → kv-ywywtd2f.js} +9 -9
- package/dist/chunks/{file-mutation-ktak12d4.js → kv-yygyxej2.js} +16 -16
- package/dist/chunks/{file-mutation-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-x5h3w8zq.js → kv-z225y43a.js} +26 -26
- package/dist/chunks/{file-mutation-7nam6z95.js → kv-z2p1zgek.js} +8 -8
- package/dist/chunks/{file-mutation-6fkjc3gv.js → kv-z5bw8km2.js} +24 -24
- package/dist/chunks/{file-mutation-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-91t2kvk6.js → kv-za2awsd1.js} +17 -17
- package/dist/chunks/{file-mutation-xza6172n.js → kv-zanxcczd.js} +5 -5
- package/dist/chunks/{file-mutation-rq775frq.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-7avp506j.js → kv-zj36n4ch.js} +58 -58
- package/dist/chunks/{file-mutation-9fsxynh3.js → kv-zjp75jv5.js} +8 -8
- package/dist/chunks/{file-mutation-ky2zf32z.js → kv-zk1ywxhw.js} +11 -11
- package/dist/chunks/{file-mutation-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-z1jek54d.js → kv-zs5x0rfp.js} +5 -5
- package/dist/chunks/{file-mutation-82adjhvd.js → kv-ztawzxhp.js} +8 -8
- package/dist/chunks/{file-mutation-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +98 -98
- 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/id/id.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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-mutation-0mesazry.js +0 -4
- package/dist/chunks/file-mutation-11z0rz4y.js +0 -247
- package/dist/chunks/file-mutation-d1y9ts6h.js +0 -474
- package/dist/chunks/file-mutation-ht5y0zrb.js +0 -18
- package/dist/chunks/file-mutation-rjhhx3kh.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./kv-9f8ak43h.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service50
|
|
13
|
+
} from "./kv-z5bw8km2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./kv-y47czx5y.js";
|
|
17
17
|
import {
|
|
18
18
|
Service64
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-yb5nc9wz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service54,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-0mesg93d.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service48,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-f65qawn9.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service34
|
|
37
|
+
} from "./kv-qxn9n16s.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./kv-1dd4vm50.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-95g476w1.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./kv-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin35,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin35 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service19;
|
|
122
|
+
const jobs = yield* Service61;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service50;
|
|
125
|
+
const access = yield* Service54;
|
|
126
|
+
const shell = yield* Service34;
|
|
127
|
+
const shellSelect = yield* Service48;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
129
|
const permission = yield* Service64;
|
|
130
|
-
const config = yield*
|
|
130
|
+
const config = yield* Service39;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin23 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin23 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin23 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin35, exports_shell2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./kv-pgwmtx9h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./kv-4ddcvy6e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./kv-93ygb5af.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service37
|
|
16
|
+
} from "./kv-pe51b52v.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-e5xpd6yj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service60;
|
|
46
|
+
const database = yield* Service82;
|
|
47
|
+
const bus = yield* Service81;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service37;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service60;
|
|
78
|
+
const bus = yield* Service81;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service37;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin36 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin6, exports_exa };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-1gjp40nv.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-1bqb4p60.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./kv-4ddcvy6e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node43
|
|
7
|
+
} from "./kv-6tpe83gt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service5,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-4nd1vhcc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service30
|
|
14
|
+
} from "./kv-9zdhvgqs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node18,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./kv-q07v9h9y.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service2,
|
|
21
|
+
node3
|
|
22
|
+
} from "./kv-5yzzbxa7.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-3fehqr8e.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make6,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-2wtgfcw5.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service3,
|
|
34
|
+
node4
|
|
35
|
+
} from "./kv-95q9m7a4.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service4,
|
|
38
|
+
node5
|
|
39
|
+
} from "./kv-6hjx5zpb.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./kv-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node2
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID2.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service30;
|
|
129
|
+
const sdk = yield* Service3;
|
|
130
|
+
const instance = yield* Service2;
|
|
131
|
+
const sources = yield* Service5;
|
|
132
|
+
const modules = yield* make6();
|
|
133
|
+
const bus = yield* Service81;
|
|
134
|
+
const updates = yield* Service4;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
node18,
|
|
210
|
+
node4,
|
|
211
|
+
node3,
|
|
212
212
|
node6,
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
node5,
|
|
214
|
+
node85,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node43,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node2, exports_supervisor };
|