@opencode/core 0.0.0-dev-20065 → 0.0.0-dev-20067
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{app-za3xgyhg.js → repository-05nshcdg.js} +24 -24
- package/dist/chunks/{app-368s6tf9.js → repository-0c1nc1g2.js} +16 -16
- package/dist/chunks/{app-mjs378zw.js → repository-0cry2zrq.js} +14 -14
- package/dist/chunks/{app-saz9d1e1.js → repository-0e3mg8wg.js} +25 -25
- package/dist/chunks/{app-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-53fyba40.js → repository-0pr3hkd7.js} +4 -4
- package/dist/chunks/{app-rfh1wnxb.js → repository-0rr436fd.js} +12 -12
- package/dist/chunks/{app-tgvr22f4.js → repository-0vecsj11.js} +10 -10
- package/dist/chunks/{app-fqtvmpfq.js → repository-0xezjjjn.js} +8 -8
- package/dist/chunks/{app-8fsdzctg.js → repository-0yf2ggb4.js} +11 -11
- package/dist/chunks/{app-as71pn4z.js → repository-115t4k1h.js} +12 -12
- package/dist/chunks/{app-m8yjrps0.js → repository-15rr61m4.js} +19 -19
- package/dist/chunks/{app-2anem1gx.js → repository-16fz2w0a.js} +56 -56
- package/dist/chunks/{app-zj09a0ew.js → repository-18e56dsp.js} +4 -4
- package/dist/chunks/{app-tkmwgdpd.js → repository-19vf66h0.js} +7 -7
- package/dist/chunks/{app-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-xsp8mkyd.js → repository-1d8ygdpn.js} +17 -17
- package/dist/chunks/{app-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-48ck0avw.js → repository-1dnqgg3s.js} +9 -9
- package/dist/chunks/{app-thnehmyr.js → repository-1e86tkh9.js} +11 -11
- package/dist/chunks/{app-w3crv97k.js → repository-1g9ztc78.js} +43 -43
- package/dist/chunks/{app-yvhvpfbj.js → repository-1t7xnya2.js} +11 -11
- package/dist/chunks/{app-wq4mmp7m.js → repository-1te7cy4s.js} +4 -4
- package/dist/chunks/{app-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{app-6243fhfm.js → repository-25rd3h41.js} +63 -63
- package/dist/chunks/{app-swr81fay.js → repository-25wpb8ep.js} +182 -182
- package/dist/chunks/{app-mjx34a5s.js → repository-285t386e.js} +42 -42
- package/dist/chunks/{app-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{app-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-2a6rn6yr.js → repository-2a6rn6yr.js} +1 -1
- package/dist/chunks/{app-ryxphezs.js → repository-2xqh5gj0.js} +22 -22
- package/dist/chunks/{app-s7xh2hpr.js → repository-2zbc03eg.js} +24 -24
- package/dist/chunks/{app-t295gyhv.js → repository-311gkrra.js} +5 -5
- package/dist/chunks/{app-a1jjtyb0.js → repository-32h82zqh.js} +5 -5
- package/dist/chunks/{app-y6mhz57t.js → repository-3ewed21c.js} +4 -4
- package/dist/chunks/{app-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-b75ywe9t.js → repository-3nwqvhst.js} +11 -11
- package/dist/chunks/{app-mg2zncmg.js → repository-3qw0meeq.js} +15 -15
- package/dist/chunks/{app-fnd47v7t.js → repository-3rk7bqzq.js} +6 -6
- package/dist/chunks/{app-e241j9r3.js → repository-3s43hn5t.js} +3 -3
- package/dist/chunks/{app-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-7e3ec40m.js → repository-3sy2qy7n.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-xfm370aa.js → repository-3y7z246r.js} +29 -29
- package/dist/chunks/{app-8syxyqtm.js → repository-3yv9m03g.js} +32 -32
- package/dist/chunks/{app-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-pnhe2c1x.js → repository-40dfcbtc.js} +5 -5
- package/dist/chunks/{app-3hymt261.js → repository-4nddn0b6.js} +6 -6
- package/dist/chunks/{app-6n0tyswj.js → repository-4ragw8tk.js} +32 -32
- package/dist/chunks/{app-ppchbf73.js → repository-4sthw002.js} +5 -5
- package/dist/chunks/{app-qntm3nww.js → repository-4yyfqv5e.js} +13 -13
- package/dist/chunks/{app-967f0wxr.js → repository-50sbk7kr.js} +8 -8
- package/dist/chunks/{app-590y27gw.js → repository-51bq5gc4.js} +16 -16
- package/dist/chunks/{app-1aksr4z1.js → repository-55t602r9.js} +34 -34
- package/dist/chunks/{app-mfqp6xfm.js → repository-56gdpj1q.js} +6 -6
- package/dist/chunks/{app-375b9z0r.js → repository-5ah4ptg6.js} +27 -27
- package/dist/chunks/{app-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{app-5ekn9679.js → repository-5ekn9679.js} +1 -1
- package/dist/chunks/{app-zh3fr1rp.js → repository-5md3tagz.js} +27 -27
- package/dist/chunks/{app-j7vtgtgy.js → repository-5psjtcc4.js} +32 -32
- package/dist/chunks/{app-s6dskvww.js → repository-5qb1g724.js} +5 -5
- package/dist/chunks/{app-p9kt6re1.js → repository-5qedxm44.js} +11 -11
- package/dist/chunks/{app-nx68k9yk.js → repository-5r9k8zx2.js} +13 -13
- package/dist/chunks/{app-pgzeccqn.js → repository-5re94sxb.js} +7 -7
- package/dist/chunks/{app-dnfz4fw9.js → repository-5rk57adz.js} +5 -5
- package/dist/chunks/{app-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-50mzsvk4.js → repository-5wtwrezn.js} +21 -21
- package/dist/chunks/repository-619r8v3y.js +18 -0
- package/dist/chunks/{app-whfn5mjk.js → repository-6301jba8.js} +39 -39
- package/dist/chunks/{app-3npryhn4.js → repository-65xxhm4m.js} +20 -20
- package/dist/chunks/{app-4fcrz8xk.js → repository-660wmw6d.js} +19 -19
- package/dist/chunks/{app-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{app-xkf0t35f.js → repository-672f612c.js} +43 -43
- package/dist/chunks/{app-rmps83f0.js → repository-67rsx3vb.js} +24 -24
- package/dist/chunks/{app-1pxh0esx.js → repository-69fj14ep.js} +24 -24
- package/dist/chunks/{app-5cmxdwv8.js → repository-6bsje7ws.js} +3 -3
- package/dist/chunks/{app-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
- package/dist/chunks/{app-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-87deq66t.js → repository-6wg7wrda.js} +6 -6
- package/dist/chunks/{app-533ssrma.js → repository-72p6r3xc.js} +13 -13
- package/dist/chunks/{app-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-z2p5fxnh.js → repository-7cc8avcc.js} +19 -19
- package/dist/chunks/{app-110zgqmk.js → repository-7n420167.js} +10 -10
- package/dist/chunks/{app-pyjct6fe.js → repository-7nf3ddzq.js} +19 -19
- package/dist/chunks/{app-15nepkqg.js → repository-7s2tn799.js} +8 -8
- package/dist/chunks/{app-w0ae26qm.js → repository-7td85jfa.js} +7 -7
- package/dist/chunks/{app-0g51362j.js → repository-7yscfpph.js} +7 -7
- package/dist/chunks/{app-jf2v5c06.js → repository-855aw91c.js} +22 -22
- package/dist/chunks/{app-rryjnr2s.js → repository-8czqb76g.js} +17 -17
- package/dist/chunks/{app-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-nbzsj80d.js → repository-8hgfhrm0.js} +11 -11
- package/dist/chunks/{app-94ek1h2f.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{app-m1vvrwcy.js → repository-98da7btb.js} +10 -10
- package/dist/chunks/{app-9rw1b8hz.js → repository-9btcgg48.js} +42 -42
- package/dist/chunks/{app-p3vzrz7t.js → repository-9cz3xmmc.js} +23 -23
- package/dist/chunks/repository-9dkxgaaz.js +96 -0
- package/dist/chunks/{app-e8c8crbp.js → repository-9e0shq8y.js} +2 -2
- package/dist/chunks/{app-d48vtfkp.js → repository-9f40cav3.js} +13 -13
- package/dist/chunks/{app-qcxh87b9.js → repository-9h1eecz9.js} +88 -88
- package/dist/chunks/{app-ekf2dyc6.js → repository-a0s974gf.js} +3 -3
- package/dist/chunks/{app-tf2pk26t.js → repository-a1nprqvr.js} +13 -13
- package/dist/chunks/{app-msw86qcf.js → repository-a7ya2t55.js} +4 -4
- package/dist/chunks/{app-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{app-q98zgpmz.js → repository-actq9frn.js} +15 -15
- package/dist/chunks/{app-9r8h4h2t.js → repository-ajdggk3v.js} +4 -4
- package/dist/chunks/{app-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/repository-b8kezapz.js +26 -0
- package/dist/chunks/{app-8mwwm09k.js → repository-bayr7sdc.js} +7 -7
- package/dist/chunks/{app-wp9tfm2b.js → repository-bd3nb3vt.js} +8 -8
- package/dist/chunks/{app-qn6h5j4k.js → repository-bhxp9hdq.js} +6 -6
- package/dist/chunks/{app-6j9k7dhm.js → repository-bmhahcnt.js} +3 -3
- package/dist/chunks/{app-7zngzwcp.js → repository-bprjk2xr.js} +30 -30
- package/dist/chunks/{app-7arbjz9c.js → repository-bwe1n6j9.js} +7 -7
- package/dist/chunks/{app-fykntd8n.js → repository-bwyp434w.js} +25 -25
- package/dist/chunks/{app-0hbq61gs.js → repository-c1kskfb6.js} +44 -44
- package/dist/chunks/{app-qr8csav2.js → repository-c78bbtc9.js} +5 -5
- package/dist/chunks/{app-ckecvw8r.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{app-7z4p05m0.js → repository-cm70vevn.js} +11 -11
- package/dist/chunks/{app-cr039k61.js → repository-cng14k4f.js} +33 -33
- package/dist/chunks/{app-pecb0brz.js → repository-d2aac7k2.js} +5 -5
- package/dist/chunks/{app-5tpjfzgf.js → repository-de3mgeae.js} +18 -18
- package/dist/chunks/{app-qe2fkp0s.js → repository-djwrd78c.js} +26 -26
- package/dist/chunks/{app-sjet8qs7.js → repository-dmzyn4sw.js} +20 -20
- package/dist/chunks/{app-gkqnxj86.js → repository-dq2gf7dd.js} +86 -86
- package/dist/chunks/{app-a7bcxdzj.js → repository-dvep9rg9.js} +9 -9
- package/dist/chunks/{app-6yy5kzjp.js → repository-dxz6h2zt.js} +5 -5
- package/dist/chunks/{app-0q4vh2xx.js → repository-dzk3ryj8.js} +24 -24
- package/dist/chunks/{app-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{app-v6zx26cv.js → repository-e4bv3p7h.js} +32 -32
- package/dist/chunks/{app-eaj1djv9.js → repository-eaj1djv9.js} +1 -1
- package/dist/chunks/{app-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-kdv3x5g7.js → repository-ejrhby57.js} +44 -44
- package/dist/chunks/{app-rnwxbttv.js → repository-emevknz1.js} +8 -8
- package/dist/chunks/{app-kjrk9rzn.js → repository-enk2rrcf.js} +17 -17
- package/dist/chunks/{app-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
- package/dist/chunks/{app-fdk7nwtk.js → repository-es9eybw2.js} +11 -11
- package/dist/chunks/{app-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-vmwh049b.js → repository-f1zbxv7x.js} +9 -9
- package/dist/chunks/{app-gtj40zt6.js → repository-f90zn7ca.js} +4 -4
- package/dist/chunks/{app-p1zpfjkz.js → repository-faxz800z.js} +12 -12
- package/dist/chunks/{app-vmgq4x8b.js → repository-ff0svapt.js} +2 -2
- package/dist/chunks/{app-g0m5zvds.js → repository-fg50bsfr.js} +28 -28
- package/dist/chunks/{app-8z3dztpz.js → repository-fs4kxnc4.js} +5 -5
- package/dist/chunks/{app-3j1fq1t9.js → repository-fxr6x0aq.js} +13 -13
- package/dist/chunks/{app-fs7vhdbk.js → repository-g0kgf922.js} +6 -6
- package/dist/chunks/{app-j4g4mtm2.js → repository-g2066sd0.js} +11 -11
- package/dist/chunks/{app-ta0kzjga.js → repository-g4fxz0gt.js} +25 -25
- package/dist/chunks/{app-bxejt7xe.js → repository-g9qh6fen.js} +11 -11
- package/dist/chunks/{app-avsy9rdh.js → repository-gby7h8ab.js} +12 -12
- package/dist/chunks/{app-paehqpmp.js → repository-gcmeeq5b.js} +26 -26
- package/dist/chunks/{app-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-0nxp1cg4.js → repository-gr0jztbm.js} +18 -18
- package/dist/chunks/{app-a30fqjjc.js → repository-gtckgk66.js} +10 -10
- package/dist/chunks/{app-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-ps11h5gy.js → repository-gv6qzrxf.js} +37 -37
- package/dist/chunks/{app-k9ttrstx.js → repository-gwmntvvs.js} +43 -43
- package/dist/chunks/{app-6ykmb074.js → repository-gwp4cf3v.js} +35 -35
- package/dist/chunks/{app-ns15zm60.js → repository-gx8hye9g.js} +6 -6
- package/dist/chunks/{app-93mn44n6.js → repository-gxd07ah8.js} +48 -48
- package/dist/chunks/{app-h3psvw6m.js → repository-h297ymck.js} +22 -22
- package/dist/chunks/{app-76bwpp6f.js → repository-h2qs67km.js} +11 -11
- package/dist/chunks/{app-cpj0znwe.js → repository-h6r3nrb9.js} +4 -4
- package/dist/chunks/{app-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-qwwyczrh.js → repository-hbehhpwg.js} +40 -40
- package/dist/chunks/{app-hnf8gsa1.js → repository-hngsf9ze.js} +26 -26
- package/dist/chunks/{app-153ryezx.js → repository-hysnaan8.js} +3 -3
- package/dist/chunks/{app-c1a9bmae.js → repository-hz151azf.js} +13 -13
- package/dist/chunks/{app-4qaxnqby.js → repository-j0vh8jjz.js} +28 -28
- package/dist/chunks/{app-nmrsv1dc.js → repository-j1711vkv.js} +29 -29
- package/dist/chunks/{app-jjs74g98.js → repository-j3s2z371.js} +5 -5
- package/dist/chunks/{app-bj01mvwh.js → repository-j40a86xr.js} +12 -12
- package/dist/chunks/{app-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{app-2cjzwb63.js → repository-jdzrt0z1.js} +29 -29
- package/dist/chunks/{app-j9kjtgcz.js → repository-jhmd4ezs.js} +15 -15
- package/dist/chunks/{app-60we93z3.js → repository-jrb0xr74.js} +15 -15
- package/dist/chunks/{app-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{app-t55tk8n1.js → repository-k5dsc5hs.js} +9 -9
- package/dist/chunks/{app-xfdrc2qg.js → repository-k9kj6xed.js} +8 -8
- package/dist/chunks/{app-vgczqxfk.js → repository-kb4rpjaq.js} +325 -321
- package/dist/chunks/{app-551w3c13.js → repository-kgeqhxvw.js} +11 -11
- package/dist/chunks/{app-4my1p8tw.js → repository-khm1sf7f.js} +4 -4
- package/dist/chunks/{app-4xhhjths.js → repository-kjfdeayr.js} +8 -8
- package/dist/chunks/{app-cy56w1rk.js → repository-kk7xnzba.js} +1 -1
- package/dist/chunks/{app-et1r3136.js → repository-kkybr322.js} +13 -13
- package/dist/chunks/{app-m25rymws.js → repository-kpwmpstw.js} +11 -11
- package/dist/chunks/{app-wyeygdap.js → repository-kx253xx8.js} +4 -4
- package/dist/chunks/{app-vt8dvwd8.js → repository-m1fqb20v.js} +3 -3
- package/dist/chunks/{app-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-bnzhvqn2.js → repository-mgdyehf1.js} +27 -27
- package/dist/chunks/{app-dwvnzms3.js → repository-mpqj6jx7.js} +7 -7
- package/dist/chunks/{app-fms2b7ny.js → repository-mtjp9z6s.js} +11 -11
- package/dist/chunks/{app-73tb2d7t.js → repository-mvfsc1pv.js} +3 -3
- package/dist/chunks/{app-kzbpe9h1.js → repository-mwwxnxty.js} +5 -5
- package/dist/chunks/{app-wt6f8kas.js → repository-my3s7g2v.js} +8 -8
- package/dist/chunks/{app-18z30b45.js → repository-n2ahj3nb.js} +16 -16
- package/dist/chunks/{app-2ed8p666.js → repository-n6scd4pv.js} +23 -23
- package/dist/chunks/{app-tx4my4nz.js → repository-n72a9sqp.js} +50 -50
- package/dist/chunks/{app-6cywv5sk.js → repository-naep0e5n.js} +25 -25
- package/dist/chunks/{app-v1cnb83x.js → repository-nayt11ps.js} +6 -6
- package/dist/chunks/{app-hzv68fmt.js → repository-nxc66smq.js} +19 -19
- package/dist/chunks/{app-reg6q42h.js → repository-nz569jqt.js} +5 -5
- package/dist/chunks/{app-p42hj8p8.js → repository-p37cw4rj.js} +8 -8
- package/dist/chunks/{app-yq2cczkq.js → repository-p57dvf2n.js} +7 -7
- package/dist/chunks/{app-2f45c8dm.js → repository-pgej9n36.js} +18 -18
- package/dist/chunks/{app-j4t6y5ss.js → repository-pgrpmprb.js} +11 -11
- package/dist/chunks/{app-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{app-r3c4069c.js → repository-pnqe9gv0.js} +1 -1
- package/dist/chunks/{app-tvnx3264.js → repository-pwqr28vb.js} +26 -26
- package/dist/chunks/{app-nrfvb82z.js → repository-qakz50hz.js} +23 -23
- package/dist/chunks/{app-2k8khapm.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{app-wza937mg.js → repository-qh54trmw.js} +17 -17
- package/dist/chunks/{app-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{app-d77v1e4e.js → repository-qwb2h62g.js} +22 -22
- package/dist/chunks/{app-ctss01x6.js → repository-qx9nwsft.js} +26 -26
- package/dist/chunks/{app-8n1yy9xf.js → repository-r256v5vh.js} +17 -17
- package/dist/chunks/{app-2mq1h16s.js → repository-r2m716tb.js} +9 -9
- package/dist/chunks/{app-00z3vp5f.js → repository-r98e92ep.js} +4 -4
- package/dist/chunks/{app-2jt3f8gh.js → repository-rb1ekxdp.js} +47 -47
- package/dist/chunks/{app-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-ybvnw0jt.js → repository-rp43rah6.js} +9 -9
- package/dist/chunks/{app-e6hd9jay.js → repository-rph3zd4r.js} +4 -4
- package/dist/chunks/{app-57ez7d0k.js → repository-rrqraew9.js} +9 -9
- package/dist/chunks/{app-hn3a6rqc.js → repository-rt22yq9v.js} +25 -25
- package/dist/chunks/{app-7j2y68kr.js → repository-rxzqzsj3.js} +18 -18
- package/dist/chunks/{app-y7v1b0f0.js → repository-s28bjvt5.js} +18 -18
- package/dist/chunks/{app-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{app-j58c5xyq.js → repository-s5d9hk7s.js} +9 -9
- package/dist/chunks/{app-8dfw8sn4.js → repository-skykqwxk.js} +32 -32
- package/dist/chunks/{app-v87dcxq7.js → repository-srfhtv6w.js} +9 -9
- package/dist/chunks/{app-hps1987y.js → repository-stvp1p58.js} +22 -22
- package/dist/chunks/{app-w8xr7nv8.js → repository-t0sqncza.js} +5 -5
- package/dist/chunks/{app-t5z440qy.js → repository-t1tem6a2.js} +27 -27
- package/dist/chunks/{app-8vq2trkm.js → repository-t2rxy3d5.js} +32 -32
- package/dist/chunks/{app-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{app-mb635f63.js → repository-trfxp1r8.js} +17 -17
- package/dist/chunks/{app-1hxy9wee.js → repository-tsa77ep8.js} +31 -31
- package/dist/chunks/{app-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{app-6d3a72b8.js → repository-tx02rs4k.js} +35 -35
- package/dist/chunks/{app-7247jp3g.js → repository-v4cj4tts.js} +17 -17
- package/dist/chunks/{app-vzfbsavd.js → repository-vb0c2wr9.js} +13 -13
- package/dist/chunks/{app-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{app-f7xyqgbx.js → repository-vftkj9v3.js} +14 -14
- package/dist/chunks/{app-7trd08pa.js → repository-vka4dmj0.js} +20 -20
- package/dist/chunks/{app-gg7pg1rj.js → repository-vmq7ehpy.js} +5 -5
- package/dist/chunks/{app-59xdd3bc.js → repository-vsp4125s.js} +4 -4
- package/dist/chunks/{app-vtxr0yy2.js → repository-vtxr0yy2.js} +2 -2
- package/dist/chunks/{app-xaagk8jj.js → repository-vxzf7v58.js} +5 -5
- package/dist/chunks/repository-vz0qs4v4.js +252 -0
- package/dist/chunks/{app-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wd3x2cqz.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{app-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{app-hz0q9sdq.js → repository-wmq3bkd4.js} +8 -8
- package/dist/chunks/{app-ajnt6f3q.js → repository-wrtzz9dy.js} +36 -36
- package/dist/chunks/{app-trshmsc8.js → repository-wy75xbqv.js} +88 -82
- package/dist/chunks/{app-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-38evpe7h.js → repository-x5x7d8yk.js} +7 -7
- package/dist/chunks/{app-ace9jgbv.js → repository-x7zswy26.js} +11 -11
- package/dist/chunks/{app-5fa40qca.js → repository-xbw2xfj9.js} +5 -5
- package/dist/chunks/{app-57b9ws8p.js → repository-xfkkasph.js} +7 -7
- package/dist/chunks/{app-21yxkrpf.js → repository-xkqrr95v.js} +76 -76
- package/dist/chunks/{app-hnbeegqe.js → repository-xq6svqxg.js} +32 -32
- package/dist/chunks/{app-mzdr220s.js → repository-xq7r4p5w.js} +25 -25
- package/dist/chunks/{app-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-msxag2ht.js → repository-y3f887mz.js} +7 -7
- package/dist/chunks/{app-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{app-7xk1r0zn.js → repository-ya6d81gt.js} +22 -22
- package/dist/chunks/{app-c1qdz9a6.js → repository-ygxwf2ce.js} +23 -23
- package/dist/chunks/{app-83237rng.js → repository-ypwah405.js} +26 -26
- package/dist/chunks/{app-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-0vd36xya.js → repository-yz4vzcv9.js} +17 -17
- package/dist/chunks/{app-z07pqspn.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{app-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-3ddygy17.js → repository-z3dqhhkj.js} +6 -6
- package/dist/chunks/{app-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-95ezkcx5.js → repository-zfjfs7fw.js} +33 -33
- package/dist/chunks/{app-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-wtypy9yg.js → repository-zszwk29h.js} +302 -302
- package/dist/chunks/{app-t7n9q6bq.js → repository-zvt5dnpc.js} +4 -4
- package/dist/chunks/{app-zxq2ej10.js → repository-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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -361
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +1 -1
- package/dist/instance.js +358 -357
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +359 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +121 -0
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/app-dxj72tfx.js +0 -18
- package/dist/chunks/app-n0y6r1yv.js +0 -252
- package/dist/chunks/app-zgdvnj2k.js +0 -26
- /package/dist/chunks/{app-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./repository-faxz800z.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./repository-kkybr322.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service41,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node44,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service41 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service82;
|
|
110
|
+
return Service41.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node44 = makeGlobalNode({
|
|
171
|
+
service: Service41,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node80, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service41, isError2, validateBranch2, node44, exports_repository_cache };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node80
|
|
6
|
+
} from "./repository-faxz800z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node78
|
|
10
|
+
} from "./repository-trfxp1r8.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-5qb1g724.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service17,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node20
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service17 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service74;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service17.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node20 = makeLocationNode({
|
|
61
|
+
service: Service17,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node78, Global.node, node80, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service17, node20, exports_strategies };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./repository-ejrhby57.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service50
|
|
16
|
-
} from "./app-kjrk9rzn.js";
|
|
12
|
+
Service66
|
|
13
|
+
} from "./repository-05nshcdg.js";
|
|
17
14
|
import {
|
|
18
15
|
Service72
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./repository-enk2rrcf.js";
|
|
17
|
+
import {
|
|
18
|
+
Service51
|
|
19
|
+
} from "./repository-25rd3h41.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-pgej9n36.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-r256v5vh.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service61
|
|
37
|
+
} from "./repository-n72a9sqp.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./repository-dq2gf7dd.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-vsp4125s.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-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: () => Input9,
|
|
53
|
+
Plugin: () => Plugin29,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "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 Input9 = 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 Plugin29 = {
|
|
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* Service27;
|
|
122
|
+
const jobs = yield* Service72;
|
|
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* Service66;
|
|
125
|
+
const access = yield* Service19;
|
|
126
|
+
const shell = yield* Service61;
|
|
127
|
+
const shellSelect = yield* Service65;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service51;
|
|
130
|
+
const config = yield* Service63;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin46 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
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 Plugin46 = {
|
|
|
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: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
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 Plugin46 = {
|
|
|
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 NotFoundError9({ 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: name9,
|
|
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[name9];
|
|
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 { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin29, exports_shell2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-5wtwrezn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./repository-8hgfhrm0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./repository-c78bbtc9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info22
|
|
15
|
+
} from "./repository-19vf66h0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info18
|
|
18
|
+
} from "./repository-d2aac7k2.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./repository-vmq7ehpy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info13
|
|
27
|
+
} from "./repository-1g9ztc78.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-khm1sf7f.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info18, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info21, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./repository-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service64,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service64 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service64.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service64.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service64).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service64, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service64, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node67 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options8, Service64, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured8, node67, exports_watcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID12 = Session.ID;
|
|
5
|
+
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID12, Info26, SessionSchema2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node71,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node71 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node71, exports_driver };
|