@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
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-067aw8zg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-tgf2ymth.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./image-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service54
|
|
16
|
+
} from "./image-tv92y52x.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./image-wxffcvth.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service45;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service54;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service45;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service54;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./image-skc6rhzm.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-067aw8zg.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service62 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service62.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node66 = makeGlobalNode({ service: Service62, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service62, node66, exports_kv };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./image-w6ngjk0y.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
28
28
|
yield* ctx.provider.transform((providers) => {
|
|
@@ -46,4 +46,4 @@ var Plugin25 = define({
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin30, exports_policy };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./image-5j3zvexf.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./image-5d0yg4wn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./image-w6ngjk0y.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-kad21c22.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./image-qg0jgkcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-bfxp4173.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin33
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin33 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service39;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service40;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin22 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin33, exports_skill3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make17,
|
|
13
|
+
node: () => node53,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make17()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make17(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node53 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer22, configured8, node53, exports_app };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-ran5413e.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./image-2dtaqj3b.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-rvtsy6rd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-sxec3bmh.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service77;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-1nnxksmf.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
20
|
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update2
|
|
@@ -111,7 +111,7 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
116
|
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
@@ -127,4 +127,4 @@ var make13 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2, update2, make13,
|
|
130
|
+
export { render2, update2, make13, exports_instructions5 };
|