@opencode/core 0.0.0-dev-20248 → 0.0.0-dev-20249
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-ydgy0jv4.js → location-activity-07770t2t.js} +4 -4
- package/dist/chunks/{repository-cache-9609hank.js → location-activity-07wfsmpr.js} +4 -4
- package/dist/chunks/{repository-cache-wk5z6jzv.js → location-activity-0996nyz8.js} +9 -9
- package/dist/chunks/{repository-cache-0xpxvgpn.js → location-activity-0c4a10mq.js} +9 -9
- package/dist/chunks/{repository-cache-npc9mpth.js → location-activity-0cpfg001.js} +37 -37
- package/dist/chunks/{repository-cache-yw0b1808.js → location-activity-0f9akkc9.js} +10 -10
- package/dist/chunks/{repository-cache-88bzbqnm.js → location-activity-0gjmdtxg.js} +12 -12
- package/dist/chunks/{repository-cache-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-1acjjqhc.js → location-activity-1acjjqhc.js} +1 -1
- package/dist/chunks/{repository-cache-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-bzgzbtys.js → location-activity-1hqp4yhx.js} +12 -12
- package/dist/chunks/{repository-cache-nsbfzarf.js → location-activity-1kggeejj.js} +22 -22
- package/dist/chunks/{repository-cache-07vj3bh8.js → location-activity-1kq3kam5.js} +21 -21
- package/dist/chunks/{repository-cache-fy93ygep.js → location-activity-1r0mgmnx.js} +28 -28
- package/dist/chunks/{repository-cache-33w4ejhs.js → location-activity-1ygqh575.js} +6 -6
- package/dist/chunks/{repository-cache-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-qby9dwvd.js → location-activity-22sd1qqc.js} +8 -8
- package/dist/chunks/{repository-cache-yt1agsr0.js → location-activity-26k5cyqx.js} +86 -86
- package/dist/chunks/{repository-cache-z9r8pcs3.js → location-activity-29m2xxjn.js} +9 -9
- package/dist/chunks/{repository-cache-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-dgfhv2ra.js → location-activity-2eabpvfh.js} +15 -15
- package/dist/chunks/{repository-cache-57ez7d0k.js → location-activity-2fgn2we9.js} +9 -9
- package/dist/chunks/{repository-cache-cn13n8vv.js → location-activity-2pa0jjc4.js} +12 -12
- package/dist/chunks/{repository-cache-eqkxs06z.js → location-activity-2px4r9gg.js} +6 -6
- package/dist/chunks/{repository-cache-3sdjj4an.js → location-activity-2xgpccdx.js} +16 -16
- package/dist/chunks/{repository-cache-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-vrxara3k.js → location-activity-3g74j2m4.js} +42 -42
- package/dist/chunks/location-activity-3gtr08hr.js +252 -0
- package/dist/chunks/{repository-cache-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-0vvxryhs.js → location-activity-3m3dt5rv.js} +23 -23
- package/dist/chunks/{repository-cache-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-8mzhkqz2.js → location-activity-3v15n266.js} +26 -26
- package/dist/chunks/{repository-cache-pxm4np1h.js → location-activity-3z59ka3t.js} +15 -15
- package/dist/chunks/{repository-cache-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-427t97hr.js → location-activity-427t97hr.js} +1 -1
- package/dist/chunks/{repository-cache-zsdgyv36.js → location-activity-4c1fyqzy.js} +40 -40
- package/dist/chunks/{repository-cache-c1y3bnfr.js → location-activity-4n830rq0.js} +19 -19
- package/dist/chunks/{repository-cache-29kpjvxb.js → location-activity-4v89dqmj.js} +11 -11
- package/dist/chunks/{repository-cache-qwggzqz9.js → location-activity-4z3jq6v9.js} +23 -23
- package/dist/chunks/{repository-cache-h4xmhyrc.js → location-activity-52z785nj.js} +15 -15
- package/dist/chunks/{repository-cache-rrytxcw3.js → location-activity-543samen.js} +13 -13
- package/dist/chunks/{repository-cache-0thxwbsq.js → location-activity-55c57zs4.js} +11 -11
- package/dist/chunks/{repository-cache-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-yb7k7myq.js → location-activity-5n3w7w9q.js} +4 -4
- package/dist/chunks/{repository-cache-fnyn8exm.js → location-activity-5s5cjcj1.js} +26 -26
- package/dist/chunks/{repository-cache-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-p5hvz7y2.js → location-activity-5wgca1hz.js} +10 -10
- package/dist/chunks/{repository-cache-xczp8xr7.js → location-activity-5zfnesw8.js} +23 -23
- package/dist/chunks/{repository-cache-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-py3kkmfq.js → location-activity-6pc27hjz.js} +6 -6
- package/dist/chunks/{repository-cache-5x0bqqwq.js → location-activity-6pkj5grj.js} +5 -5
- package/dist/chunks/{repository-cache-tjm97nt9.js → location-activity-6pzy1a9a.js} +17 -17
- package/dist/chunks/{repository-cache-08cc3crx.js → location-activity-6s622yr1.js} +12 -12
- package/dist/chunks/{repository-cache-73tb2d7t.js → location-activity-73tb2d7t.js} +1 -1
- package/dist/chunks/{repository-cache-0qm7vwzr.js → location-activity-792jbbde.js} +12 -12
- package/dist/chunks/{repository-cache-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-4vekh9c8.js → location-activity-7gh5yy3z.js} +23 -23
- package/dist/chunks/{repository-cache-7rwbexbt.js → location-activity-7mbd7k1y.js} +6 -6
- package/dist/chunks/{repository-cache-e6zyer8f.js → location-activity-82a973mw.js} +17 -17
- package/dist/chunks/{repository-cache-292dnxcy.js → location-activity-84t1kn2d.js} +11 -11
- package/dist/chunks/{repository-cache-w1eejvng.js → location-activity-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-g5wjn8h2.js → location-activity-89f9fm0d.js} +4 -4
- package/dist/chunks/{repository-cache-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-jd97cc84.js → location-activity-8dm8w275.js} +16 -16
- package/dist/chunks/{repository-cache-bkyxyg8h.js → location-activity-8kp1k5ps.js} +25 -25
- package/dist/chunks/{repository-cache-vstzsebn.js → location-activity-911tzt7k.js} +5 -5
- package/dist/chunks/{repository-cache-t043jrc7.js → location-activity-93r80qa9.js} +43 -43
- package/dist/chunks/{repository-cache-94ek1h2f.js → location-activity-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-cache-j6k053yf.js → location-activity-9gc7vjkx.js} +4 -4
- package/dist/chunks/{repository-cache-dn7htzk3.js → location-activity-9hdv76r7.js} +20 -20
- package/dist/chunks/{repository-cache-nng2ktcm.js → location-activity-9kmbd9mt.js} +2 -2
- package/dist/chunks/{repository-cache-abeafk4b.js → location-activity-a1wt7dn2.js} +24 -24
- package/dist/chunks/{repository-cache-6rm5yzkt.js → location-activity-a3c7ahw6.js} +4 -4
- package/dist/chunks/{repository-cache-xrrx02dm.js → location-activity-a4sqpv8w.js} +32 -32
- package/dist/chunks/{repository-cache-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-wtvz5zte.js → location-activity-aeszd35j.js} +20 -20
- package/dist/chunks/{repository-cache-eeaf82dq.js → location-activity-ahd542yp.js} +8 -8
- package/dist/chunks/{repository-cache-s0xttw3k.js → location-activity-amzhydp5.js} +22 -22
- package/dist/chunks/location-activity-ayng3qtk.js +26 -0
- package/dist/chunks/{repository-cache-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-zp0a9bvk.js → location-activity-b865kx8x.js} +9 -9
- package/dist/chunks/{repository-cache-ht7262xq.js → location-activity-bex4hgfv.js} +12 -12
- package/dist/chunks/{repository-cache-bvpkk3q2.js → location-activity-bgsmen1g.js} +3 -3
- package/dist/chunks/{repository-cache-ztnbdf6q.js → location-activity-bwjpedc6.js} +16 -16
- package/dist/chunks/{repository-cache-7x0c6mmr.js → location-activity-c2b0a5hv.js} +26 -26
- package/dist/chunks/{repository-cache-ftyydgn8.js → location-activity-cbnr75ht.js} +9 -9
- package/dist/chunks/{repository-cache-e3k6knef.js → location-activity-cdmv03c1.js} +13 -13
- package/dist/chunks/{repository-cache-9t1gynrw.js → location-activity-cgfzvakx.js} +32 -32
- package/dist/chunks/{repository-cache-y9v1kb8k.js → location-activity-cjmgsq5e.js} +18 -18
- package/dist/chunks/{repository-cache-ckecvw8r.js → location-activity-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cache-dv1qgsyq.js → location-activity-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-cache-yyqd12fs.js → location-activity-cq3yby3s.js} +7 -7
- package/dist/chunks/{repository-cache-pkaxfq83.js → location-activity-ct4mjmkm.js} +31 -31
- package/dist/chunks/{repository-cache-4e1ama98.js → location-activity-cvcab3e7.js} +3 -3
- package/dist/chunks/{repository-cache-cwa6csj7.js → location-activity-cwa6csj7.js} +2 -2
- package/dist/chunks/{repository-cache-2q54vq3t.js → location-activity-cx34d9wd.js} +11 -11
- package/dist/chunks/{repository-cache-pkqjp23s.js → location-activity-d0451ks6.js} +9 -9
- package/dist/chunks/{repository-cache-wjqrnc96.js → location-activity-d35a5v29.js} +9 -9
- package/dist/chunks/{repository-cache-ym34xzwb.js → location-activity-d56mnafw.js} +9 -9
- package/dist/chunks/{repository-cache-sjr0pt8x.js → location-activity-dexe5x4p.js} +8 -8
- package/dist/chunks/{repository-cache-wfv2770d.js → location-activity-dh670703.js} +23 -23
- package/dist/chunks/{repository-cache-ds2pk4bj.js → location-activity-dq7g0m2g.js} +31 -31
- package/dist/chunks/{repository-cache-r2gywbkr.js → location-activity-dqky8k4e.js} +5 -5
- package/dist/chunks/{repository-cache-t7ag8xg6.js → location-activity-dqsw1vz6.js} +16 -16
- package/dist/chunks/{repository-cache-xfkkasph.js → location-activity-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-cache-4jv7e9dq.js → location-activity-dwvzh0g2.js} +7 -7
- package/dist/chunks/{repository-cache-1jrf61rm.js → location-activity-e5642x4e.js} +8 -8
- package/dist/chunks/{repository-cache-058qq49r.js → location-activity-e5gbwpdw.js} +31 -31
- package/dist/chunks/{repository-cache-m5gw4h36.js → location-activity-e6gsh30d.js} +4 -4
- package/dist/chunks/{repository-cache-w9cye5bh.js → location-activity-e8d32q1s.js} +5 -5
- package/dist/chunks/{repository-cache-sqghgrkn.js → location-activity-e8snqq2r.js} +10 -10
- package/dist/chunks/{repository-cache-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-88rp6a5n.js → location-activity-et4fhn49.js} +30 -30
- package/dist/chunks/{repository-cache-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-by47bvwa.js → location-activity-ewvgzyem.js} +13 -13
- package/dist/chunks/{repository-cache-a4ns85mx.js → location-activity-ey3ha4js.js} +22 -22
- package/dist/chunks/{repository-cache-e2hjzebn.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{repository-cache-gqf2e7w5.js → location-activity-f95d4cya.js} +16 -16
- package/dist/chunks/{repository-cache-ryr25ayn.js → location-activity-fdv30zvt.js} +7 -7
- package/dist/chunks/{repository-cache-j1fzn4b4.js → location-activity-fp4vakyq.js} +28 -28
- package/dist/chunks/{repository-cache-zvq7xtcr.js → location-activity-fv24634s.js} +23 -23
- package/dist/chunks/{repository-cache-1e3wa6g2.js → location-activity-fvyecsnj.js} +3 -3
- package/dist/chunks/{repository-cache-wtp2v689.js → location-activity-g1q0qwac.js} +33 -33
- package/dist/chunks/{repository-cache-g9by7d7e.js → location-activity-g8f1nww0.js} +18 -18
- package/dist/chunks/{repository-cache-m1zaf8q8.js → location-activity-ga6fan7w.js} +9 -9
- package/dist/chunks/{repository-cache-32ymn5e1.js → location-activity-gcb0pgp4.js} +6 -6
- package/dist/chunks/{repository-cache-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-a910jp2g.js → location-activity-gn3n43j7.js} +15 -15
- package/dist/chunks/{repository-cache-36z7zph9.js → location-activity-gsqtgdec.js} +10 -10
- package/dist/chunks/{repository-cache-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-4dgbcxzg.js → location-activity-h6r3nrb9.js} +4 -4
- package/dist/chunks/{repository-cache-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-m1yw9ks4.js → location-activity-hb3510gt.js} +8 -8
- package/dist/chunks/{repository-cache-5nsxsham.js → location-activity-hd8jt5qg.js} +5 -5
- package/dist/chunks/{repository-cache-zp37bve8.js → location-activity-hdzjhqr6.js} +18 -18
- package/dist/chunks/{repository-cache-87f3zbh4.js → location-activity-hevfjdd2.js} +11 -11
- package/dist/chunks/{repository-cache-repe8m51.js → location-activity-hfja1tsc.js} +24 -24
- package/dist/chunks/{repository-cache-x8mth232.js → location-activity-hhc8k5d5.js} +8 -8
- package/dist/chunks/{repository-cache-c8fx5zam.js → location-activity-hj6fcrxw.js} +7 -7
- package/dist/chunks/{repository-cache-0f9afca0.js → location-activity-hkfg6fzm.js} +5 -5
- package/dist/chunks/location-activity-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-cache-4a2epabq.js → location-activity-hv8pj2g2.js} +4 -4
- package/dist/chunks/{repository-cache-19jrchnq.js → location-activity-j3tac8rj.js} +12 -12
- package/dist/chunks/{repository-cache-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-kf2m36k8.js → location-activity-j5jfxbva.js} +24 -24
- package/dist/chunks/{repository-cache-g9tjzdrf.js → location-activity-j7twtagn.js} +11 -11
- package/dist/chunks/{repository-cache-fj1n3k37.js → location-activity-jaak92tj.js} +9 -9
- package/dist/chunks/{repository-cache-r21ez3wq.js → location-activity-jnwhj7yt.js} +9 -9
- package/dist/chunks/{repository-cache-f7rj482f.js → location-activity-k1qrnqst.js} +8 -8
- package/dist/chunks/{repository-cache-q3tmtmkh.js → location-activity-k4dd9b3k.js} +15 -15
- package/dist/chunks/{repository-cache-eyj2vfft.js → location-activity-k545rb98.js} +13 -13
- package/dist/chunks/{repository-cache-r5h1gx5m.js → location-activity-ka05w473.js} +11 -11
- package/dist/chunks/{repository-cache-b8286ec0.js → location-activity-kcpj4n48.js} +5 -5
- package/dist/chunks/{repository-cache-kn0wphkh.js → location-activity-kjhjjdm4.js} +17 -17
- package/dist/chunks/{repository-cache-asmhed6t.js → location-activity-kpewm0pp.js} +5 -5
- package/dist/chunks/{repository-cache-2fem29gc.js → location-activity-krrw8gsp.js} +20 -20
- package/dist/chunks/{repository-cache-13zjnhww.js → location-activity-kwjgkwej.js} +18 -18
- package/dist/chunks/{repository-cache-cd4qqjqw.js → location-activity-kzp9zm5q.js} +32 -32
- package/dist/chunks/{repository-cache-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-11jdz1a5.js → location-activity-m82hpr9q.js} +42 -42
- package/dist/chunks/{repository-cache-pe82yt1p.js → location-activity-m8xjcd8p.js} +6 -6
- package/dist/chunks/{repository-cache-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-7w99qc9d.js → location-activity-mf9m2v67.js} +3 -3
- package/dist/chunks/{repository-cache-aabh3rnp.js → location-activity-mfy27tej.js} +9 -9
- package/dist/chunks/{repository-cache-4t3er74t.js → location-activity-mgnybjyp.js} +47 -47
- package/dist/chunks/{repository-cache-magykp64.js → location-activity-mjymc32g.js} +4 -4
- package/dist/chunks/{repository-cache-n1ka8r9d.js → location-activity-n1ka8r9d.js} +4 -4
- package/dist/chunks/{repository-cache-jg9znx1t.js → location-activity-n4r1a76v.js} +5 -5
- package/dist/chunks/{repository-cache-qjd41qs4.js → location-activity-nbcz365w.js} +3 -3
- package/dist/chunks/{repository-cache-cafc3hsg.js → location-activity-nraks1dr.js} +20 -20
- package/dist/chunks/{repository-cache-pnef2ahb.js → location-activity-nrewq54w.js} +12 -12
- package/dist/chunks/{repository-cache-qg0jgkcp.js → location-activity-nscznvay.js} +9 -9
- package/dist/chunks/{repository-cache-9brpyp0y.js → location-activity-nxrarche.js} +5 -5
- package/dist/chunks/{repository-cache-x9wftsq0.js → location-activity-nysy6sp5.js} +5 -5
- package/dist/chunks/{repository-cache-nzks3jc8.js → location-activity-nzks3jc8.js} +3 -3
- package/dist/chunks/{repository-cache-ss901cdy.js → location-activity-p0gwq84d.js} +3 -3
- package/dist/chunks/{repository-cache-db9rkawd.js → location-activity-p0zhhjrw.js} +44 -44
- package/dist/chunks/{repository-cache-kjz0qpx3.js → location-activity-p1884n00.js} +8 -8
- package/dist/chunks/{repository-cache-kayzqgev.js → location-activity-p305v1nf.js} +16 -16
- package/dist/chunks/location-activity-pazdmjb1.js +507 -0
- package/dist/chunks/{repository-cache-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-mfzsbzca.js → location-activity-pvs6fqv6.js} +21 -21
- package/dist/chunks/{repository-cache-sx1n432n.js → location-activity-q2b1ymqp.js} +4 -4
- package/dist/chunks/{repository-cache-6anwy9fs.js → location-activity-q5t0te5a.js} +4 -4
- package/dist/chunks/{repository-cache-k8hpw67k.js → location-activity-qdbakdjh.js} +5 -5
- package/dist/chunks/{repository-cache-2k8khapm.js → location-activity-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-cache-se8vzq67.js → location-activity-qgrqny45.js} +17 -17
- package/dist/chunks/{repository-cache-dqw8sfxx.js → location-activity-qs4mz5f3.js} +2 -2
- package/dist/chunks/{repository-cache-4t56bhmg.js → location-activity-qsb7s0x5.js} +12 -12
- package/dist/chunks/{repository-cache-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-cwvtaad0.js → location-activity-r12j57sn.js} +5 -5
- package/dist/chunks/{repository-cache-yx1pxd6d.js → location-activity-r688vq8x.js} +11 -11
- package/dist/chunks/{repository-cache-dpahde6h.js → location-activity-r9t00hsy.js} +8 -8
- package/dist/chunks/{repository-cache-za7gw4wk.js → location-activity-rbr1ba9y.js} +6 -6
- package/dist/chunks/{repository-cache-f8akmggk.js → location-activity-rdbs0tt8.js} +22 -22
- package/dist/chunks/{repository-cache-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-9y7gjzcp.js → location-activity-rh4j9zs2.js} +9 -9
- package/dist/chunks/{repository-cache-91aa3a25.js → location-activity-rmjn6g9n.js} +20 -20
- package/dist/chunks/{repository-cache-c9xaha6y.js → location-activity-rpveba7r.js} +12 -12
- package/dist/chunks/{repository-cache-hz6g7x4z.js → location-activity-sxhaxdsn.js} +8 -8
- package/dist/chunks/{repository-cache-dtnqh7xf.js → location-activity-sy8g0x3h.js} +20 -20
- package/dist/chunks/{repository-cache-syf57q56.js → location-activity-syf57q56.js} +1 -1
- package/dist/chunks/{repository-cache-t550f9t1.js → location-activity-t550f9t1.js} +1 -1
- package/dist/chunks/{repository-cache-b7xasgp7.js → location-activity-t6w37xe3.js} +32 -32
- package/dist/chunks/{repository-cache-bw43118n.js → location-activity-t7tyx60j.js} +22 -22
- package/dist/chunks/{repository-cache-wm6eqmjh.js → location-activity-t9ry9eb3.js} +3 -3
- package/dist/chunks/{repository-cache-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-xqspxtf3.js → location-activity-tcgrsnf7.js} +1 -1
- package/dist/chunks/{repository-cache-pb1eahw5.js → location-activity-tdhe5xga.js} +8 -8
- package/dist/chunks/{repository-cache-81vvr7wj.js → location-activity-tdj3v69k.js} +58 -58
- package/dist/chunks/{repository-cache-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-0nqfdzfg.js → location-activity-tgc9kse0.js} +11 -11
- package/dist/chunks/{repository-cache-7c5r8mwm.js → location-activity-tjzmcvwf.js} +22 -22
- package/dist/chunks/{repository-cache-aa27w7jm.js → location-activity-tp8se8yv.js} +13 -13
- package/dist/chunks/{repository-cache-mtqw2cwj.js → location-activity-trpnn8yx.js} +10 -10
- package/dist/chunks/{repository-cache-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-t0fxg8b9.js → location-activity-tz2bjj40.js} +5 -5
- package/dist/chunks/{repository-cache-afed7ext.js → location-activity-v4qfxnag.js} +12 -12
- package/dist/chunks/{repository-cache-x3jaej8z.js → location-activity-v9s04r34.js} +11 -11
- package/dist/chunks/{repository-cache-1v8zdmks.js → location-activity-v9xtk2pv.js} +37 -37
- package/dist/chunks/{repository-cache-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-ssz3s5wm.js → location-activity-vffygzrk.js} +30 -30
- package/dist/chunks/{repository-cache-kbckyd8w.js → location-activity-vpvxm0qy.js} +8 -8
- package/dist/chunks/{repository-cache-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-91nb1jqk.js → location-activity-w3h9rmhg.js} +43 -43
- package/dist/chunks/{repository-cache-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-ev9gp3cm.js → location-activity-w9yg01yk.js} +11 -11
- package/dist/chunks/{repository-cache-qjnxxf51.js → location-activity-wbkyxrgf.js} +5 -5
- package/dist/chunks/{repository-cache-wd3x2cqz.js → location-activity-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-cache-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-f01042q8.js → location-activity-wex19r3q.js} +49 -49
- package/dist/chunks/{repository-cache-aj81xsja.js → location-activity-wgrwsfrd.js} +19 -19
- package/dist/chunks/{repository-cache-9hy0f780.js → location-activity-wpf825w3.js} +48 -48
- package/dist/chunks/{repository-cache-4jemq3kp.js → location-activity-wqpd61v1.js} +21 -21
- package/dist/chunks/{repository-cache-1qksrx13.js → location-activity-wsy9hj9j.js} +174 -174
- package/dist/chunks/{repository-cache-h7gdr3a3.js → location-activity-wv5fs872.js} +43 -43
- package/dist/chunks/{repository-cache-c5yp82fd.js → location-activity-wxfw16zk.js} +16 -16
- package/dist/chunks/{repository-cache-vfm2ry0n.js → location-activity-x0b0awdg.js} +16 -16
- package/dist/chunks/{repository-cache-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-dzk760wa.js → location-activity-x1h4eq31.js} +3 -3
- package/dist/chunks/{repository-cache-23hratnr.js → location-activity-x2wb27pg.js} +13 -13
- package/dist/chunks/{repository-cache-078rgkvc.js → location-activity-xa9wygja.js} +18 -18
- package/dist/chunks/{repository-cache-6vjypkf7.js → location-activity-xcjaeq7k.js} +27 -27
- package/dist/chunks/{repository-cache-8qvzptz7.js → location-activity-xf0nr9dv.js} +4 -4
- package/dist/chunks/{repository-cache-kpcpgk5c.js → location-activity-xfsbkaye.js} +86 -86
- package/dist/chunks/{repository-cache-qg8cy7et.js → location-activity-xhysamsz.js} +7 -7
- package/dist/chunks/{repository-cache-5nh1jpgd.js → location-activity-xjeq8bvs.js} +22 -22
- package/dist/chunks/{repository-cache-xkntkrq7.js → location-activity-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-cache-4jaemszs.js → location-activity-xs2kjjdj.js} +1 -1
- package/dist/chunks/{repository-cache-g5agzp2h.js → location-activity-xvp1j2dc.js} +5 -5
- package/dist/chunks/{repository-cache-z0aj456m.js → location-activity-xxxym934.js} +4 -4
- package/dist/chunks/{repository-cache-z5crsmww.js → location-activity-xz8qpa4w.js} +9 -9
- package/dist/chunks/{repository-cache-3k4dry0a.js → location-activity-y0n45tja.js} +26 -26
- package/dist/chunks/{repository-cache-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-affanax3.js → location-activity-y2ytve36.js} +16 -16
- package/dist/chunks/{repository-cache-0988adk2.js → location-activity-y3bb7t5e.js} +10 -10
- package/dist/chunks/{repository-cache-bqedhbkq.js → location-activity-y5zh0atg.js} +6 -6
- package/dist/chunks/{repository-cache-prak7c72.js → location-activity-y65d65xc.js} +12 -12
- package/dist/chunks/{repository-cache-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{repository-cache-ea3ghczx.js → location-activity-y79j09dr.js} +21 -21
- package/dist/chunks/{repository-cache-097j89tx.js → location-activity-yad8aem9.js} +42 -42
- package/dist/chunks/{repository-cache-th00ytsn.js → location-activity-yarc8zna.js} +16 -16
- package/dist/chunks/{repository-cache-bqrz9ag7.js → location-activity-yd8wbh55.js} +29 -29
- package/dist/chunks/{repository-cache-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-yrznvahk.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cache-mgmaefw5.js → location-activity-ys6jnmbc.js} +8 -8
- package/dist/chunks/{repository-cache-z07pqspn.js → location-activity-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-z45tr6e4.js → location-activity-z1x1gfhs.js} +22 -22
- package/dist/chunks/{repository-cache-y16p1w2y.js → location-activity-z3nay82g.js} +9 -9
- package/dist/chunks/{repository-cache-z63w68vq.js → location-activity-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-cache-v6f0g2q9.js → location-activity-zdbhsfnw.js} +15 -15
- package/dist/chunks/{repository-cache-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-7jr3mcnt.js → location-activity-zhk4zx0p.js} +25 -25
- package/dist/chunks/{repository-cache-2cmv458r.js → location-activity-zk8c4w5t.js} +5 -5
- package/dist/chunks/{repository-cache-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-zd55pfdc.js → location-activity-zrv7nm7e.js} +27 -27
- package/dist/chunks/{repository-cache-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-cache-51rgksg0.js +0 -507
- package/dist/chunks/repository-cache-9s8z1thm.js +0 -26
- package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
- package/dist/chunks/repository-cache-xdc9t4mb.js +0 -252
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-e6gsh30d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
node84
|
|
8
|
-
} from "./repository-cache-jd97cc84.js";
|
|
9
|
-
import {
|
|
10
|
-
Service78,
|
|
6
|
+
Service77,
|
|
11
7
|
node81
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./location-activity-8dm8w275.js";
|
|
9
|
+
import {
|
|
10
|
+
Service37,
|
|
11
|
+
node40
|
|
12
|
+
} from "./location-activity-a1wt7dn2.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service82,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node86
|
|
20
|
+
} from "./location-activity-amzhydp5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service68,
|
|
23
|
+
node70
|
|
24
|
+
} from "./location-activity-22sd1qqc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service35,
|
|
27
|
+
node38
|
|
28
|
+
} from "./location-activity-ahd542yp.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-activity-mf9m2v67.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service39,
|
|
35
|
+
node42
|
|
36
|
+
} from "./location-activity-93r80qa9.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-activity-6s622yr1.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service34,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node37
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service34 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service77;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service82;
|
|
95
|
+
const environment = yield* Service37;
|
|
96
|
+
const hooks = yield* Service68;
|
|
97
|
+
const environments = yield* Service35;
|
|
98
|
+
const config = yield* Service39;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service34.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node37 = makeLocationNode({
|
|
329
|
+
service: Service34,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
node84,
|
|
334
|
-
Global.node,
|
|
335
|
-
node49,
|
|
336
333
|
node81,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
334
|
+
Global.node,
|
|
335
|
+
node86,
|
|
336
|
+
node40,
|
|
337
|
+
node70,
|
|
338
|
+
node38,
|
|
339
|
+
node42,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service34, cleanup2, node37, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info11,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info11 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info11, exports_permission };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-z07pqspn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-7mbd7k1y.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-55c57zs4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-e6gsh30d.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./location-activity-1r0mgmnx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-7gh5yy3z.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./location-activity-k1qrnqst.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID13,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
26
26
|
import {
|
|
27
27
|
ID4,
|
|
28
|
-
|
|
28
|
+
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-krrw8gsp.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
71
71
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
72
72
|
function oauth(http) {
|
|
73
73
|
return {
|
|
74
|
-
integrationID:
|
|
74
|
+
integrationID: ID14.make("opencode"),
|
|
75
75
|
method: {
|
|
76
76
|
id: methodID,
|
|
77
77
|
type: "oauth",
|
|
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
|
|
|
128
128
|
const bus = yield* Service83;
|
|
129
129
|
const client = yield* HttpClient.HttpClient;
|
|
130
130
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
131
|
-
const managed = yield*
|
|
131
|
+
const managed = yield* Service13;
|
|
132
132
|
const loading = Semaphore.makeUnsafe(1);
|
|
133
133
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
134
134
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
|
|
|
162
162
|
providers.update(providerID, (provider) => {
|
|
163
163
|
if (source && source.provider !== provider)
|
|
164
164
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
165
|
-
provider.integrationID =
|
|
165
|
+
provider.integrationID = ID14.make("opencode");
|
|
166
166
|
if (item.canonical !== undefined)
|
|
167
167
|
provider.canonical = item.canonical;
|
|
168
168
|
if (item.name !== undefined)
|
|
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
|
|
|
232
232
|
sourceConnection: snapshot.connection
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const item = providers.get(
|
|
235
|
+
const item = providers.get(ID13.opencode);
|
|
236
236
|
if (!item)
|
|
237
237
|
return;
|
|
238
238
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
|
|
|
244
244
|
});
|
|
245
245
|
});
|
|
246
246
|
yield* ctx.model.transform((models) => {
|
|
247
|
-
const item = models.provider.get(
|
|
247
|
+
const item = models.provider.get(ID13.opencode);
|
|
248
248
|
if (!item)
|
|
249
249
|
return;
|
|
250
250
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-e6gsh30d.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
@@ -20,20 +20,20 @@ __export(exports_form, {
|
|
|
20
20
|
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
25
|
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node80,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID15 = Form.ID;
|
|
39
39
|
var Info30 = Form.Info;
|
|
@@ -44,7 +44,7 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
48
|
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
@@ -81,14 +81,14 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
81
81
|
|
|
82
82
|
class Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
93
|
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
@@ -161,7 +161,7 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
162
|
return Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node80 = makeLocationNode({ service: Service76, layer: layer24, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3,
|
|
316
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer24, node80, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-gcb0pgp4.js";
|
|
5
5
|
import {
|
|
6
6
|
BlockedError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-yad8aem9.js";
|
|
8
8
|
import {
|
|
9
9
|
AuthorizationError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-7gh5yy3z.js";
|
|
11
11
|
import {
|
|
12
12
|
VariantUnavailableError2,
|
|
13
13
|
UnsupportedPackageError2,
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
ModelInitializationError2,
|
|
16
16
|
UnresolvedProviderVariablesError2,
|
|
17
17
|
UnsupportedCompactionError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-p0zhhjrw.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelNotSelectedError2,
|
|
21
21
|
ModelUnavailableError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-0gjmdtxg.js";
|
|
23
23
|
|
|
24
24
|
// src/session/to-session-error.ts
|
|
25
25
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-activity-fp4vakyq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|