@opencode/core 0.0.0-dev-19858 → 0.0.0-dev-19860
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 +68 -68
- package/dist/chunks/{vcs-rhjbct0v.js → filesystem-02nrjc1r.js} +6 -6
- package/dist/chunks/{vcs-m6em83jz.js → filesystem-04g8gb3s.js} +26 -26
- package/dist/chunks/{vcs-gyxn878h.js → filesystem-05g1mm2c.js} +21 -21
- package/dist/chunks/{vcs-d7r05era.js → filesystem-0cknbh6y.js} +3 -3
- package/dist/chunks/{vcs-9c3np669.js → filesystem-0h54jqbs.js} +8 -8
- package/dist/chunks/{vcs-tsvqgg8r.js → filesystem-0jk305gw.js} +15 -15
- package/dist/chunks/{vcs-qgn6gcr1.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/filesystem-0mesazry.js +4 -0
- package/dist/chunks/{vcs-mzr7febk.js → filesystem-0mxxzrer.js} +9 -9
- package/dist/chunks/{vcs-2m1f7cy6.js → filesystem-0nce7q48.js} +15 -15
- package/dist/chunks/{vcs-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-yz9726cp.js → filesystem-0ya3ykak.js} +11 -11
- package/dist/chunks/{vcs-nhja5bmb.js → filesystem-10x37dkd.js} +21 -21
- package/dist/chunks/{vcs-erz15eev.js → filesystem-12mvcd02.js} +9 -9
- package/dist/chunks/{vcs-9waxhxyt.js → filesystem-13qzbekt.js} +50 -50
- package/dist/chunks/{vcs-k6bjvtpx.js → filesystem-19ntd6ym.js} +9 -9
- package/dist/chunks/{vcs-x4gr8kd6.js → filesystem-1akmjgjg.js} +8 -8
- package/dist/chunks/{vcs-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-deajjef3.js → filesystem-1f075h9t.js} +17 -17
- package/dist/chunks/{vcs-ehpg0rej.js → filesystem-1gbvn30c.js} +4 -4
- package/dist/chunks/{vcs-kxphd5c7.js → filesystem-1qdy7hzf.js} +3 -3
- package/dist/chunks/{vcs-2f5wythd.js → filesystem-1rr3swgy.js} +8 -8
- package/dist/chunks/{vcs-py7tvzcg.js → filesystem-1wyj371t.js} +32 -32
- package/dist/chunks/{vcs-56gdpj1q.js → filesystem-1ygqh575.js} +9 -9
- package/dist/chunks/{vcs-jknhfhr2.js → filesystem-1ym61n1a.js} +33 -33
- package/dist/chunks/{vcs-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-a20pgr88.js → filesystem-23h8ty1a.js} +26 -26
- package/dist/chunks/{vcs-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-h1p741k4.js → filesystem-24gf0acj.js} +6 -6
- package/dist/chunks/{vcs-s1pxbdt0.js → filesystem-24s8e1ye.js} +18 -18
- package/dist/chunks/{vcs-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-jexxy024.js → filesystem-2f04pwep.js} +3 -3
- package/dist/chunks/{vcs-3ewed21c.js → filesystem-2k71kv7p.js} +4 -4
- package/dist/chunks/{vcs-rfm2565c.js → filesystem-2zcvd3jh.js} +51 -51
- package/dist/chunks/{vcs-68hsc098.js → filesystem-32czktbn.js} +26 -26
- package/dist/chunks/{vcs-12v7f4hg.js → filesystem-3377exhx.js} +36 -36
- package/dist/chunks/{vcs-ygrrhazr.js → filesystem-354mtm1j.js} +28 -28
- package/dist/chunks/{vcs-8vc35css.js → filesystem-3ch3tthc.js} +20 -20
- package/dist/chunks/{vcs-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-7md8yzhz.js → filesystem-3qnhr4nm.js} +20 -20
- package/dist/chunks/{vcs-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-j7mpm1wr.js → filesystem-3ta4n5rg.js} +10 -10
- package/dist/chunks/{vcs-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-2djq4902.js → filesystem-46p5v0nr.js} +14 -14
- package/dist/chunks/{vcs-jz93xfa4.js → filesystem-48a4xvag.js} +14 -14
- package/dist/chunks/{vcs-g1sxm558.js → filesystem-4e8vs6eh.js} +8 -8
- package/dist/chunks/{vcs-zhq6vg7a.js → filesystem-4jc5c4h4.js} +1 -1
- package/dist/chunks/{vcs-yt3hy1g9.js → filesystem-4n607a2z.js} +5 -5
- package/dist/chunks/{vcs-spr050er.js → filesystem-4nq1vhh4.js} +10 -10
- package/dist/chunks/{vcs-8xh6cseh.js → filesystem-4pw9szbk.js} +4 -4
- package/dist/chunks/{vcs-4rrs1rky.js → filesystem-4r9jq3gm.js} +10 -10
- package/dist/chunks/{vcs-hmgqkarr.js → filesystem-4waxsa04.js} +51 -51
- package/dist/chunks/{vcs-6kjxsdk9.js → filesystem-52r8cdh9.js} +15 -15
- package/dist/chunks/{vcs-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-4we6rgn1.js → filesystem-5jzcxvp7.js} +5 -5
- package/dist/chunks/{vcs-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-kxhmg965.js → filesystem-5v1az6zm.js} +27 -27
- package/dist/chunks/{vcs-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{vcs-bq6j9g1b.js → filesystem-69qfe4ye.js} +6 -6
- package/dist/chunks/{vcs-cpy6gm2a.js → filesystem-6anwy9fs.js} +5 -5
- package/dist/chunks/{vcs-gsjgh4hm.js → filesystem-6fnhcvra.js} +17 -17
- package/dist/chunks/{vcs-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-j2zgkdb5.js → filesystem-6nbtj0ez.js} +26 -26
- package/dist/chunks/{vcs-repb58am.js → filesystem-6x62fcpm.js} +6 -6
- package/dist/chunks/{vcs-4nenax5m.js → filesystem-6ywb039y.js} +9 -9
- package/dist/chunks/{vcs-98n6zb1h.js → filesystem-71ka5gtd.js} +20 -20
- package/dist/chunks/{vcs-r5x6zcsm.js → filesystem-73tb2d7t.js} +3 -3
- package/dist/chunks/{vcs-n8jyz0fj.js → filesystem-76410njm.js} +28 -28
- package/dist/chunks/{vcs-6226hgya.js → filesystem-7877ca20.js} +44 -44
- package/dist/chunks/{vcs-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-rcgznhtg.js → filesystem-7gpkdhmk.js} +11 -11
- package/dist/chunks/{vcs-h82njgbp.js → filesystem-7hp0tadb.js} +30 -30
- package/dist/chunks/{vcs-nw2p6qkx.js → filesystem-7m8psw39.js} +32 -32
- package/dist/chunks/{vcs-dv3zezwm.js → filesystem-7xtf3zc8.js} +18 -18
- package/dist/chunks/{vcs-nv09mq9g.js → filesystem-7z26aszj.js} +9 -9
- package/dist/chunks/{vcs-seeezy3s.js → filesystem-826ce358.js} +11 -11
- package/dist/chunks/{vcs-gar06bvm.js → filesystem-84b8vhgq.js} +13 -13
- package/dist/chunks/{vcs-bp9gkt27.js → filesystem-858b8443.js} +14 -14
- package/dist/chunks/{vcs-w2jpnjzn.js → filesystem-88r9n90q.js} +4 -4
- package/dist/chunks/{vcs-rdmr8h45.js → filesystem-89cssmvp.js} +13 -13
- package/dist/chunks/{vcs-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-n5ej7v0r.js → filesystem-8adjgm89.js} +15 -15
- package/dist/chunks/{vcs-fzspm7j1.js → filesystem-8aqc4yxf.js} +6 -6
- package/dist/chunks/{vcs-n22a5g2a.js → filesystem-8d69mcgf.js} +38 -38
- package/dist/chunks/{vcs-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-wy1aae89.js → filesystem-8ft4t96z.js} +37 -37
- package/dist/chunks/{vcs-x41dyxnd.js → filesystem-8gac8n07.js} +32 -32
- package/dist/chunks/{vcs-kef0rm51.js → filesystem-8j3bcj8f.js} +19 -19
- package/dist/chunks/{vcs-9pqkkp2e.js → filesystem-8md4gqd3.js} +11 -11
- package/dist/chunks/{vcs-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-g9zwg0je.js → filesystem-8s2x1r0z.js} +11 -11
- package/dist/chunks/{vcs-18e56dsp.js → filesystem-8s8mxddj.js} +4 -4
- package/dist/chunks/{vcs-h6r3nrb9.js → filesystem-8z00fdkb.js} +4 -4
- package/dist/chunks/{vcs-y15vpdnr.js → filesystem-981wagwk.js} +9 -9
- package/dist/chunks/{vcs-bbp8a8gj.js → filesystem-98hxqkfd.js} +20 -20
- package/dist/chunks/{vcs-jat0edw6.js → filesystem-9neh7k8p.js} +6 -6
- package/dist/chunks/{vcs-xar9seh6.js → filesystem-9q0baw2b.js} +14 -14
- package/dist/chunks/{vcs-snabfqxp.js → filesystem-9zcn9hy1.js} +4 -4
- package/dist/chunks/{vcs-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-vpdthv1w.js → filesystem-aepjrbx0.js} +47 -47
- package/dist/chunks/{vcs-40j9bccr.js → filesystem-ap9fazeb.js} +5 -5
- package/dist/chunks/{vcs-4xvd153e.js → filesystem-awy7rs6m.js} +7 -7
- package/dist/chunks/{vcs-z7z0ddsh.js → filesystem-b02qts2r.js} +8 -8
- package/dist/chunks/{vcs-twnj3zvd.js → filesystem-b2e86tga.js} +20 -20
- package/dist/chunks/{vcs-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-7yevm10q.js → filesystem-bf0ep029.js} +14 -14
- package/dist/chunks/{vcs-wbkyxrgf.js → filesystem-bgxcxs0p.js} +5 -5
- package/dist/chunks/{vcs-r9chjg2t.js → filesystem-bj8kctas.js} +11 -11
- package/dist/chunks/{vcs-05ema446.js → filesystem-bp188etw.js} +18 -18
- package/dist/chunks/{vcs-762r0j46.js → filesystem-btec747f.js} +5 -5
- package/dist/chunks/{vcs-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-v5zftknb.js → filesystem-ckge2wbq.js} +21 -21
- package/dist/chunks/{vcs-113z30mj.js → filesystem-cm9jsw5f.js} +8 -8
- package/dist/chunks/{vcs-7aqqp7sg.js → filesystem-d2sm94f9.js} +17 -17
- package/dist/chunks/{vcs-zee1rnkq.js → filesystem-dhmh7aw6.js} +4 -4
- package/dist/chunks/{vcs-tz2bjj40.js → filesystem-dj9sq318.js} +5 -5
- package/dist/chunks/{vcs-w5fm7hkw.js → filesystem-dm473wwa.js} +24 -24
- package/dist/chunks/{vcs-rqk1njnt.js → filesystem-dpp1ex0k.js} +20 -20
- package/dist/chunks/{vcs-p841sg60.js → filesystem-dreppv43.js} +26 -26
- package/dist/chunks/{vcs-qqeeq2t9.js → filesystem-drwq78ky.js} +7 -7
- package/dist/chunks/{vcs-5wdaxb8f.js → filesystem-e06sw8n6.js} +23 -23
- package/dist/chunks/{vcs-8662gdp4.js → filesystem-e4ah1ep1.js} +16 -16
- package/dist/chunks/{vcs-tcsc0whj.js → filesystem-e82g4p77.js} +10 -10
- package/dist/chunks/filesystem-ec2pb2w2.js +252 -0
- package/dist/chunks/{vcs-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-jhgqne7p.js → filesystem-eqzrmp0y.js} +10 -10
- package/dist/chunks/{vcs-whenjg63.js → filesystem-erm9gs1m.js} +18 -18
- package/dist/chunks/{vcs-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-78ht92vq.js → filesystem-eyckedmf.js} +18 -18
- package/dist/chunks/{vcs-f828m53h.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-8kwpxbq8.js → filesystem-f8p8k6s9.js} +11 -11
- package/dist/chunks/{vcs-dn92n4b8.js → filesystem-fcv5vf6w.js} +24 -24
- package/dist/chunks/{vcs-a3ftg8j6.js → filesystem-fdms3n6w.js} +9 -9
- package/dist/chunks/{vcs-fdv30zvt.js → filesystem-fdv30zvt.js} +1 -1
- package/dist/chunks/{vcs-dmxkarkb.js → filesystem-fkdphn1c.js} +22 -22
- package/dist/chunks/{vcs-zk9jfaqz.js → filesystem-fph97qbf.js} +15 -15
- package/dist/chunks/{vcs-698nh4g1.js → filesystem-fwm7j62e.js} +15 -15
- package/dist/chunks/{vcs-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-cq37gk0t.js → filesystem-fxqygnfa.js} +4 -4
- package/dist/chunks/{vcs-spe3g0hp.js → filesystem-g0xmyw3h.js} +179 -179
- package/dist/chunks/{vcs-87ghn5kx.js → filesystem-g8sqxk2y.js} +5 -5
- package/dist/chunks/{vcs-sme2kac2.js → filesystem-gach115v.js} +29 -29
- package/dist/chunks/{vcs-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-n2rc481p.js → filesystem-gmv9h3vn.js} +32 -32
- package/dist/chunks/{vcs-2cdg16k9.js → filesystem-gn50vh93.js} +3 -3
- package/dist/chunks/{vcs-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/filesystem-gyce5qg1.js +18 -0
- package/dist/chunks/{vcs-y346bt7s.js → filesystem-gyrsatny.js} +3 -3
- package/dist/chunks/{vcs-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-ew7chs6w.js → filesystem-hg5xz5jt.js} +30 -30
- package/dist/chunks/{vcs-apevh53r.js → filesystem-hgxzff7j.js} +18 -18
- package/dist/chunks/{vcs-sbrmgv3y.js → filesystem-hh2qayf7.js} +23 -23
- package/dist/chunks/{vcs-kgtte2k4.js → filesystem-hhf3paha.js} +25 -25
- package/dist/chunks/{vcs-45xbaj3v.js → filesystem-hq8hx04p.js} +10 -10
- package/dist/chunks/{vcs-dc8pdabb.js → filesystem-hv6jfmhd.js} +10 -10
- package/dist/chunks/{vcs-etazx9r2.js → filesystem-hxyzw3m3.js} +13 -13
- package/dist/chunks/{vcs-hv00q5g0.js → filesystem-j0x8q95g.js} +25 -25
- package/dist/chunks/{vcs-9cze0bjq.js → filesystem-j41a475f.js} +8 -8
- package/dist/chunks/{vcs-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/filesystem-j7fam3f6.js +492 -0
- package/dist/chunks/{vcs-q2b1ymqp.js → filesystem-j83byb14.js} +4 -4
- package/dist/chunks/{vcs-cfgw6j6z.js → filesystem-j8v09z9q.js} +3 -3
- package/dist/chunks/{vcs-01m6t6a9.js → filesystem-j9p9na99.js} +23 -23
- package/dist/chunks/{vcs-ebym5fch.js → filesystem-jcqz60n0.js} +8 -8
- package/dist/chunks/{vcs-13q063b0.js → filesystem-jxahb5yh.js} +18 -18
- package/dist/chunks/{vcs-envqdpax.js → filesystem-k0jqx04v.js} +13 -13
- package/dist/chunks/{vcs-nzks3jc8.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-72n6j39c.js → filesystem-kf5cf4rp.js} +12 -12
- package/dist/chunks/{vcs-4qacd19w.js → filesystem-kkz8m0yr.js} +5 -5
- package/dist/chunks/{vcs-mmr7bq34.js → filesystem-knb7evpn.js} +8 -8
- package/dist/chunks/{vcs-06zrjgay.js → filesystem-kt6frfpb.js} +12 -12
- package/dist/chunks/{vcs-mhg46e0p.js → filesystem-kv00n2m3.js} +37 -37
- package/dist/chunks/{vcs-a8bn8zg0.js → filesystem-kvvk39gs.js} +4 -4
- package/dist/chunks/{vcs-wqteacnb.js → filesystem-kx6qvt0d.js} +85 -85
- package/dist/chunks/{vcs-1axrxgdc.js → filesystem-kxyf5z7e.js} +25 -25
- package/dist/chunks/{vcs-ke3jsz6r.js → filesystem-kz12prak.js} +28 -28
- package/dist/chunks/{vcs-2t103h6b.js → filesystem-kz9hmqfp.js} +22 -22
- package/dist/chunks/{vcs-e7710hd6.js → filesystem-m28tfe1w.js} +8 -8
- package/dist/chunks/{vcs-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-379sbzbq.js → filesystem-mkjc2x20.js} +24 -24
- package/dist/chunks/{vcs-ry85pwrz.js → filesystem-mx4xx2gt.js} +11 -11
- package/dist/chunks/{vcs-hmkrxbsd.js → filesystem-my3wv6m6.js} +1 -1
- package/dist/chunks/{vcs-6knq39fp.js → filesystem-n0anbbxx.js} +6 -6
- package/dist/chunks/{vcs-ww2ppt95.js → filesystem-n7fr6eaa.js} +10 -10
- package/dist/chunks/{vcs-1vx51w1w.js → filesystem-nabsnkhp.js} +18 -18
- package/dist/chunks/{vcs-wczd338b.js → filesystem-naqr419p.js} +36 -36
- package/dist/chunks/{vcs-n6gjtqa4.js → filesystem-nftssr05.js} +29 -29
- package/dist/chunks/{vcs-wvyg63f2.js → filesystem-nj1jmg1n.js} +24 -24
- package/dist/chunks/{vcs-wz7c3pjz.js → filesystem-npyp5404.js} +13 -13
- package/dist/chunks/{vcs-nq7qbqzc.js → filesystem-nq7qbqzc.js} +2 -2
- package/dist/chunks/{vcs-8ta8hfpz.js → filesystem-ntzng88s.js} +17 -17
- package/dist/chunks/{vcs-0f9afca0.js → filesystem-nxhqveyz.js} +5 -5
- package/dist/chunks/{vcs-phstrbs2.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{vcs-ds81ph87.js → filesystem-p5bq8rdg.js} +15 -15
- package/dist/chunks/{vcs-anq7mq7z.js → filesystem-p9agemf7.js} +16 -16
- package/dist/chunks/{vcs-6r81f25e.js → filesystem-p9b38jtj.js} +18 -18
- package/dist/chunks/{vcs-3h1vqtm7.js → filesystem-p9za4yg2.js} +45 -45
- package/dist/chunks/{vcs-fam871qv.js → filesystem-phsc1w3k.js} +10 -10
- package/dist/chunks/{vcs-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-pj7by5mk.js → filesystem-pmd7yqw7.js} +65 -65
- package/dist/chunks/{vcs-173jzaqb.js → filesystem-q1fascv8.js} +44 -44
- package/dist/chunks/{vcs-wepc9txd.js → filesystem-q2j4f1zm.js} +17 -17
- package/dist/chunks/{vcs-d7r387ef.js → filesystem-q5xvhvda.js} +6 -6
- package/dist/chunks/{vcs-amnjnv1s.js → filesystem-q6ymfnrf.js} +38 -38
- package/dist/chunks/{vcs-5xhftgj4.js → filesystem-qccxgcpc.js} +23 -23
- package/dist/chunks/{vcs-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-c765mh8b.js → filesystem-r2m716tb.js} +5 -5
- package/dist/chunks/{vcs-h9ynannw.js → filesystem-r5fcph48.js} +4 -4
- package/dist/chunks/{vcs-3664dkb2.js → filesystem-rbss9r2b.js} +37 -37
- package/dist/chunks/{vcs-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-t9a3q6q8.js → filesystem-rf5ee5k8.js} +3 -3
- package/dist/chunks/{vcs-wprfv400.js → filesystem-rqb0n6yh.js} +32 -32
- package/dist/chunks/{vcs-x8h0pz8m.js → filesystem-rxp0wtye.js} +12 -12
- package/dist/chunks/{vcs-w4wvvbc4.js → filesystem-rz0q65aw.js} +5 -5
- package/dist/chunks/{vcs-vbsshj49.js → filesystem-s4cf8d9e.js} +18 -18
- package/dist/chunks/{vcs-71rwez9w.js → filesystem-s85vttx4.js} +11 -11
- package/dist/chunks/{vcs-a3r4dcrj.js → filesystem-s8610hey.js} +2 -2
- package/dist/chunks/{vcs-q9t0j652.js → filesystem-sdcae30b.js} +16 -16
- package/dist/chunks/{vcs-7k1t81qn.js → filesystem-sjwvt0mt.js} +24 -24
- package/dist/chunks/{vcs-e34xd838.js → filesystem-sm456w7t.js} +8 -8
- package/dist/chunks/{vcs-cvv1tyh9.js → filesystem-sra6vpz2.js} +7 -7
- package/dist/chunks/filesystem-stfvhx3k.js +26 -0
- package/dist/chunks/{vcs-5qkxfyep.js → filesystem-sv3vsz9b.js} +6 -6
- package/dist/chunks/{vcs-mk3kndb3.js → filesystem-sy1fbdna.js} +29 -29
- package/dist/chunks/{vcs-59gxncmk.js → filesystem-t37zfa8g.js} +19 -19
- package/dist/chunks/{vcs-jphrr7s4.js → filesystem-t4bjqpgv.js} +20 -20
- package/dist/chunks/{vcs-nqyhrfcc.js → filesystem-t9d84gp7.js} +4 -4
- package/dist/chunks/{vcs-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-p28j5sbe.js → filesystem-tbz0fdvh.js} +5 -5
- package/dist/chunks/{vcs-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-8jf52wdv.js → filesystem-tt62rdgt.js} +6 -6
- package/dist/chunks/{vcs-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-ykmdpqna.js → filesystem-v06sarth.js} +1 -1
- package/dist/chunks/{vcs-y5df08dr.js → filesystem-v4qfxnag.js} +12 -12
- package/dist/chunks/{vcs-05ne224h.js → filesystem-vbf83gs2.js} +30 -30
- package/dist/chunks/{vcs-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-2hkvphhc.js → filesystem-vhkhvjwk.js} +5 -5
- package/dist/chunks/{vcs-7m2tq7cp.js → filesystem-vke0fqjh.js} +12 -12
- package/dist/chunks/{vcs-ycjb11n5.js → filesystem-vvccsdf3.js} +6 -6
- package/dist/chunks/{vcs-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-5c0f1prt.js → filesystem-w1k39n5e.js} +4 -4
- package/dist/chunks/{vcs-zg00w177.js → filesystem-w1k85dh4.js} +85 -85
- package/dist/chunks/{vcs-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-1c63232t.js → filesystem-wjcmd9cz.js} +8 -8
- package/dist/chunks/{vcs-mdkr6fq5.js → filesystem-wjv5e24e.js} +20 -20
- package/dist/chunks/{vcs-4qqvttyb.js → filesystem-wk75wp36.js} +9 -9
- package/dist/chunks/{vcs-ybhbtxjg.js → filesystem-wqkncbjv.js} +3 -3
- package/dist/chunks/{vcs-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-8ctj0vet.js → filesystem-x232yfz7.js} +46 -46
- package/dist/chunks/{vcs-j23gxyft.js → filesystem-x6ce0q15.js} +13 -13
- package/dist/chunks/{vcs-5gh21e1w.js → filesystem-xcpdqaxy.js} +2 -2
- package/dist/chunks/{vcs-tyg3r6mh.js → filesystem-xhezqp3k.js} +4 -4
- package/dist/chunks/{vcs-a8zr1srk.js → filesystem-xn9jxgmv.js} +8 -8
- package/dist/chunks/{vcs-z2fmrg3w.js → filesystem-xyw3gjcr.js} +32 -32
- package/dist/chunks/{vcs-p70617b8.js → filesystem-xz670hkz.js} +32 -32
- package/dist/chunks/{vcs-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-ve62qrz7.js → filesystem-y1p4t30v.js} +5 -5
- package/dist/chunks/{vcs-m42kpekn.js → filesystem-y46yp9kd.js} +40 -40
- package/dist/chunks/{vcs-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-r8xr0va3.js → filesystem-yp2x3t23.js} +4 -4
- package/dist/chunks/{vcs-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-fb101560.js → filesystem-yx0hjtqq.js} +17 -17
- package/dist/chunks/{vcs-gn9g1pwf.js → filesystem-yzpfhxvz.js} +27 -27
- package/dist/chunks/{vcs-0w296mef.js → filesystem-z014qaxe.js} +17 -17
- package/dist/chunks/{vcs-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-bfwdkgar.js → filesystem-z97hzn0m.js} +16 -16
- package/dist/chunks/{vcs-z2ghjjem.js → filesystem-zanfrvrm.js} +3 -3
- package/dist/chunks/{vcs-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-wjwsazx2.js → filesystem-zgjxrtm7.js} +20 -20
- package/dist/chunks/{vcs-kvdph0hb.js → filesystem-zn99htb6.js} +3 -3
- package/dist/chunks/{vcs-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-jw7qx2m6.js → filesystem-zvayce75.js} +4 -4
- package/dist/chunks/{vcs-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +123 -123
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +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 +69 -69
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- 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 +359 -359
- 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 +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- 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 +99 -99
- package/dist/models-dev.js +100 -100
- 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 +110 -110
- 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/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- 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 +4 -4
- 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 +93 -93
- 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/prompt-cache-key.js +89 -89
- 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 +158 -158
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +6 -6
- 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 +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- 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 +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- 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 +3 -3
- 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 +230 -230
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- 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 +122 -122
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- 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 +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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/vcs-50hbbtx8.js +0 -26
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-bgsd6ce6.js +0 -492
- package/dist/chunks/vcs-qapv375x.js +0 -4
- package/dist/chunks/vcs-wcr4e3c6.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service46, exports_runner };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info11
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info11 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info11, exports_attachment };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-4pw9szbk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-13qzbekt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service33,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service33 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service33.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node36 = makeLocationNode({
|
|
112
|
+
service: Service33,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./filesystem-ckge2wbq.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info8
|
|
9
|
+
} from "./filesystem-xn9jxgmv.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-zvayce75.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./filesystem-y46yp9kd.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin23
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info8);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin23 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service42;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin15 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin23, exports_agent2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-4pw9szbk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service55,
|
|
7
|
+
node58
|
|
8
|
+
} from "./filesystem-04g8gb3s.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./filesystem-46p5v0nr.js";
|
|
14
|
+
import {
|
|
15
|
+
Service69,
|
|
16
|
+
node73
|
|
17
|
+
} from "./filesystem-13qzbekt.js";
|
|
14
18
|
import {
|
|
15
19
|
Service64,
|
|
16
20
|
node68
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service22,
|
|
20
|
-
node25
|
|
21
|
-
} from "./vcs-ds81ph87.js";
|
|
21
|
+
} from "./filesystem-p5bq8rdg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service14,
|
|
31
|
+
node: () => node16
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service82;
|
|
40
|
-
const location = yield*
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
40
|
+
const location = yield* Service77;
|
|
41
|
+
const permission = yield* Service69;
|
|
42
|
+
const forms = yield* Service55;
|
|
43
|
+
const rpc = yield* Service64;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service14.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node16 = makeLocationNode({
|
|
60
|
+
service: Service14,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [node86,
|
|
62
|
+
deps: [node86, node81, node73, node58, node68]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service14, node16, exports_location_lifecycle };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-4pw9szbk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./filesystem-4waxsa04.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./filesystem-13qzbekt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service32,
|
|
15
|
+
node35
|
|
16
|
+
} from "./filesystem-hhf3paha.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
25
|
Service: () => Service29,
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
29
|
node: () => node32
|
|
30
30
|
});
|
|
@@ -33,15 +33,15 @@ import { McpEvent } from "@opencode/schema/mcp-event";
|
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
38
|
class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service32;
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service69;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -122,8 +122,8 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
var node32 = makeLocationNode({
|
|
124
124
|
service: Service29,
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node35, node33, node86, node73]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service29, layer13, node32, exports_mcp3 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-j8v09z9q.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-4pw9szbk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./filesystem-vvccsdf3.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-922hggd3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service35
|
|
16
|
+
} from "./filesystem-71ka5gtd.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-wqkncbjv.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __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*
|
|
45
|
+
const instances = yield* Service47;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service35;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID5.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;
|
|
@@ -74,10 +74,10 @@ 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*
|
|
77
|
+
const instances = yield* Service47;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service35;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-7hp0tadb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./filesystem-y46yp9kd.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-8aqc4yxf.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service42;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID6.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make6();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make6, OllamaPlugin2 };
|