@opencode/core 0.0.0-dev-57 → 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/{voice-97nwdmh3.js → location-services-020zpnm4.js} +2 -2
- package/dist/chunks/{voice-034tev2y.js → location-services-034tev2y.js} +2 -2
- package/dist/chunks/{voice-8mbkjray.js → location-services-06qvkc6e.js} +11 -11
- package/dist/chunks/{voice-cb54j1zr.js → location-services-0eq01nmm.js} +9 -9
- package/dist/chunks/{voice-dhz3v7js.js → location-services-0h8fm2ww.js} +16 -16
- package/dist/chunks/{voice-yh3pm5wz.js → location-services-10698rvb.js} +18 -18
- package/dist/chunks/{voice-x8nvjgx0.js → location-services-11hfp36g.js} +4 -4
- package/dist/chunks/{voice-58jsyy64.js → location-services-189c2z7w.js} +20 -20
- package/dist/chunks/{voice-yf6468f1.js → location-services-1a0b8wew.js} +16 -16
- package/dist/chunks/{voice-2qrqq6yy.js → location-services-1c8tzkk0.js} +50 -50
- package/dist/chunks/{voice-qc3yxwbf.js → location-services-1dx49z0n.js} +9 -9
- package/dist/chunks/{voice-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-98tqkwke.js → location-services-1h8sxmja.js} +11 -11
- package/dist/chunks/{voice-pr4khsft.js → location-services-1jzce7ba.js} +13 -13
- package/dist/chunks/{voice-mrkvdb36.js → location-services-1rs2921g.js} +20 -20
- package/dist/chunks/{voice-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-204s3925.js → location-services-204s3925.js} +1 -1
- package/dist/chunks/{voice-3jt7fkd3.js → location-services-24tsn34s.js} +24 -24
- package/dist/chunks/{voice-53d2pjsn.js → location-services-2b9k209b.js} +12 -12
- package/dist/chunks/{voice-dc5b4f3v.js → location-services-2fngxkhk.js} +22 -22
- package/dist/chunks/{voice-01hzmesg.js → location-services-2hj7awb8.js} +5 -5
- package/dist/chunks/{voice-wea19wcv.js → location-services-2qje8jvz.js} +13 -13
- package/dist/chunks/{voice-3zscrxmb.js → location-services-2rb4wbj4.js} +4 -4
- package/dist/chunks/{voice-6yr1t08v.js → location-services-2xw6dmz5.js} +18 -18
- package/dist/chunks/{voice-ktx73zhb.js → location-services-2y81gh79.js} +24 -24
- package/dist/chunks/{voice-t5jqs5j7.js → location-services-331p6xjh.js} +2 -2
- package/dist/chunks/{voice-e7e7acjr.js → location-services-361hcc7j.js} +85 -85
- package/dist/chunks/{voice-hfgsweyf.js → location-services-3dbex3rz.js} +13 -13
- package/dist/chunks/{voice-xwc7hz4k.js → location-services-3f6yms39.js} +17 -17
- package/dist/chunks/{voice-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-c46s9eb3.js → location-services-3j1m3tq4.js} +5 -5
- package/dist/chunks/{voice-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{voice-b76kh15p.js → location-services-3tv0ny9f.js} +47 -47
- package/dist/chunks/{voice-jn0ha7tb.js → location-services-47m4w8nw.js} +12 -12
- package/dist/chunks/{voice-hswehyeg.js → location-services-4j7592es.js} +6 -6
- package/dist/chunks/{voice-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-yrgype0c.js → location-services-4v34atpz.js} +12 -12
- package/dist/chunks/{voice-0sddac90.js → location-services-5hqsswq2.js} +14 -14
- package/dist/chunks/{voice-qdepv7am.js → location-services-5j8pr5g9.js} +10 -10
- package/dist/chunks/{voice-vczbwg46.js → location-services-5m3p3r5s.js} +29 -29
- package/dist/chunks/{voice-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-v5gneykh.js → location-services-5vms8twd.js} +30 -30
- package/dist/chunks/{voice-db6cfnzd.js → location-services-616zqkce.js} +13 -13
- package/dist/chunks/{voice-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-0kw155k6.js → location-services-6h2pa11h.js} +15 -15
- package/dist/chunks/{voice-dhmvnrgm.js → location-services-6jrjvs1q.js} +6 -6
- package/dist/chunks/{voice-8n2t26nh.js → location-services-6mdzwzg7.js} +4 -4
- package/dist/chunks/{voice-f04pnkf6.js → location-services-6pgz6wzq.js} +31 -31
- package/dist/chunks/{voice-s81f0b1e.js → location-services-6v72x2ed.js} +11 -11
- package/dist/chunks/{voice-c6kbd45d.js → location-services-6xqtwe1r.js} +15 -15
- package/dist/chunks/{voice-67qt31za.js → location-services-70jyngdv.js} +9 -9
- package/dist/chunks/{voice-skwkb0ye.js → location-services-75qg15m1.js} +15 -15
- package/dist/chunks/{voice-nah043kf.js → location-services-770pw0s1.js} +4 -4
- package/dist/chunks/{voice-97y5zqgm.js → location-services-7av4j0s6.js} +19 -19
- package/dist/chunks/{voice-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-4bm9rtxh.js → location-services-7efvqzhd.js} +18 -18
- package/dist/chunks/location-services-7n5d83wd.js +257 -0
- package/dist/chunks/{voice-2jrrfqe1.js → location-services-7sdtxe0n.js} +4 -4
- package/dist/chunks/{voice-s07647gj.js → location-services-7vzj9awm.js} +5 -5
- package/dist/chunks/{voice-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-dvxs3aax.js → location-services-7wj339t1.js} +14 -14
- package/dist/chunks/{voice-ghyaae4n.js → location-services-866wf2vs.js} +8 -8
- package/dist/chunks/{voice-hj2r905t.js → location-services-891xbxsq.js} +11 -11
- package/dist/chunks/{voice-exdcmq9k.js → location-services-8cw3p3pm.js} +41 -41
- package/dist/chunks/{voice-dmv5k21e.js → location-services-8kvtxzpx.js} +10 -10
- package/dist/chunks/{voice-dcwnaxc5.js → location-services-8rg72s59.js} +13 -13
- package/dist/chunks/{voice-892pspt6.js → location-services-8wawps64.js} +5 -5
- package/dist/chunks/{voice-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-rjnacbrz.js → location-services-8x9y3wj0.js} +9 -9
- package/dist/chunks/{voice-99g89aab.js → location-services-8xsxqfj0.js} +43 -43
- package/dist/chunks/{voice-90zstvax.js → location-services-90zstvax.js} +1 -1
- package/dist/chunks/{voice-jwny47a8.js → location-services-91c7zjyq.js} +8 -8
- package/dist/chunks/{voice-cdkymz2t.js → location-services-9437wt4d.js} +8 -8
- package/dist/chunks/{voice-3f3rbz9f.js → location-services-97wtqrge.js} +11 -11
- package/dist/chunks/{voice-9cx9sm2q.js → location-services-9cx9sm2q.js} +1 -1
- package/dist/chunks/{voice-v2x5cj37.js → location-services-9gx11wxw.js} +4 -4
- package/dist/chunks/{voice-cg3fcpn4.js → location-services-9nkjg9qd.js} +6 -6
- package/dist/chunks/location-services-9p9wbndj.js +26 -0
- package/dist/chunks/{voice-aftek2c1.js → location-services-9whep7e0.js} +5 -5
- package/dist/chunks/{voice-0499dma4.js → location-services-a33a86vx.js} +47 -47
- package/dist/chunks/location-services-a610t88q.js +18 -0
- package/dist/chunks/{voice-zjfa8ryw.js → location-services-agnbv5zk.js} +3 -3
- package/dist/chunks/{voice-phfy3n1c.js → location-services-agwgn61j.js} +13 -13
- package/dist/chunks/{voice-mv4xrkfq.js → location-services-ah09kpwr.js} +16 -16
- package/dist/chunks/{voice-7djxxean.js → location-services-ap5257e6.js} +15 -15
- package/dist/chunks/{voice-zrmzfrmc.js → location-services-arv3g562.js} +4 -4
- package/dist/chunks/{voice-x285jzzm.js → location-services-atqmvsxd.js} +3 -3
- package/dist/chunks/{voice-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-06ezgrzy.js → location-services-b1xakg4t.js} +8 -8
- package/dist/chunks/{voice-5nnwax6m.js → location-services-b6vsg801.js} +5 -5
- package/dist/chunks/{voice-qsee9sfb.js → location-services-ba07h9gm.js} +3 -3
- package/dist/chunks/{voice-qz087kyw.js → location-services-bgg6fpfq.js} +8 -8
- package/dist/chunks/{voice-bstexjd6.js → location-services-bstexjd6.js} +1 -1
- package/dist/chunks/{voice-4m8qpmeh.js → location-services-c1zy16x8.js} +10 -10
- package/dist/chunks/{voice-5yvgv78r.js → location-services-cdev0qw6.js} +2 -2
- package/dist/chunks/{voice-dx06a5b9.js → location-services-cj2b2j51.js} +34 -20
- package/dist/chunks/{voice-zdfftnbr.js → location-services-ct6n0aec.js} +26 -26
- package/dist/chunks/{voice-xebz0nmn.js → location-services-cwmfzxax.js} +19 -19
- package/dist/chunks/{voice-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-haxfm848.js → location-services-cy5ef8hm.js} +11 -11
- package/dist/chunks/{voice-40ykd73j.js → location-services-d00ag3b5.js} +5 -5
- package/dist/chunks/{voice-6cyptcb7.js → location-services-d1mr7tcc.js} +5 -5
- package/dist/chunks/{voice-bjhzkqyk.js → location-services-d1v2vbzt.js} +4 -4
- package/dist/chunks/{voice-ssfehs1z.js → location-services-d2887f8n.js} +4 -4
- package/dist/chunks/{voice-t1pzh7wp.js → location-services-d3ajd33x.js} +19 -19
- package/dist/chunks/{voice-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-k4qfv7f7.js → location-services-d95c94hx.js} +22 -22
- package/dist/chunks/{voice-d6kwdrvh.js → location-services-dbpv404k.js} +42 -42
- package/dist/chunks/{voice-k7dgtzr0.js → location-services-dhs69mq4.js} +21 -21
- package/dist/chunks/{voice-gg1s83pv.js → location-services-dmssmyv3.js} +8 -8
- package/dist/chunks/{voice-z1s3wjg8.js → location-services-dqepyj8z.js} +41 -41
- package/dist/chunks/{voice-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{voice-b6esqetq.js → location-services-dtdkt915.js} +4 -4
- package/dist/chunks/{voice-qy6htv74.js → location-services-dvxg9xas.js} +16 -16
- package/dist/chunks/{voice-e07q2w5p.js → location-services-e07q2w5p.js} +1 -1
- package/dist/chunks/{voice-23gcmnwj.js → location-services-e0vq96z9.js} +16 -16
- package/dist/chunks/{voice-mdnn9ky1.js → location-services-e6ma8sks.js} +6 -6
- package/dist/chunks/{voice-9sa855rb.js → location-services-e6ytsf2b.js} +9 -9
- package/dist/chunks/{voice-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{voice-fa9qpmft.js → location-services-e884at7j.js} +5 -5
- package/dist/chunks/{voice-syk69snw.js → location-services-edmv2p4j.js} +54 -54
- package/dist/chunks/{voice-4wrg7t9t.js → location-services-ehz01n6z.js} +11 -11
- package/dist/chunks/{voice-7z4jt7pt.js → location-services-ekas1cck.js} +4 -4
- package/dist/chunks/{voice-p1764e5q.js → location-services-evf857tp.js} +6 -6
- package/dist/chunks/{voice-mxwqyfqs.js → location-services-f09z3f4w.js} +17 -17
- package/dist/chunks/{voice-gp6mf0gh.js → location-services-fb3jk243.js} +18 -18
- package/dist/chunks/{voice-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-1vhdvxsr.js → location-services-fqpk86s2.js} +7 -7
- package/dist/chunks/{voice-98v9r3fv.js → location-services-g208md38.js} +5 -5
- package/dist/chunks/{voice-ngqsybpd.js → location-services-g219a0kq.js} +22 -22
- package/dist/chunks/{voice-3dhvgxbq.js → location-services-gbp88eyx.js} +17 -17
- package/dist/chunks/{voice-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
- package/dist/chunks/{voice-9jtdy14e.js → location-services-ghh93d0s.js} +11 -11
- package/dist/chunks/{voice-fq3ba3sp.js → location-services-gy2j584d.js} +17 -17
- package/dist/chunks/{voice-e6xhnch8.js → location-services-h0bc8af7.js} +18 -18
- package/dist/chunks/{voice-91ea969m.js → location-services-h59wt0w5.js} +3 -3
- package/dist/chunks/{voice-rrh41g93.js → location-services-h8yn74hc.js} +25 -25
- package/dist/chunks/{voice-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
- package/dist/chunks/{voice-kph8v831.js → location-services-hfpnh8b8.js} +183 -183
- package/dist/chunks/{voice-hpg1pkwy.js → location-services-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-pgbtsnjz.js → location-services-hw7ke7j2.js} +33 -33
- package/dist/chunks/{voice-fw8ej081.js → location-services-hxq68qpv.js} +18 -18
- package/dist/chunks/{voice-vzw2tvc4.js → location-services-hyxwtr16.js} +11 -11
- package/dist/chunks/{voice-1007g3v6.js → location-services-j41s2q6a.js} +33 -33
- package/dist/chunks/{voice-jfaecv01.js → location-services-jfaecv01.js} +1 -1
- package/dist/chunks/{voice-r760fp65.js → location-services-jg7yw0kp.js} +14 -14
- package/dist/chunks/{voice-3qae70kn.js → location-services-jpwp8mx7.js} +52 -52
- package/dist/chunks/{voice-mfs4xky7.js → location-services-jtjptmzv.js} +9 -9
- package/dist/chunks/{voice-jtnps1zs.js → location-services-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-n3abp4ag.js → location-services-jze27bva.js} +9 -9
- package/dist/chunks/{voice-5nr3d7s3.js → location-services-k7g3tdkn.js} +19 -19
- package/dist/chunks/{voice-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{voice-y3dxaa8f.js → location-services-k88b30qa.js} +5 -5
- package/dist/chunks/{voice-t6ys7h3t.js → location-services-k8vhdvpr.js} +8 -8
- package/dist/chunks/{voice-bsehvcdd.js → location-services-kdsywe1g.js} +4 -4
- package/dist/chunks/{voice-10gc87d5.js → location-services-kdzrs2t4.js} +36 -36
- package/dist/chunks/{voice-d3357zgj.js → location-services-kesvm3k7.js} +8 -8
- package/dist/chunks/{voice-w61b7aaf.js → location-services-kf7yd5ke.js} +30 -30
- package/dist/chunks/{voice-kqzza1zq.js → location-services-kjaj9yp1.js} +20 -20
- package/dist/chunks/{voice-deq699sy.js → location-services-krdv4tqx.js} +8 -8
- package/dist/chunks/{voice-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-fjz4xhpj.js → location-services-kzzr1kfy.js} +4 -4
- package/dist/chunks/{voice-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{voice-0bv00g8w.js → location-services-m45h31ff.js} +18 -18
- package/dist/chunks/{voice-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-xxm2xjap.js → location-services-mfr0p1x9.js} +11 -11
- package/dist/chunks/{voice-zy94x5ry.js → location-services-mhcbn2s9.js} +6 -6
- package/dist/chunks/{voice-mcrc89gz.js → location-services-mkr15vrz.js} +19 -19
- package/dist/chunks/{voice-s7kyse9r.js → location-services-mmx1mfjr.js} +4 -4
- package/dist/chunks/{voice-mqe7nf5n.js → location-services-mqe7nf5n.js} +1 -1
- package/dist/chunks/{voice-bsn3ehjn.js → location-services-mrng6hna.js} +10 -10
- package/dist/chunks/{voice-6xpbr6gj.js → location-services-mvh1rx9p.js} +12 -12
- package/dist/chunks/{voice-vf3s78d3.js → location-services-mz1832ks.js} +15 -15
- package/dist/chunks/{voice-167k1kjn.js → location-services-n8m0q05k.js} +7 -7
- package/dist/chunks/{voice-qehy7vmb.js → location-services-nbmqhqas.js} +19 -19
- package/dist/chunks/{voice-4xajzs9j.js → location-services-ncmn4rz0.js} +28 -28
- package/dist/chunks/{voice-624wxrz4.js → location-services-ndb69tfa.js} +33 -33
- package/dist/chunks/{voice-7cyk4b0a.js → location-services-ng098k0q.js} +18 -18
- package/dist/chunks/{voice-p7c20s5f.js → location-services-nk85174p.js} +34 -34
- package/dist/chunks/{voice-wc36keqx.js → location-services-nr97w2wj.js} +11 -11
- package/dist/chunks/{voice-hxz1rpeq.js → location-services-nwvs9qq5.js} +13 -13
- package/dist/chunks/{voice-v9wrzc4s.js → location-services-nym9wyb3.js} +6 -6
- package/dist/chunks/{voice-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-bpqd88nv.js → location-services-p0a3b8hq.js} +32 -32
- package/dist/chunks/{voice-m8n691gw.js → location-services-p1fvmphk.js} +11 -11
- package/dist/chunks/{voice-hs4qbtzy.js → location-services-p3bccnsq.js} +24 -24
- package/dist/chunks/{voice-pbbktnbz.js → location-services-pbbktnbz.js} +4 -4
- package/dist/chunks/{voice-1j3zz24p.js → location-services-pe5cp1q8.js} +11 -11
- package/dist/chunks/{voice-2v75jgzs.js → location-services-pfswwbj2.js} +3 -3
- package/dist/chunks/{voice-st19m5xz.js → location-services-pgd0patt.js} +26 -26
- package/dist/chunks/{voice-g0cy2b9m.js → location-services-ph1jffse.js} +20 -20
- package/dist/chunks/{voice-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{voice-0845q3gj.js → location-services-pnqyn77n.js} +3 -3
- package/dist/chunks/{voice-58b3e62c.js → location-services-ppf126py.js} +7 -7
- package/dist/chunks/{voice-prq7xxp2.js → location-services-prq7xxp2.js} +2 -2
- package/dist/chunks/{voice-r5c4mdv8.js → location-services-pwa1a8rs.js} +12 -12
- package/dist/chunks/{voice-cc1ayxf2.js → location-services-pyk1f59v.js} +4 -4
- package/dist/chunks/{voice-vrwxmw16.js → location-services-q5wj7mv8.js} +21 -21
- package/dist/chunks/{voice-agaj9fz3.js → location-services-q8bjp0w9.js} +16 -16
- package/dist/chunks/{voice-gmm5ktza.js → location-services-qbhn9ys7.js} +10 -10
- package/dist/chunks/{voice-5wjr6fkz.js → location-services-qfkfn7d5.js} +30 -30
- package/dist/chunks/{voice-3ryz99p0.js → location-services-qft8hb75.js} +7 -7
- package/dist/chunks/{voice-2ks13shy.js → location-services-qn81gd5b.js} +8 -8
- package/dist/chunks/{voice-c4cvby0k.js → location-services-qnz6w04z.js} +9 -9
- package/dist/chunks/{voice-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-9nend1qa.js → location-services-qsekswpw.js} +12 -12
- package/dist/chunks/{voice-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
- package/dist/chunks/{voice-kq33adek.js → location-services-r26r40ph.js} +14 -14
- package/dist/chunks/location-services-r497nngn.js +517 -0
- package/dist/chunks/{voice-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{voice-7zas845x.js → location-services-r8a8jxpt.js} +11 -11
- package/dist/chunks/{voice-7x7byhh6.js → location-services-r8nzqyhk.js} +12 -12
- package/dist/chunks/{voice-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-ks68fknv.js → location-services-rcvjkgve.js} +25 -25
- package/dist/chunks/{voice-h21wq8dj.js → location-services-rfz97rvx.js} +10 -10
- package/dist/chunks/{voice-e29sndgb.js → location-services-rha71f46.js} +4 -4
- package/dist/chunks/{voice-0w0j4zb6.js → location-services-rhg5jmsx.js} +22 -22
- package/dist/chunks/{voice-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-g1zw1z8b.js → location-services-rth2557w.js} +16 -16
- package/dist/chunks/{voice-rkqwg3ds.js → location-services-rwnw28mr.js} +22 -22
- package/dist/chunks/{voice-aqdx8y6s.js → location-services-rz9cdrn3.js} +27 -27
- package/dist/chunks/{voice-nfzbfn8t.js → location-services-s1q3ndg4.js} +11 -11
- package/dist/chunks/{voice-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{voice-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-dbmp929s.js → location-services-szcgc7h4.js} +5 -5
- package/dist/chunks/{voice-sm7m2ac6.js → location-services-t3wrh3sj.js} +29 -29
- package/dist/chunks/{voice-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-k27h00cx.js → location-services-td7x002b.js} +19 -19
- package/dist/chunks/{voice-5g5x25gy.js → location-services-tdx723hm.js} +1 -1
- package/dist/chunks/{voice-v5hpj9dd.js → location-services-tqx9c315.js} +8 -8
- package/dist/chunks/{voice-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-qa7075pb.js → location-services-v6ghzfeb.js} +5 -5
- package/dist/chunks/{voice-esezyxfc.js → location-services-v8xpr2tt.js} +11 -11
- package/dist/chunks/{voice-1yq9hg58.js → location-services-v9ez2kgh.js} +5 -5
- package/dist/chunks/{voice-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-0cjne1ht.js → location-services-vj669030.js} +6 -6
- package/dist/chunks/{voice-ajkvdsy7.js → location-services-vm24w91z.js} +9 -9
- package/dist/chunks/{voice-nxs7hb8x.js → location-services-vpk136tn.js} +33 -33
- package/dist/chunks/{voice-71qgcqyr.js → location-services-w074k2xe.js} +24 -24
- package/dist/chunks/{voice-w2eysc6j.js → location-services-w2eysc6j.js} +2 -2
- package/dist/chunks/{voice-yk7689p2.js → location-services-w2ga2e0k.js} +27 -27
- package/dist/chunks/{voice-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-kmvkbhfj.js → location-services-w7ddawfh.js} +19 -19
- package/dist/chunks/{voice-76cb1hcw.js → location-services-w8qtt4th.js} +4 -4
- package/dist/chunks/{voice-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{voice-jphwvgs8.js → location-services-wgvnftve.js} +8 -8
- package/dist/chunks/{voice-2qg30da6.js → location-services-wnnvpqyk.js} +37 -37
- package/dist/chunks/{voice-wr3re1en.js → location-services-wr3re1en.js} +1 -1
- package/dist/chunks/{voice-ctg5f7mn.js → location-services-wvv7736z.js} +24 -24
- package/dist/chunks/{voice-8m9jmf2h.js → location-services-x2hxr1sc.js} +32 -32
- package/dist/chunks/{voice-cw10c582.js → location-services-x48bv8h6.js} +5 -5
- package/dist/chunks/{voice-6q6jcgrq.js → location-services-x82dhhxf.js} +4 -4
- package/dist/chunks/{voice-8k4cdfe6.js → location-services-x9c7wxgr.js} +19 -19
- package/dist/chunks/{voice-wdnmbgdk.js → location-services-x9jb8dde.js} +38 -38
- package/dist/chunks/{voice-q5g1z60e.js → location-services-xdas633g.js} +1 -1
- package/dist/chunks/{voice-czd7c3xf.js → location-services-xn4shan3.js} +9 -9
- package/dist/chunks/{voice-8y4jps98.js → location-services-xnh55p1t.js} +7 -7
- package/dist/chunks/{voice-xt0z8zst.js → location-services-xt0z8zst.js} +1 -1
- package/dist/chunks/{voice-wqe6c6a7.js → location-services-y2wrmdpy.js} +16 -16
- package/dist/chunks/{voice-ybfhfg5a.js → location-services-y4q5gvzk.js} +13 -13
- package/dist/chunks/{voice-yara3q77.js → location-services-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-jyghsh6w.js → location-services-ycegergq.js} +21 -21
- package/dist/chunks/{voice-rtyaeab5.js → location-services-ydwqkrat.js} +1 -1
- package/dist/chunks/{voice-r164m7qe.js → location-services-yewtq9yt.js} +20 -20
- package/dist/chunks/{voice-32mmt9a9.js → location-services-yggeett8.js} +17 -17
- package/dist/chunks/{voice-bz5rg81d.js → location-services-ygm5nzp7.js} +12 -12
- package/dist/chunks/{voice-65qayyzs.js → location-services-ygt5wh47.js} +68 -68
- package/dist/chunks/{voice-a03fp18r.js → location-services-yhzm8hpj.js} +38 -38
- package/dist/chunks/{voice-mnh54r8t.js → location-services-yjw1qs8k.js} +22 -22
- package/dist/chunks/{voice-jbhx3waq.js → location-services-yk5vm8dr.js} +19 -19
- package/dist/chunks/{voice-w76xjer3.js → location-services-yqveydy6.js} +4 -4
- package/dist/chunks/{voice-y8wp2ge1.js → location-services-yymxgp8s.js} +86 -86
- package/dist/chunks/{voice-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-z38nccrw.js → location-services-z38nccrw.js} +1 -1
- package/dist/chunks/{voice-xpr5pvr1.js → location-services-z97c6djt.js} +12 -12
- package/dist/chunks/{voice-599krhpm.js → location-services-za8t0eh5.js} +18 -18
- package/dist/chunks/{voice-y5zca0d3.js → location-services-zc22tp4z.js} +16 -16
- package/dist/chunks/{voice-9xy4cp6z.js → location-services-zfmjcdad.js} +32 -32
- package/dist/chunks/{voice-0anyt1n6.js → location-services-zgd8t41s.js} +9 -9
- package/dist/chunks/{voice-zgkm4kzm.js → location-services-zgkm4kzm.js} +3 -3
- package/dist/chunks/{voice-4fn4xwd8.js → location-services-zgmk89q5.js} +9 -9
- package/dist/chunks/{voice-zt5v38t6.js → location-services-zmzyb0q8.js} +7 -7
- package/dist/chunks/{voice-nnq50psy.js → location-services-znwbrpr9.js} +17 -17
- package/dist/chunks/{voice-k2t3c39j.js → location-services-zxaz8gg5.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +92 -92
- 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 +121 -121
- package/dist/config/plugin/command.js +219 -219
- 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 +128 -128
- 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 +121 -121
- 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 +122 -122
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- 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 +87 -87
- 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 +1 -1
- 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 +3 -3
- 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 +110 -110
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +105 -105
- 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 +107 -107
- 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 +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- 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 +117 -117
- 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 +107 -107
- 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 +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +139 -139
- 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 +80 -80
- package/dist/plugin/command.js +108 -108
- 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 +119 -119
- 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 +106 -106
- 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 +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +360 -360
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- 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 +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +94 -94
- 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 +138 -138
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +2 -2
- 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 +190 -190
- 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 +142 -142
- package/dist/snapshot.js +97 -97
- 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 +150 -150
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +157 -157
- package/dist/tool/plugin/shell.js +222 -222
- 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 +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +91 -91
- 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 +4 -4
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -95
- package/dist/voice.js +94 -94
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +82 -82
- 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 +106 -106
- package/package.json +8 -8
- package/dist/chunks/voice-2wf7n5fq.js +0 -517
- package/dist/chunks/voice-47mgcevd.js +0 -18
- package/dist/chunks/voice-9a1536m0.js +0 -26
- package/dist/chunks/voice-w8tddc3z.js +0 -257
- /package/dist/chunks/{voice-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1jakw16s.js → location-services-1jakw16s.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-ncqqe42p.js → location-services-ncqqe42p.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-x82dhhxf.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-xt0z8zst.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-204s3925.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_instruction_discovery, {
|
|
|
23
23
|
Event: () => Event12,
|
|
24
24
|
File: () => File3,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options6,
|
|
27
|
+
Service: () => Service65,
|
|
28
|
+
configured: () => configured7,
|
|
29
|
+
layer: () => layer24,
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,14 +42,14 @@ var key = Key3.make("core/instructions");
|
|
|
42
42
|
var Event12 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options6 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service65 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service86;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
@@ -87,7 +87,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service65.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured7(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
106
|
+
service: Service65,
|
|
107
|
+
layer: layer24(options),
|
|
108
108
|
deps: [node90]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node67 = configured7();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File3, Event12,
|
|
142
|
+
export { File3, Event12, Options6, Service65, layer24, configured7, node67, exports_instruction_discovery };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make24,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make24 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make24, exports_keyed_mutex };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-x82dhhxf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node66
|
|
9
|
+
} from "./location-services-c1zy16x8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service59,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node61,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service59 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service64;
|
|
85
85
|
const bus = yield* Service86;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service59.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node66, node90] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event10, inspect2, resolve3, node61, exports_wellknown };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-x82dhhxf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./location-services-c1zy16x8.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service33,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-a610t88q.js";
|
|
18
18
|
import {
|
|
19
19
|
make13,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-hfpnh8b8.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
@@ -32,11 +32,11 @@ __export(exports_plugin2, {
|
|
|
32
32
|
ID: () => ID3,
|
|
33
33
|
Info: () => Info5,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service33,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node24
|
|
40
40
|
});
|
|
41
41
|
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID3, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
@@ -44,9 +44,9 @@ import { fileURLToPath } from "node:url";
|
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
48
48
|
const bus = yield* Service86;
|
|
49
|
-
const kv = yield*
|
|
49
|
+
const kv = yield* Service64;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
51
51
|
const active = new Map;
|
|
52
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service33.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node24 = Node.makeLocationNode({
|
|
236
|
+
service: Service33,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node24, exports_plugin2, Event4, GuiBundle2, ID3, Info5, Source2, State2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-x82dhhxf.js";
|
|
8
8
|
import {
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./location-services-yewtq9yt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
node87
|
|
16
|
-
} from "./voice-db6cfnzd.js";
|
|
17
|
-
import {
|
|
18
|
-
Service81,
|
|
14
|
+
Service80,
|
|
19
15
|
node84
|
|
20
|
-
} from "./
|
|
16
|
+
} from "./location-services-616zqkce.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
Service68,
|
|
19
|
+
node70
|
|
20
|
+
} from "./location-services-p3bccnsq.js";
|
|
21
|
+
import {
|
|
22
|
+
ID16,
|
|
23
|
+
Service83,
|
|
24
|
+
node87
|
|
25
|
+
} from "./location-services-ng098k0q.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-204s3925.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service81,
|
|
34
|
+
node85
|
|
35
|
+
} from "./location-services-pgd0patt.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service38,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
|
+
const environment = yield* Service68;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service83;
|
|
120
|
+
const integration = yield* Service81;
|
|
121
|
+
const credentials = yield* Service82;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID14.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service82, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,19 +157,19 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError3({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service82, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID16.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service68, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service68, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -478,7 +478,7 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service38.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
|
|
|
611
611
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function configured3(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [
|
|
616
|
+
service: Service38,
|
|
617
|
+
layer: layer18(options),
|
|
618
|
+
deps: [node84, node70, node90, node87, node85, node86]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node41 = configured3();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service38, Options3, layer18, configured3, node41, exports_mcp4 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./location-services-616zqkce.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-za8t0eh5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin33,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin33 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin33, exports_hg };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service41,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node44
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service41 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service41.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node44 = makeLocationNode({
|
|
143
|
+
service: Service41,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service41, node44, exports_tool_output2 };
|