@opencode/core 0.0.0-dev-19592 → 0.0.0-dev-19593
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 +76 -76
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{app-w5gestfb.js → mime-08vesxpc.js} +6 -6
- package/dist/chunks/{app-zg0ejg5d.js → mime-0artwwxx.js} +3 -3
- package/dist/chunks/{app-razyw2j6.js → mime-0dd32wke.js} +15 -15
- package/dist/chunks/{app-t550f9t1.js → mime-0gdmqesm.js} +4 -4
- package/dist/chunks/{app-xpxhxdfz.js → mime-0jez15af.js} +6 -6
- package/dist/chunks/{app-52fmve7p.js → mime-0m2e9swf.js} +45 -45
- package/dist/chunks/{app-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-gg6f9vzx.js → mime-0pb75hch.js} +5 -5
- package/dist/chunks/{app-m0985973.js → mime-0pt4f7ej.js} +15 -15
- package/dist/chunks/{app-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-gf2az15k.js → mime-11qgt1va.js} +6 -6
- package/dist/chunks/{app-3ythc6yv.js → mime-18e56dsp.js} +4 -4
- package/dist/chunks/{app-fderhsq2.js → mime-19dhad8j.js} +4 -4
- package/dist/chunks/{app-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-tc60x00k.js → mime-1fqx7y25.js} +14 -14
- package/dist/chunks/{app-d57h6cn8.js → mime-1h8wvx6q.js} +18 -18
- package/dist/chunks/{app-8v78jdpq.js → mime-1k3djte8.js} +13 -13
- package/dist/chunks/{app-nt5ahd42.js → mime-1nq040z3.js} +4 -4
- package/dist/chunks/{app-3a0970a4.js → mime-1rr79kmz.js} +12 -12
- package/dist/chunks/{app-aezz4pcr.js → mime-219neeqh.js} +5 -5
- package/dist/chunks/{app-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{app-b5g24bzn.js → mime-233vw3g8.js} +12 -12
- package/dist/chunks/{app-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{app-drmbw9rx.js → mime-244ce5kg.js} +12 -12
- package/dist/chunks/{app-d1q3ap8m.js → mime-25c3bv42.js} +32 -32
- package/dist/chunks/{app-n2m1rsbh.js → mime-265kqrgy.js} +1 -1
- package/dist/chunks/{app-29x78va6.js → mime-29x78va6.js} +2 -2
- package/dist/chunks/{app-3z42jryq.js → mime-29zjypxj.js} +25 -25
- package/dist/chunks/{app-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-89tseq37.js → mime-2bg24y81.js} +20 -20
- package/dist/chunks/{app-2k8khapm.js → mime-2k8khapm.js} +1 -1
- package/dist/chunks/{app-fx0qb7dz.js → mime-2swfdtqq.js} +11 -11
- package/dist/chunks/{app-5t8q8gtp.js → mime-2z24jnne.js} +43 -43
- package/dist/chunks/{app-85g1d8tm.js → mime-33n3bzdy.js} +6 -6
- package/dist/chunks/{app-k7f29w4z.js → mime-35wynegs.js} +2 -2
- package/dist/chunks/{app-tsvwhg65.js → mime-3e6fhmkh.js} +23 -23
- package/dist/chunks/{app-g57f06d4.js → mime-3ey5ve5m.js} +17 -17
- package/dist/chunks/{app-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-1a6p2twq.js → mime-3j8sdtpz.js} +4 -4
- package/dist/chunks/{app-qhfpegn6.js → mime-3nv94yae.js} +23 -23
- package/dist/chunks/{app-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-xjqvjb21.js → mime-3v1f2d9y.js} +20 -20
- package/dist/chunks/{app-dqmwfghx.js → mime-3w0fmcng.js} +5 -5
- package/dist/chunks/{app-swg16hdb.js → mime-3xfqjwf0.js} +8 -8
- package/dist/chunks/{app-xw420fha.js → mime-428y0mtg.js} +14 -14
- package/dist/chunks/{app-1m08v0hy.js → mime-43fjnve3.js} +170 -170
- package/dist/chunks/{app-fznehw9k.js → mime-47jk2x7b.js} +22 -22
- package/dist/chunks/{app-2fq8whb5.js → mime-4m405q6x.js} +47 -47
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{app-gxmjkbhb.js → mime-4x2wqn1j.js} +22 -22
- package/dist/chunks/{app-f5dm6ywp.js → mime-522twr50.js} +12 -12
- package/dist/chunks/{app-1ygqh575.js → mime-56gdpj1q.js} +9 -9
- package/dist/chunks/{app-pwag4swe.js → mime-58426wyj.js} +15 -15
- package/dist/chunks/{app-9wy8zzfx.js → mime-599ntear.js} +11 -11
- package/dist/chunks/{app-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{app-s8eznf91.js → mime-5r3v2435.js} +29 -29
- package/dist/chunks/{app-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/mime-5wm2rtqk.js +247 -0
- package/dist/chunks/{app-sd4qsz7x.js → mime-60n7bf9e.js} +3 -3
- package/dist/chunks/{app-65hcqda3.js → mime-60w3gzyt.js} +7 -7
- package/dist/chunks/{app-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{app-frbst33h.js → mime-6e67y2h6.js} +17 -17
- package/dist/chunks/{app-q5rs7yet.js → mime-6ecentyg.js} +7 -7
- package/dist/chunks/{app-apphhm5c.js → mime-6f9xqzex.js} +15 -15
- package/dist/chunks/{app-yaf95dqt.js → mime-6mn0csek.js} +11 -11
- package/dist/chunks/{app-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-ms97y41h.js → mime-6ph579g1.js} +9 -9
- package/dist/chunks/{app-bc8eyqbt.js → mime-6tjahags.js} +18 -18
- package/dist/chunks/{app-gvxf9g5f.js → mime-6w1gr0yw.js} +11 -11
- package/dist/chunks/{app-7ha9wxsr.js → mime-6xm8j45g.js} +16 -16
- package/dist/chunks/{app-scygmjnx.js → mime-6yr30ss5.js} +12 -12
- package/dist/chunks/{app-1zfgys1y.js → mime-70d2s7af.js} +1 -1
- package/dist/chunks/{app-3rw2j4hb.js → mime-7136dx6n.js} +306 -306
- package/dist/chunks/{app-cchxn0er.js → mime-71pc8m80.js} +9 -9
- package/dist/chunks/{app-71q4at8m.js → mime-71q4at8m.js} +1 -1
- package/dist/chunks/{app-3kvpk5g4.js → mime-793krves.js} +9 -9
- package/dist/chunks/{app-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-6wk92e0k.js → mime-7dn07k07.js} +32 -32
- package/dist/chunks/{app-a2dq2jsp.js → mime-7f5wqp31.js} +47 -47
- package/dist/chunks/{app-5q30x9k0.js → mime-7k089n9a.js} +97 -97
- package/dist/chunks/{app-80vgg4gr.js → mime-7kppz51p.js} +33 -33
- package/dist/chunks/{app-tyewczjp.js → mime-7mawc3w3.js} +30 -30
- package/dist/chunks/{app-j64a2293.js → mime-7mny09t0.js} +7 -7
- package/dist/chunks/{app-sfty89x1.js → mime-7n2xhmm7.js} +9 -9
- package/dist/chunks/{app-rvptwek6.js → mime-7n7hfnea.js} +6 -6
- package/dist/chunks/{app-ergkp1p9.js → mime-7t2a4rxe.js} +32 -32
- package/dist/chunks/{app-gvs8aqj4.js → mime-7wj5bpvf.js} +4 -4
- package/dist/chunks/{app-5s1pgeq2.js → mime-7x9wdesj.js} +15 -15
- package/dist/chunks/{app-806j49yq.js → mime-806j49yq.js} +1 -1
- package/dist/chunks/{app-06r7t229.js → mime-84f9n64y.js} +37 -37
- package/dist/chunks/{app-0t5y2g10.js → mime-89fvnp0w.js} +9 -9
- package/dist/chunks/mime-89qrc0yw.js +26 -0
- package/dist/chunks/{app-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{app-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-5mxpx9hq.js → mime-8gz95mnd.js} +7 -7
- package/dist/chunks/{app-e5h6fpxg.js → mime-8j0zrhvt.js} +20 -20
- package/dist/chunks/{app-4jmdj23e.js → mime-8jqmzt62.js} +9 -9
- package/dist/chunks/{app-smsg9td2.js → mime-8mw9dy87.js} +7 -7
- package/dist/chunks/{app-g0r62mbx.js → mime-8nk5pr3x.js} +4 -4
- package/dist/chunks/{app-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-zyvybzqh.js → mime-8v4hj3yf.js} +29 -29
- package/dist/chunks/{app-zkkrsg9t.js → mime-8zve7j1r.js} +30 -30
- package/dist/chunks/{app-t0x5rdq8.js → mime-94np39z2.js} +9 -9
- package/dist/chunks/{app-drzqh7v5.js → mime-9adpk5qf.js} +18 -18
- package/dist/chunks/{app-6hmet6em.js → mime-9fk3d21e.js} +9 -9
- package/dist/chunks/{app-y6v01n3v.js → mime-9jn58xvx.js} +25 -25
- package/dist/chunks/{app-n61mrjqa.js → mime-9s1hrf4j.js} +27 -27
- package/dist/chunks/{app-w72c8zae.js → mime-9t6fn9sm.js} +10 -10
- package/dist/chunks/{app-se9vvhsj.js → mime-9v7b1t0y.js} +29 -29
- package/dist/chunks/{app-b6cder0s.js → mime-a14tmfw2.js} +26 -26
- package/dist/chunks/{app-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-c6why6q7.js → mime-a7fxnse5.js} +29 -29
- package/dist/chunks/{app-jttkwsk5.js → mime-a7ymv1f3.js} +30 -30
- package/dist/chunks/{app-v2d293fp.js → mime-a9pbgtwm.js} +25 -25
- package/dist/chunks/{app-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{app-bc5dpf2z.js → mime-apaaqhj0.js} +11 -11
- package/dist/chunks/{app-14cna52h.js → mime-aq5y8b9e.js} +8 -8
- package/dist/chunks/{app-e3p4rga5.js → mime-aqtq9wzx.js} +11 -11
- package/dist/chunks/{app-ht1eeha6.js → mime-az6rvz1x.js} +22 -22
- package/dist/chunks/{app-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-qmxg1ggy.js → mime-b9bv6qq3.js} +21 -21
- package/dist/chunks/{app-e5nv3ght.js → mime-bndc73cn.js} +5 -5
- package/dist/chunks/{app-9083hbh6.js → mime-c8v5kc65.js} +18 -18
- package/dist/chunks/{app-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-40ptwz48.js → mime-cjwramev.js} +6 -6
- package/dist/chunks/{app-gp6dq5sk.js → mime-cp31e4n6.js} +53 -53
- package/dist/chunks/{app-csf2jhsg.js → mime-csf2jhsg.js} +1 -1
- package/dist/chunks/{app-fwhmj7rj.js → mime-cvtmmhw6.js} +1 -1
- package/dist/chunks/{app-ead3g9p8.js → mime-d2aac7k2.js} +5 -5
- package/dist/chunks/{app-e0p1j5gh.js → mime-d8d1pk1w.js} +24 -24
- package/dist/chunks/{app-d942djzc.js → mime-d942djzc.js} +1 -1
- package/dist/chunks/{app-embw8kgh.js → mime-ddt2bs9e.js} +4 -4
- package/dist/chunks/{app-17j9h1rv.js → mime-dhwr7h25.js} +8 -8
- package/dist/chunks/{app-jwcy2c2z.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{app-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-qzg61tsf.js → mime-efemqsg6.js} +45 -45
- package/dist/chunks/{app-6anwy9fs.js → mime-efv4s0g0.js} +4 -4
- package/dist/chunks/{app-2y40033h.js → mime-en53wcfr.js} +14 -14
- package/dist/chunks/{app-tx9qvpbt.js → mime-eraanh1f.js} +2 -2
- package/dist/chunks/{app-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-cejs3gy0.js → mime-ex7fppdg.js} +46 -46
- package/dist/chunks/{app-988zb64b.js → mime-exmx9z86.js} +12 -12
- package/dist/chunks/{app-sn4zrr2b.js → mime-f14wgmqf.js} +9 -9
- package/dist/chunks/{app-yp2x3t23.js → mime-f2n192rq.js} +4 -4
- package/dist/chunks/{app-f828m53h.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{app-1bq7yakh.js → mime-fcj6b5ej.js} +23 -23
- package/dist/chunks/{app-hz8jassg.js → mime-ffxj81eb.js} +12 -12
- package/dist/chunks/{app-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-0s9yt902.js → mime-g6jvm51t.js} +32 -32
- package/dist/chunks/{app-x5ynfa5c.js → mime-g9wvjw5e.js} +18 -18
- package/dist/chunks/{app-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-1bmbg8mw.js → mime-gg6k7kh9.js} +46 -46
- package/dist/chunks/{app-qrwy7q33.js → mime-gnwbrhke.js} +11 -11
- package/dist/chunks/{app-99em2p73.js → mime-gqz15p6p.js} +15 -15
- package/dist/chunks/{app-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{app-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-artkk3jp.js → mime-h7xbcxh5.js} +8 -8
- package/dist/chunks/{app-fkqh02sv.js → mime-hfk58y1y.js} +28 -28
- package/dist/chunks/{app-510m7gjw.js → mime-hnr5yq9h.js} +5 -5
- package/dist/chunks/{app-4xev2pgg.js → mime-hsyde07s.js} +17 -17
- package/dist/chunks/{app-n54jgsks.js → mime-hwyw3hyr.js} +4 -4
- package/dist/chunks/{app-jnchhv79.js → mime-j1ydts1m.js} +26 -26
- package/dist/chunks/{app-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{app-xekzrwwc.js → mime-jjs74g98.js} +9 -9
- package/dist/chunks/{app-xc1n4kt0.js → mime-jt9z208x.js} +15 -15
- package/dist/chunks/{app-7mbf57ka.js → mime-jy2v93y2.js} +16 -16
- package/dist/chunks/{app-ajg244yh.js → mime-k3a2w7sd.js} +4 -4
- package/dist/chunks/{app-t5eea88y.js → mime-k5ysc9y0.js} +51 -51
- package/dist/chunks/{app-kg06axw8.js → mime-kg06axw8.js} +1 -1
- package/dist/chunks/{app-1nebbfj0.js → mime-kpj3v0jx.js} +9 -9
- package/dist/chunks/{app-152ggenz.js → mime-m0e07c1q.js} +9 -9
- package/dist/chunks/{app-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-02r4s5qa.js → mime-mc7r38pz.js} +24 -24
- package/dist/chunks/{app-a4e1rkc4.js → mime-mgfyp3pg.js} +18 -18
- package/dist/chunks/{app-4qp9442f.js → mime-mhxmw1gn.js} +16 -16
- package/dist/chunks/{app-mnezswyb.js → mime-mk0f86h1.js} +18 -18
- package/dist/chunks/{app-jx5npchx.js → mime-mkyvxn7c.js} +6 -6
- package/dist/chunks/{app-vmcn1z24.js → mime-mq0v60k6.js} +11 -11
- package/dist/chunks/{app-bm5wp37f.js → mime-msr7tfg3.js} +7 -7
- package/dist/chunks/{app-kqx5ek5j.js → mime-mv4qg2g8.js} +72 -72
- package/dist/chunks/{app-eq1pz5kg.js → mime-mvfsc1pv.js} +3 -3
- package/dist/chunks/{app-nx27gwmr.js → mime-mvtk1eek.js} +13 -13
- package/dist/chunks/{app-qxqb43q0.js → mime-mz6ae2yf.js} +1 -1
- package/dist/chunks/{app-kfczp1p5.js → mime-mzs7jtbe.js} +22 -22
- package/dist/chunks/{app-n2qv0kpy.js → mime-n0t0kfwn.js} +28 -28
- package/dist/chunks/{app-0yf0ctze.js → mime-n4aaschn.js} +9 -9
- package/dist/chunks/{app-70mv26nc.js → mime-n7w7dj2n.js} +28 -28
- package/dist/chunks/{app-kc59xmfx.js → mime-n9gzpzcc.js} +34 -34
- package/dist/chunks/{app-1kcn8j8m.js → mime-ndqxs5js.js} +5 -5
- package/dist/chunks/{app-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
- package/dist/chunks/{app-ysmfnrvn.js → mime-nk4x76k7.js} +32 -32
- package/dist/chunks/{app-7wdjtyr9.js → mime-nvxqht09.js} +3 -3
- package/dist/chunks/{app-z5g3nps7.js → mime-p11mj9nc.js} +28 -28
- package/dist/chunks/{app-7nv02qr2.js → mime-p1rhzz4x.js} +17 -17
- package/dist/chunks/{app-ka01nnt8.js → mime-p2ab4s2r.js} +5 -5
- package/dist/chunks/{app-q2xm8ywb.js → mime-p8vshhkt.js} +6 -6
- package/dist/chunks/{app-wxjeszww.js → mime-pdxxk7hn.js} +1 -1
- package/dist/chunks/{app-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-j439z36y.js → mime-pkm3pkx5.js} +16 -16
- package/dist/chunks/{app-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{app-pk0s2wjp.js → mime-pva5nxfr.js} +43 -43
- package/dist/chunks/{app-044abj90.js → mime-pzy0y0v9.js} +11 -11
- package/dist/chunks/{app-mtrbqqrq.js → mime-q6yya7b3.js} +5 -5
- package/dist/chunks/{app-zq8yyx1t.js → mime-qg6c32m5.js} +11 -11
- package/dist/chunks/{app-rdga5mjs.js → mime-qkma89m6.js} +13 -13
- package/dist/chunks/{app-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{app-2gh51s9t.js → mime-qwnx8exk.js} +19 -19
- package/dist/chunks/{app-g0c48n6s.js → mime-qxad6akg.js} +36 -36
- package/dist/chunks/{app-tf32q7r2.js → mime-r0e9nadw.js} +5 -5
- package/dist/chunks/{app-r9mregkx.js → mime-r9mregkx.js} +2 -2
- package/dist/chunks/{app-5psjpmzc.js → mime-rbtn8dzz.js} +36 -36
- package/dist/chunks/{app-w5776w9k.js → mime-rjasbbd6.js} +26 -26
- package/dist/chunks/{app-rsym84ch.js → mime-rk0rec3h.js} +9 -9
- package/dist/chunks/{app-a0cwax0t.js → mime-rk95q894.js} +8 -8
- package/dist/chunks/{app-cqr0pt4z.js → mime-rpw1jzq2.js} +32 -32
- package/dist/chunks/{app-09qeff3x.js → mime-rr42dmak.js} +11 -11
- package/dist/chunks/{app-kzhtm7nv.js → mime-rw09cprj.js} +8 -8
- package/dist/chunks/{app-1nab6eme.js → mime-rw5ambcd.js} +22 -22
- package/dist/chunks/{app-nyatbg2x.js → mime-s3w38y65.js} +28 -28
- package/dist/chunks/{app-s4enseaf.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{app-vmetmsj3.js → mime-sae7gfvb.js} +11 -11
- package/dist/chunks/{app-vr7gxye5.js → mime-sat34sqy.js} +14 -14
- package/dist/chunks/{app-91vw6hat.js → mime-sbwhh814.js} +16 -16
- package/dist/chunks/{app-rj5esztk.js → mime-sge7677j.js} +20 -20
- package/dist/chunks/{app-54dp9bwy.js → mime-sxr8e92x.js} +41 -41
- package/dist/chunks/{app-r4dxhd0k.js → mime-syx98vxf.js} +6 -6
- package/dist/chunks/{app-cnakbnv9.js → mime-t0kymgeb.js} +63 -63
- package/dist/chunks/{app-9jk8tmtk.js → mime-t2p9dx1c.js} +4 -4
- package/dist/chunks/{app-ap26fkts.js → mime-t9kjr4z5.js} +24 -24
- package/dist/chunks/{app-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{app-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
- package/dist/chunks/{app-wqjxr3aq.js → mime-thfnv5gc.js} +2 -2
- package/dist/chunks/{app-pnfnzp98.js → mime-tp988bqa.js} +11 -11
- package/dist/chunks/{app-x3et2xth.js → mime-tpw6cwsb.js} +8 -8
- package/dist/chunks/{app-hm6af37m.js → mime-tqkrwgse.js} +2 -2
- package/dist/chunks/{app-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{app-3anrg4wb.js → mime-tyqa4rq3.js} +11 -11
- package/dist/chunks/{app-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{app-0h54jqbs.js → mime-vgx6weyf.js} +8 -8
- package/dist/chunks/{app-sa4v4dax.js → mime-vknx877p.js} +20 -20
- package/dist/chunks/{app-bajakh74.js → mime-vkxpz7g2.js} +4 -4
- package/dist/chunks/{app-57ns0p97.js → mime-vp7npndj.js} +46 -46
- package/dist/chunks/{app-6sr3ve8g.js → mime-vsp1fds9.js} +4 -4
- package/dist/chunks/{app-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-mgp54d0b.js → mime-was7srj9.js} +8 -8
- package/dist/chunks/{app-bwe984tk.js → mime-wavq5vqb.js} +1 -1
- package/dist/chunks/{app-60c3e86z.js → mime-wce6r091.js} +4 -4
- package/dist/chunks/{app-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{app-b8cpdmv2.js → mime-wrqsgs34.js} +4 -4
- package/dist/chunks/{app-vce59tj5.js → mime-wwxdkha1.js} +18 -18
- package/dist/chunks/{app-0r54tgjs.js → mime-wxg5n4nt.js} +91 -91
- package/dist/chunks/{app-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-vpdv21k3.js → mime-x9yfajt1.js} +16 -16
- package/dist/chunks/{app-dtsq3qdh.js → mime-xf8yqmad.js} +9 -9
- package/dist/chunks/{app-g2k9mb5s.js → mime-xyf1yhas.js} +10 -10
- package/dist/chunks/{app-t4shmaty.js → mime-xzzqdqzt.js} +17 -17
- package/dist/chunks/{app-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-7eyf8twp.js → mime-y598pph1.js} +11 -11
- package/dist/chunks/{app-mddx2h99.js → mime-y5hshd3q.js} +27 -27
- package/dist/chunks/{app-yy4n6bvs.js → mime-y87sds1v.js} +34 -34
- package/dist/chunks/{app-b63esff5.js → mime-yad4qhb5.js} +18 -18
- package/dist/chunks/{app-0tjxptj9.js → mime-ycn09wbg.js} +6 -6
- package/dist/chunks/{app-ezw1c8z5.js → mime-yhnrb9df.js} +21 -21
- package/dist/chunks/{app-vfw0v6d8.js → mime-ypdxe0g3.js} +5 -5
- package/dist/chunks/{app-z2mjtmy6.js → mime-yq15jsfs.js} +30 -30
- package/dist/chunks/{app-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-x58rkk1f.js → mime-yxmrz8pz.js} +37 -37
- package/dist/chunks/{app-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-h1gk2xtx.js → mime-z1jvgbj7.js} +14 -14
- package/dist/chunks/{app-7wamscce.js → mime-z2st3mnt.js} +31 -31
- package/dist/chunks/{app-k1haz278.js → mime-z7haez8t.js} +9 -9
- package/dist/chunks/{app-hq8zt1th.js → mime-zcqf6png.js} +6 -6
- package/dist/chunks/{app-a7n3fyf7.js → mime-zdzzr9rq.js} +13 -13
- package/dist/chunks/{app-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-ray37d2s.js → mime-zmyxeed4.js} +39 -39
- package/dist/chunks/{app-xpws41wm.js → mime-zp6fq2c5.js} +13 -13
- package/dist/chunks/{app-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +73 -73
- 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 +225 -225
- 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 +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +92 -92
- 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 +3 -3
- 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 +356 -356
- 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 +1 -1
- 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 +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +81 -81
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- 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 +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +5 -5
- 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 +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- 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 +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +9 -9
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +123 -123
- 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 +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/app-9qgk41gq.js +0 -247
- package/dist/chunks/app-pf31ssb9.js +0 -18
- package/dist/chunks/app-ymfrwj20.js +0 -26
- /package/dist/chunks/{app-0mesazry.js → mime-0mesazry.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{app-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-j935v87r.js → mime-j935v87r.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./mime-tp988bqa.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node83
|
|
11
|
+
} from "./mime-sbwhh814.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node77
|
|
15
|
+
} from "./mime-6yr30ss5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-rk0rec3h.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID12,
|
|
40
|
+
Info: () => Info27,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node76,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID12 = ID13;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID12
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service71 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,12 +93,12 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service72;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
101
|
-
const db = (yield*
|
|
100
|
+
const bus = yield* Service78;
|
|
101
|
+
const db = (yield* Service79).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
104
104
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID12.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event16.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID12.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID12.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID12.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID12.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID12.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID12.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service71.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node76 = makeGlobalNode({
|
|
276
|
+
service: Service71,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node77, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service71, node76, exports_project };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service29,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service29 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service29, awaitActivation2, exports_service };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./mime-sbwhh814.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./mime-7kppz51p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./mime-29zjypxj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./mime-1rr79kmz.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-p8vshhkt.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-hwyw3hyr.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-0jez15af.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service33;
|
|
58
|
+
const toolOutput = yield* Service56;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-33n3bzdy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID16,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info31,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-244ce5kg.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models2, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID18.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID16.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID16.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info31.make({
|
|
92
|
+
...Info31.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID16.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info9,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-vknx877p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./mime-vp7npndj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin41,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -421,19 +421,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin41 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
429
|
+
editor.add(Info9.make({
|
|
430
430
|
id: ID5.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
436
|
+
editor.add(Info9.make({
|
|
437
437
|
id: ID5.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
462
462
|
`);
|
|
463
463
|
});
|
|
464
464
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
465
|
-
const config = yield*
|
|
465
|
+
const config = yield* Service59;
|
|
466
466
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
467
467
|
});
|
|
468
468
|
function terminal() {
|
|
@@ -476,4 +476,4 @@ function shell() {
|
|
|
476
476
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
479
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./mime-vp7npndj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./mime-8jqmzt62.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin22
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin22 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
|
+
const image = yield* Service53;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin28 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin22, exports_image };
|