@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-y36z6atj.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./plugin-4z9p2se2.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service75,
|
|
20
|
+
node79,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./plugin-v7w5nhha.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node78,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -50,7 +50,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
52
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
-
var
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info21 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service75;
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const location = yield* Service76;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
210
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
-
return
|
|
211
|
+
return Service74.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node87, node80] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service74, node78, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer14, node37, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make16(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make16, render3, exports_system_prompt };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service49,
|
|
6
|
+
node51
|
|
7
|
+
} from "./plugin-731gbtyw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service21,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service21 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service49;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service21.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node24 = makeLocationNode({
|
|
74
|
+
service: Service21,
|
|
75
|
+
layer: layer10,
|
|
76
|
+
deps: [node51, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service21, layer10, node24, exports_generate };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-y36z6atj.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service52,
|
|
17
|
+
node54
|
|
18
|
+
} from "./plugin-b9w2rp40.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service51,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node53
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service51 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service52;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service51.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node53 = makeLocationNode({
|
|
116
|
+
service: Service51,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node54]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service51, node53, exports_reference2, Event9 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./plugin-3ee781nc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./plugin-4mw11sjj.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-6xb47vfp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make11 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service27;
|
|
24
|
+
const jobs = yield* Service48;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info10,
|
|
6
6
|
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-7t56kane.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./plugin-vvc0eer9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin17 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info10.make({
|
|
434
434
|
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info10.make({
|
|
441
441
|
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service66;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./plugin-y36z6atj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./plugin-zr9y32zn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./plugin-f8c48b1w.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref3,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service76,
|
|
16
|
+
node80
|
|
17
|
+
} from "./plugin-4z9p2se2.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-cm2n3612.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node61
|
|
27
|
+
} from "./plugin-5a5md02d.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service56,
|
|
30
|
+
node59
|
|
31
|
+
} from "./plugin-0pje3wpz.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
|
+
node: () => node58
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service55 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service76;
|
|
53
|
+
const permission = yield* Service58;
|
|
54
|
+
const forms = yield* Service82;
|
|
55
|
+
const rpc = yield* Service56;
|
|
56
|
+
const project = yield* Service77;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service55.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node58 = makeLocationNode({
|
|
84
|
+
service: Service55,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node80, node61, node81, node86, node59]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service55, node58, exports_location_lifecycle };
|