@opencode/core 0.0.0-dev-19860 → 0.0.0-dev-19862
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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-kxyf5z7e.js → image-00qecwt6.js} +20 -20
- package/dist/chunks/{filesystem-phsc1w3k.js → image-017kf9ys.js} +10 -10
- package/dist/chunks/{filesystem-3ta4n5rg.js → image-03bdbrz9.js} +7 -7
- package/dist/chunks/{filesystem-j8v09z9q.js → image-067aw8zg.js} +3 -3
- package/dist/chunks/{filesystem-w1k39n5e.js → image-06dxphr1.js} +4 -4
- package/dist/chunks/{filesystem-z014qaxe.js → image-06pxfyz9.js} +17 -17
- package/dist/chunks/{filesystem-erm9gs1m.js → image-0835j86p.js} +18 -18
- package/dist/chunks/{filesystem-1akmjgjg.js → image-0da5p1c1.js} +5 -5
- package/dist/chunks/{filesystem-8s8mxddj.js → image-0gr7cw0d.js} +4 -4
- package/dist/chunks/{filesystem-6anwy9fs.js → image-0jk763hn.js} +6 -6
- package/dist/chunks/{filesystem-z97hzn0m.js → image-0k7qqwr6.js} +16 -16
- package/dist/chunks/{filesystem-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-bgxcxs0p.js → image-0r7yqxbf.js} +5 -5
- package/dist/chunks/{filesystem-s4cf8d9e.js → image-0vhbx82e.js} +18 -18
- package/dist/chunks/{filesystem-bj8kctas.js → image-0vrssnk3.js} +11 -11
- package/dist/chunks/{filesystem-e82g4p77.js → image-0yqcp4rf.js} +10 -10
- package/dist/chunks/{filesystem-89cssmvp.js → image-139d9d1s.js} +13 -13
- package/dist/chunks/{filesystem-xz670hkz.js → image-13w8yp4j.js} +30 -30
- package/dist/chunks/{filesystem-rxp0wtye.js → image-15ys8njn.js} +11 -11
- package/dist/chunks/{filesystem-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-pmd7yqw7.js → image-1gsqt67b.js} +65 -65
- package/dist/chunks/{filesystem-kt6frfpb.js → image-1hc7fkrj.js} +14 -14
- package/dist/chunks/{filesystem-aepjrbx0.js → image-1nnxksmf.js} +47 -47
- package/dist/chunks/{filesystem-e06sw8n6.js → image-1wwfc5vj.js} +29 -29
- package/dist/chunks/{filesystem-1ygqh575.js → image-1ygqh575.js} +2 -2
- package/dist/chunks/{filesystem-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → image-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-vbf83gs2.js → image-2dtaqj3b.js} +30 -30
- package/dist/chunks/{filesystem-r2m716tb.js → image-2sejkfem.js} +9 -9
- package/dist/chunks/{filesystem-8gac8n07.js → image-392652w7.js} +23 -23
- package/dist/chunks/{filesystem-hv6jfmhd.js → image-3aa5s156.js} +10 -10
- package/dist/chunks/{filesystem-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-b2e86tga.js → image-3kkyct8v.js} +20 -20
- package/dist/chunks/{filesystem-1rr3swgy.js → image-3mqaq5np.js} +4 -4
- package/dist/chunks/{filesystem-88r9n90q.js → image-3r85b2d0.js} +4 -4
- package/dist/chunks/{filesystem-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-1f075h9t.js → image-3yt543f6.js} +20 -20
- package/dist/chunks/{filesystem-kx6qvt0d.js → image-4hka8bb7.js} +85 -85
- package/dist/chunks/{filesystem-x6ce0q15.js → image-4na7n5g4.js} +10 -10
- package/dist/chunks/{filesystem-t4bjqpgv.js → image-54mjtcx2.js} +17 -17
- package/dist/chunks/{filesystem-57ez7d0k.js → image-57ez7d0k.js} +2 -2
- package/dist/chunks/{filesystem-a1bz86dw.js → image-5c4hm403.js} +3 -3
- package/dist/chunks/{filesystem-46p5v0nr.js → image-5d0yg4wn.js} +14 -14
- package/dist/chunks/{filesystem-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-q2j4f1zm.js → image-5g8m5wq5.js} +17 -17
- package/dist/chunks/{filesystem-bp188etw.js → image-5gjsyccn.js} +18 -18
- package/dist/chunks/{filesystem-hgxzff7j.js → image-5j3zvexf.js} +22 -22
- package/dist/chunks/{filesystem-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-8j3bcj8f.js → image-5z7jsfn8.js} +19 -19
- package/dist/chunks/{filesystem-q6ymfnrf.js → image-638tecg7.js} +36 -36
- package/dist/chunks/{filesystem-sra6vpz2.js → image-63t418ew.js} +7 -7
- package/dist/chunks/{filesystem-vhkhvjwk.js → image-63zzvet4.js} +2 -2
- package/dist/chunks/{filesystem-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-0jk305gw.js → image-68cpew65.js} +15 -15
- package/dist/chunks/{filesystem-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-fwm7j62e.js → image-6nt0tvrw.js} +12 -12
- package/dist/chunks/{filesystem-w1k85dh4.js → image-6sw2gfph.js} +86 -86
- package/dist/chunks/{filesystem-gmv9h3vn.js → image-6tz160f2.js} +32 -32
- package/dist/chunks/{filesystem-nj1jmg1n.js → image-6vjyz34s.js} +24 -24
- package/dist/chunks/{filesystem-73tb2d7t.js → image-73tb2d7t.js} +1 -1
- package/dist/chunks/{filesystem-9q0baw2b.js → image-75m48y27.js} +14 -14
- package/dist/chunks/{filesystem-bf0ep029.js → image-7aedyf8y.js} +11 -11
- package/dist/chunks/{filesystem-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-kv00n2m3.js → image-7d2amvh8.js} +34 -34
- package/dist/chunks/{filesystem-24gf0acj.js → image-7hed1pqr.js} +9 -9
- package/dist/chunks/{filesystem-rqb0n6yh.js → image-80xnw93e.js} +26 -26
- package/dist/chunks/{filesystem-t37zfa8g.js → image-83v9k6gb.js} +18 -18
- package/dist/chunks/{filesystem-cm9jsw5f.js → image-85v7x7ja.js} +8 -8
- package/dist/chunks/{filesystem-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-23h8ty1a.js → image-8m5p3kak.js} +26 -26
- package/dist/chunks/{filesystem-1ym61n1a.js → image-8n5c03n1.js} +33 -33
- package/dist/chunks/{filesystem-ap9fazeb.js → image-8nf7zb52.js} +5 -5
- package/dist/chunks/{filesystem-r5fcph48.js → image-939qrfm7.js} +4 -4
- package/dist/chunks/{filesystem-826ce358.js → image-99rss5sz.js} +11 -11
- package/dist/chunks/{filesystem-12mvcd02.js → image-9ad2hkyv.js} +9 -9
- package/dist/chunks/{filesystem-3ch3tthc.js → image-9ce3ycbs.js} +20 -20
- package/dist/chunks/{filesystem-k0jqx04v.js → image-9qe4ywed.js} +13 -13
- package/dist/chunks/{filesystem-69qfe4ye.js → image-9r51n9hr.js} +3 -3
- package/dist/chunks/{filesystem-8md4gqd3.js → image-a2kgmd7p.js} +11 -11
- package/dist/chunks/{filesystem-fcv5vf6w.js → image-a5tpsryw.js} +20 -20
- package/dist/chunks/{filesystem-hq8hx04p.js → image-aa59mvw4.js} +10 -10
- package/dist/chunks/{filesystem-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-3377exhx.js → image-achqs0ef.js} +29 -29
- package/dist/chunks/{filesystem-hxyzw3m3.js → image-af4zwpq7.js} +13 -13
- package/dist/chunks/{filesystem-5jzcxvp7.js → image-ajycawkw.js} +5 -5
- package/dist/chunks/{filesystem-nabsnkhp.js → image-am6ahzm8.js} +15 -15
- package/dist/chunks/{filesystem-wjcmd9cz.js → image-b07nf375.js} +5 -5
- package/dist/chunks/{filesystem-1qdy7hzf.js → image-b28k5m4e.js} +3 -3
- package/dist/chunks/{filesystem-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-rf5ee5k8.js → image-b6xhrpje.js} +6 -6
- package/dist/chunks/{filesystem-84b8vhgq.js → image-b8f7f8xf.js} +13 -13
- package/dist/chunks/{filesystem-rz0q65aw.js → image-b92qxpxf.js} +5 -5
- package/dist/chunks/{filesystem-7877ca20.js → image-b93h32n1.js} +27 -27
- package/dist/chunks/{filesystem-dreppv43.js → image-bakjtvbk.js} +26 -26
- package/dist/chunks/{filesystem-y1p4t30v.js → image-bernzkb8.js} +5 -5
- package/dist/chunks/{filesystem-n0anbbxx.js → image-bfxp4173.js} +6 -6
- package/dist/chunks/{filesystem-8ft4t96z.js → image-bm9qws1e.js} +37 -37
- package/dist/chunks/{filesystem-1gbvn30c.js → image-bqc3tr0a.js} +4 -4
- package/dist/chunks/{filesystem-v06sarth.js → image-brs92t9y.js} +1 -1
- package/dist/chunks/{filesystem-9zcn9hy1.js → image-bs4dv3xv.js} +4 -4
- package/dist/chunks/image-bva6afj8.js +252 -0
- package/dist/chunks/{filesystem-4jc5c4h4.js → image-bz85s9hh.js} +1 -1
- package/dist/chunks/{filesystem-p9za4yg2.js → image-c08p7789.js} +47 -47
- package/dist/chunks/{filesystem-v4qfxnag.js → image-c488s98d.js} +12 -12
- package/dist/chunks/{filesystem-wjv5e24e.js → image-c6s8nrx6.js} +22 -22
- package/dist/chunks/{filesystem-05g1mm2c.js → image-cd64px2y.js} +27 -27
- package/dist/chunks/{filesystem-13qzbekt.js → image-cejtc14z.js} +50 -50
- package/dist/chunks/{filesystem-gn50vh93.js → image-ck7eh7w1.js} +3 -3
- package/dist/chunks/{filesystem-zvayce75.js → image-cnnrtqe3.js} +4 -4
- package/dist/chunks/{filesystem-eyckedmf.js → image-dc3m2m7k.js} +18 -18
- package/dist/chunks/{filesystem-8p4f9s12.js → image-dj2t23y0.js} +2 -2
- package/dist/chunks/{filesystem-awy7rs6m.js → image-dq8pkjkv.js} +7 -7
- package/dist/chunks/{filesystem-s85vttx4.js → image-dqswddfv.js} +8 -8
- package/dist/chunks/{filesystem-drwq78ky.js → image-drwq78ky.js} +1 -1
- package/dist/chunks/{filesystem-hhf3paha.js → image-e0t237xz.js} +25 -25
- package/dist/chunks/{filesystem-0nce7q48.js → image-e1fwdt11.js} +15 -15
- package/dist/chunks/{filesystem-fdv30zvt.js → image-edrmdtr5.js} +4 -4
- package/dist/chunks/{filesystem-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-erw5rpbs.js → image-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-dj9sq318.js → image-evbgk2k8.js} +5 -5
- package/dist/chunks/{filesystem-yp2x3t23.js → image-f2n192rq.js} +4 -4
- package/dist/chunks/{filesystem-4n607a2z.js → image-f62qkzqr.js} +5 -5
- package/dist/chunks/{filesystem-fdms3n6w.js → image-fdms3n6w.js} +2 -2
- package/dist/chunks/{filesystem-knb7evpn.js → image-fkjmw100.js} +6 -6
- package/dist/chunks/{filesystem-kkz8m0yr.js → image-fqzse3my.js} +5 -5
- package/dist/chunks/{filesystem-6ywb039y.js → image-fx36as45.js} +7 -7
- package/dist/chunks/{filesystem-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-t9d84gp7.js → image-fxmgg4aj.js} +4 -4
- package/dist/chunks/{filesystem-4e8vs6eh.js → image-g1sxm558.js} +8 -8
- package/dist/chunks/{filesystem-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-kz9hmqfp.js → image-ghg8jnyk.js} +11 -11
- package/dist/chunks/{filesystem-4waxsa04.js → image-gnf9d3h8.js} +48 -48
- package/dist/chunks/{filesystem-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-98hxqkfd.js → image-gxhy3et5.js} +21 -21
- package/dist/chunks/{filesystem-8z00fdkb.js → image-h6r3nrb9.js} +4 -4
- package/dist/chunks/{filesystem-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-b02qts2r.js → image-h9q6ezy0.js} +8 -8
- package/dist/chunks/{filesystem-f828m53h.js → image-hdnk95c8.js} +2 -2
- package/dist/chunks/image-he6r5g0j.js +492 -0
- package/dist/chunks/{filesystem-qccxgcpc.js → image-hebcgj7p.js} +23 -23
- package/dist/chunks/{filesystem-5v1az6zm.js → image-hgbj0d9k.js} +27 -27
- package/dist/chunks/{filesystem-2zcvd3jh.js → image-hh7bdvx5.js} +52 -52
- package/dist/chunks/{filesystem-ckge2wbq.js → image-hmfwemxz.js} +21 -21
- package/dist/chunks/{filesystem-9neh7k8p.js → image-htj8j8jj.js} +9 -9
- package/dist/chunks/{filesystem-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-j83byb14.js → image-j83byb14.js} +1 -1
- package/dist/chunks/{filesystem-xcpdqaxy.js → image-j88pc17k.js} +2 -2
- package/dist/chunks/{filesystem-fph97qbf.js → image-jcm0a15m.js} +15 -15
- package/dist/chunks/{filesystem-zgjxrtm7.js → image-jh2v76ff.js} +13 -13
- package/dist/chunks/{filesystem-24s8e1ye.js → image-jhgm4sfk.js} +19 -19
- package/dist/chunks/{filesystem-6x62fcpm.js → image-k18ytf7m.js} +6 -6
- package/dist/chunks/{filesystem-d2sm94f9.js → image-k3myxckw.js} +15 -15
- package/dist/chunks/{filesystem-gach115v.js → image-k7w7z65h.js} +32 -32
- package/dist/chunks/{filesystem-dm473wwa.js → image-kad21c22.js} +22 -22
- package/dist/chunks/{filesystem-dhmh7aw6.js → image-kne8f3cn.js} +4 -4
- package/dist/chunks/{filesystem-981wagwk.js → image-kvjzkr2v.js} +9 -9
- package/dist/chunks/{filesystem-kvvk39gs.js → image-kvvk39gs.js} +1 -1
- package/dist/chunks/{filesystem-f8p8k6s9.js → image-kxftmbpv.js} +11 -11
- package/dist/chunks/{filesystem-nftssr05.js → image-kxr8hxb3.js} +35 -35
- package/dist/chunks/{filesystem-s8610hey.js → image-ky3seynh.js} +2 -2
- package/dist/chunks/{filesystem-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
- package/dist/chunks/{filesystem-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-04g8gb3s.js → image-mfqth6d2.js} +26 -26
- package/dist/chunks/{filesystem-jcqz60n0.js → image-mjqa8qhd.js} +11 -11
- package/dist/chunks/{filesystem-q5xvhvda.js → image-mqxcq9ag.js} +6 -6
- package/dist/chunks/{filesystem-vvccsdf3.js → image-mx9vqzsb.js} +6 -6
- package/dist/chunks/{filesystem-mkjc2x20.js → image-mz8r1y5r.js} +24 -24
- package/dist/chunks/{filesystem-mx4xx2gt.js → image-n3z0jc6w.js} +11 -11
- package/dist/chunks/{filesystem-xhezqp3k.js → image-n58zg6xk.js} +4 -4
- package/dist/chunks/{filesystem-kz12prak.js → image-n6m7m23y.js} +28 -28
- package/dist/chunks/{filesystem-npyp5404.js → image-nfq1y937.js} +13 -13
- package/dist/chunks/{filesystem-8adjgm89.js → image-ngbz3444.js} +15 -15
- package/dist/chunks/{filesystem-my3wv6m6.js → image-nh62er5d.js} +1 -1
- package/dist/chunks/image-nnk2tvfv.js +26 -0
- package/dist/chunks/{filesystem-zanfrvrm.js → image-nrjct5b1.js} +3 -3
- package/dist/chunks/{filesystem-7m8psw39.js → image-nrth0by3.js} +32 -32
- package/dist/chunks/{filesystem-hg5xz5jt.js → image-nrzntby6.js} +26 -26
- package/dist/chunks/{filesystem-hh2qayf7.js → image-nswb885p.js} +12 -12
- package/dist/chunks/{filesystem-k3c624dm.js → image-nzks3jc8.js} +3 -3
- package/dist/chunks/{filesystem-p37cw4rj.js → image-p37cw4rj.js} +1 -1
- package/dist/chunks/{filesystem-354mtm1j.js → image-p6ztvwk7.js} +23 -23
- package/dist/chunks/{filesystem-j9p9na99.js → image-pgj5ednv.js} +23 -23
- package/dist/chunks/{filesystem-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-76410njm.js → image-pkjmx7wp.js} +28 -28
- package/dist/chunks/{filesystem-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-10x37dkd.js → image-pkww5a5n.js} +19 -19
- package/dist/chunks/{filesystem-32czktbn.js → image-pm6agkr2.js} +26 -26
- package/dist/chunks/{filesystem-sm456w7t.js → image-pnjgrh73.js} +8 -8
- package/dist/chunks/{filesystem-sv3vsz9b.js → image-pt3jfr41.js} +6 -6
- package/dist/chunks/{filesystem-g0xmyw3h.js → image-pwh698z3.js} +175 -175
- package/dist/chunks/{filesystem-x232yfz7.js → image-q00xwa84.js} +46 -46
- package/dist/chunks/{filesystem-4nq1vhh4.js → image-q0sffv6r.js} +12 -12
- package/dist/chunks/{filesystem-6nbtj0ez.js → image-q2r517dv.js} +26 -26
- package/dist/chunks/{filesystem-52r8cdh9.js → image-q400cd05.js} +15 -15
- package/dist/chunks/{filesystem-7xtf3zc8.js → image-q4w4v6pe.js} +16 -16
- package/dist/chunks/{filesystem-3qnhr4nm.js → image-q7h916em.js} +20 -20
- package/dist/chunks/{filesystem-e4ah1ep1.js → image-qeyp0y11.js} +20 -20
- package/dist/chunks/{filesystem-nq7qbqzc.js → image-qg0jgkcp.js} +9 -9
- package/dist/chunks/{filesystem-0jwsre1p.js → image-qgn6gcr1.js} +5 -5
- package/dist/chunks/{filesystem-gyrsatny.js → image-qrwkhvtb.js} +3 -3
- package/dist/chunks/{filesystem-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-4r9jq3gm.js → image-r3qstv61.js} +10 -10
- package/dist/chunks/{filesystem-19ntd6ym.js → image-r4f58m0w.js} +9 -9
- package/dist/chunks/{filesystem-fkdphn1c.js → image-r9ajpy6d.js} +22 -22
- package/dist/chunks/{filesystem-j41a475f.js → image-ran5413e.js} +11 -11
- package/dist/chunks/{filesystem-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-0ya3ykak.js → image-rg7f2efc.js} +11 -11
- package/dist/chunks/{filesystem-02nrjc1r.js → image-rhjbct0v.js} +6 -6
- package/dist/chunks/{filesystem-zn99htb6.js → image-rjmnh9z2.js} +3 -3
- package/dist/chunks/{filesystem-jxahb5yh.js → image-rp8s9nv0.js} +9 -9
- package/dist/chunks/{filesystem-q1fascv8.js → image-rt3jmkn7.js} +44 -44
- package/dist/chunks/{filesystem-sy1fbdna.js → image-rvtsy6rd.js} +29 -29
- package/dist/chunks/{filesystem-nxhqveyz.js → image-s8zy8myc.js} +5 -5
- package/dist/chunks/{filesystem-7z26aszj.js → image-sacqr7ez.js} +9 -9
- package/dist/chunks/{filesystem-wk75wp36.js → image-sbprf0jz.js} +9 -9
- package/dist/chunks/{filesystem-j0x8q95g.js → image-sfky6qr3.js} +25 -25
- package/dist/chunks/{filesystem-7hp0tadb.js → image-skc6rhzm.js} +30 -30
- package/dist/chunks/{filesystem-0h54jqbs.js → image-sm965ndy.js} +8 -8
- package/dist/chunks/{filesystem-8aqc4yxf.js → image-sv75xz9r.js} +6 -6
- package/dist/chunks/{filesystem-1wyj371t.js → image-sxec3bmh.js} +32 -32
- package/dist/chunks/{filesystem-48a4xvag.js → image-sxzca6gj.js} +22 -22
- package/dist/chunks/{filesystem-7gpkdhmk.js → image-t07e46qc.js} +11 -11
- package/dist/chunks/{filesystem-kf5cf4rp.js → image-t0jj3952.js} +12 -12
- package/dist/chunks/{filesystem-6fnhcvra.js → image-t1kw6d74.js} +13 -13
- package/dist/chunks/{filesystem-btec747f.js → image-t71v2ka4.js} +5 -5
- package/dist/chunks/{filesystem-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tbz0fdvh.js → image-tbz0fdvh.js} +2 -2
- package/dist/chunks/{filesystem-89znhe33.js → image-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-0cknbh6y.js → image-tdak43y4.js} +3 -3
- package/dist/chunks/{filesystem-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-vke0fqjh.js → image-tf68swts.js} +12 -12
- package/dist/chunks/{filesystem-4pw9szbk.js → image-tgf2ymth.js} +4 -4
- package/dist/chunks/{filesystem-2k71kv7p.js → image-tjedn1bk.js} +4 -4
- package/dist/chunks/{filesystem-71ka5gtd.js → image-tv92y52x.js} +32 -32
- package/dist/chunks/{filesystem-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-p9b38jtj.js → image-tyn1d5dz.js} +18 -18
- package/dist/chunks/image-v1faaxn9.js +18 -0
- package/dist/chunks/{filesystem-dpp1ex0k.js → image-v2zqrnxe.js} +15 -15
- package/dist/chunks/{filesystem-8d69mcgf.js → image-vasy7518.js} +23 -23
- package/dist/chunks/{filesystem-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-rbss9r2b.js → image-vkw8r1eq.js} +38 -38
- package/dist/chunks/{filesystem-tt62rdgt.js → image-vkxy7ybf.js} +4 -4
- package/dist/chunks/{filesystem-sjwvt0mt.js → image-vn3t7c0f.js} +24 -24
- package/dist/chunks/{filesystem-sdcae30b.js → image-vnbqqzsm.js} +16 -16
- package/dist/chunks/{filesystem-n7fr6eaa.js → image-vsdc7arw.js} +2 -2
- package/dist/chunks/{filesystem-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-y46yp9kd.js → image-w6ngjk0y.js} +44 -44
- package/dist/chunks/{filesystem-fxqygnfa.js → image-wcge806m.js} +4 -4
- package/dist/chunks/{filesystem-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-wqkncbjv.js → image-wxffcvth.js} +3 -3
- package/dist/chunks/{filesystem-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-8s2x1r0z.js → image-xg72hxr1.js} +11 -11
- package/dist/chunks/{filesystem-yx0hjtqq.js → image-xgge5cv0.js} +17 -17
- package/dist/chunks/{filesystem-xn9jxgmv.js → image-xn9jxgmv.js} +3 -3
- package/dist/chunks/{filesystem-858b8443.js → image-xq3m7g0t.js} +14 -14
- package/dist/chunks/{filesystem-0mxxzrer.js → image-xsc8q09n.js} +9 -9
- package/dist/chunks/{filesystem-2f04pwep.js → image-xxynqx5z.js} +3 -3
- package/dist/chunks/{filesystem-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-y71avatq.js → image-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-ntzng88s.js → image-yhywrrja.js} +17 -17
- package/dist/chunks/{filesystem-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-yrznvahk.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-xyw3gjcr.js → image-ytcdzptk.js} +32 -32
- package/dist/chunks/{filesystem-yzpfhxvz.js → image-yzagyf8k.js} +22 -22
- package/dist/chunks/{filesystem-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-z63w68vq.js → image-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-p5bq8rdg.js → image-z87bkmq3.js} +15 -15
- package/dist/chunks/{filesystem-g8sqxk2y.js → image-z8vpew82.js} +5 -5
- package/dist/chunks/{filesystem-p9agemf7.js → image-zas2m743.js} +16 -16
- package/dist/chunks/{filesystem-m28tfe1w.js → image-ze5v0a14.js} +8 -8
- package/dist/chunks/{filesystem-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-eqzrmp0y.js → image-zmwmypjm.js} +10 -10
- package/dist/chunks/{filesystem-naqr419p.js → image-znaqxw55.js} +33 -33
- package/dist/chunks/{filesystem-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- 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 +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- 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 +125 -125
- 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 +6 -6
- 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 +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +105 -105
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +104 -104
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +128 -128
- 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 +1 -1
- 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 +99 -99
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- 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 +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +131 -131
- 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 +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +2 -2
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- 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 +207 -207
- package/dist/session/system-prompt.js +1 -1
- 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 +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- 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 +210 -210
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +1 -1
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- 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 +8 -8
- 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/filesystem-ec2pb2w2.js +0 -252
- package/dist/chunks/filesystem-gyce5qg1.js +0 -18
- package/dist/chunks/filesystem-j7fam3f6.js +0 -492
- package/dist/chunks/filesystem-stfvhx3k.js +0 -26
- /package/dist/chunks/{filesystem-0mesazry.js → image-0mesazry.js} +0 -0
- /package/dist/chunks/{filesystem-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-ran5413e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-tgf2ymth.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./image-2dtaqj3b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-rvtsy6rd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./image-sxec3bmh.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-skc6rhzm.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./image-ze5v0a14.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin11
|
|
6
|
+
} from "./image-7hed1pqr.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin4
|
|
9
|
+
} from "./image-fx36as45.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin5
|
|
12
|
+
} from "./image-b07nf375.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin6
|
|
15
|
+
} from "./image-htj8j8jj.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin7,
|
|
20
|
+
Plugin11,
|
|
21
|
+
Plugin4,
|
|
22
|
+
Plugin5,
|
|
23
|
+
Plugin6
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-brs92t9y.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-b28k5m4e.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./image-5d0yg4wn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./image-ytcdzptk.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service13,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service14;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service13.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node15 = makeLocationNode({
|
|
144
|
+
service: Service13,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node16]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-tgf2ymth.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./image-2dtaqj3b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-rvtsy6rd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./image-sxec3bmh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./image-skc6rhzm.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-ghg8jnyk.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-ran5413e.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service75;
|
|
161
161
|
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-sxec3bmh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-skc6rhzm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service68
|
|
4
|
+
} from "./image-hmfwemxz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./image-5d0yg4wn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./image-w6ngjk0y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service53,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-jhgm4sfk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./image-4hka8bb7.js";
|
|
18
18
|
import {
|
|
19
19
|
make9
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-dqswddfv.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin36
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin36 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service39;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin34 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service53;
|
|
60
|
+
const sessions = yield* Service23;
|
|
61
|
+
const agents = yield* Service68;
|
|
62
62
|
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin34 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin36, exports_command2 };
|