@opencode/core 0.0.0-dev-56 → 0.0.0-dev-64
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{rpc-tv0gzqtp.js → location-services-020zpnm4.js} +2 -2
- package/dist/chunks/{rpc-034tev2y.js → location-services-034tev2y.js} +2 -2
- package/dist/chunks/{rpc-qj76h0fc.js → location-services-06qvkc6e.js} +14 -14
- package/dist/chunks/{rpc-4fd5ta9m.js → location-services-0eq01nmm.js} +9 -9
- package/dist/chunks/{rpc-j8mbjqzd.js → location-services-0h8fm2ww.js} +18 -18
- package/dist/chunks/{rpc-6m6bsj58.js → location-services-10698rvb.js} +27 -27
- package/dist/chunks/{rpc-x8nvjgx0.js → location-services-11hfp36g.js} +4 -4
- package/dist/chunks/{rpc-w1hkhdtf.js → location-services-189c2z7w.js} +20 -20
- package/dist/chunks/{rpc-ztfp96c4.js → location-services-1a0b8wew.js} +20 -20
- package/dist/chunks/{rpc-9aaqd4cr.js → location-services-1c8tzkk0.js} +46 -46
- package/dist/chunks/{rpc-jpf9vwqw.js → location-services-1dx49z0n.js} +9 -9
- package/dist/chunks/{rpc-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
- package/dist/chunks/{rpc-myx6e55h.js → location-services-1h8sxmja.js} +11 -11
- package/dist/chunks/{rpc-72tjyr14.js → location-services-1jzce7ba.js} +15 -15
- package/dist/chunks/{rpc-sedz7jsj.js → location-services-1rs2921g.js} +26 -26
- package/dist/chunks/{rpc-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{rpc-204s3925.js → location-services-204s3925.js} +1 -1
- package/dist/chunks/{rpc-vnn3phs4.js → location-services-24tsn34s.js} +24 -24
- package/dist/chunks/{rpc-45c1pec7.js → location-services-2b9k209b.js} +16 -16
- package/dist/chunks/{rpc-aqre7xn4.js → location-services-2fngxkhk.js} +26 -26
- package/dist/chunks/{rpc-g5cwnqn4.js → location-services-2hj7awb8.js} +5 -5
- package/dist/chunks/{rpc-6v5hcgfq.js → location-services-2qje8jvz.js} +15 -15
- package/dist/chunks/{rpc-sj12gjca.js → location-services-2rb4wbj4.js} +4 -4
- package/dist/chunks/{rpc-94dw899a.js → location-services-2xw6dmz5.js} +18 -18
- package/dist/chunks/{rpc-cedkk2hn.js → location-services-2y81gh79.js} +26 -26
- package/dist/chunks/{rpc-t5jqs5j7.js → location-services-331p6xjh.js} +2 -2
- package/dist/chunks/{rpc-d081q3rt.js → location-services-361hcc7j.js} +87 -87
- package/dist/chunks/{rpc-xqhxnj8s.js → location-services-3dbex3rz.js} +13 -13
- package/dist/chunks/{rpc-whz9p1gq.js → location-services-3f6yms39.js} +23 -23
- package/dist/chunks/{rpc-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-3j1m3tq4.js → location-services-3j1m3tq4.js} +2 -2
- package/dist/chunks/{rpc-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{rpc-g5n7re5f.js → location-services-3tv0ny9f.js} +44 -44
- package/dist/chunks/{rpc-fpp6hpcz.js → location-services-47m4w8nw.js} +18 -18
- package/dist/chunks/{rpc-drerwy6v.js → location-services-4j7592es.js} +6 -6
- package/dist/chunks/{rpc-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{rpc-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{rpc-vsne3b7e.js → location-services-4v34atpz.js} +18 -18
- package/dist/chunks/{rpc-5tsxr0ws.js → location-services-5hqsswq2.js} +14 -14
- package/dist/chunks/{rpc-gnpspdhe.js → location-services-5j8pr5g9.js} +10 -10
- package/dist/chunks/{rpc-m0beerck.js → location-services-5m3p3r5s.js} +29 -29
- package/dist/chunks/{rpc-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{rpc-g3vbb411.js → location-services-5vms8twd.js} +32 -32
- package/dist/chunks/{rpc-twcvacat.js → location-services-616zqkce.js} +13 -13
- package/dist/chunks/{rpc-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{rpc-24f1v18m.js → location-services-6h2pa11h.js} +15 -15
- package/dist/chunks/{rpc-djjzzs3c.js → location-services-6jrjvs1q.js} +6 -6
- package/dist/chunks/{rpc-0rq8521k.js → location-services-6mdzwzg7.js} +4 -4
- package/dist/chunks/{rpc-v83fq82d.js → location-services-6pgz6wzq.js} +35 -35
- package/dist/chunks/{rpc-v92b8r51.js → location-services-6v72x2ed.js} +14 -14
- package/dist/chunks/{rpc-fdaca9h8.js → location-services-6xqtwe1r.js} +12 -12
- package/dist/chunks/{rpc-n3f5ztfg.js → location-services-70jyngdv.js} +9 -9
- package/dist/chunks/{rpc-4d2pgjbv.js → location-services-75qg15m1.js} +22 -22
- package/dist/chunks/{rpc-nah043kf.js → location-services-770pw0s1.js} +4 -4
- package/dist/chunks/{rpc-4m1g0ceg.js → location-services-7av4j0s6.js} +8 -8
- package/dist/chunks/{rpc-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-7pasvbr1.js → location-services-7efvqzhd.js} +18 -18
- package/dist/chunks/location-services-7n5d83wd.js +257 -0
- package/dist/chunks/{rpc-drvbhkez.js → location-services-7sdtxe0n.js} +4 -4
- package/dist/chunks/{rpc-w8t2j0ev.js → location-services-7vzj9awm.js} +5 -5
- package/dist/chunks/{rpc-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{rpc-qx5f0d2q.js → location-services-7wj339t1.js} +14 -14
- package/dist/chunks/{rpc-pv5ds392.js → location-services-866wf2vs.js} +8 -8
- package/dist/chunks/{rpc-919vdwc6.js → location-services-891xbxsq.js} +14 -14
- package/dist/chunks/{rpc-6dfsbm8p.js → location-services-8cw3p3pm.js} +43 -43
- package/dist/chunks/{rpc-vb2mcp36.js → location-services-8kvtxzpx.js} +7 -7
- package/dist/chunks/{rpc-p2p83sy3.js → location-services-8rg72s59.js} +13 -13
- package/dist/chunks/{rpc-7nwq7d8b.js → location-services-8wawps64.js} +5 -5
- package/dist/chunks/{rpc-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{rpc-gcjdgkn2.js → location-services-8x9y3wj0.js} +9 -9
- package/dist/chunks/{rpc-3gda39my.js → location-services-8xsxqfj0.js} +48 -48
- package/dist/chunks/{rpc-90zstvax.js → location-services-90zstvax.js} +1 -1
- package/dist/chunks/{rpc-k5kj76dt.js → location-services-91c7zjyq.js} +11 -11
- package/dist/chunks/{rpc-qmj7wcqf.js → location-services-9437wt4d.js} +5 -5
- package/dist/chunks/{rpc-enhdjx8m.js → location-services-97wtqrge.js} +11 -11
- package/dist/chunks/{rpc-9cx9sm2q.js → location-services-9cx9sm2q.js} +1 -1
- package/dist/chunks/{rpc-kv3397pn.js → location-services-9gx11wxw.js} +4 -4
- package/dist/chunks/{rpc-hvvf9qw8.js → location-services-9nkjg9qd.js} +6 -6
- package/dist/chunks/location-services-9p9wbndj.js +26 -0
- package/dist/chunks/{rpc-2dyqtkwr.js → location-services-9whep7e0.js} +5 -5
- package/dist/chunks/{rpc-txpcm6be.js → location-services-a33a86vx.js} +47 -47
- package/dist/chunks/location-services-a610t88q.js +18 -0
- package/dist/chunks/{rpc-zbg53hjx.js → location-services-agnbv5zk.js} +7 -7
- package/dist/chunks/{rpc-0c526ams.js → location-services-agwgn61j.js} +16 -16
- package/dist/chunks/{rpc-avmkrmj1.js → location-services-ah09kpwr.js} +12 -12
- package/dist/chunks/{rpc-3kq4a6sg.js → location-services-ap5257e6.js} +17 -17
- package/dist/chunks/{rpc-zr1w76qe.js → location-services-arv3g562.js} +4 -4
- package/dist/chunks/{rpc-xnf74d9j.js → location-services-atqmvsxd.js} +3 -3
- package/dist/chunks/{rpc-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
- package/dist/chunks/{rpc-06ezgrzy.js → location-services-b1xakg4t.js} +8 -8
- package/dist/chunks/{rpc-b6vsg801.js → location-services-b6vsg801.js} +2 -2
- package/dist/chunks/{rpc-qsee9sfb.js → location-services-ba07h9gm.js} +3 -3
- package/dist/chunks/{rpc-qz087kyw.js → location-services-bgg6fpfq.js} +8 -8
- package/dist/chunks/{rpc-bstexjd6.js → location-services-bstexjd6.js} +1 -1
- package/dist/chunks/{rpc-33kcjwwy.js → location-services-c1zy16x8.js} +10 -10
- package/dist/chunks/{rpc-g5f8x4xx.js → location-services-cdev0qw6.js} +2 -2
- package/dist/chunks/{rpc-s7hqqt4z.js → location-services-cj2b2j51.js} +52 -38
- package/dist/chunks/{rpc-h05nesbv.js → location-services-ct6n0aec.js} +30 -30
- package/dist/chunks/{rpc-1cz5jnx3.js → location-services-cwmfzxax.js} +21 -21
- package/dist/chunks/{rpc-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{rpc-qedxx4df.js → location-services-cy5ef8hm.js} +11 -11
- package/dist/chunks/{rpc-akbz7b6h.js → location-services-d00ag3b5.js} +5 -5
- package/dist/chunks/{rpc-7zxwgkwf.js → location-services-d1mr7tcc.js} +5 -5
- package/dist/chunks/{rpc-bjhzkqyk.js → location-services-d1v2vbzt.js} +4 -4
- package/dist/chunks/{rpc-d2887f8n.js → location-services-d2887f8n.js} +1 -1
- package/dist/chunks/{rpc-emfgrb33.js → location-services-d3ajd33x.js} +9 -9
- package/dist/chunks/{rpc-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{rpc-9d3qqyt3.js → location-services-d95c94hx.js} +33 -33
- package/dist/chunks/{rpc-rmq8nx06.js → location-services-dbpv404k.js} +42 -42
- package/dist/chunks/{rpc-7m6jdvvc.js → location-services-dhs69mq4.js} +23 -23
- package/dist/chunks/{rpc-c49xtfdh.js → location-services-dmssmyv3.js} +8 -8
- package/dist/chunks/{rpc-xnnf989s.js → location-services-dqepyj8z.js} +44 -44
- package/dist/chunks/{rpc-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{rpc-hggwpgzd.js → location-services-dtdkt915.js} +4 -4
- package/dist/chunks/{rpc-37fv4m6h.js → location-services-dvxg9xas.js} +16 -16
- package/dist/chunks/{rpc-e07q2w5p.js → location-services-e07q2w5p.js} +1 -1
- package/dist/chunks/{rpc-v5xd2mpf.js → location-services-e0vq96z9.js} +17 -17
- package/dist/chunks/{rpc-cyj2kt6c.js → location-services-e6ma8sks.js} +6 -6
- package/dist/chunks/{rpc-je2wvarz.js → location-services-e6ytsf2b.js} +11 -11
- package/dist/chunks/{rpc-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{rpc-1cm167wn.js → location-services-e884at7j.js} +5 -5
- package/dist/chunks/{rpc-1pr3bvqr.js → location-services-edmv2p4j.js} +54 -54
- package/dist/chunks/{rpc-11r0hn6h.js → location-services-ehz01n6z.js} +11 -11
- package/dist/chunks/{rpc-m9dmsm3n.js → location-services-ekas1cck.js} +4 -4
- package/dist/chunks/{rpc-48d8ae9z.js → location-services-evf857tp.js} +6 -6
- package/dist/chunks/{rpc-4cp64nen.js → location-services-f09z3f4w.js} +17 -17
- package/dist/chunks/{rpc-yx939w10.js → location-services-fb3jk243.js} +18 -18
- package/dist/chunks/{rpc-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{rpc-9vv0e3hr.js → location-services-fqpk86s2.js} +7 -7
- package/dist/chunks/{rpc-4d6ha9s6.js → location-services-g208md38.js} +5 -5
- package/dist/chunks/{rpc-dv6qm9br.js → location-services-g219a0kq.js} +27 -27
- package/dist/chunks/{rpc-3jakq1d6.js → location-services-gbp88eyx.js} +20 -20
- package/dist/chunks/{rpc-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
- package/dist/chunks/{rpc-55pbqef1.js → location-services-ghh93d0s.js} +9 -9
- package/dist/chunks/{rpc-5t0ssftj.js → location-services-gy2j584d.js} +17 -17
- package/dist/chunks/{rpc-cttyfbh0.js → location-services-h0bc8af7.js} +18 -18
- package/dist/chunks/{rpc-fxp3jdxe.js → location-services-h59wt0w5.js} +3 -3
- package/dist/chunks/{rpc-ey18rynk.js → location-services-h8yn74hc.js} +28 -28
- package/dist/chunks/{rpc-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
- package/dist/chunks/{rpc-q2mw85a4.js → location-services-hfpnh8b8.js} +195 -195
- package/dist/chunks/{rpc-hpg1pkwy.js → location-services-hpg1pkwy.js} +1 -1
- package/dist/chunks/{rpc-3t8h1e95.js → location-services-hw7ke7j2.js} +35 -35
- package/dist/chunks/{rpc-j3crpzxq.js → location-services-hxq68qpv.js} +16 -16
- package/dist/chunks/{rpc-kzsyc12b.js → location-services-hyxwtr16.js} +11 -11
- package/dist/chunks/{rpc-x356pzge.js → location-services-j41s2q6a.js} +40 -40
- package/dist/chunks/{rpc-jfaecv01.js → location-services-jfaecv01.js} +1 -1
- package/dist/chunks/{rpc-twsxhs3f.js → location-services-jg7yw0kp.js} +16 -16
- package/dist/chunks/{rpc-fkvkceny.js → location-services-jpwp8mx7.js} +52 -52
- package/dist/chunks/{rpc-6sbpw0e5.js → location-services-jtjptmzv.js} +9 -9
- package/dist/chunks/{rpc-jtnps1zs.js → location-services-jtnps1zs.js} +2 -2
- package/dist/chunks/{rpc-m2zathk5.js → location-services-jze27bva.js} +14 -14
- package/dist/chunks/{rpc-f4tcs0jy.js → location-services-k7g3tdkn.js} +8 -8
- package/dist/chunks/{rpc-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{rpc-y3dxaa8f.js → location-services-k88b30qa.js} +5 -5
- package/dist/chunks/{rpc-ncgr05pj.js → location-services-k8vhdvpr.js} +23 -23
- package/dist/chunks/{rpc-dtbhyemk.js → location-services-kdsywe1g.js} +6 -6
- package/dist/chunks/{rpc-mpm5mb5p.js → location-services-kdzrs2t4.js} +34 -34
- package/dist/chunks/{rpc-jag19rqs.js → location-services-kesvm3k7.js} +8 -8
- package/dist/chunks/{rpc-85wke8th.js → location-services-kf7yd5ke.js} +32 -32
- package/dist/chunks/{rpc-whngmfrz.js → location-services-kjaj9yp1.js} +20 -20
- package/dist/chunks/{rpc-rj5anvxz.js → location-services-krdv4tqx.js} +8 -8
- package/dist/chunks/{rpc-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{rpc-q08g37zc.js → location-services-kzzr1kfy.js} +4 -4
- package/dist/chunks/{rpc-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{rpc-sdtp6k0d.js → location-services-m45h31ff.js} +18 -18
- package/dist/chunks/{rpc-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-r0rv0wyp.js → location-services-mfr0p1x9.js} +11 -11
- package/dist/chunks/{rpc-pjvdrmby.js → location-services-mhcbn2s9.js} +6 -6
- package/dist/chunks/{rpc-3dcwdj6v.js → location-services-mkr15vrz.js} +17 -17
- package/dist/chunks/{rpc-9q8g9sv8.js → location-services-mmx1mfjr.js} +4 -4
- package/dist/chunks/{rpc-qkqjbc48.js → location-services-mqe7nf5n.js} +3 -3
- package/dist/chunks/{rpc-r3fd02n6.js → location-services-mrng6hna.js} +16 -16
- package/dist/chunks/{rpc-twvtkg4y.js → location-services-mvh1rx9p.js} +12 -12
- package/dist/chunks/{rpc-r7pyyrd2.js → location-services-mz1832ks.js} +15 -15
- package/dist/chunks/{rpc-vtjnzknn.js → location-services-n8m0q05k.js} +7 -7
- package/dist/chunks/{rpc-zbmx9syz.js → location-services-nbmqhqas.js} +22 -22
- package/dist/chunks/{rpc-883j7vh5.js → location-services-ncmn4rz0.js} +28 -28
- package/dist/chunks/{rpc-49q52fh6.js → location-services-ndb69tfa.js} +33 -33
- package/dist/chunks/{rpc-zzqwmb9j.js → location-services-ng098k0q.js} +23 -23
- package/dist/chunks/{rpc-2zq6pbnf.js → location-services-nk85174p.js} +30 -30
- package/dist/chunks/{rpc-9v9sw9y8.js → location-services-nr97w2wj.js} +11 -11
- package/dist/chunks/{rpc-npb0m00r.js → location-services-nwvs9qq5.js} +13 -13
- package/dist/chunks/{rpc-0vawvjhj.js → location-services-nym9wyb3.js} +6 -6
- package/dist/chunks/{rpc-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{rpc-8v13ctkh.js → location-services-p0a3b8hq.js} +30 -30
- package/dist/chunks/{rpc-5456a48y.js → location-services-p1fvmphk.js} +11 -11
- package/dist/chunks/{rpc-kc9nrs0j.js → location-services-p3bccnsq.js} +24 -24
- package/dist/chunks/{rpc-nf3nsvxh.js → location-services-pbbktnbz.js} +4 -4
- package/dist/chunks/{rpc-tjxwgd7m.js → location-services-pe5cp1q8.js} +25 -25
- package/dist/chunks/{rpc-f1jvjr49.js → location-services-pfswwbj2.js} +3 -3
- package/dist/chunks/{rpc-8rgpj3v9.js → location-services-pgd0patt.js} +28 -28
- package/dist/chunks/{rpc-24b1822y.js → location-services-ph1jffse.js} +24 -24
- package/dist/chunks/{rpc-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-ngfv116b.js → location-services-pnqyn77n.js} +6 -6
- package/dist/chunks/{rpc-s5vpcb73.js → location-services-ppf126py.js} +7 -7
- package/dist/chunks/{rpc-fg9p65nk.js → location-services-prq7xxp2.js} +6 -6
- package/dist/chunks/{rpc-8k1232g8.js → location-services-pwa1a8rs.js} +12 -12
- package/dist/chunks/{rpc-na8jz2jz.js → location-services-pyk1f59v.js} +4 -4
- package/dist/chunks/{rpc-kcdb1e28.js → location-services-q5wj7mv8.js} +19 -19
- package/dist/chunks/{rpc-ayzcn7ry.js → location-services-q8bjp0w9.js} +25 -25
- package/dist/chunks/{rpc-9ej9d65q.js → location-services-qbhn9ys7.js} +10 -10
- package/dist/chunks/{rpc-pxrx0r0g.js → location-services-qfkfn7d5.js} +29 -29
- package/dist/chunks/{rpc-0ahs07zn.js → location-services-qft8hb75.js} +7 -7
- package/dist/chunks/{rpc-gs6z249h.js → location-services-qn81gd5b.js} +11 -11
- package/dist/chunks/{rpc-0vp9s6f9.js → location-services-qnz6w04z.js} +9 -9
- package/dist/chunks/{rpc-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{rpc-bsfsn1q2.js → location-services-qsekswpw.js} +14 -14
- package/dist/chunks/{rpc-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
- package/dist/chunks/{rpc-bvqmrn1m.js → location-services-r26r40ph.js} +14 -14
- package/dist/chunks/location-services-r497nngn.js +517 -0
- package/dist/chunks/{rpc-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{rpc-88pmpatn.js → location-services-r8a8jxpt.js} +11 -11
- package/dist/chunks/{rpc-0whhes9s.js → location-services-r8nzqyhk.js} +15 -15
- package/dist/chunks/{rpc-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{rpc-xa9xwx2k.js → location-services-rcvjkgve.js} +27 -27
- package/dist/chunks/{rpc-pms2m0st.js → location-services-rfz97rvx.js} +5 -5
- package/dist/chunks/{rpc-pn41xxg3.js → location-services-rha71f46.js} +4 -4
- package/dist/chunks/{rpc-33fc7s0m.js → location-services-rhg5jmsx.js} +17 -17
- package/dist/chunks/{rpc-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{rpc-67nysykx.js → location-services-rth2557w.js} +15 -15
- package/dist/chunks/{rpc-rrxyghcz.js → location-services-rwnw28mr.js} +22 -22
- package/dist/chunks/{rpc-t7gq5xjm.js → location-services-rz9cdrn3.js} +29 -29
- package/dist/chunks/{rpc-kk9fztqn.js → location-services-s1q3ndg4.js} +11 -11
- package/dist/chunks/{rpc-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{rpc-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{rpc-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{rpc-6y263vp8.js → location-services-szcgc7h4.js} +5 -5
- package/dist/chunks/{rpc-brp6nb8b.js → location-services-t3wrh3sj.js} +32 -32
- package/dist/chunks/{rpc-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{rpc-7ktfwhzn.js → location-services-td7x002b.js} +19 -19
- package/dist/chunks/{rpc-d495y938.js → location-services-tdx723hm.js} +1 -1
- package/dist/chunks/{rpc-tg1vr1qt.js → location-services-tqx9c315.js} +8 -8
- package/dist/chunks/{rpc-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{rpc-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{rpc-q17z9dx8.js → location-services-v6ghzfeb.js} +5 -5
- package/dist/chunks/{rpc-pnwsrq7c.js → location-services-v8xpr2tt.js} +11 -11
- package/dist/chunks/{rpc-1yq9hg58.js → location-services-v9ez2kgh.js} +5 -5
- package/dist/chunks/{rpc-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-7h2t6vc0.js → location-services-vj669030.js} +6 -6
- package/dist/chunks/{rpc-8fdswnnk.js → location-services-vm24w91z.js} +9 -9
- package/dist/chunks/{rpc-6xsxm8kw.js → location-services-vpk136tn.js} +35 -35
- package/dist/chunks/{rpc-mm8jtwth.js → location-services-w074k2xe.js} +25 -25
- package/dist/chunks/{rpc-40za9wsf.js → location-services-w2eysc6j.js} +9 -9
- package/dist/chunks/{rpc-40d4xgsq.js → location-services-w2ga2e0k.js} +25 -25
- package/dist/chunks/{rpc-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-kacyanm6.js → location-services-w7ddawfh.js} +19 -19
- package/dist/chunks/{rpc-w8qtt4th.js → location-services-w8qtt4th.js} +1 -1
- package/dist/chunks/{rpc-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{rpc-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-mj1vn29f.js → location-services-wgvnftve.js} +8 -8
- package/dist/chunks/{rpc-20pewr79.js → location-services-wnnvpqyk.js} +35 -35
- package/dist/chunks/{rpc-fznmdakp.js → location-services-wr3re1en.js} +4 -4
- package/dist/chunks/{rpc-8en22g3v.js → location-services-wvv7736z.js} +24 -24
- package/dist/chunks/{rpc-ksghqzra.js → location-services-x2hxr1sc.js} +29 -29
- package/dist/chunks/{rpc-9wzjb77v.js → location-services-x48bv8h6.js} +5 -5
- package/dist/chunks/{rpc-1fev81q9.js → location-services-x82dhhxf.js} +4 -4
- package/dist/chunks/{rpc-g60qat9x.js → location-services-x9c7wxgr.js} +25 -25
- package/dist/chunks/{rpc-a7mz7h33.js → location-services-x9jb8dde.js} +39 -39
- package/dist/chunks/{rpc-ffj9xh6w.js → location-services-xdas633g.js} +1 -1
- package/dist/chunks/{rpc-crhn495q.js → location-services-xn4shan3.js} +9 -9
- package/dist/chunks/{rpc-hfgk9wzg.js → location-services-xnh55p1t.js} +7 -7
- package/dist/chunks/{rpc-gtn9c16a.js → location-services-xt0z8zst.js} +4 -4
- package/dist/chunks/{rpc-x60fdxnj.js → location-services-y2wrmdpy.js} +14 -14
- package/dist/chunks/{rpc-ag2aa0c3.js → location-services-y4q5gvzk.js} +13 -13
- package/dist/chunks/{rpc-yara3q77.js → location-services-yara3q77.js} +2 -2
- package/dist/chunks/{rpc-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{rpc-d9vrgche.js → location-services-ycegergq.js} +27 -27
- package/dist/chunks/{rpc-21sjz75x.js → location-services-ydwqkrat.js} +1 -1
- package/dist/chunks/{rpc-mqf62vgd.js → location-services-yewtq9yt.js} +16 -16
- package/dist/chunks/{rpc-r427bdzm.js → location-services-yggeett8.js} +17 -17
- package/dist/chunks/{rpc-jq6y1ase.js → location-services-ygm5nzp7.js} +12 -12
- package/dist/chunks/{rpc-4dp2wx2w.js → location-services-ygt5wh47.js} +70 -70
- package/dist/chunks/{rpc-65dm05df.js → location-services-yhzm8hpj.js} +38 -38
- package/dist/chunks/{rpc-th47pjd4.js → location-services-yjw1qs8k.js} +25 -25
- package/dist/chunks/{rpc-27mf012m.js → location-services-yk5vm8dr.js} +24 -24
- package/dist/chunks/{rpc-xpve62cf.js → location-services-yqveydy6.js} +4 -4
- package/dist/chunks/{rpc-1w0v2jg6.js → location-services-yymxgp8s.js} +84 -84
- package/dist/chunks/{rpc-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-z38nccrw.js → location-services-z38nccrw.js} +1 -1
- package/dist/chunks/{rpc-m5e8m7x2.js → location-services-z97c6djt.js} +12 -12
- package/dist/chunks/{rpc-zvgac7b0.js → location-services-za8t0eh5.js} +21 -21
- package/dist/chunks/{rpc-d3a27jat.js → location-services-zc22tp4z.js} +14 -14
- package/dist/chunks/{rpc-6g6p8k27.js → location-services-zfmjcdad.js} +35 -35
- package/dist/chunks/{rpc-kwh42651.js → location-services-zgd8t41s.js} +9 -9
- package/dist/chunks/{rpc-zgkm4kzm.js → location-services-zgkm4kzm.js} +3 -3
- package/dist/chunks/{rpc-68a4b1nr.js → location-services-zgmk89q5.js} +9 -9
- package/dist/chunks/{rpc-xxpmek4t.js → location-services-zmzyb0q8.js} +9 -9
- package/dist/chunks/{rpc-52f5rtfj.js → location-services-znwbrpr9.js} +20 -20
- package/dist/chunks/{rpc-atqtx36x.js → location-services-zxaz8gg5.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +121 -121
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +7 -7
- 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 +99 -99
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- 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 +362 -362
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +134 -134
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +156 -156
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +85 -85
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/mcp.js +2 -2
- package/dist/v1/config/migrate.js +100 -100
- 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/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/rpc-2fww1xq6.js +0 -257
- package/dist/chunks/rpc-crdv5ver.js +0 -517
- package/dist/chunks/rpc-hzxj5g2m.js +0 -26
- package/dist/chunks/rpc-jztn5z23.js +0 -18
- /package/dist/chunks/{rpc-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1jakw16s.js → location-services-1jakw16s.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{rpc-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-ncqqe42p.js → location-services-ncqqe42p.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./location-services-pgd0patt.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service17,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node19
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service17 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service81;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -67,10 +67,10 @@ var layer20 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError3({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer20 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service17.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node19 = makeLocationNode({
|
|
87
|
+
service: Service17,
|
|
88
|
+
layer: layer10,
|
|
89
|
+
deps: [node85, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError3, Service17, layer10, node19, exports_voice };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-pfswwbj2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-x82dhhxf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./location-services-9nkjg9qd.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-4j7592es.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service54
|
|
29
|
+
} from "./location-services-ygm5nzp7.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service44
|
|
33
|
+
} from "./location-services-rhg5jmsx.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service42
|
|
36
|
+
} from "./location-services-wnnvpqyk.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-services-jg7yw0kp.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-services-dvxg9xas.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./location-services-vm24w91z.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./location-services-zmzyb0q8.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./location-services-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
@@ -64,16 +64,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
64
64
|
var make14 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service86;
|
|
66
66
|
const database = yield* Service87;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service54;
|
|
68
|
+
const instances = yield* Service45;
|
|
69
|
+
const execution = yield* Service42;
|
|
70
|
+
const admission = yield* Service44;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError6({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service87, database), Effect.provideService(Service86, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service86, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-1jakw16s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin45,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin45 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin45, exports_tool_input_repair };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-pfswwbj2.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-11hfp36g.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./location-services-j41s2q6a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./location-services-pe5cp1q8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin8,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
22
|
description: () => description3,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin8 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service52;
|
|
51
|
+
const permission = yield* Service53;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin40 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output6, description3, toModelOutput2, Plugin8, exports_skill };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-nr97w2wj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-x82dhhxf.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service82
|
|
11
|
+
} from "./location-services-yewtq9yt.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-d1v2vbzt.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-pgd0patt.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service79
|
|
25
|
+
} from "./location-services-ct6n0aec.js";
|
|
26
26
|
import {
|
|
27
27
|
ID11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-rz9cdrn3.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-e6ma8sks.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service86;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service82;
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make5(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make5(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,7 +142,7 @@ function make5(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
146
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
@@ -182,7 +182,7 @@ function make5(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make5(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make5(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make5(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make5(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make5(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID13.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID13.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make5(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID13.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make5(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID13.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID13.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make5(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID13.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make7();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-4j7592es.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-xt0z8zst.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-pbbktnbz.js";
|
|
18
18
|
import {
|
|
19
19
|
User3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-prq7xxp2.js";
|
|
21
21
|
import {
|
|
22
22
|
hydrate2,
|
|
23
23
|
keepRefs2,
|
|
24
24
|
describe2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-mhcbn2s9.js";
|
|
26
26
|
import {
|
|
27
27
|
messageToText2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-v2r1d0zg.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/history.ts
|
|
34
34
|
var exports_history = {};
|