@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
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service57,
|
|
3
|
+
node59
|
|
4
|
+
} from "./location-services-2xw6dmz5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./location-services-616zqkce.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node58
|
|
12
|
+
} from "./location-services-3tv0ny9f.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer5,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node5
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer5 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service56;
|
|
40
|
+
const watcher = yield* Service57;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node5 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node58, FSUtil.node, node59, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
|
|
|
138
138
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service3, layer5, node5, empty2, exports_source };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-services-616zqkce.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin36
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin36 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin40 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin36, exports_mcp_codemode_defaults };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-pfswwbj2.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-11hfp36g.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-x82dhhxf.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-gg8p9cgs.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-prq7xxp2.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-mhcbn2s9.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-xn4shan3.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info8,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service44,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer20,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make18,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node46,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info8,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service44 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service87;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service86;
|
|
@@ -206,7 +206,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer20 = Layer.effect(Service44, make18());
|
|
264
|
+
var node46 = makeGlobalNode({ service: Service44, layer: layer20, deps: [node91, node90] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make18, layer20, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-xt0z8zst.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make16,
|
|
21
|
+
render: () => render3,
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make16 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
116
|
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render3,
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make16, exports_instructions5 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-x82dhhxf.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
Agent: () =>
|
|
14
|
+
var exports_agent4 = {};
|
|
15
|
+
__export(exports_agent4, {
|
|
16
|
+
Agent: () => exports_agent4,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
18
|
+
Event: () => Event9,
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info18,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node60
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
30
|
-
var
|
|
29
|
+
import { Event as Event9 } from "@opencode/schema/agent";
|
|
30
|
+
var ID10 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID10.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info18 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service58 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service86;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info18.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service58.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID10.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node60 = makeLocationNode({ service: Service58, layer, deps: [node90] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID10, Name3, defaultID2, Color2, Info18, Service58, node60, exports_agent4, Event9 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-x82dhhxf.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-204s3925.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./location-services-616zqkce.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service79,
|
|
20
|
+
node83,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-ct6n0aec.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID11,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info19,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service66,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node68,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -50,7 +50,7 @@ import { Model } from "@opencode/schema/model";
|
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
53
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
54
54
|
var ID11 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info19 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service66 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const bus = yield* Service86;
|
|
79
|
-
const location = yield*
|
|
79
|
+
const location = yield* Service80;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create3({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service66.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node68 = makeLocationNode({ service: Service66, layer, deps: [node83, node90, node84] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
277
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
278
278
|
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3,
|
|
282
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info19, Service66, node68, supportsText2, compatibility2, parse5, exports_model2, Event13 };
|