@opencode/core 0.0.0-dev-55 → 0.0.0-dev-57
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{repository-cache-98qrekfe.js → voice-01hzmesg.js} +5 -5
- package/dist/chunks/{repository-cache-034tev2y.js → voice-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-c1tffms3.js → voice-0499dma4.js} +49 -49
- package/dist/chunks/{repository-cache-yz9rz98a.js → voice-06ezgrzy.js} +6 -6
- package/dist/chunks/{repository-cache-4rdf7p1z.js → voice-0845q3gj.js} +6 -6
- package/dist/chunks/{repository-cache-zgd8t41s.js → voice-0anyt1n6.js} +9 -9
- package/dist/chunks/{repository-cache-bxpjy74r.js → voice-0bv00g8w.js} +18 -18
- package/dist/chunks/{repository-cache-atw8c7pr.js → voice-0cjne1ht.js} +6 -6
- package/dist/chunks/{repository-cache-j7407a90.js → voice-0kw155k6.js} +15 -15
- package/dist/chunks/{repository-cache-mptjpcxy.js → voice-0sddac90.js} +14 -14
- package/dist/chunks/{repository-cache-gybe5gkg.js → voice-0w0j4zb6.js} +17 -17
- package/dist/chunks/{repository-cache-kqjqdw98.js → voice-1007g3v6.js} +45 -45
- package/dist/chunks/{repository-cache-54cc93aa.js → voice-10gc87d5.js} +37 -37
- package/dist/chunks/{repository-cache-0k1p4s69.js → voice-167k1kjn.js} +7 -7
- package/dist/chunks/{repository-cache-1ep2p91f.js → voice-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-pzbtwyx3.js → voice-1j3zz24p.js} +25 -25
- package/dist/chunks/{repository-cache-zwenfqkq.js → voice-1vhdvxsr.js} +7 -7
- package/dist/chunks/{repository-cache-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-5zrxpy3q.js → voice-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-cache-204s3925.js → voice-204s3925.js} +1 -1
- package/dist/chunks/{repository-cache-jzesebws.js → voice-23gcmnwj.js} +17 -17
- package/dist/chunks/{repository-cache-mj0wev1x.js → voice-2jrrfqe1.js} +4 -4
- package/dist/chunks/{repository-cache-0731t3tw.js → voice-2ks13shy.js} +8 -8
- package/dist/chunks/{repository-cache-1znhd7w1.js → voice-2qg30da6.js} +27 -27
- package/dist/chunks/{repository-cache-8nzygxt8.js → voice-2qrqq6yy.js} +51 -51
- package/dist/chunks/{repository-cache-x00hvv89.js → voice-2v75jgzs.js} +3 -3
- package/dist/chunks/voice-2wf7n5fq.js +517 -0
- package/dist/chunks/{repository-cache-b58rnyhw.js → voice-32mmt9a9.js} +22 -22
- package/dist/chunks/{repository-cache-sgrnxxty.js → voice-3dhvgxbq.js} +22 -22
- package/dist/chunks/{repository-cache-a0tqv4gf.js → voice-3f3rbz9f.js} +17 -17
- package/dist/chunks/{repository-cache-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-a16f13fh.js → voice-3jt7fkd3.js} +25 -25
- package/dist/chunks/{repository-cache-3nnrz6f6.js → voice-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-6ze967nv.js → voice-3qae70kn.js} +44 -44
- package/dist/chunks/{repository-cache-3ryz99p0.js → voice-3ryz99p0.js} +1 -1
- package/dist/chunks/{repository-cache-havzekw2.js → voice-3zscrxmb.js} +1 -1
- package/dist/chunks/{repository-cache-pfy2m4ca.js → voice-40ykd73j.js} +5 -5
- package/dist/chunks/voice-47mgcevd.js +18 -0
- package/dist/chunks/{repository-cache-efz9xtfj.js → voice-4bm9rtxh.js} +23 -23
- package/dist/chunks/{repository-cache-fsd04637.js → voice-4fn4xwd8.js} +9 -9
- package/dist/chunks/{repository-cache-fhsk438g.js → voice-4m8qpmeh.js} +10 -10
- package/dist/chunks/{repository-cache-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-4v008n1t.js → voice-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-x6d4sgx3.js → voice-4wrg7t9t.js} +11 -11
- package/dist/chunks/{repository-cache-rx5gvnt1.js → voice-4xajzs9j.js} +28 -28
- package/dist/chunks/{repository-cache-vdatw69e.js → voice-53d2pjsn.js} +17 -17
- package/dist/chunks/{repository-cache-sa01r6br.js → voice-58b3e62c.js} +7 -7
- package/dist/chunks/{repository-cache-5vz29j2k.js → voice-58jsyy64.js} +22 -22
- package/dist/chunks/{repository-cache-4yq3azdc.js → voice-599krhpm.js} +24 -24
- package/dist/chunks/{repository-cache-qkxp7296.js → voice-5g5x25gy.js} +1 -1
- package/dist/chunks/{repository-cache-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-b6vsg801.js → voice-5nnwax6m.js} +5 -5
- package/dist/chunks/{repository-cache-r6whtadg.js → voice-5nr3d7s3.js} +12 -12
- package/dist/chunks/{repository-cache-fcq8h12c.js → voice-5wjr6fkz.js} +32 -32
- package/dist/chunks/{repository-cache-fwgp6qwj.js → voice-5yvgv78r.js} +2 -2
- package/dist/chunks/{repository-cache-1cdppm47.js → voice-624wxrz4.js} +33 -33
- package/dist/chunks/{repository-cache-ze8w1qcn.js → voice-65qayyzs.js} +64 -64
- package/dist/chunks/{repository-cache-w81qrt50.js → voice-67qt31za.js} +9 -9
- package/dist/chunks/{repository-cache-401hbwyh.js → voice-6cyptcb7.js} +5 -5
- package/dist/chunks/{repository-cache-6esdw8yj.js → voice-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-69zgfr7z.js → voice-6q6jcgrq.js} +12 -12
- package/dist/chunks/{repository-cache-6xz7nqt8.js → voice-6xpbr6gj.js} +12 -12
- package/dist/chunks/{repository-cache-6fjx9w38.js → voice-6yr1t08v.js} +18 -18
- package/dist/chunks/{repository-cache-vb2nzj1m.js → voice-71qgcqyr.js} +25 -25
- package/dist/chunks/{repository-cache-w8qtt4th.js → voice-76cb1hcw.js} +4 -4
- package/dist/chunks/{repository-cache-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-0mv4v5wj.js → voice-7cyk4b0a.js} +10 -10
- package/dist/chunks/{repository-cache-6zz3v10r.js → voice-7djxxean.js} +17 -17
- package/dist/chunks/{repository-cache-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-gh11ee6b.js → voice-7x7byhh6.js} +15 -15
- package/dist/chunks/{repository-cache-k2rhsbab.js → voice-7z4jt7pt.js} +4 -4
- package/dist/chunks/{repository-cache-vqxcyac6.js → voice-7zas845x.js} +11 -11
- package/dist/chunks/{repository-cache-3z0hxnyk.js → voice-892pspt6.js} +5 -5
- package/dist/chunks/{repository-cache-1860ddgg.js → voice-8k4cdfe6.js} +25 -25
- package/dist/chunks/{repository-cache-bec1vpmw.js → voice-8m9jmf2h.js} +28 -28
- package/dist/chunks/{repository-cache-8t2j541k.js → voice-8mbkjray.js} +13 -13
- package/dist/chunks/{repository-cache-126c3fvz.js → voice-8n2t26nh.js} +4 -4
- package/dist/chunks/{repository-cache-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-06w9ffrv.js → voice-8y4jps98.js} +7 -7
- package/dist/chunks/{repository-cache-90zstvax.js → voice-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-dg9hqg77.js → voice-91ea969m.js} +3 -3
- package/dist/chunks/{repository-cache-3hq0yj39.js → voice-97nwdmh3.js} +2 -2
- package/dist/chunks/{repository-cache-grnvj370.js → voice-97y5zqgm.js} +11 -11
- package/dist/chunks/{repository-cache-5bbnem9k.js → voice-98tqkwke.js} +11 -11
- package/dist/chunks/{repository-cache-js6kqssh.js → voice-98v9r3fv.js} +5 -5
- package/dist/chunks/{repository-cache-grfmaxtg.js → voice-99g89aab.js} +45 -45
- package/dist/chunks/voice-9a1536m0.js +26 -0
- package/dist/chunks/{repository-cache-9cx9sm2q.js → voice-9cx9sm2q.js} +1 -1
- package/dist/chunks/{repository-cache-f2hv8cv8.js → voice-9jtdy14e.js} +8 -8
- package/dist/chunks/{repository-cache-c7w77bqn.js → voice-9nend1qa.js} +12 -12
- package/dist/chunks/{repository-cache-zaq8ky8h.js → voice-9sa855rb.js} +11 -11
- package/dist/chunks/{repository-cache-0h58xf1g.js → voice-9xy4cp6z.js} +32 -32
- package/dist/chunks/{repository-cache-scvnz3tv.js → voice-a03fp18r.js} +45 -45
- package/dist/chunks/{repository-cache-744d0c63.js → voice-aftek2c1.js} +5 -5
- package/dist/chunks/{repository-cache-8mtpnz0v.js → voice-agaj9fz3.js} +25 -25
- package/dist/chunks/{repository-cache-csyeyjrf.js → voice-ajkvdsy7.js} +9 -9
- package/dist/chunks/{repository-cache-dh0xafzq.js → voice-aqdx8y6s.js} +31 -31
- package/dist/chunks/{repository-cache-ayjs7tqn.js → voice-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-rqx7f7vj.js → voice-b6esqetq.js} +4 -4
- package/dist/chunks/{repository-cache-kke9g1hb.js → voice-b76kh15p.js} +53 -53
- package/dist/chunks/{repository-cache-61ennm6n.js → voice-bjhzkqyk.js} +4 -4
- package/dist/chunks/{repository-cache-6z1320sj.js → voice-bpqd88nv.js} +27 -27
- package/dist/chunks/{repository-cache-yfkhsjsm.js → voice-bsehvcdd.js} +6 -6
- package/dist/chunks/{repository-cache-kk93czde.js → voice-bsn3ehjn.js} +10 -10
- package/dist/chunks/{repository-cache-bstexjd6.js → voice-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-t0zgzgtb.js → voice-bz5rg81d.js} +5 -5
- package/dist/chunks/{repository-cache-haf3v3hy.js → voice-c46s9eb3.js} +5 -5
- package/dist/chunks/{repository-cache-dqpjcdfr.js → voice-c4cvby0k.js} +9 -9
- package/dist/chunks/{repository-cache-76g7jkkw.js → voice-c6kbd45d.js} +12 -12
- package/dist/chunks/{repository-cache-dkqkergf.js → voice-cb54j1zr.js} +5 -5
- package/dist/chunks/{repository-cache-6nw1th37.js → voice-cc1ayxf2.js} +4 -4
- package/dist/chunks/{repository-cache-xwmtk72n.js → voice-cdkymz2t.js} +8 -8
- package/dist/chunks/{repository-cache-wa8k00xj.js → voice-cg3fcpn4.js} +6 -6
- package/dist/chunks/{repository-cache-fdfvc1dg.js → voice-ctg5f7mn.js} +24 -24
- package/dist/chunks/{repository-cache-69gwv1xx.js → voice-cw10c582.js} +5 -5
- package/dist/chunks/{repository-cache-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-x4gc5gbk.js → voice-czd7c3xf.js} +9 -9
- package/dist/chunks/{repository-cache-pk48tdmc.js → voice-d3357zgj.js} +8 -8
- package/dist/chunks/{repository-cache-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-agrjqxtd.js → voice-d6kwdrvh.js} +42 -42
- package/dist/chunks/{repository-cache-gj88ka9e.js → voice-db6cfnzd.js} +14 -14
- package/dist/chunks/{repository-cache-6y263vp8.js → voice-dbmp929s.js} +5 -5
- package/dist/chunks/{repository-cache-9ryshn0f.js → voice-dc5b4f3v.js} +24 -24
- package/dist/chunks/{repository-cache-h4ydejha.js → voice-dcwnaxc5.js} +13 -13
- package/dist/chunks/{repository-cache-3w0ebqzc.js → voice-deq699sy.js} +12 -12
- package/dist/chunks/{repository-cache-djjzzs3c.js → voice-dhmvnrgm.js} +6 -6
- package/dist/chunks/{repository-cache-75g1xcwv.js → voice-dhz3v7js.js} +16 -16
- package/dist/chunks/{repository-cache-4c9y6q6s.js → voice-dmv5k21e.js} +12 -12
- package/dist/chunks/{repository-cache-dt77769w.js → voice-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-jgy2dcvd.js → voice-dvxs3aax.js} +49 -29
- package/dist/chunks/{repository-cache-f1h45990.js → voice-dx06a5b9.js} +40 -40
- package/dist/chunks/{repository-cache-e07q2w5p.js → voice-e07q2w5p.js} +1 -1
- package/dist/chunks/{repository-cache-9tvpxs1q.js → voice-e29sndgb.js} +4 -4
- package/dist/chunks/{repository-cache-yc79q165.js → voice-e6xhnch8.js} +14 -14
- package/dist/chunks/{repository-cache-bwjvbmsb.js → voice-e7e7acjr.js} +77 -77
- package/dist/chunks/{repository-cache-e834z07m.js → voice-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-pnwsrq7c.js → voice-esezyxfc.js} +8 -8
- package/dist/chunks/{repository-cache-b4e3zc8a.js → voice-exdcmq9k.js} +40 -40
- package/dist/chunks/{repository-cache-f4zya5pk.js → voice-f04pnkf6.js} +36 -36
- package/dist/chunks/{repository-cache-0xaqh9kd.js → voice-fa9qpmft.js} +5 -5
- package/dist/chunks/{repository-cache-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-0av67dp6.js → voice-fjz4xhpj.js} +4 -4
- package/dist/chunks/{repository-cache-60ge4sjk.js → voice-fq3ba3sp.js} +20 -20
- package/dist/chunks/{repository-cache-0fe450at.js → voice-fw8ej081.js} +16 -16
- package/dist/chunks/{repository-cache-snb89k4v.js → voice-g0cy2b9m.js} +37 -37
- package/dist/chunks/{repository-cache-pankmnx0.js → voice-g1zw1z8b.js} +16 -16
- package/dist/chunks/{repository-cache-stwk20ed.js → voice-gg1s83pv.js} +8 -8
- package/dist/chunks/{repository-cache-gg8p9cgs.js → voice-gg8p9cgs.js} +3 -3
- package/dist/chunks/{repository-cache-bt05tr8e.js → voice-ghyaae4n.js} +8 -8
- package/dist/chunks/{repository-cache-gf4hftfj.js → voice-gmm5ktza.js} +10 -10
- package/dist/chunks/{repository-cache-jwhwbamd.js → voice-gp6mf0gh.js} +21 -21
- package/dist/chunks/{repository-cache-zc9mtzb2.js → voice-h21wq8dj.js} +10 -10
- package/dist/chunks/{repository-cache-sjt6c43d.js → voice-haxfm848.js} +10 -10
- package/dist/chunks/{repository-cache-hdfrs5mg.js → voice-hdfrs5mg.js} +2 -2
- package/dist/chunks/{repository-cache-cbyw8mhh.js → voice-hfgsweyf.js} +13 -13
- package/dist/chunks/{repository-cache-taveqshq.js → voice-hj2r905t.js} +11 -11
- package/dist/chunks/{repository-cache-hpg1pkwy.js → voice-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-cache-1v5xq3rj.js → voice-hs4qbtzy.js} +24 -24
- package/dist/chunks/{repository-cache-2c4q4gd1.js → voice-hswehyeg.js} +6 -6
- package/dist/chunks/{repository-cache-bwewbjz4.js → voice-hxz1rpeq.js} +13 -13
- package/dist/chunks/{repository-cache-dwy6z8dc.js → voice-jbhx3waq.js} +21 -21
- package/dist/chunks/{repository-cache-jfaecv01.js → voice-jfaecv01.js} +1 -1
- package/dist/chunks/{repository-cache-hxvg6wb1.js → voice-jn0ha7tb.js} +15 -15
- package/dist/chunks/{repository-cache-j0tgfc8g.js → voice-jphwvgs8.js} +8 -8
- package/dist/chunks/{repository-cache-jtnps1zs.js → voice-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-cache-wvk1wtsq.js → voice-jwny47a8.js} +11 -11
- package/dist/chunks/{repository-cache-q5h6r7rp.js → voice-jyghsh6w.js} +27 -27
- package/dist/chunks/{repository-cache-75v6tc0m.js → voice-k27h00cx.js} +15 -15
- package/dist/chunks/{repository-cache-2nn7s44w.js → voice-k2t3c39j.js} +35 -35
- package/dist/chunks/{repository-cache-jmzf3sak.js → voice-k4qfv7f7.js} +30 -30
- package/dist/chunks/{repository-cache-2cwns7qk.js → voice-k7dgtzr0.js} +19 -19
- package/dist/chunks/{repository-cache-k814nvkf.js → voice-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-m29sxe67.js → voice-kmvkbhfj.js} +19 -19
- package/dist/chunks/{repository-cache-bb4x0tjg.js → voice-kph8v831.js} +192 -192
- package/dist/chunks/{repository-cache-2r71v196.js → voice-kq33adek.js} +14 -14
- package/dist/chunks/{repository-cache-rz5tx8yt.js → voice-kqzza1zq.js} +19 -19
- package/dist/chunks/{repository-cache-txxjr4gv.js → voice-ks68fknv.js} +31 -30
- package/dist/chunks/{repository-cache-kt3bjfbg.js → voice-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-cache-q9eywg3w.js → voice-ktx73zhb.js} +26 -26
- package/dist/chunks/{repository-cache-m1714858.js → voice-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-bx992dmv.js → voice-m8n691gw.js} +9 -9
- package/dist/chunks/{repository-cache-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-5btzaxpa.js → voice-mcrc89gz.js} +16 -16
- package/dist/chunks/{repository-cache-9111wyrc.js → voice-mdnn9ky1.js} +6 -6
- package/dist/chunks/{repository-cache-06pe9pmm.js → voice-mfs4xky7.js} +25 -25
- package/dist/chunks/{repository-cache-76q453m6.js → voice-mnh54r8t.js} +25 -25
- package/dist/chunks/{repository-cache-qkqjbc48.js → voice-mqe7nf5n.js} +3 -3
- package/dist/chunks/{repository-cache-0kze6sgm.js → voice-mrkvdb36.js} +23 -23
- package/dist/chunks/{repository-cache-368y3b8n.js → voice-mv4xrkfq.js} +15 -15
- package/dist/chunks/{repository-cache-93ab2gax.js → voice-mxwqyfqs.js} +20 -20
- package/dist/chunks/{repository-cache-me73n50h.js → voice-n3abp4ag.js} +5 -5
- package/dist/chunks/{repository-cache-770pw0s1.js → voice-nah043kf.js} +4 -4
- package/dist/chunks/{repository-cache-5mkx8w5e.js → voice-nfzbfn8t.js} +11 -11
- package/dist/chunks/{repository-cache-x4etgdbd.js → voice-ngqsybpd.js} +19 -19
- package/dist/chunks/{repository-cache-g3hvekgd.js → voice-nnq50psy.js} +17 -17
- package/dist/chunks/{repository-cache-sh0q5wym.js → voice-nxs7hb8x.js} +35 -35
- package/dist/chunks/{repository-cache-p015t6z3.js → voice-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-ywqn3jdz.js → voice-p1764e5q.js} +5 -5
- package/dist/chunks/{repository-cache-0tgb71k0.js → voice-p7c20s5f.js} +34 -34
- package/dist/chunks/{repository-cache-pbbktnbz.js → voice-pbbktnbz.js} +4 -4
- package/dist/chunks/{repository-cache-h255y8je.js → voice-pgbtsnjz.js} +35 -35
- package/dist/chunks/{repository-cache-efqx7wb7.js → voice-phfy3n1c.js} +13 -13
- package/dist/chunks/{repository-cache-pknna89w.js → voice-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-knt1f303.js → voice-pr4khsft.js} +15 -15
- package/dist/chunks/{repository-cache-prq7xxp2.js → voice-prq7xxp2.js} +2 -2
- package/dist/chunks/{repository-cache-an749m78.js → voice-q5g1z60e.js} +1 -1
- package/dist/chunks/{repository-cache-207ajt2h.js → voice-qa7075pb.js} +5 -5
- package/dist/chunks/{repository-cache-q9qc3bva.js → voice-qc3yxwbf.js} +9 -9
- package/dist/chunks/{repository-cache-hgrfbex2.js → voice-qdepv7am.js} +13 -13
- package/dist/chunks/{repository-cache-46mxd6jt.js → voice-qehy7vmb.js} +33 -33
- package/dist/chunks/{repository-cache-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-ts7mkfs9.js → voice-qsee9sfb.js} +3 -3
- package/dist/chunks/{repository-cache-1p9mjqrz.js → voice-qy6htv74.js} +19 -19
- package/dist/chunks/{repository-cache-j49x6kf4.js → voice-qz087kyw.js} +8 -8
- package/dist/chunks/{repository-cache-r0yr0wbs.js → voice-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-adf3gjyn.js → voice-r164m7qe.js} +31 -31
- package/dist/chunks/{repository-cache-r542h3bh.js → voice-r542h3bh.js} +1 -1
- package/dist/chunks/{repository-cache-4btp19b3.js → voice-r5c4mdv8.js} +14 -14
- package/dist/chunks/{repository-cache-rp5k6d8n.js → voice-r760fp65.js} +16 -16
- package/dist/chunks/{repository-cache-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-jcqm84fr.js → voice-rjnacbrz.js} +9 -9
- package/dist/chunks/{repository-cache-m6ved7xn.js → voice-rkqwg3ds.js} +22 -22
- package/dist/chunks/{repository-cache-cyty15yb.js → voice-rrh41g93.js} +25 -25
- package/dist/chunks/{repository-cache-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-thyeeq05.js → voice-rtyaeab5.js} +3 -3
- package/dist/chunks/{repository-cache-c9xzbdd8.js → voice-s07647gj.js} +5 -5
- package/dist/chunks/{repository-cache-9q8g9sv8.js → voice-s7kyse9r.js} +4 -4
- package/dist/chunks/{repository-cache-dys1grgm.js → voice-s81f0b1e.js} +11 -11
- package/dist/chunks/{repository-cache-sa3fpqfw.js → voice-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-asrq7j76.js → voice-skwkb0ye.js} +17 -17
- package/dist/chunks/{repository-cache-s6re1h3h.js → voice-sm7m2ac6.js} +34 -34
- package/dist/chunks/{repository-cache-sqjzf8x2.js → voice-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-ssfehs1z.js → voice-ssfehs1z.js} +1 -1
- package/dist/chunks/{repository-cache-0711fn9k.js → voice-st19m5xz.js} +27 -27
- package/dist/chunks/{repository-cache-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-mc3192g6.js → voice-syk69snw.js} +54 -54
- package/dist/chunks/{repository-cache-ws0jw39t.js → voice-t1pzh7wp.js} +27 -27
- package/dist/chunks/{repository-cache-3t73xeyv.js → voice-t5jqs5j7.js} +2 -2
- package/dist/chunks/{repository-cache-gcgkk9nz.js → voice-t6ys7h3t.js} +21 -21
- package/dist/chunks/{repository-cache-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-twssxy5n.js → voice-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-q1s8j9ch.js → voice-v2x5cj37.js} +4 -4
- package/dist/chunks/{repository-cache-s0815yd1.js → voice-v5gneykh.js} +32 -32
- package/dist/chunks/{repository-cache-tg1vr1qt.js → voice-v5hpj9dd.js} +8 -8
- package/dist/chunks/{repository-cache-g4y5gz37.js → voice-v9wrzc4s.js} +6 -6
- package/dist/chunks/{repository-cache-ayj1td4f.js → voice-vczbwg46.js} +31 -31
- package/dist/chunks/{repository-cache-veqvce7d.js → voice-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-g2zgwj7s.js → voice-vf3s78d3.js} +19 -19
- package/dist/chunks/{repository-cache-61t7fw61.js → voice-vrwxmw16.js} +24 -24
- package/dist/chunks/{repository-cache-ytc9yt2s.js → voice-vzw2tvc4.js} +11 -11
- package/dist/chunks/{repository-cache-w2eysc6j.js → voice-w2eysc6j.js} +2 -2
- package/dist/chunks/{repository-cache-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-j6gvah3y.js → voice-w61b7aaf.js} +30 -30
- package/dist/chunks/{repository-cache-w76xjer3.js → voice-w76xjer3.js} +1 -1
- package/dist/chunks/voice-w8tddc3z.js +257 -0
- package/dist/chunks/{repository-cache-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-p1vte9h6.js → voice-wc36keqx.js} +11 -11
- package/dist/chunks/{repository-cache-wd87259q.js → voice-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-22nm8aah.js → voice-wdnmbgdk.js} +47 -47
- package/dist/chunks/{repository-cache-jb6rb1an.js → voice-wea19wcv.js} +13 -13
- package/dist/chunks/{repository-cache-k6c5bswj.js → voice-wqe6c6a7.js} +16 -16
- package/dist/chunks/{repository-cache-w687dnns.js → voice-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-nx0czgsy.js → voice-x285jzzm.js} +3 -3
- package/dist/chunks/{repository-cache-11hfp36g.js → voice-x8nvjgx0.js} +4 -4
- package/dist/chunks/{repository-cache-sytrbmxa.js → voice-xebz0nmn.js} +21 -21
- package/dist/chunks/{repository-cache-epsjn5re.js → voice-xpr5pvr1.js} +12 -12
- package/dist/chunks/{repository-cache-xt0z8zst.js → voice-xt0z8zst.js} +1 -1
- package/dist/chunks/{repository-cache-mszzfg2j.js → voice-xwc7hz4k.js} +17 -17
- package/dist/chunks/{repository-cache-rwct159c.js → voice-xxm2xjap.js} +8 -8
- package/dist/chunks/{repository-cache-twtxmczq.js → voice-y3dxaa8f.js} +12 -12
- package/dist/chunks/{repository-cache-sgrvbqkr.js → voice-y5zca0d3.js} +20 -20
- package/dist/chunks/{repository-cache-e3p7per7.js → voice-y8wp2ge1.js} +82 -82
- package/dist/chunks/{repository-cache-yara3q77.js → voice-yara3q77.js} +2 -2
- package/dist/chunks/{repository-cache-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-rpkzka4k.js → voice-ybfhfg5a.js} +13 -13
- package/dist/chunks/{repository-cache-ajv3ghch.js → voice-yf6468f1.js} +36 -25
- package/dist/chunks/{repository-cache-2jexvr2j.js → voice-yh3pm5wz.js} +23 -23
- package/dist/chunks/{repository-cache-vtsyfctf.js → voice-yk7689p2.js} +27 -27
- package/dist/chunks/{repository-cache-v7wb1cp1.js → voice-yrgype0c.js} +16 -16
- package/dist/chunks/{repository-cache-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-s3jtzn6y.js → voice-z1s3wjg8.js} +47 -47
- package/dist/chunks/{repository-cache-z38nccrw.js → voice-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-cwcqs07e.js → voice-zdfftnbr.js} +29 -29
- package/dist/chunks/{repository-cache-zgkm4kzm.js → voice-zgkm4kzm.js} +3 -3
- package/dist/chunks/{repository-cache-evnead99.js → voice-zjfa8ryw.js} +9 -9
- package/dist/chunks/{repository-cache-jpj38ht1.js → voice-zrmzfrmc.js} +4 -4
- package/dist/chunks/{repository-cache-83fkeet7.js → voice-zt5v38t6.js} +9 -9
- package/dist/chunks/{repository-cache-p96sj727.js → voice-zy94x5ry.js} +6 -6
- 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 +89 -89
- 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 +119 -119
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +121 -121
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- 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 +95 -95
- 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 +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- 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 +86 -86
- 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 +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +111 -111
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +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 +91 -91
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +160 -160
- 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 +93 -93
- package/dist/managed-policy.js +7 -7
- 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 +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- 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 +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +128 -128
- 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 +362 -362
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +238 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- 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 +103 -103
- 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 +162 -162
- 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 +225 -225
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +130 -130
- 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 +151 -151
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +129 -129
- 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 +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +101 -101
- 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 +163 -163
- 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 +154 -154
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- 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 +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/module.d.ts +10 -0
- package/dist/types/plugin/service.d.ts +12 -0
- package/dist/types/plugin.d.ts +1 -1
- package/dist/usage-limits.js +95 -95
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- 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 +9 -9
- 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/repository-cache-12h23m8g.js +0 -517
- package/dist/chunks/repository-cache-2a2m1jyz.js +0 -257
- package/dist/chunks/repository-cache-xx32eqvj.js +0 -26
- package/dist/chunks/repository-cache-z355x5yr.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1jakw16s.js → voice-1jakw16s.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → voice-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → voice-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → voice-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → voice-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → voice-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4m86bj6y.js → voice-4m86bj6y.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → voice-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → voice-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → voice-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → voice-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → voice-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → voice-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → voice-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a058387c.js → voice-a058387c.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → voice-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → voice-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → voice-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → voice-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → voice-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → voice-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → voice-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → voice-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → voice-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → voice-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → voice-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → voice-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → voice-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → voice-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → voice-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → voice-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-ncqqe42p.js → voice-ncqqe42p.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → voice-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → voice-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → voice-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → voice-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → voice-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → voice-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → voice-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → voice-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → voice-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./voice-b76kh15p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./voice-qehy7vmb.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service72;
|
|
27
|
+
const snapshot = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_snapshot };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service87,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-2v75jgzs.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-x8nvjgx0.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node86
|
|
18
|
+
} from "./voice-06ezgrzy.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./voice-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./voice-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID16,
|
|
31
|
+
Info: () => Info27,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service82,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node85
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID16 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info27 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID16,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID16,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service82 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service82,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node91,
|
|
70
|
+
deps: [node91, node86]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info27({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service82.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID16.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node85 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID16, Info27, NotFound2, CreateConflict2, Service82, configured11, node85, exports_workspace };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-2v75jgzs.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info13,
|
|
18
18
|
NotFoundError: () => NotFoundError7,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
node: () => node56
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info13 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
31
|
class NotFoundError7 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
-
id:
|
|
32
|
+
id: ID8
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID8,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service87).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID8.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service54.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node56 = makeGlobalNode({ service: Service54, layer, deps: [node91] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID8, Info13, NotFoundError7, ConflictError2, Service54, node56, exports_saved };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-k27h00cx.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan3,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan3 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan3, scanPortable2, exports_parse };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
Service85,
|
|
4
|
-
node89
|
|
5
|
-
} from "./repository-cache-69zgfr7z.js";
|
|
6
|
-
import {
|
|
7
3
|
Service86,
|
|
8
4
|
node90
|
|
9
|
-
} from "./
|
|
5
|
+
} from "./voice-6q6jcgrq.js";
|
|
6
|
+
import {
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./voice-4m8qpmeh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./voice-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: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service74,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node77,
|
|
26
|
+
resolve: () => resolve4
|
|
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 Service74 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
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 resolve4 = 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,10 +79,10 @@ 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(Service74, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service75;
|
|
85
|
+
const bus = yield* Service86;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service68, 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(Event14.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service74.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(Service68, 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(Event14.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(Service68, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event14.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(Service68, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node77 = makeGlobalNode({ service: Service74, layer, deps: [httpClient, node78, node90] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service74, Event14, inspect2, resolve4, node77, exports_wellknown };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./voice-6q6jcgrq.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./voice-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./voice-mfs4xky7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service83,
|
|
15
|
+
node87
|
|
16
|
+
} from "./voice-db6cfnzd.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./voice-204s3925.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./voice-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info6,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service21,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node24
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,12 +55,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service21 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const bus = yield*
|
|
62
|
+
const location = yield* Service83;
|
|
63
|
+
const bus = yield* Service86;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
66
66
|
const vcs = location.vcs;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service21.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node24 = makeLocationNode({
|
|
193
|
+
service: Service21,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node87, node90]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, Untracked2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
22
22
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function update3(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
28
28
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-zdfftnbr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-aqdx8y6s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|