@opencode/core 0.0.0-dev-20175 → 0.0.0-dev-20180
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{mime-1q1h4scy.js → git-09d8031r.js} +32 -32
- package/dist/chunks/{mime-zefpc43y.js → git-0jw0xscs.js} +14 -14
- package/dist/chunks/{mime-nes9re6y.js → git-0n6mwmv5.js} +6 -6
- package/dist/chunks/{mime-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-ae0nwvy8.js → git-0pr3hkd7.js} +4 -4
- package/dist/chunks/{mime-dzqga1rh.js → git-0v6jwyy3.js} +14 -14
- package/dist/chunks/{mime-s25qb6rd.js → git-114q0qvg.js} +14 -14
- package/dist/chunks/{mime-ey8kmd5x.js → git-11nfjzd7.js} +18 -18
- package/dist/chunks/{mime-ws8rf1n9.js → git-1a08kc09.js} +19 -19
- package/dist/chunks/{mime-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-0anb59kh.js → git-1m9mvz04.js} +14 -14
- package/dist/chunks/{mime-97sgz6yw.js → git-1q898j1r.js} +18 -18
- package/dist/chunks/{mime-508mdezp.js → git-1ydncxvh.js} +4 -4
- package/dist/chunks/{mime-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-29x78va6.js → git-29x78va6.js} +2 -2
- package/dist/chunks/{mime-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-ja923fd7.js → git-2h9n59sv.js} +3 -3
- package/dist/chunks/{mime-ket7y27p.js → git-2hd68st2.js} +70 -70
- package/dist/chunks/{mime-qmqgtz8f.js → git-2sejkfem.js} +9 -9
- package/dist/chunks/{mime-yew08yk0.js → git-2w73900m.js} +42 -42
- package/dist/chunks/{mime-3wrtxrr4.js → git-2wj8n25z.js} +6 -6
- package/dist/chunks/{mime-038cbjbn.js → git-30m7dzgk.js} +11 -11
- package/dist/chunks/{mime-h69067hd.js → git-30pwp36g.js} +8 -8
- package/dist/chunks/{mime-xxc26qrd.js → git-369htbx8.js} +15 -15
- package/dist/chunks/{mime-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-0tzy42a9.js → git-3heg1ssy.js} +8 -8
- package/dist/chunks/{mime-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-e0ps24dg.js → git-3jt824p6.js} +20 -20
- package/dist/chunks/{mime-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-bjzh7m45.js → git-3vrh6sd1.js} +11 -11
- package/dist/chunks/{mime-6rfetefd.js → git-3wcq71ej.js} +3 -3
- package/dist/chunks/{mime-rp5c3k0s.js → git-3z8etzyw.js} +41 -41
- package/dist/chunks/{mime-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-qs001aqx.js → git-49w8mb30.js} +8 -8
- package/dist/chunks/{mime-ht3seza6.js → git-4atcys8t.js} +25 -25
- package/dist/chunks/{mime-de35ch4m.js → git-4cey7m6q.js} +6 -6
- package/dist/chunks/{mime-d866bxqg.js → git-4d3460jv.js} +11 -11
- package/dist/chunks/{mime-ekv8efyj.js → git-4h80zy7w.js} +8 -8
- package/dist/chunks/{mime-234qydz7.js → git-4q3nzy60.js} +1 -1
- package/dist/chunks/{mime-beezqa8w.js → git-4xxchepr.js} +18 -18
- package/dist/chunks/{mime-mhmbnrp5.js → git-4yeg4r3m.js} +13 -13
- package/dist/chunks/{mime-1ygqh575.js → git-56gdpj1q.js} +9 -9
- package/dist/chunks/{mime-57ez7d0k.js → git-57ez7d0k.js} +2 -2
- package/dist/chunks/{mime-c4bh15tq.js → git-5ab0pca5.js} +11 -11
- package/dist/chunks/{mime-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-bc3t5yes.js → git-5frpgbe6.js} +21 -21
- package/dist/chunks/{mime-amgtyp96.js → git-5m30x6et.js} +17 -17
- package/dist/chunks/{mime-49zwtcb8.js → git-5rqt673j.js} +49 -49
- package/dist/chunks/{mime-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-79bvek48.js → git-60at6cp5.js} +16 -16
- package/dist/chunks/{mime-ny1bawyf.js → git-62600c50.js} +15 -15
- package/dist/chunks/{mime-4crc4jdm.js → git-666kj367.js} +3 -3
- package/dist/chunks/{mime-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{mime-p3vh2ta0.js → git-67str9pe.js} +24 -24
- package/dist/chunks/git-6kdq0pjd.js +4 -0
- package/dist/chunks/{mime-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-cz6jyf1n.js → git-6sjtj90m.js} +6 -6
- package/dist/chunks/{mime-dtt66365.js → git-6z9mwsmt.js} +22 -22
- package/dist/chunks/{mime-7tbrah22.js → git-6zpczexw.js} +8 -8
- package/dist/chunks/{mime-eq1pz5kg.js → git-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-aqd372pc.js → git-77ev5h06.js} +15 -15
- package/dist/chunks/{mime-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-2k8khapm.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{mime-7tycp833.js → git-7gp0zx07.js} +9 -9
- package/dist/chunks/{mime-d2aac7k2.js → git-7gvwkz6m.js} +5 -5
- package/dist/chunks/{mime-2gw68b84.js → git-80qyyxzp.js} +20 -20
- package/dist/chunks/{mime-bb26mjzh.js → git-83h78zw0.js} +6 -6
- package/dist/chunks/{mime-k8fbnnjg.js → git-84073t5h.js} +32 -32
- package/dist/chunks/{mime-w41yqvvp.js → git-860rnwef.js} +17 -17
- package/dist/chunks/{mime-3153j44s.js → git-89dkfx8j.js} +15 -15
- package/dist/chunks/{mime-x9d81cjr.js → git-8awf735n.js} +6 -6
- package/dist/chunks/{mime-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-vw5a0rfv.js → git-8ehf9qx8.js} +2 -2
- package/dist/chunks/{mime-7psk4stz.js → git-8fhj4thy.js} +31 -31
- package/dist/chunks/{mime-83m6sd17.js → git-8p4z7qek.js} +4 -4
- package/dist/chunks/{mime-w92k2e0p.js → git-8sze2n9a.js} +4 -4
- package/dist/chunks/{mime-dy59ndr5.js → git-8x95hpt8.js} +47 -47
- package/dist/chunks/{mime-bbjzvta2.js → git-91995yx2.js} +17 -17
- package/dist/chunks/{mime-0r7yqxbf.js → git-92a4ap4w.js} +5 -5
- package/dist/chunks/{mime-94ek1h2f.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{mime-27em9pm7.js → git-94tqfv3g.js} +12 -12
- package/dist/chunks/{mime-t5ra0cz4.js → git-99x4at9v.js} +11 -11
- package/dist/chunks/{mime-k8962brh.js → git-a2ew8a62.js} +7 -7
- package/dist/chunks/{mime-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-8fyve6nd.js → git-aamttb2x.js} +8 -8
- package/dist/chunks/{mime-afed7ext.js → git-afed7ext.js} +5 -5
- package/dist/chunks/{mime-dfe8djrf.js → git-an7cqtb7.js} +4 -4
- package/dist/chunks/{mime-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-enh3xt40.js → git-b8kjk650.js} +8 -8
- package/dist/chunks/{mime-2vs2nh1n.js → git-baaqp4zd.js} +4 -4
- package/dist/chunks/{mime-f1yg1ebf.js → git-bemvq2t2.js} +35 -35
- package/dist/chunks/{mime-j34bs4nz.js → git-bgc5ggmx.js} +4 -4
- package/dist/chunks/{mime-c1ckp43n.js → git-bh499fqr.js} +9 -9
- package/dist/chunks/{mime-2vm2mn6r.js → git-bkynabhq.js} +29 -29
- package/dist/chunks/{mime-mbjbnbxx.js → git-brpwvc6v.js} +7 -7
- package/dist/chunks/{mime-54g84kz9.js → git-c0nbb22r.js} +12 -12
- package/dist/chunks/{mime-2dy1p8ya.js → git-c0ze6azg.js} +13 -13
- package/dist/chunks/{mime-t550g8gs.js → git-ch4sbhb0.js} +9 -9
- package/dist/chunks/{mime-ckecvw8r.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/git-ctefx7dc.js +18 -0
- package/dist/chunks/git-cvcxksr2.js +26 -0
- package/dist/chunks/{mime-6aq6s8eb.js → git-cvjw7wsr.js} +8 -8
- package/dist/chunks/{mime-vfwfag5t.js → git-cy4fed9j.js} +22 -22
- package/dist/chunks/{mime-7r6qf5r7.js → git-cy9wafaf.js} +16 -16
- package/dist/chunks/{mime-m9rvph0x.js → git-cycs76hc.js} +8 -8
- package/dist/chunks/{mime-ndz9h71m.js → git-cyhp5vj1.js} +3 -3
- package/dist/chunks/{mime-44vkmz6z.js → git-cyk2d3fq.js} +26 -26
- package/dist/chunks/{mime-bg87x2pg.js → git-cytt16d4.js} +13 -13
- package/dist/chunks/{mime-2kdwgsh2.js → git-d3mxekym.js} +2 -2
- package/dist/chunks/git-d62r6e8r.js +252 -0
- package/dist/chunks/{mime-w5py834v.js → git-d93m8bwv.js} +16 -16
- package/dist/chunks/{mime-xjtpc5ew.js → git-d9v0jgcb.js} +21 -21
- package/dist/chunks/{mime-743spchq.js → git-dcb4ftaw.js} +1 -1
- package/dist/chunks/{mime-xkntkrq7.js → git-dmqcgk4z.js} +5 -5
- package/dist/chunks/{mime-ppvvtx0s.js → git-dtnr7rkm.js} +20 -20
- package/dist/chunks/{mime-tggd67fe.js → git-e21mpqmm.js} +10 -10
- package/dist/chunks/{mime-fdjzn7y9.js → git-e252jyjm.js} +24 -24
- package/dist/chunks/{mime-m7x0jkmn.js → git-e4mdbxmf.js} +3 -3
- package/dist/chunks/{mime-t6f3wjjb.js → git-e66q86e2.js} +30 -30
- package/dist/chunks/{mime-qp9qrtp0.js → git-e89z02f5.js} +42 -42
- package/dist/chunks/{mime-vj9r822s.js → git-e9sbwmmk.js} +28 -28
- package/dist/chunks/{mime-ecfe7b91.js → git-ecfe7b91.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-k7z0z15n.js → git-ehrxfcx9.js} +10 -10
- package/dist/chunks/{mime-9hhm9pvq.js → git-end0w5gf.js} +13 -13
- package/dist/chunks/{mime-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-5pyf4h0a.js → git-ets61prm.js} +24 -24
- package/dist/chunks/{mime-p42cb6gq.js → git-f2r29xz8.js} +28 -28
- package/dist/chunks/{mime-xaqyyngn.js → git-f80p04w6.js} +8 -8
- package/dist/chunks/{mime-rbe8s94e.js → git-fcbfm0sn.js} +3 -3
- package/dist/chunks/{mime-7cgya2dp.js → git-ff2gveh4.js} +8 -8
- package/dist/chunks/{mime-hdzt82x2.js → git-fjvydvzm.js} +4 -4
- package/dist/chunks/{mime-qs50n71f.js → git-fm5zmhxr.js} +20 -20
- package/dist/chunks/{mime-3w0fmcng.js → git-fpmq6gma.js} +5 -5
- package/dist/chunks/{mime-hqrt1rb2.js → git-frtx2nz8.js} +7 -7
- package/dist/chunks/{mime-k28tmd1k.js → git-fss1wqpp.js} +10 -10
- package/dist/chunks/{mime-9g6t6zrh.js → git-g0mmemcf.js} +6 -6
- package/dist/chunks/{mime-zrq8kphx.js → git-g1sxm558.js} +8 -8
- package/dist/chunks/{mime-h4dg678n.js → git-g92xzkhq.js} +3 -3
- package/dist/chunks/{mime-y5xqhydv.js → git-g9ch0q6b.js} +29 -29
- package/dist/chunks/{mime-0hn7mjnx.js → git-gb4zbcp8.js} +11 -11
- package/dist/chunks/{mime-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-87d9dw5n.js → git-gjc5er36.js} +9 -9
- package/dist/chunks/{mime-2py3gdf7.js → git-gng5hxs7.js} +20 -20
- package/dist/chunks/{mime-r9302q9a.js → git-gppf410q.js} +10 -10
- package/dist/chunks/{mime-k1qrnqst.js → git-gs4tkc79.js} +8 -8
- package/dist/chunks/{mime-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-x2rw7g36.js → git-h4z1mxff.js} +5 -5
- package/dist/chunks/{mime-h6r3nrb9.js → git-h6r3nrb9.js} +1 -1
- package/dist/chunks/{mime-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-35kmpahp.js → git-h7fdnx8v.js} +4 -4
- package/dist/chunks/{mime-4j2jd05g.js → git-h8r7rjgh.js} +33 -33
- package/dist/chunks/{mime-sk4fpzkz.js → git-hazy572e.js} +14 -14
- package/dist/chunks/{mime-sxzvkvgj.js → git-hdab2k61.js} +6 -6
- package/dist/chunks/{mime-j8afcsyc.js → git-hehaxqkv.js} +4 -4
- package/dist/chunks/{mime-y8yd5a40.js → git-hh3jtzcy.js} +11 -11
- package/dist/chunks/{mime-xsjv728j.js → git-hymttjhr.js} +9 -9
- package/dist/chunks/{mime-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-mpmqpgh5.js → git-j5cwm3bm.js} +1 -1
- package/dist/chunks/{mime-pebjh6nn.js → git-j67w5na4.js} +13 -13
- package/dist/chunks/{mime-s17k9x7e.js → git-jmarqnvm.js} +11 -11
- package/dist/chunks/{mime-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{mime-22s5ds6t.js → git-k96br1zw.js} +15 -15
- package/dist/chunks/{mime-q970vn6j.js → git-kbegyq1c.js} +2 -2
- package/dist/chunks/{mime-c77x7g6d.js → git-kenzbab6.js} +24 -24
- package/dist/chunks/{mime-b95dy7zp.js → git-kjwmhxpf.js} +4 -4
- package/dist/chunks/{mime-ywqv77jt.js → git-kpk8zhaq.js} +29 -29
- package/dist/chunks/{mime-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-3559wj1e.js → git-m4gdtjrg.js} +21 -21
- package/dist/chunks/{mime-6r5c0w9g.js → git-m9mm3axp.js} +26 -26
- package/dist/chunks/{mime-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-5s4prcyn.js → git-may19ace.js} +27 -27
- package/dist/chunks/{mime-mgmaefw5.js → git-mgmaefw5.js} +3 -3
- package/dist/chunks/{mime-aamn49ap.js → git-mkegk1gd.js} +40 -40
- package/dist/chunks/{mime-82e83hjb.js → git-mmwan2gk.js} +13 -13
- package/dist/chunks/{mime-sdg1gcr0.js → git-mr3aysrj.js} +26 -26
- package/dist/chunks/{mime-0sadyvpa.js → git-mscdvfrd.js} +4 -4
- package/dist/chunks/{mime-fp67s591.js → git-mt57nh0v.js} +16 -16
- package/dist/chunks/{mime-tgwh4g45.js → git-mx3acdr1.js} +3 -3
- package/dist/chunks/{mime-ysk4s0pp.js → git-n19t397f.js} +3 -3
- package/dist/chunks/{mime-n1ka8r9d.js → git-n1ka8r9d.js} +4 -4
- package/dist/chunks/{mime-fpnx24t4.js → git-n7d88tpn.js} +3 -3
- package/dist/chunks/{mime-ppv6hta6.js → git-n9esk63t.js} +20 -20
- package/dist/chunks/{mime-9k86q3aq.js → git-nhf6180g.js} +11 -11
- package/dist/chunks/{mime-j5fqsg2e.js → git-nkbv9bpr.js} +318 -318
- package/dist/chunks/{mime-r398a7yx.js → git-nqpk6sgc.js} +7 -7
- package/dist/chunks/{mime-zkkg3hmv.js → git-nth02yt4.js} +10 -10
- package/dist/chunks/{mime-vc794bvv.js → git-ny5pcte9.js} +130 -130
- package/dist/chunks/{mime-44d35g97.js → git-p7e63y9d.js} +25 -25
- package/dist/chunks/{mime-5yzzbxa7.js → git-pa8pe2x7.js} +8 -8
- package/dist/chunks/{mime-zvj905se.js → git-pb6cen25.js} +5 -5
- package/dist/chunks/{mime-605gm5cj.js → git-pd1ntcfr.js} +26 -26
- package/dist/chunks/{mime-tz679c1q.js → git-pfm9gbeb.js} +1 -1
- package/dist/chunks/{mime-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{mime-ezyw3hyt.js → git-pnqe9gv0.js} +1 -1
- package/dist/chunks/{mime-wvjy0rkm.js → git-q35enfgt.js} +3 -3
- package/dist/chunks/{mime-kea5jqe6.js → git-q95ya1jw.js} +35 -35
- package/dist/chunks/{mime-2nah3rm6.js → git-qf43y6bq.js} +8 -8
- package/dist/chunks/{mime-qg0jgkcp.js → git-qg0jgkcp.js} +2 -2
- package/dist/chunks/{mime-cjwramev.js → git-qk0gpxf2.js} +6 -6
- package/dist/chunks/{mime-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-z90jk03v.js → git-qzx88zny.js} +16 -16
- package/dist/chunks/{mime-zdcc64ja.js → git-rd143bxj.js} +3 -3
- package/dist/chunks/{mime-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-75xs070m.js → git-rgs1nxgt.js} +18 -18
- package/dist/chunks/{mime-30vqxvem.js → git-rke4besn.js} +6 -6
- package/dist/chunks/{mime-1bmj1kf2.js → git-rny04ytj.js} +10 -10
- package/dist/chunks/{mime-whvrryqk.js → git-rr6984r4.js} +8 -8
- package/dist/chunks/{mime-gwydwvmj.js → git-rtathh62.js} +8 -8
- package/dist/chunks/{mime-v553wp33.js → git-rx7w6kha.js} +48 -48
- package/dist/chunks/{mime-7wny7pda.js → git-s0d28j9p.js} +22 -22
- package/dist/chunks/{mime-enmnh83w.js → git-s2n17b9m.js} +10 -10
- package/dist/chunks/{mime-s4enseaf.js → git-s4enseaf.js} +2 -2
- package/dist/chunks/{mime-qh8qw1yz.js → git-s7s657b9.js} +12 -12
- package/dist/chunks/{mime-v6v677s0.js → git-sj9kkzcn.js} +22 -22
- package/dist/chunks/{mime-2cfadnaz.js → git-smrz51yc.js} +2 -2
- package/dist/chunks/{mime-qms6mpje.js → git-sr6b03ft.js} +20 -20
- package/dist/chunks/{mime-1nzs1dt7.js → git-ss0awb04.js} +6 -6
- package/dist/chunks/{mime-gxvazm9p.js → git-ss7d1vek.js} +11 -11
- package/dist/chunks/{mime-fee1sgdn.js → git-swp2mva0.js} +12 -12
- package/dist/chunks/{mime-xdk9p2qn.js → git-t51qk8jz.js} +4 -4
- package/dist/chunks/{mime-t550f9t1.js → git-t550f9t1.js} +1 -1
- package/dist/chunks/{mime-7xsf7rnq.js → git-t9kh7ffs.js} +11 -11
- package/dist/chunks/{mime-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-d858xzj7.js → git-tbmac1c7.js} +4 -4
- package/dist/chunks/{mime-170hdxs4.js → git-tbv16z2n.js} +4 -4
- package/dist/chunks/{mime-89znhe33.js → git-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{mime-b4yeq8gw.js → git-tej6vbjz.js} +16 -16
- package/dist/chunks/{mime-s8r0mwsn.js → git-thnfwydy.js} +46 -46
- package/dist/chunks/{mime-153c4z9z.js → git-thq55e10.js} +15 -15
- package/dist/chunks/{mime-wskervgn.js → git-tjaz3ert.js} +16 -16
- package/dist/chunks/{mime-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-41km3kz5.js → git-v2qc2ynm.js} +9 -9
- package/dist/chunks/{mime-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-d7aqhzds.js → git-vjmtwjf8.js} +86 -86
- package/dist/chunks/{mime-6540dvt1.js → git-vk04hqkj.js} +7 -7
- package/dist/chunks/{mime-ajt4fata.js → git-vkc0skh6.js} +8 -8
- package/dist/chunks/{mime-yg64st6f.js → git-vkg4cfmh.js} +13 -13
- package/dist/chunks/{mime-rk5e9k3p.js → git-vq9f2bt3.js} +86 -86
- package/dist/chunks/{mime-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-77a7k1x9.js → git-w7y24cr5.js} +27 -27
- package/dist/chunks/{mime-wd3x2cqz.js → git-wd3x2cqz.js} +2 -2
- package/dist/chunks/{mime-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{mime-6hjx5zpb.js → git-wk5z6jzv.js} +9 -9
- package/dist/chunks/{mime-1q9kvn7y.js → git-wtwjc2y3.js} +8 -8
- package/dist/chunks/{mime-ds0wtj4e.js → git-wtznwfdr.js} +1 -1
- package/dist/chunks/{mime-mh42mebz.js → git-wy9kf037.js} +10 -10
- package/dist/chunks/{mime-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-bpcm8v83.js → git-x79d2r0k.js} +6 -6
- package/dist/chunks/{mime-t4ay05z1.js → git-x9zytbhm.js} +9 -9
- package/dist/chunks/{mime-vq9mnbss.js → git-xe0rw7pk.js} +18 -18
- package/dist/chunks/{mime-2bekqz3a.js → git-xf3b7ak0.js} +13 -13
- package/dist/chunks/{mime-57b9ws8p.js → git-xfkkasph.js} +7 -7
- package/dist/chunks/{mime-cz43zx57.js → git-xgdt0b3g.js} +6 -6
- package/dist/chunks/{mime-4fvze959.js → git-xh2n1tx9.js} +43 -43
- package/dist/chunks/{mime-3js9yjpf.js → git-xnxs98wq.js} +30 -30
- package/dist/chunks/{mime-45v820cx.js → git-xtqytmaw.js} +34 -34
- package/dist/chunks/{mime-42wz0x18.js → git-xy26ekgv.js} +12 -12
- package/dist/chunks/{mime-gqy8xtzk.js → git-xyqxxema.js} +42 -42
- package/dist/chunks/{mime-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{mime-rf80fxgj.js → git-y906m0ew.js} +5 -5
- package/dist/chunks/{mime-86aj54kq.js → git-y9ddfctt.js} +24 -24
- package/dist/chunks/{mime-dhc0xkxm.js → git-ynctgny0.js} +38 -38
- package/dist/chunks/{mime-1acjjqhc.js → git-yp2x3t23.js} +4 -4
- package/dist/chunks/{mime-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-et8918tz.js → git-ytzyys1x.js} +1 -1
- package/dist/chunks/{mime-anq3081s.js → git-yw133b83.js} +10 -10
- package/dist/chunks/{mime-z07pqspn.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{mime-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-q2kneea3.js → git-z4eg18an.js} +11 -11
- package/dist/chunks/{mime-xmj1c5tj.js → git-z97943y0.js} +18 -18
- package/dist/chunks/{mime-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-f2dxdeh3.js → git-zmn0srxy.js} +12 -12
- package/dist/chunks/{mime-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-1d35eqgr.js → git-zv3zq7g4.js} +5 -5
- package/dist/chunks/{mime-5fb55ywp.js → git-zvwz45r0.js} +9 -9
- package/dist/chunks/{mime-z5km0pse.js → git-zw6dw17q.js} +15 -15
- package/dist/chunks/{mime-re33y59c.js → git-zw786g3k.js} +25 -25
- package/dist/chunks/{mime-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +125 -125
- 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 +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- 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/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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +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 +70 -70
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +363 -363
- 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 +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +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 +93 -93
- 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 +122 -122
- 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 +92 -92
- 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 +122 -122
- 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 +353 -353
- 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/verbosity.js +93 -93
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- 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 +96 -96
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +79 -79
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +172 -172
- 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 +73 -73
- package/dist/session/store.js +87 -87
- 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 +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- 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 +127 -127
- 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 +116 -116
- 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 +217 -217
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +217 -217
- 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 +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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +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/mime-6cjeyrsw.js +0 -26
- package/dist/chunks/mime-hr9dp009.js +0 -4
- package/dist/chunks/mime-v1faaxn9.js +0 -18
- package/dist/chunks/mime-yvzdpfbp.js +0 -252
- /package/dist/chunks/{mime-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e3qxr5gk.js → git-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info23
|
|
7
|
+
} from "./git-t51qk8jz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info22
|
|
10
|
+
} from "./git-49w8mb30.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info25
|
|
13
|
+
} from "./git-fpmq6gma.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info18
|
|
16
|
+
} from "./git-a2ew8a62.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info17
|
|
19
|
+
} from "./git-fjvydvzm.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info20
|
|
25
|
+
} from "./git-ss0awb04.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info19
|
|
28
|
+
} from "./git-7gvwkz6m.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info24
|
|
34
|
+
} from "./git-92a4ap4w.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./git-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info21
|
|
40
|
+
} from "./git-an7cqtb7.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info16,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info16 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info13 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info21).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info13 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info22), plan: Schema.optional(Info22) }), [Schema.Record(Schema.String, Info22)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info22),
|
|
119
|
+
build: Schema.optional(Info22),
|
|
120
|
+
general: Schema.optional(Info22),
|
|
121
|
+
explore: Schema.optional(Info22),
|
|
122
|
+
title: Schema.optional(Info22),
|
|
123
|
+
summary: Schema.optional(Info22),
|
|
124
|
+
compaction: Schema.optional(Info22)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info22)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info24)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info19, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info17).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info20).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info23),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info25).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info13 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info16, exports_config2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-d3mxekym.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./git-d9v0jgcb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service23,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-cytt16d4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./git-30m7dzgk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./git-8x95hpt8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service24,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-369htbx8.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input6,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin7,
|
|
36
|
+
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name6 = "edit";
|
|
43
|
+
var Input6 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin7 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service24;
|
|
110
|
+
const fileMutation = yield* Service23;
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service56;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input6,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin45 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name6, Input6, Output5, Plugin7, exports_edit };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-d3mxekym.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./git-d9v0jgcb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./git-30m7dzgk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service23,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-cytt16d4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./git-8x95hpt8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service24,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-369htbx8.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin3 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const access = yield* Service24;
|
|
113
|
+
const fileMutation = yield* Service23;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service56;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin47 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin3, exports_patch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service62,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node64
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service62 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service62.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node64 = makeLocationNode({
|
|
137
|
+
service: Service62,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service62, node64, exports_tool_output2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-kjwmhxpf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-d3mxekym.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node67
|
|
12
|
+
} from "./git-d9v0jgcb.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service69,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node73
|
|
20
|
+
} from "./git-1a08kc09.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service67,
|
|
23
|
+
node71
|
|
24
|
+
} from "./git-g1sxm558.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service61,
|
|
27
|
+
node63
|
|
28
|
+
} from "./git-3heg1ssy.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-n7d88tpn.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service70,
|
|
35
|
+
node74
|
|
36
|
+
} from "./git-3z8etzyw.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./git-xy26ekgv.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError9,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service60,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node62
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service60 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
92
|
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service69;
|
|
95
|
+
const environment = yield* Service64;
|
|
96
|
+
const hooks = yield* Service67;
|
|
97
|
+
const environments = yield* Service61;
|
|
98
|
+
const config = yield* Service70;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError9({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError9({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service60.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node62 = makeLocationNode({
|
|
329
|
+
service: Service60,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
333
|
node84,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
node72,
|
|
335
|
+
node73,
|
|
337
336
|
node67,
|
|
338
|
-
|
|
339
|
-
|
|
337
|
+
node71,
|
|
338
|
+
node63,
|
|
339
|
+
node74,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError9, RETENTION2, DIRECTORY2, Service60, cleanup2, node62, exports_shell4 };
|