@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info20,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-vx3jgdek.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-f2yvyqxr.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./plugin-y36z6atj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./plugin-f8c48b1w.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service47,
|
|
24
|
+
node49
|
|
25
|
+
} from "./plugin-2a6rn6yr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./plugin-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node47
|
|
34
|
+
} from "./plugin-5gawfmt6.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./plugin-zfs8ae4p.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./plugin-pjphrd73.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node34
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./plugin-zr1vdv8d.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node57
|
|
51
|
+
} from "./plugin-1he5hg8q.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./plugin-1z18ck0n.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service59,
|
|
68
|
+
node62
|
|
69
|
+
} from "./plugin-d9019ttd.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service48,
|
|
72
|
+
node50
|
|
73
|
+
} from "./plugin-3ee781nc.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service43,
|
|
76
|
+
node46
|
|
77
|
+
} from "./plugin-zshn8c59.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./plugin-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node37
|
|
84
|
+
} from "./plugin-g1qz6sq4.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./plugin-12zwqvq4.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./plugin-hw6d5gbj.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service57,
|
|
93
|
+
node60
|
|
94
|
+
} from "./plugin-cm2n3612.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
99
|
Service30,
|
|
100
100
|
node33
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./plugin-gs574n2b.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service64,
|
|
104
|
+
node67
|
|
105
|
+
} from "./plugin-91p1v22t.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make15
|
|
108
|
+
} from "./plugin-cfcy483q.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./plugin-w24mfxr8.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./plugin-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info20,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError8,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service27,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node30
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput4;
|
|
152
|
-
class
|
|
152
|
+
class Service27 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service83;
|
|
159
|
+
const projects = yield* Service77;
|
|
160
|
+
const execution = yield* Service43;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
162
|
+
const transport = yield* Service34;
|
|
163
|
+
const store = yield* Service59;
|
|
164
|
+
const instances = yield* Service47;
|
|
165
165
|
const moves = yield* Service30;
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
166
|
+
const jobs = yield* Service48;
|
|
167
|
+
const environments = yield* Service64;
|
|
168
|
+
const locations = yield* Service57;
|
|
169
|
+
const sessions = yield* make15();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service27.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError8({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service47, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node30 = Node.makeGlobalNode({
|
|
331
|
+
service: Service27,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
node86,
|
|
335
334
|
node50,
|
|
335
|
+
node67,
|
|
336
336
|
node88,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
node87,
|
|
338
|
+
node81,
|
|
339
|
+
node46,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
node62,
|
|
343
|
+
node49,
|
|
344
|
+
node47,
|
|
345
345
|
node33,
|
|
346
346
|
node34,
|
|
347
|
-
|
|
347
|
+
node60,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node57
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service27, node30, exports_session };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-f8c48b1w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./plugin-4z9p2se2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service58,
|
|
13
|
+
node61
|
|
14
|
+
} from "./plugin-5a5md02d.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
node: () => node19,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service76;
|
|
55
|
+
const permission = yield* Service58;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node80, node61] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-1he5hg8q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./plugin-y36z6atj.js";
|
|
7
7
|
import {
|
|
8
8
|
ID17,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service81
|
|
11
|
+
} from "./plugin-hc27pwqt.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-3y377wv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-1a75fjgy.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service75
|
|
25
|
+
} from "./plugin-v7w5nhha.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./plugin-fqyvw1ch.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-psvgxdkg.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/azure.ts
|
|
37
37
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -75,19 +75,19 @@ var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.No
|
|
|
75
75
|
var ResourceListing = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
76
76
|
var decodeProfile = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Struct({ subscriptions: Schema.NonEmptyArray(Schema.Unknown) })));
|
|
77
77
|
var decodeResourceListing = Schema.decodeUnknownOption(Schema.Struct({ resourceName: Schema.NonEmptyString, resourceGroup: Schema.String, location: Schema.String }));
|
|
78
|
-
function
|
|
78
|
+
function make5(endpoints = {
|
|
79
79
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
80
80
|
management: "https://management.azure.com"
|
|
81
81
|
}) {
|
|
82
82
|
return define({
|
|
83
83
|
id: "opencode.provider.azure",
|
|
84
84
|
effect: Effect.fn(function* (ctx) {
|
|
85
|
-
const configured = yield* configuredSettings2(
|
|
85
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
86
86
|
const processes = yield* AppProcess.Service;
|
|
87
87
|
const fs = yield* FSUtil.Service;
|
|
88
|
-
const bus = yield*
|
|
89
|
-
const credentials = yield*
|
|
90
|
-
const providers = yield*
|
|
88
|
+
const bus = yield* Service83;
|
|
89
|
+
const credentials = yield* Service81;
|
|
90
|
+
const providers = yield* Service75;
|
|
91
91
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
92
92
|
const tokens = new Map;
|
|
93
93
|
const resourceIDs = new Map;
|
|
@@ -114,7 +114,7 @@ function make6(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID13.azure,
|
|
118
118
|
method: {
|
|
119
119
|
type: "key",
|
|
120
120
|
label: "API key",
|
|
@@ -132,7 +132,7 @@ function make6(endpoints = {
|
|
|
132
132
|
if (!available)
|
|
133
133
|
return;
|
|
134
134
|
editor.method.update({
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID13.azure,
|
|
136
136
|
method: {
|
|
137
137
|
id: methodID,
|
|
138
138
|
type: "external",
|
|
@@ -160,7 +160,7 @@ function make6(endpoints = {
|
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
163
|
-
const connection = yield* ctx.integration.connection.active(
|
|
163
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
164
164
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
165
165
|
return { connection, resource: credentialResource(stored?.value) };
|
|
166
166
|
});
|
|
@@ -200,7 +200,7 @@ function make6(endpoints = {
|
|
|
200
200
|
}));
|
|
201
201
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
202
202
|
const connection = loaded.connection;
|
|
203
|
-
const settings = (yield* providers.get(
|
|
203
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
204
204
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
205
205
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
206
206
|
if (loaded.connection !== connection)
|
|
@@ -222,11 +222,11 @@ function make6(endpoints = {
|
|
|
222
222
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
223
223
|
if (!found)
|
|
224
224
|
return;
|
|
225
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
225
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
226
226
|
return;
|
|
227
227
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
228
228
|
return;
|
|
229
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
229
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
230
230
|
id.toLowerCase(),
|
|
231
231
|
id
|
|
232
232
|
]));
|
|
@@ -239,7 +239,7 @@ function make6(endpoints = {
|
|
|
239
239
|
yield* ctx.model.reload();
|
|
240
240
|
});
|
|
241
241
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
242
|
-
const resourceFor = (provider) => provider.id ===
|
|
242
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
243
243
|
Object.assign(loaded, yield* load());
|
|
244
244
|
const listResources = Effect.fn("AzurePlugin.listResources")(function* () {
|
|
245
245
|
const profile = yield* fs.readFileStringSafe(path.join(process.env.AZURE_CONFIG_DIR ?? path.join(Global.Path.home, ".azure"), "azureProfile.json"));
|
|
@@ -264,7 +264,7 @@ function make6(endpoints = {
|
|
|
264
264
|
yield* listResources().pipe(Effect.catch((cause) => Effect.logDebug("failed to list Azure resources", { cause })), Effect.forkScoped);
|
|
265
265
|
yield* ctx.provider.transform((evt) => {
|
|
266
266
|
for (const item of evt.list()) {
|
|
267
|
-
if (item.provider.id !==
|
|
267
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
268
268
|
continue;
|
|
269
269
|
const resourceName = resourceFor(item.provider);
|
|
270
270
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -279,7 +279,7 @@ function make6(endpoints = {
|
|
|
279
279
|
};
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
|
-
const item = evt.get(
|
|
282
|
+
const item = evt.get(ID13.azure);
|
|
283
283
|
if (!item)
|
|
284
284
|
return;
|
|
285
285
|
evt.add({
|
|
@@ -290,7 +290,7 @@ function make6(endpoints = {
|
|
|
290
290
|
});
|
|
291
291
|
yield* ctx.model.transform((models) => {
|
|
292
292
|
for (const item of models.provider.list()) {
|
|
293
|
-
if (item.provider.id !==
|
|
293
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
294
294
|
continue;
|
|
295
295
|
const resourceName = resourceFor(item.provider);
|
|
296
296
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -302,20 +302,20 @@ function make6(endpoints = {
|
|
|
302
302
|
}
|
|
303
303
|
if (!loaded.deployments)
|
|
304
304
|
return;
|
|
305
|
-
const catalog = models.list(
|
|
305
|
+
const catalog = models.list(ID13.azure);
|
|
306
306
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
307
307
|
for (const model of catalog) {
|
|
308
308
|
if (!deployed.has(model.id))
|
|
309
|
-
models.remove(
|
|
309
|
+
models.remove(ID13.azure, model.id);
|
|
310
310
|
}
|
|
311
311
|
for (const [id, model] of deployed) {
|
|
312
|
-
models.update(
|
|
312
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
313
313
|
}
|
|
314
314
|
});
|
|
315
|
-
yield* bus.subscribe(
|
|
315
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
316
316
|
yield* refresh().pipe(Effect.forkScoped);
|
|
317
317
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
318
|
-
const connection = yield* ctx.integration.connection.active(
|
|
318
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
319
319
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
320
320
|
return;
|
|
321
321
|
})) : undefined;
|
|
@@ -327,7 +327,7 @@ function make6(endpoints = {
|
|
|
327
327
|
return `Bearer ${current.access}`;
|
|
328
328
|
});
|
|
329
329
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
330
|
-
if (evt.model.providerID !==
|
|
330
|
+
if (evt.model.providerID !== ID13.azure)
|
|
331
331
|
return;
|
|
332
332
|
const authorization = yield* bearer(evt.request.url);
|
|
333
333
|
if (!authorization)
|
|
@@ -336,9 +336,9 @@ function make6(endpoints = {
|
|
|
336
336
|
evt.request.headers.delete("x-api-key");
|
|
337
337
|
evt.request.headers.set("authorization", authorization);
|
|
338
338
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
339
|
-
}), { providerID:
|
|
339
|
+
}), { providerID: ID13.azure });
|
|
340
340
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
341
|
-
if (evt.model.providerID !==
|
|
341
|
+
if (evt.model.providerID !== ID13.azure)
|
|
342
342
|
return;
|
|
343
343
|
const authorization = yield* bearer(evt.url);
|
|
344
344
|
if (!authorization)
|
|
@@ -347,11 +347,11 @@ function make6(endpoints = {
|
|
|
347
347
|
delete evt.headers["x-api-key"];
|
|
348
348
|
evt.headers.authorization = authorization;
|
|
349
349
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
350
|
-
}), { providerID:
|
|
350
|
+
}), { providerID: ID13.azure });
|
|
351
351
|
})
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
|
-
var AzurePlugin2 =
|
|
354
|
+
var AzurePlugin2 = make5();
|
|
355
355
|
function resolveResourceName(settings, fallback) {
|
|
356
356
|
const configured = settings?.resourceName;
|
|
357
357
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -389,11 +389,11 @@ function deployedModels(deployments, catalog) {
|
|
|
389
389
|
const model = catalogModel(models, deployment);
|
|
390
390
|
if (!model)
|
|
391
391
|
return [];
|
|
392
|
-
const id =
|
|
392
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
393
393
|
const info = {
|
|
394
394
|
...structuredClone(model),
|
|
395
395
|
id,
|
|
396
|
-
modelID:
|
|
396
|
+
modelID: ID12.make(deployment.name),
|
|
397
397
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
398
398
|
};
|
|
399
399
|
return [[id, info]];
|
|
@@ -415,4 +415,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
415
415
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
export {
|
|
418
|
+
export { make5, AzurePlugin2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info11,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info11 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|