@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./location-services-3tv0ny9f.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-gg8p9cgs.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-prq7xxp2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -186,7 +186,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
|
|
|
186
186
|
});
|
|
187
187
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
188
188
|
var enabled2 = Effect.gen(function* () {
|
|
189
|
-
const config = yield* Effect.serviceOption(
|
|
189
|
+
const config = yield* Effect.serviceOption(Service56);
|
|
190
190
|
if (Option.isNone(config))
|
|
191
191
|
return false;
|
|
192
192
|
return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node70
|
|
9
|
+
} from "./location-services-p3bccnsq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./location-services-kf7yd5ke.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service37,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node40,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service37 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service68;
|
|
335
|
+
return Service37.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node70] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service37, read2, node40, exports_read_filesystem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make5(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make5 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./location-services-3tv0ny9f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./location-services-1c8tzkk0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
16
|
-
register: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin29,
|
|
16
|
+
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin29 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
yield*
|
|
23
|
+
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
26
|
+
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
+
const config = yield* Service56;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin29, register2, exports_mcp };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-ct6n0aec.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-1jakw16s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk = {};
|
|
18
18
|
__export(exports_aisdk, {
|
|
19
19
|
AISDK: () => exports_aisdk,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service51,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
153
153
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
154
154
|
|
|
155
155
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
156
|
-
providerID:
|
|
156
|
+
providerID: ID13,
|
|
157
157
|
cause: Schema.Defect()
|
|
158
158
|
}) {
|
|
159
159
|
}
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service51 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service51.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node53 = makeLocationNode({ service: Service51, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service51, locationLayer2, node53, exports_aisdk };
|
|
@@ -1,37 +1,37 @@
|
|
|
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
|
OAuth3,
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service82
|
|
11
|
+
} from "./location-services-yewtq9yt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service81
|
|
16
|
+
} from "./location-services-pgd0patt.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./location-services-ct6n0aec.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-e6ma8sks.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service82;
|
|
57
|
+
const integrations = yield* Service81;
|
|
58
58
|
const bus = yield* Service86;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-k88b30qa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./location-services-616zqkce.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node51,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service49 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service85;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -152,14 +152,14 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node51 = makeLocationNode({
|
|
158
|
+
service: Service49,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node, node89, Global.node,
|
|
160
|
+
deps: [FSUtil.node, node89, Global.node, node84]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -177,4 +177,4 @@ function failure(operation, cause) {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID5, Error2, Service49, node51, noopLayer3, exports_snapshot2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service87,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-pfswwbj2.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-11hfp36g.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node72
|
|
18
|
+
} from "./location-services-b1xakg4t.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID12,
|
|
31
|
+
Info: () => Info21,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service69,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured8,
|
|
36
|
+
node: () => node71
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID12 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info21 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID12,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info27 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID12,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service69 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service69,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node91,
|
|
70
|
+
deps: [node91, node72]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info21({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service69.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID12.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node71 = configured8();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID12, Info21, NotFound2, CreateConflict2, Service69, configured8, node71, exports_workspace };
|