@opencode/core 0.0.0-dev-20713 → 0.0.0-dev-20716
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-services-8djjmzd0.js → plugin-0040kgya.js} +15 -15
- package/dist/chunks/{location-services-wk8p8d9k.js → plugin-0bvpg6nm.js} +28 -28
- package/dist/chunks/{location-services-t67pmggw.js → plugin-0cd6g7qn.js} +32 -32
- package/dist/chunks/{location-services-r8qqcvrh.js → plugin-0egz4g8j.js} +11 -11
- package/dist/chunks/{location-services-q0xm7vwc.js → plugin-0j77ygfz.js} +6 -6
- package/dist/chunks/{location-services-p4rqfd6d.js → plugin-0nghm7mk.js} +1 -1
- package/dist/chunks/{location-services-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-xbnfw7tj.js → plugin-0pje3wpz.js} +18 -18
- package/dist/chunks/{location-services-ptt1vh0p.js → plugin-0te0cf72.js} +22 -22
- package/dist/chunks/{location-services-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-njhqdk9p.js → plugin-11dqjexa.js} +9 -9
- package/dist/chunks/{location-services-z06mtppn.js → plugin-12zwqvq4.js} +16 -16
- package/dist/chunks/{location-services-najdsepz.js → plugin-1a75fjgy.js} +27 -27
- package/dist/chunks/{location-services-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-services-7yn7yysf.js → plugin-1gy6cnch.js} +15 -15
- package/dist/chunks/{location-services-54n3348x.js → plugin-1he5hg8q.js} +10 -10
- package/dist/chunks/{location-services-3j6ne696.js → plugin-1k22ry1w.js} +15 -15
- package/dist/chunks/{location-services-bmp9vq25.js → plugin-1s2ke74t.js} +13 -13
- package/dist/chunks/{location-services-hhggqwb7.js → plugin-1xkvfpwz.js} +23 -23
- package/dist/chunks/{location-services-1ygqh575.js → plugin-1ygqh575.js} +2 -2
- package/dist/chunks/{location-services-ktw141zw.js → plugin-1z18ck0n.js} +9 -9
- package/dist/chunks/{location-services-tbnh9822.js → plugin-1zc36k3v.js} +7 -7
- package/dist/chunks/{location-services-1nwxscpy.js → plugin-207ajt2h.js} +5 -5
- package/dist/chunks/{location-services-6s1cj1tt.js → plugin-2336b01z.js} +8 -8
- package/dist/chunks/{location-services-z7r6d9wp.js → plugin-26ac1eqm.js} +9 -9
- package/dist/chunks/{location-services-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-prmgem5b.js → plugin-2a6rn6yr.js} +6 -6
- package/dist/chunks/{location-services-g759vh0t.js → plugin-2c1zyav3.js} +9 -9
- package/dist/chunks/{location-services-4ts7tf6z.js → plugin-2ccvkpx1.js} +2 -2
- package/dist/chunks/{location-services-t86beb65.js → plugin-2e04gbjj.js} +4 -4
- package/dist/chunks/{location-services-mjymc32g.js → plugin-2pnhn36q.js} +21 -21
- package/dist/chunks/{location-services-ahcsgb9w.js → plugin-2xmw97mn.js} +11 -11
- package/dist/chunks/{location-services-3dq5nwnj.js → plugin-33q5xsn5.js} +11 -11
- package/dist/chunks/{location-services-40vbek4t.js → plugin-360kw5yh.js} +24 -24
- package/dist/chunks/{location-services-dsh8vst2.js → plugin-3az0cy8z.js} +12 -12
- package/dist/chunks/{location-services-y0mc46pw.js → plugin-3b9qt4hj.js} +9 -9
- package/dist/chunks/{location-services-fxqj5382.js → plugin-3d2465tj.js} +8 -8
- package/dist/chunks/{location-services-5ch7w9gr.js → plugin-3ee781nc.js} +16 -16
- package/dist/chunks/{location-services-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-hvdvkv9k.js → plugin-3ha02kdk.js} +7 -7
- package/dist/chunks/{location-services-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-dgpsrprm.js → plugin-3y377wv9.js} +4 -4
- package/dist/chunks/{location-services-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-7afm2kja.js → plugin-4434d9q2.js} +7 -7
- package/dist/chunks/{location-services-gj71zhbs.js → plugin-47jkzegy.js} +5 -5
- package/dist/chunks/{location-services-714dkkmd.js → plugin-4ezfzqbj.js} +2 -2
- package/dist/chunks/{location-services-wkpgmqjt.js → plugin-4jjqa0cz.js} +14 -14
- package/dist/chunks/{location-services-0r4dtv79.js → plugin-4mw11sjj.js} +86 -86
- package/dist/chunks/{location-services-bc24gvvh.js → plugin-4qfmz2gm.js} +18 -18
- package/dist/chunks/{location-services-4w5f3qm5.js → plugin-4w5f3qm5.js} +1 -1
- package/dist/chunks/{location-services-c125teng.js → plugin-4xw7q3e5.js} +45 -45
- package/dist/chunks/{location-services-n1n192bv.js → plugin-4z58m4b4.js} +4 -4
- package/dist/chunks/{location-services-829vnhtg.js → plugin-4z9p2se2.js} +16 -16
- package/dist/chunks/{location-services-yhtffmk9.js → plugin-50kcz2ma.js} +36 -36
- package/dist/chunks/{location-services-hsqjtarx.js → plugin-538eje9f.js} +27 -27
- package/dist/chunks/{location-services-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-1rw9m4p9.js → plugin-5a5md02d.js} +55 -55
- package/dist/chunks/{location-services-64kmy9j5.js → plugin-5gawfmt6.js} +27 -27
- package/dist/chunks/plugin-5gjnpq0p.js +507 -0
- package/dist/chunks/{location-services-e91bry7y.js → plugin-5gx2vrqy.js} +5 -5
- package/dist/chunks/{location-services-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-9pa8tak9.js → plugin-5pyjqqve.js} +2 -2
- package/dist/chunks/{location-services-4datraz0.js → plugin-5qdzryxg.js} +31 -31
- package/dist/chunks/{location-services-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-67pp6krk.js → plugin-62zxkdxb.js} +11 -11
- package/dist/chunks/{location-services-mbk818q6.js → plugin-6347z6ya.js} +35 -35
- package/dist/chunks/{location-services-esvm55dh.js → plugin-6h1ernme.js} +11 -11
- package/dist/chunks/{location-services-r9sh2p1t.js → plugin-6mr91m03.js} +28 -28
- package/dist/chunks/{location-services-ffyqsraf.js → plugin-6ms2k3cp.js} +3 -3
- package/dist/chunks/{location-services-ejrm3dhc.js → plugin-6qgafbs3.js} +11 -11
- package/dist/chunks/{location-services-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-72arfbwk.js → plugin-703m18f1.js} +15 -15
- package/dist/chunks/{location-services-71az546q.js → plugin-71az546q.js} +2 -2
- package/dist/chunks/{location-services-wbnf30j7.js → plugin-731gbtyw.js} +45 -45
- package/dist/chunks/{location-services-eq1pz5kg.js → plugin-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-6s3s1fg4.js → plugin-7e170h78.js} +12 -12
- package/dist/chunks/{location-services-dwkmxqgd.js → plugin-7fzbnxm1.js} +8 -8
- package/dist/chunks/{location-services-9hq6qwnd.js → plugin-7mpnrwh9.js} +5 -5
- package/dist/chunks/{location-services-hvx2372f.js → plugin-7mqz96f4.js} +22 -22
- package/dist/chunks/{location-services-etjyn4ah.js → plugin-7qnfss41.js} +11 -11
- package/dist/chunks/{location-services-gf1bh1yg.js → plugin-7t56kane.js} +22 -22
- package/dist/chunks/{location-services-92vcvfg1.js → plugin-7v9cbr6d.js} +11 -11
- package/dist/chunks/{location-services-xnxfwdgn.js → plugin-81exr9xt.js} +20 -20
- package/dist/chunks/{location-services-9mfnv0v2.js → plugin-83z83vf4.js} +41 -41
- package/dist/chunks/{location-services-1sn2rrav.js → plugin-84gkm6w5.js} +4 -4
- package/dist/chunks/{location-services-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{location-services-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-services-fnwn8q6d.js → plugin-8tb08yqb.js} +25 -25
- package/dist/chunks/{location-services-52fpbh6z.js → plugin-91p1v22t.js} +8 -8
- package/dist/chunks/{location-services-408t61km.js → plugin-9afpsfvx.js} +22 -22
- package/dist/chunks/{location-services-4as14ht8.js → plugin-9ajf8e0t.js} +11 -11
- package/dist/chunks/{location-services-wgn8yj4b.js → plugin-9deqs6b2.js} +9 -9
- package/dist/chunks/{location-services-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-services-g73pajwe.js → plugin-9er205jf.js} +5 -5
- package/dist/chunks/{location-services-p37cw4rj.js → plugin-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-services-9sh4wc5j.js → plugin-9sh4wc5j.js} +1 -1
- package/dist/chunks/{location-services-8r5eqakz.js → plugin-9vbdnjbz.js} +4 -4
- package/dist/chunks/{location-services-q1y2bas8.js → plugin-9zsmh4sr.js} +19 -19
- package/dist/chunks/{location-services-wk6z7kfa.js → plugin-a6dacsnj.js} +3 -3
- package/dist/chunks/{location-services-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-556cbe2c.js → plugin-ad3f97w8.js} +32 -32
- package/dist/chunks/{location-services-775bhwgq.js → plugin-aeexs5yx.js} +24 -24
- package/dist/chunks/{location-services-r6vdp95s.js → plugin-as98je0f.js} +11 -11
- package/dist/chunks/{location-services-erk2x9q8.js → plugin-b02dhnsm.js} +20 -20
- package/dist/chunks/{location-services-tkmwgdpd.js → plugin-b27vhd2z.js} +7 -7
- package/dist/chunks/{location-services-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-090mqsqa.js → plugin-b9kzf0wm.js} +47 -47
- package/dist/chunks/{location-services-w1p8d3wf.js → plugin-b9w2rp40.js} +20 -20
- package/dist/chunks/{location-services-wkqnkv23.js → plugin-bb07mdh7.js} +15 -15
- package/dist/chunks/{location-services-8wzbfrbx.js → plugin-bb1q0dxh.js} +17 -17
- package/dist/chunks/plugin-c5q6vktn.js +26 -0
- package/dist/chunks/{location-services-8dppv2fz.js → plugin-cfcy483q.js} +35 -35
- package/dist/chunks/{location-services-8sze2n9a.js → plugin-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-services-5ngaw42y.js → plugin-chrxq3ex.js} +7 -7
- package/dist/chunks/{location-services-4fxfkc7z.js → plugin-cjnb9fx3.js} +1 -1
- package/dist/chunks/{location-services-pwf1cgs9.js → plugin-cjt22dq1.js} +18 -18
- package/dist/chunks/{location-services-dczjeyn8.js → plugin-cm2n3612.js} +9 -9
- package/dist/chunks/{location-services-bttwcpyk.js → plugin-cwwrcagb.js} +5 -5
- package/dist/chunks/{location-services-6dw4ea0w.js → plugin-czpcksrb.js} +9 -9
- package/dist/chunks/{location-services-cpneeje0.js → plugin-d4he2qe1.js} +5 -5
- package/dist/chunks/{location-services-86qzxe6p.js → plugin-d858xzj7.js} +4 -4
- package/dist/chunks/{location-services-pvka53nw.js → plugin-d9019ttd.js} +14 -14
- package/dist/chunks/{location-services-89mkd23b.js → plugin-dgpvcc9c.js} +13 -13
- package/dist/chunks/{location-services-dmqcgk4z.js → plugin-dmqcgk4z.js} +2 -2
- package/dist/chunks/{location-services-y71avatq.js → plugin-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-services-djvetfx2.js → plugin-drjeadwa.js} +17 -17
- package/dist/chunks/{location-services-bf9ddvv6.js → plugin-drkn8tgb.js} +11 -11
- package/dist/chunks/{location-services-tehdmycx.js → plugin-ds64xa00.js} +19 -19
- package/dist/chunks/{location-services-1ryfw7wy.js → plugin-dv57ms7t.js} +9 -9
- package/dist/chunks/{location-services-t4xga9rg.js → plugin-dxkam57h.js} +5 -5
- package/dist/chunks/{location-services-ymnkanq5.js → plugin-dxxcy6b7.js} +10 -10
- package/dist/chunks/{location-services-5qd3pb7m.js → plugin-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-services-qaw30qcw.js → plugin-eay56ta9.js} +13 -13
- package/dist/chunks/{location-services-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-n02fvr50.js → plugin-ejak9dhc.js} +37 -37
- package/dist/chunks/{location-services-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-g52spd2y.js → plugin-f2yvyqxr.js} +3 -3
- package/dist/chunks/{location-services-fhz5gfgy.js → plugin-f62qkzqr.js} +5 -5
- package/dist/chunks/{location-services-mdbyye31.js → plugin-f8c48b1w.js} +38 -38
- package/dist/chunks/{location-services-1hnnp4my.js → plugin-f9ed3mbq.js} +22 -22
- package/dist/chunks/{location-services-4sbgwmvz.js → plugin-fbsjs46p.js} +29 -29
- package/dist/chunks/{location-services-2k8khapm.js → plugin-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-services-nv1ymvwr.js → plugin-fhcrm83x.js} +40 -42
- package/dist/chunks/{location-services-45jpj27j.js → plugin-fqyvw1ch.js} +29 -29
- package/dist/chunks/{location-services-wwb7w8xq.js → plugin-g1qz6sq4.js} +11 -11
- package/dist/chunks/{location-services-xfkkasph.js → plugin-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-services-wxyama83.js → plugin-g8wkkt5t.js} +20 -20
- package/dist/chunks/{location-services-n9s7vh0m.js → plugin-g9fj5wqd.js} +27 -27
- package/dist/chunks/{location-services-3892v6z1.js → plugin-gabayzqy.js} +8 -8
- package/dist/chunks/{location-services-q41kjra6.js → plugin-gajgbq35.js} +12 -12
- package/dist/chunks/{location-services-0a4qccd8.js → plugin-gbmp0j2a.js} +36 -36
- package/dist/chunks/{location-services-3g8j9he4.js → plugin-gd0tnyjc.js} +1 -1
- package/dist/chunks/{location-services-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-5tcm9639.js → plugin-gh5z95q3.js} +9 -9
- package/dist/chunks/{location-services-mxcf8an3.js → plugin-gs574n2b.js} +48 -48
- package/dist/chunks/{location-services-7kcyxzbf.js → plugin-h10w1dwf.js} +11 -11
- package/dist/chunks/{location-services-h2b79v29.js → plugin-h2b79v29.js} +2 -2
- package/dist/chunks/{location-services-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-35t5c9n6.js → plugin-hc27pwqt.js} +23 -23
- package/dist/chunks/{location-services-m8kb1vaj.js → plugin-hhrcfy2a.js} +177 -177
- package/dist/chunks/{location-services-qzbcmdhp.js → plugin-hn9gbd1m.js} +1 -1
- package/dist/chunks/{location-services-n3hqy7dr.js → plugin-hq5tbv6m.js} +38 -38
- package/dist/chunks/{location-services-x2gc414t.js → plugin-hs8w90mj.js} +3 -3
- package/dist/chunks/{location-services-4td0mp7r.js → plugin-hw0p3tgj.js} +24 -24
- package/dist/chunks/{location-services-n99k9mta.js → plugin-hw6d5gbj.js} +8 -8
- package/dist/chunks/{location-services-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-n0ft8hcx.js → plugin-j7k49zb7.js} +13 -13
- package/dist/chunks/{location-services-9jw6tmbg.js → plugin-j7qcjkyd.js} +53 -53
- package/dist/chunks/{location-services-v1b95tmg.js → plugin-j7zryc91.js} +6 -6
- package/dist/chunks/{location-services-5n94zzt5.js → plugin-jh47mxj5.js} +11 -11
- package/dist/chunks/{location-services-1qpb5tp2.js → plugin-jhqtn4pg.js} +15 -15
- package/dist/chunks/{location-services-c4rqd3wk.js → plugin-jhsjgqmj.js} +8 -8
- package/dist/chunks/{location-services-2en5nzqt.js → plugin-jp2ksrwx.js} +18 -18
- package/dist/chunks/{location-services-by4ag7x2.js → plugin-k2pce4vm.js} +34 -34
- package/dist/chunks/{location-services-beyt37cq.js → plugin-khm4b8bb.js} +5 -5
- package/dist/chunks/{location-services-4xpgt2w9.js → plugin-kjdm35cs.js} +5 -5
- package/dist/chunks/{location-services-2vx29jw0.js → plugin-ks3yrbs5.js} +69 -69
- package/dist/chunks/{location-services-r7h3zj63.js → plugin-kv7d7xma.js} +11 -11
- package/dist/chunks/{location-services-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-e71zdn5c.js → plugin-m6fr6886.js} +22 -22
- package/dist/chunks/{location-services-a46mm0ee.js → plugin-m6hcz0m6.js} +6 -6
- package/dist/chunks/{location-services-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-70r1pqqg.js → plugin-m9zqhkv0.js} +29 -29
- package/dist/chunks/{location-services-fdm959xk.js → plugin-mqynkxap.js} +4 -4
- package/dist/chunks/{location-services-ttq4n78r.js → plugin-n2zqvap7.js} +28 -28
- package/dist/chunks/{location-services-n0fk43h9.js → plugin-nhs9pheh.js} +12 -12
- package/dist/chunks/{location-services-v10ct05m.js → plugin-nn242kmy.js} +13 -13
- package/dist/chunks/{location-services-mj7rzhdb.js → plugin-nqfysxyg.js} +21 -21
- package/dist/chunks/{location-services-fk9m9cdy.js → plugin-nw3qp17x.js} +28 -28
- package/dist/chunks/{location-services-5gex9apx.js → plugin-nyhm2pe6.js} +9 -9
- package/dist/chunks/{location-services-xtq486j8.js → plugin-p7cteepy.js} +19 -19
- package/dist/chunks/{location-services-ey591qjc.js → plugin-p9bdjwbt.js} +9 -9
- package/dist/chunks/{location-services-p694c9yj.js → plugin-pjphrd73.js} +7 -7
- package/dist/chunks/{location-services-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-vhr5c18c.js → plugin-prfy19s1.js} +3 -3
- package/dist/chunks/{location-services-a51ynd9p.js → plugin-psvgxdkg.js} +6 -6
- package/dist/chunks/{location-services-3c019r4e.js → plugin-pxhak851.js} +6 -6
- package/dist/chunks/{location-services-vtpm2p8h.js → plugin-pyaqxafm.js} +23 -23
- package/dist/chunks/{location-services-ws118cbe.js → plugin-q16rmxfd.js} +4 -4
- package/dist/chunks/{location-services-p0b0e56d.js → plugin-q8px5grq.js} +19 -19
- package/dist/chunks/{location-services-sgcfaw1d.js → plugin-q95kk0as.js} +10 -10
- package/dist/chunks/{location-services-hzp6fpd7.js → plugin-qm1cwvyg.js} +21 -21
- package/dist/chunks/{location-services-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-jrk86w7g.js → plugin-qvz03jj1.js} +4 -4
- package/dist/chunks/{location-services-qxjc9qry.js → plugin-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-services-1x0wq35b.js → plugin-qzf73wsh.js} +13 -13
- package/dist/chunks/{location-services-tnnvj0a3.js → plugin-qzzq6f9n.js} +27 -27
- package/dist/chunks/{location-services-tm0vdwh1.js → plugin-r0jkcj1b.js} +3 -3
- package/dist/chunks/{location-services-dsknr0yk.js → plugin-r0xq1941.js} +3 -3
- package/dist/chunks/{location-services-eknqak9c.js → plugin-r514a842.js} +9 -9
- package/dist/chunks/{location-services-rhraev7y.js → plugin-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-services-fg82ej31.js → plugin-rc1ztwwt.js} +43 -43
- package/dist/chunks/plugin-rdsbctrt.js +253 -0
- package/dist/chunks/{location-services-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-wd72ymxp.js → plugin-refa6f6d.js} +26 -26
- package/dist/chunks/{location-services-cpw83ygf.js → plugin-rgmrnzyv.js} +11 -11
- package/dist/chunks/{location-services-1c65g91r.js → plugin-s2g5tphy.js} +17 -17
- package/dist/chunks/{location-services-y18k7kyj.js → plugin-s53nhgqv.js} +14 -14
- package/dist/chunks/{location-services-r6hh1vkr.js → plugin-s6hk9e70.js} +5 -5
- package/dist/chunks/{location-services-s8d7rejh.js → plugin-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-services-9r3y1p7f.js → plugin-s9r2n8zd.js} +3 -3
- package/dist/chunks/{location-services-b3f8fkhc.js → plugin-scgrse2b.js} +5 -5
- package/dist/chunks/{location-services-xcyxjqx3.js → plugin-sp0rvjz9.js} +49 -49
- package/dist/chunks/{location-services-ze7hzpt3.js → plugin-syh7g5hv.js} +26 -26
- package/dist/chunks/{location-services-hqb6574m.js → plugin-t32j9pk6.js} +10 -10
- package/dist/chunks/{location-services-5znnbjke.js → plugin-t9hddrtd.js} +17 -17
- package/dist/chunks/{location-services-j3adhp7k.js → plugin-t9pkw8p9.js} +19 -19
- package/dist/chunks/{location-services-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-sqx3zc3m.js → plugin-tc7jvtnb.js} +7 -7
- package/dist/chunks/{location-services-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-h5kpxx87.js → plugin-tfrx45ns.js} +9 -9
- package/dist/chunks/{location-services-fgkzp840.js → plugin-tmdpeazq.js} +12 -12
- package/dist/chunks/{location-services-mm327pz2.js → plugin-v39axx5b.js} +10 -10
- package/dist/chunks/{location-services-vywg5zeg.js → plugin-v6w3d60y.js} +22 -22
- package/dist/chunks/{location-services-gp92atbq.js → plugin-v7w5nhha.js} +29 -29
- package/dist/chunks/{location-services-8q5y0cn3.js → plugin-vbdk3j7h.js} +4 -4
- package/dist/chunks/{location-services-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-j06x18dw.js → plugin-vvc0eer9.js} +45 -45
- package/dist/chunks/{location-services-143qq2q9.js → plugin-vx3jgdek.js} +3 -3
- package/dist/chunks/{location-services-pc4b88sv.js → plugin-vxzh5eqq.js} +4 -4
- package/dist/chunks/{location-services-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-np06pbpk.js → plugin-w24mfxr8.js} +8 -8
- package/dist/chunks/{location-services-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-ss9dt959.js → plugin-w5ea6xsj.js} +21 -21
- package/dist/chunks/{location-services-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-ye1azc5f.js → plugin-wrs1pmrk.js} +24 -24
- package/dist/chunks/{location-services-5a1saz3z.js → plugin-x7jrqq4e.js} +7 -7
- package/dist/chunks/{location-services-j4adkb5s.js → plugin-xhq15gqt.js} +5 -5
- package/dist/chunks/{location-services-r9d8n4d7.js → plugin-xq23y69h.js} +8 -8
- package/dist/chunks/{location-services-6zwh9aj1.js → plugin-y03v4dfr.js} +28 -28
- package/dist/chunks/{location-services-trhcpccp.js → plugin-y0wg71jz.js} +32 -32
- package/dist/chunks/{location-services-m55qy151.js → plugin-y1b74c65.js} +10 -10
- package/dist/chunks/{location-services-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-8fsm0kax.js → plugin-y36z6atj.js} +12 -12
- package/dist/chunks/{location-services-h34br2t2.js → plugin-ya6e0w5c.js} +43 -43
- package/dist/chunks/{location-services-fct9x3ew.js → plugin-ywamwn7x.js} +4 -4
- package/dist/chunks/{location-services-k42xqjyy.js → plugin-z050hvk1.js} +5 -5
- package/dist/chunks/{location-services-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-4m0wz9sy.js → plugin-z33gpsam.js} +13 -13
- package/dist/chunks/{location-services-5ter27tw.js → plugin-zf1zfd4r.js} +83 -83
- package/dist/chunks/{location-services-zfs8ae4p.js → plugin-zfs8ae4p.js} +4 -4
- package/dist/chunks/{location-services-6m9fbfes.js → plugin-zgpkwneq.js} +16 -16
- package/dist/chunks/{location-services-p2p0t0hz.js → plugin-zkcpggaq.js} +32 -32
- package/dist/chunks/{location-services-gcyajqzf.js → plugin-zr1vdv8d.js} +17 -17
- package/dist/chunks/{location-services-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-q3kjngk2.js → plugin-zr9y32zn.js} +23 -23
- package/dist/chunks/{location-services-5638ckp1.js → plugin-zshn8c59.js} +40 -40
- package/dist/chunks/{location-services-rwm5vee1.js → plugin-zvt5dnpc.js} +4 -4
- package/dist/chunks/{location-services-tb1cafh6.js → plugin-zxbspt8e.js} +4 -4
- package/dist/chunks/{location-services-zxq2ej10.js → plugin-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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +122 -122
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +99 -99
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +215 -215
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- 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 +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- 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 +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-services-6j1w54p8.js +0 -507
- package/dist/chunks/location-services-ga5yx83j.js +0 -26
- package/dist/chunks/location-services-xnzfdbxb.js +0 -253
- /package/dist/chunks/{location-services-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-v7w5nhha.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-fqyvw1ch.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./plugin-vvc0eer9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-prfy19s1.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin20
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin20 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin20, exports_provider };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./plugin-5a5md02d.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin40,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin40 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service58;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin47 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin40, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-f2yvyqxr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./plugin-y36z6atj.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service61,
|
|
15
|
+
node64
|
|
16
|
+
} from "./plugin-538eje9f.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service74,
|
|
22
|
+
node78
|
|
23
|
+
} from "./plugin-fqyvw1ch.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./plugin-4z58m4b4.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./plugin-33q5xsn5.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./plugin-gd0tnyjc.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service33,
|
|
47
|
+
node36
|
|
48
|
+
} from "./plugin-n2zqvap7.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service46,
|
|
51
|
+
node48
|
|
52
|
+
} from "./plugin-z33gpsam.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./plugin-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./plugin-9er205jf.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./plugin-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./plugin-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
@@ -75,7 +75,7 @@ __export(exports_compaction2, {
|
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
78
|
+
layer: () => layer7,
|
|
79
79
|
node: () => node11,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service61;
|
|
176
|
+
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service74;
|
|
179
|
+
const models = yield* Service46;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service33;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -480,8 +480,8 @@ ${text}`;
|
|
|
480
480
|
}));
|
|
481
481
|
var node11 = makeLocationNode({
|
|
482
482
|
service: Service9,
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
483
|
+
layer: layer7,
|
|
484
|
+
deps: [node64, node87, node88, llmClient2, node78, node36, node48]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export { Service9, buildPrompt2,
|
|
689
|
+
export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./plugin-aeexs5yx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service68;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-y36z6atj.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
19
|
NotFoundError: () => NotFoundError6,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service40,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node43
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service40 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service40.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,10 +71,10 @@ var layer20 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node43 = makeLocationNode({
|
|
75
|
+
service: Service40,
|
|
76
|
+
layer: layer17,
|
|
77
|
+
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError6, ExecutionError2, Service40, layer17, node43, exports_command4, Event8 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service64,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node67
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service64 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service64, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service64.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service47, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service64, node67, exports_environment };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service65,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node68,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service65 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service65.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service65, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node68 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service65, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node68, exports_select };
|