@opencode/core 0.0.0-dev-84 → 0.0.0-dev-87
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 +85 -85
- 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-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{voice-aabhj4q7.js → generate-0dpxnw4q.js} +8 -8
- package/dist/chunks/{voice-nde195c4.js → generate-0jzmh3a6.js} +20 -20
- package/dist/chunks/{voice-2qmpzrxm.js → generate-0rvj68xf.js} +2 -2
- package/dist/chunks/{voice-h136ahwz.js → generate-0syn0ek0.js} +9 -9
- package/dist/chunks/{voice-srh4r7xg.js → generate-0tmz53w6.js} +16 -16
- package/dist/chunks/{voice-5ry2mj86.js → generate-0xme6znc.js} +9 -9
- package/dist/chunks/{voice-sdqd4v63.js → generate-0yg1zctd.js} +18 -18
- package/dist/chunks/{voice-k1cx61t4.js → generate-16y4e4a2.js} +27 -27
- package/dist/chunks/{voice-82w8wxhm.js → generate-1c8y2w1q.js} +38 -38
- package/dist/chunks/{voice-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-xt0z8zst.js → generate-1kn6jdkn.js} +4 -4
- package/dist/chunks/{voice-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-pks53f7y.js → generate-1xp23f31.js} +37 -37
- package/dist/chunks/{voice-204s3925.js → generate-204s3925.js} +1 -1
- package/dist/chunks/{voice-h4v7dnmj.js → generate-26m29gst.js} +30 -30
- package/dist/chunks/{voice-7ffybbfj.js → generate-2azy8kv6.js} +7 -7
- package/dist/chunks/{voice-w3t71e6s.js → generate-2g20sybe.js} +13 -13
- package/dist/chunks/{voice-ez9ac85m.js → generate-2hqf8r92.js} +13 -13
- package/dist/chunks/{voice-8ys61hey.js → generate-2pkq6szf.js} +1 -1
- package/dist/chunks/{voice-j26nwm7n.js → generate-2qdh4yh9.js} +16 -16
- package/dist/chunks/{voice-0bh562yg.js → generate-2w5fjxjh.js} +24 -24
- package/dist/chunks/{voice-kwsc0hzj.js → generate-30q4jaxv.js} +27 -27
- package/dist/chunks/{voice-vbjf00bc.js → generate-36zfs5jy.js} +18 -18
- package/dist/chunks/{voice-3yb0fhdz.js → generate-37b1yngk.js} +5 -5
- package/dist/chunks/{voice-08tnqkry.js → generate-3ec56k2d.js} +4 -4
- package/dist/chunks/{voice-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{voice-fzc80f0x.js → generate-3sd2gr1e.js} +6 -6
- package/dist/chunks/{voice-h4wjaj1h.js → generate-3sx2qntx.js} +9 -9
- package/dist/chunks/{voice-x09mmas0.js → generate-4cge8fea.js} +16 -16
- package/dist/chunks/{voice-rvdsp60f.js → generate-4drphn98.js} +9 -9
- package/dist/chunks/{voice-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-fxnatgmk.js → generate-4rmhy327.js} +36 -36
- package/dist/chunks/{voice-d8p3t516.js → generate-4tqs0jzk.js} +4 -4
- package/dist/chunks/{voice-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-3cx41nkh.js → generate-4v04ms9s.js} +9 -9
- package/dist/chunks/{voice-0dr0e75r.js → generate-52sy2wcq.js} +7 -7
- package/dist/chunks/{voice-wd5r26a5.js → generate-59193z7h.js} +4 -4
- package/dist/chunks/{voice-ra0g4n5f.js → generate-5a1mkymt.js} +2 -2
- package/dist/chunks/{voice-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-0j66hjbv.js → generate-5q37s2hn.js} +5 -5
- package/dist/chunks/{voice-cc8m5exz.js → generate-5q7eqyw1.js} +8 -8
- package/dist/chunks/{voice-pbbktnbz.js → generate-5x26af84.js} +4 -4
- package/dist/chunks/{voice-jgrcygjy.js → generate-5yz609yq.js} +13 -13
- package/dist/chunks/{voice-v9ez2kgh.js → generate-5zrxpy3q.js} +5 -5
- package/dist/chunks/{voice-pbrfva61.js → generate-61c8yr0p.js} +9 -9
- package/dist/chunks/{voice-y96w80dm.js → generate-62gytg6z.js} +9 -9
- package/dist/chunks/{voice-m53ty37s.js → generate-64zkmzsq.js} +5 -5
- package/dist/chunks/{voice-67g841a1.js → generate-67vtrwg2.js} +11 -11
- package/dist/chunks/{voice-x77jph0e.js → generate-6bwjnpkg.js} +6 -6
- package/dist/chunks/{voice-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-bgy5rqkp.js → generate-6gbxzgzx.js} +1 -1
- package/dist/chunks/{voice-90kww479.js → generate-6kgtq8xg.js} +28 -28
- package/dist/chunks/{voice-z10v8212.js → generate-6n0gdry0.js} +9 -9
- package/dist/chunks/{voice-pgaeeb4h.js → generate-6wz31r82.js} +11 -11
- package/dist/chunks/generate-6zjm2phc.js +18 -0
- package/dist/chunks/{voice-76cb1hcw.js → generate-76cb1hcw.js} +1 -1
- package/dist/chunks/{voice-nah043kf.js → generate-770pw0s1.js} +4 -4
- package/dist/chunks/{voice-j6q940e2.js → generate-78y6m8dk.js} +82 -82
- package/dist/chunks/{voice-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-tmvqwvhz.js → generate-7g6x95rm.js} +54 -54
- package/dist/chunks/{voice-ps4e6egf.js → generate-7pe3f7pj.js} +22 -22
- package/dist/chunks/{voice-92vkf5dt.js → generate-7pj4wqt5.js} +18 -18
- package/dist/chunks/{voice-dv6qj2km.js → generate-7w0hvkcz.js} +25 -25
- package/dist/chunks/{voice-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-wqkzmmce.js → generate-7x8jfkmr.js} +5 -5
- package/dist/chunks/{voice-t6076paf.js → generate-7xy7a1h3.js} +34 -34
- package/dist/chunks/{voice-d0h96hzn.js → generate-7yect7x1.js} +2 -2
- package/dist/chunks/{voice-1q436d6x.js → generate-7zkkbwvc.js} +32 -32
- package/dist/chunks/{voice-37x282tb.js → generate-818gekyj.js} +78 -78
- package/dist/chunks/{voice-wz2p1baj.js → generate-83y8w05q.js} +23 -23
- package/dist/chunks/{voice-52d1s51y.js → generate-86q398xn.js} +15 -15
- package/dist/chunks/{voice-esyt89kp.js → generate-88mc9j9w.js} +3 -3
- package/dist/chunks/{voice-0j7kkx9m.js → generate-89abfd8b.js} +1 -1
- package/dist/chunks/{voice-8vmz6d8e.js → generate-8ap1sysz.js} +17 -17
- package/dist/chunks/{voice-rnfp0jqd.js → generate-8c3av2v0.js} +26 -26
- package/dist/chunks/{voice-rbw8jwja.js → generate-8eady601.js} +20 -20
- package/dist/chunks/{voice-sn7ggsh5.js → generate-8nc8rjna.js} +22 -22
- package/dist/chunks/{voice-89z5zyvh.js → generate-8p48baww.js} +9 -9
- package/dist/chunks/{voice-9t2khtsw.js → generate-8rgb2cvr.js} +11 -11
- package/dist/chunks/{voice-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-0rne0dgc.js → generate-8xhzaz53.js} +3 -3
- package/dist/chunks/{voice-90zstvax.js → generate-90zstvax.js} +1 -1
- package/dist/chunks/{voice-9hp18a5g.js → generate-940k53ws.js} +9 -9
- package/dist/chunks/{voice-sahjf8vv.js → generate-991qk5jk.js} +5 -5
- package/dist/chunks/{voice-zjwz5rpa.js → generate-9b9797hz.js} +18 -18
- package/dist/chunks/{voice-1bjkagat.js → generate-9e0cpdz3.js} +12 -12
- package/dist/chunks/{voice-ehfc0ns6.js → generate-9gdvrvfc.js} +5 -5
- package/dist/chunks/{voice-ba4hsvxz.js → generate-9me4kjev.js} +62 -62
- package/dist/chunks/{voice-9z9tayqc.js → generate-9z9tayqc.js} +2 -2
- package/dist/chunks/{voice-60zbszzn.js → generate-a20trqj4.js} +45 -45
- package/dist/chunks/generate-a933qt5h.js +257 -0
- package/dist/chunks/{voice-vp2s2yka.js → generate-absbpnym.js} +11 -11
- package/dist/chunks/{voice-2sv9tg97.js → generate-arh45t57.js} +19 -19
- package/dist/chunks/{voice-zp40fz6v.js → generate-asmrtfxn.js} +4 -4
- package/dist/chunks/{voice-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-rrcp247b.js → generate-b46zkj5d.js} +3 -3
- package/dist/chunks/{voice-5nnwax6m.js → generate-b6vsg801.js} +5 -5
- package/dist/chunks/{voice-0a441pp5.js → generate-b8dj6a54.js} +17 -17
- package/dist/chunks/{voice-jcqm84fr.js → generate-bgm817xr.js} +9 -9
- package/dist/chunks/{voice-61ennm6n.js → generate-bjhzkqyk.js} +4 -4
- package/dist/chunks/{voice-dmv7p57s.js → generate-bq741ffa.js} +13 -13
- package/dist/chunks/{voice-az25fkp4.js → generate-bqrtctjr.js} +40 -40
- package/dist/chunks/{voice-vzddn32s.js → generate-btwfb7t4.js} +4 -4
- package/dist/chunks/{voice-22gysh70.js → generate-c201zrjy.js} +25 -25
- package/dist/chunks/{voice-fn3tx0qv.js → generate-c455t25p.js} +15 -15
- package/dist/chunks/{voice-t21e03n8.js → generate-c710zz1y.js} +23 -23
- package/dist/chunks/{voice-wy8fk26v.js → generate-cbbd8wae.js} +5 -5
- package/dist/chunks/{voice-4r08n6jh.js → generate-cqe6vd9h.js} +8 -8
- package/dist/chunks/{voice-ah568vhs.js → generate-cvp0wny2.js} +7 -7
- package/dist/chunks/{voice-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-d2rqvsge.js → generate-czrgpaxw.js} +34 -34
- package/dist/chunks/{voice-ww7mtwbt.js → generate-d1k9066s.js} +42 -42
- package/dist/chunks/{voice-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-zqpzyra7.js → generate-d78wxmc5.js} +30 -30
- package/dist/chunks/{voice-pfsjm7c0.js → generate-d7vsngc8.js} +46 -46
- package/dist/chunks/{voice-zt84m4jg.js → generate-dc3k7rmc.js} +4 -4
- package/dist/chunks/{voice-e3r6xnf5.js → generate-dh7hd762.js} +11 -11
- package/dist/chunks/{voice-t0jh2f18.js → generate-dj0ndjwf.js} +6 -6
- package/dist/chunks/{voice-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{voice-g7bv215x.js → generate-dvbbkw5b.js} +36 -36
- package/dist/chunks/{voice-z3yzcab8.js → generate-dyn968e0.js} +33 -33
- package/dist/chunks/{voice-5y0frafb.js → generate-e07q2w5p.js} +6 -6
- package/dist/chunks/{voice-22z6px93.js → generate-e5htnxnn.js} +28 -28
- package/dist/chunks/{voice-dy8nzcdw.js → generate-e828w2e7.js} +12 -12
- package/dist/chunks/{voice-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{voice-k4tkqwhe.js → generate-e8d90cjd.js} +27 -27
- package/dist/chunks/{voice-z89aveqn.js → generate-et5g250t.js} +5 -5
- package/dist/chunks/{voice-c3q67jfs.js → generate-ewr5k9wg.js} +8 -8
- package/dist/chunks/{voice-67zhfnr5.js → generate-f01y088k.js} +7 -7
- package/dist/chunks/{voice-tca1957y.js → generate-f7d0b8ry.js} +20 -20
- package/dist/chunks/{voice-xgk4rwh4.js → generate-f82ew3ak.js} +8 -8
- package/dist/chunks/{voice-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{voice-32hbtqx1.js → generate-fjk0zdw3.js} +6 -6
- package/dist/chunks/{voice-v3w7zdrf.js → generate-fmqd5ezs.js} +11 -11
- package/dist/chunks/{voice-qfe4fpg2.js → generate-fr7md461.js} +13 -13
- package/dist/chunks/{voice-g12f8e1v.js → generate-fwkt2j9j.js} +33 -33
- package/dist/chunks/{voice-fyxqncs3.js → generate-fyxqncs3.js} +3 -3
- package/dist/chunks/{voice-v6j86cwd.js → generate-fzkz23w5.js} +3 -3
- package/dist/chunks/{voice-hj2aqav5.js → generate-g6y6gxmp.js} +31 -31
- package/dist/chunks/{voice-gg8p9cgs.js → generate-gg8p9cgs.js} +3 -3
- package/dist/chunks/{voice-vqbvr6se.js → generate-ggf6q6xq.js} +11 -11
- package/dist/chunks/{voice-mm20hbas.js → generate-gm5dcth4.js} +11 -11
- package/dist/chunks/{voice-e1pd07p9.js → generate-gmp42p7z.js} +21 -21
- package/dist/chunks/{voice-rhhxn1wn.js → generate-gnrr882k.js} +8 -8
- package/dist/chunks/{voice-gpzt2cep.js → generate-h1vdv31k.js} +323 -323
- package/dist/chunks/{voice-dmwhjzkn.js → generate-h3y9bj94.js} +22 -22
- package/dist/chunks/{voice-m7c0k0tc.js → generate-h9dnh5h3.js} +10 -10
- package/dist/chunks/{voice-g7er295g.js → generate-hc2ycws5.js} +11 -11
- package/dist/chunks/{voice-hdfrs5mg.js → generate-hdfrs5mg.js} +2 -2
- package/dist/chunks/{voice-0tf5rdxg.js → generate-hejbcmkq.js} +20 -20
- package/dist/chunks/{voice-0a0fmgsy.js → generate-hf19evcz.js} +29 -29
- package/dist/chunks/{voice-v5g72y9b.js → generate-hf1hr246.js} +9 -9
- package/dist/chunks/{voice-hfgk9wzg.js → generate-hfgk9wzg.js} +1 -1
- package/dist/chunks/{voice-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-t1t286x3.js → generate-hqskcfk9.js} +184 -184
- package/dist/chunks/{voice-w1j6633d.js → generate-j159kvx1.js} +35 -35
- package/dist/chunks/{voice-07dx23he.js → generate-j2j8je9q.js} +13 -13
- package/dist/chunks/{voice-v5n3dade.js → generate-j42fhrkd.js} +16 -16
- package/dist/chunks/{voice-8hjw7asv.js → generate-j581asrx.js} +4 -4
- package/dist/chunks/{voice-jvn6v1yh.js → generate-j5g81aj1.js} +27 -27
- package/dist/chunks/{voice-q344tnen.js → generate-jcrvejfm.js} +12 -12
- package/dist/chunks/{voice-77whwd4h.js → generate-jd96tgqq.js} +22 -22
- package/dist/chunks/{voice-4f3f5v7r.js → generate-jf5akgkh.js} +21 -21
- package/dist/chunks/{voice-jfaecv01.js → generate-jfaecv01.js} +1 -1
- package/dist/chunks/{voice-9we9fgmr.js → generate-jhf76er4.js} +19 -19
- package/dist/chunks/{voice-5byry70y.js → generate-jm2sbvr9.js} +32 -32
- package/dist/chunks/{voice-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-mg7n1t96.js → generate-k47s3wnw.js} +14 -14
- package/dist/chunks/{voice-85h26ecp.js → generate-k5g3zbfj.js} +7 -7
- package/dist/chunks/{voice-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{voice-48zg7246.js → generate-kc6p9w6d.js} +20 -20
- package/dist/chunks/{voice-vskfcdrb.js → generate-kejwhkvj.js} +12 -12
- package/dist/chunks/{voice-z29c68wt.js → generate-kgn3zbqp.js} +6 -6
- package/dist/chunks/{voice-dk6mw8fj.js → generate-kqsaryg6.js} +19 -19
- package/dist/chunks/{voice-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{voice-jy06s5cn.js → generate-m4qbnc51.js} +6 -6
- package/dist/chunks/{voice-1zagfxvp.js → generate-m6s56nmp.js} +23 -23
- package/dist/chunks/{voice-p7871b26.js → generate-m82x15zv.js} +7 -7
- package/dist/chunks/{voice-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-h2w5ft1w.js → generate-mhdbmyw1.js} +15 -15
- package/dist/chunks/{voice-gfz1rrxw.js → generate-mhvba134.js} +33 -33
- package/dist/chunks/{voice-kqzrr5mp.js → generate-mpck3vvq.js} +17 -17
- package/dist/chunks/{voice-6xqtcmxs.js → generate-n6v2b7cw.js} +5 -5
- package/dist/chunks/{voice-7t9zfnqm.js → generate-nj2tkpbg.js} +8 -8
- package/dist/chunks/{voice-wdkhqvf8.js → generate-nmyhvz06.js} +10 -10
- package/dist/chunks/{voice-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-7pe9kf1k.js → generate-p2thmtjd.js} +13 -13
- package/dist/chunks/{voice-h1az1csd.js → generate-p2tkcgx5.js} +24 -24
- package/dist/chunks/{voice-drvbhkez.js → generate-p7f9amnf.js} +6 -6
- package/dist/chunks/{voice-n38dwbd1.js → generate-pbp9p02f.js} +18 -18
- package/dist/chunks/{voice-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{voice-hzpcswh1.js → generate-pqymy2f2.js} +22 -22
- package/dist/chunks/{voice-8ys4y03d.js → generate-py366xq1.js} +14 -14
- package/dist/chunks/{voice-e4zprma2.js → generate-q7fhnth2.js} +21 -21
- package/dist/chunks/{voice-2dfwpzr6.js → generate-qamv2m5k.js} +19 -19
- package/dist/chunks/{voice-nq3xd2c0.js → generate-qk9496nf.js} +25 -25
- package/dist/chunks/{voice-9af6kmdw.js → generate-qkggpte4.js} +16 -16
- package/dist/chunks/{voice-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-c81891bg.js → generate-qrfynh1r.js} +16 -16
- package/dist/chunks/{voice-yz0f9hhw.js → generate-qt1tmgng.js} +12 -12
- package/dist/chunks/{voice-7cnnqjpd.js → generate-qt4dfm0j.js} +6 -6
- package/dist/chunks/{voice-dpzz2pyw.js → generate-qts7zgd1.js} +50 -50
- package/dist/chunks/{voice-4rk32wjp.js → generate-qvt710z0.js} +3 -3
- package/dist/chunks/{voice-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{voice-r542h3bh.js → generate-r542h3bh.js} +1 -1
- package/dist/chunks/{voice-g499bkg6.js → generate-r55wb87a.js} +11 -11
- package/dist/chunks/{voice-hvvf9qw8.js → generate-ra34yqmw.js} +6 -6
- package/dist/chunks/{voice-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-7e3q34vy.js → generate-rehf1aas.js} +6 -6
- package/dist/chunks/{voice-k37rtpht.js → generate-rfak1rzh.js} +19 -19
- package/dist/chunks/{voice-pjnmsphf.js → generate-rjh02mhk.js} +11 -11
- package/dist/chunks/{voice-764yyw0p.js → generate-rkjz549p.js} +24 -24
- package/dist/chunks/{voice-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-g7pzbn30.js → generate-rvk59cr0.js} +5 -5
- package/dist/chunks/{voice-68hd4rew.js → generate-rzpt8mef.js} +34 -34
- package/dist/chunks/{voice-p1qr3mzk.js → generate-s0pffs2s.js} +10 -10
- package/dist/chunks/{voice-jyha7v2x.js → generate-s3hnj3sh.js} +13 -13
- package/dist/chunks/{voice-9xchgfqt.js → generate-s7ctmszj.js} +8 -8
- package/dist/chunks/{voice-w35wzz9x.js → generate-s7kyse9r.js} +4 -4
- package/dist/chunks/{voice-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-t9n9vkbt.js → generate-sbvcw7gr.js} +21 -21
- package/dist/chunks/{voice-rhk24g9e.js → generate-sngd0g0b.js} +5 -5
- package/dist/chunks/{voice-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{voice-q8smwm6c.js → generate-srjr8tp2.js} +4 -4
- package/dist/chunks/{voice-ssfehs1z.js → generate-ssfehs1z.js} +1 -1
- package/dist/chunks/{voice-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-vnwmzs4a.js → generate-sznyev98.js} +5 -5
- package/dist/chunks/{voice-1s1bzk26.js → generate-t32ymm9y.js} +14 -14
- package/dist/chunks/{voice-063yd63m.js → generate-t9ybhp1q.js} +35 -35
- package/dist/chunks/{voice-9hpwwr6r.js → generate-tbeb6h6m.js} +7 -7
- package/dist/chunks/{voice-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-vtyjcv1b.js → generate-tjjeexw4.js} +26 -26
- package/dist/chunks/{voice-6h4ckgft.js → generate-tnjzcqkq.js} +8 -8
- package/dist/chunks/{voice-x4zyvd4k.js → generate-ts45p5da.js} +3 -3
- package/dist/chunks/{voice-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-xdz09ray.js → generate-v3pw954j.js} +4 -4
- package/dist/chunks/{voice-gfs2prjn.js → generate-vd6hx57c.js} +10 -10
- package/dist/chunks/{voice-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-yjjyz0e3.js → generate-vg0erq9k.js} +3 -3
- package/dist/chunks/{voice-9zerz78a.js → generate-vgt7797x.js} +9 -9
- package/dist/chunks/{voice-3ypags7s.js → generate-vnhacxac.js} +30 -30
- package/dist/chunks/{voice-n7d88tpn.js → generate-vpm8vpz0.js} +2 -2
- package/dist/chunks/{voice-2br09vzv.js → generate-w0rj9p92.js} +11 -11
- package/dist/chunks/{voice-5enarcya.js → generate-w2eysc6j.js} +6 -6
- package/dist/chunks/{voice-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-w687dnns.js → generate-w687dnns.js} +1 -1
- package/dist/chunks/{voice-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-zn6qbc5k.js → generate-wd4z6ete.js} +10 -10
- package/dist/chunks/{voice-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{voice-pe4tpddq.js → generate-wd88qh38.js} +16 -16
- package/dist/chunks/{voice-16kpnapk.js → generate-wevr71gn.js} +2 -2
- package/dist/chunks/{voice-a1tkj3qk.js → generate-wgvnftve.js} +8 -8
- package/dist/chunks/{voice-vtdmw6pn.js → generate-wm4h87ch.js} +23 -23
- package/dist/chunks/{voice-wnhgecwx.js → generate-wnhgecwx.js} +1 -1
- package/dist/chunks/{voice-9w3ms3pw.js → generate-wpwj3xyb.js} +15 -15
- package/dist/chunks/{voice-331dxnty.js → generate-wyh1p29c.js} +9 -9
- package/dist/chunks/{voice-vc56jhsb.js → generate-x4swjz8b.js} +11 -11
- package/dist/chunks/{voice-x8nvjgx0.js → generate-x8nvjgx0.js} +1 -1
- package/dist/chunks/{voice-9whkkjd6.js → generate-xcypbb09.js} +10 -10
- package/dist/chunks/{voice-bstexjd6.js → generate-xd9cc171.js} +5 -5
- package/dist/chunks/{voice-xn7wpegq.js → generate-y3nv4ez5.js} +21 -21
- package/dist/chunks/{voice-5d8bw8b0.js → generate-y8evj2ev.js} +34 -34
- package/dist/chunks/{voice-yara3q77.js → generate-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-tn3j866z.js → generate-yd4fy85j.js} +28 -28
- package/dist/chunks/{voice-hy8c1z76.js → generate-ydsespw1.js} +8 -8
- package/dist/chunks/{voice-1f3swxhw.js → generate-yjerzzbx.js} +4 -4
- package/dist/chunks/generate-yjkqh27f.js +26 -0
- package/dist/chunks/{voice-emq6awqh.js → generate-yqveydy6.js} +4 -4
- package/dist/chunks/{voice-3ex6yfnf.js → generate-yr7x8ded.js} +27 -27
- package/dist/chunks/{voice-nxcgw1n8.js → generate-yzqrvcme.js} +19 -19
- package/dist/chunks/{voice-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{voice-ym48dhm3.js → generate-z4vzxt5p.js} +42 -42
- package/dist/chunks/{voice-mnk4tbe5.js → generate-z6nazckk.js} +5 -5
- package/dist/chunks/{voice-77xq2spw.js → generate-zfnetmcr.js} +3 -3
- package/dist/chunks/{voice-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
- package/dist/chunks/{voice-9gyma7cs.js → generate-zk2jkd91.js} +11 -11
- package/dist/chunks/{voice-r23xk47w.js → generate-zmg6vytx.js} +9 -9
- package/dist/chunks/{voice-4rkt743e.js → generate-ztph5cdk.js} +9 -9
- package/dist/chunks/{voice-k1wsh18t.js → generate-zwy5xyev.js} +12 -12
- package/dist/chunks/{voice-g5nerew1.js → generate-zwz3fy33.js} +4 -4
- package/dist/chunks/{voice-k4kpdye3.js → generate-zyq2yvn6.js} +9 -9
- package/dist/chunks/{voice-fawkqakz.js → generate-zzaj8j6e.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +5 -5
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- 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 +122 -122
- 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 +124 -124
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +81 -81
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +161 -161
- 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 +89 -89
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- 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 +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +227 -227
- 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 +4 -4
- 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 +123 -123
- package/dist/plugin/provider/opencode-legacy.js +104 -104
- 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 +128 -128
- 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 +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- 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 +160 -160
- 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 +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- 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 +1 -1
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- 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 +139 -139
- package/dist/skill.js +148 -148
- 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 +165 -165
- 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 +156 -156
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- 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 +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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +6 -6
- 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 +96 -96
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- 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 +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-a610t88q.js +0 -18
- package/dist/chunks/voice-bbn1wz82.js +0 -26
- package/dist/chunks/voice-e148tsh0.js +0 -257
- /package/dist/chunks/{voice-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1jakw16s.js → generate-1jakw16s.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-j581asrx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
ID14
|
|
9
|
-
} from "./voice-vtyjcv1b.js";
|
|
5
|
+
Event16
|
|
6
|
+
} from "./generate-yd4fy85j.js";
|
|
10
7
|
import {
|
|
11
8
|
ID13
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./generate-tjjeexw4.js";
|
|
10
|
+
import {
|
|
11
|
+
ID12
|
|
12
|
+
} from "./generate-e8d90cjd.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID12.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service82,
|
|
3
|
+
node86,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-4drphn98.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service46,
|
|
8
|
+
node48
|
|
9
|
+
} from "./generate-ra34yqmw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./generate-j5g81aj1.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-a933qt5h.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service82, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service19);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
}).pipe(Effect.uninterruptible)
|
|
59
59
|
};
|
|
60
60
|
const bindings = [
|
|
61
|
-
|
|
61
|
+
node48.replace(Layer.succeed(Service46, {
|
|
62
62
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
63
63
|
})),
|
|
64
64
|
...replacements,
|
|
65
|
-
|
|
65
|
+
node86.replace(Layer.succeed(Service82, map))
|
|
66
66
|
];
|
|
67
67
|
return map;
|
|
68
68
|
}));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-j581asrx.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
Command: () =>
|
|
17
|
-
Event: () =>
|
|
14
|
+
var exports_command4 = {};
|
|
15
|
+
__export(exports_command4, {
|
|
16
|
+
Command: () => exports_command4,
|
|
17
|
+
Event: () => Event9,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
Info: () => Info11,
|
|
20
|
+
NotFoundError: () => NotFoundError6,
|
|
21
|
+
Service: () => Service57,
|
|
22
|
+
layer: () => layer21,
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
29
|
+
var Info11 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service57 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service86;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info11.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer27 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service57.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer27 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node59 = makeLocationNode({
|
|
76
|
+
service: Service57,
|
|
77
|
+
layer: layer21,
|
|
78
78
|
deps: [node90]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info11, NotFoundError6, ExecutionError2, Service57, layer21, node59, exports_command4, Event9 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-hfgk9wzg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2,
|
|
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
375
375
|
`;
|
|
376
376
|
|
|
377
377
|
// src/plugin/optimize.ts
|
|
378
|
-
var
|
|
378
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
379
379
|
const id = model.id.toLowerCase();
|
|
380
380
|
if (!id.includes("gpt"))
|
|
381
381
|
return;
|
|
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
410
410
|
return;
|
|
411
411
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
412
412
|
});
|
|
413
|
-
var Plugins2 = [
|
|
413
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
414
414
|
var models = new WeakMap;
|
|
415
415
|
var resolveModel2 = (ctx, event) => Effect.gen(function* () {
|
|
416
416
|
const cached = models.get(event);
|
|
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export {
|
|
450
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service63,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node66
|
|
4
|
+
} from "./generate-kejwhkvj.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-wevr71gn.js";
|
|
9
9
|
import {
|
|
10
10
|
Service62,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node65
|
|
12
|
+
} from "./generate-mhvba134.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-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: () => layer4,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node4
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,9 +33,9 @@ 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 layer4 = Layer.effect(
|
|
38
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
39
|
const config = yield* Service62;
|
|
40
40
|
const watcher = yield* Service63;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, 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 layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node4 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
75
|
layer: layer4,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node65, FSUtil.node, node66, node87]
|
|
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, layer4, node4, empty2, exports_source };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-j581asrx.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-jhf76er4.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available4,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer25,
|
|
27
|
+
node: () => node71
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,7 +35,7 @@ import { Global } from "@opencode/util/global";
|
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
37
|
import { available as available4 } from "#persistent-pty-binary";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
@@ -45,14 +45,14 @@ class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError10 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service86;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service66, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError10({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service66, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service67.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,13 +258,13 @@ var makeLayer = (options = {}) => Layer.effect(Service66, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
261
|
+
var layer25 = makeLayer();
|
|
262
|
+
var configured10 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service67,
|
|
264
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
265
265
|
deps: [node90, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node71 = configured10();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options7, UnavailableError4, NotFoundError10, Service67, layer25, configured10, node71, exports_persistent_pty, Handoff2, available4 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-1kn6jdkn.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make15,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ 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
|
${render2(current)}`;
|
|
@@ -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 make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
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 { render2,
|
|
128
|
+
export { render2, update3, make15, exports_instructions4 };
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-b46zkj5d.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service86,
|
|
8
8
|
node90
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-j581asrx.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./generate-b6vsg801.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-034tev2y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-gg8p9cgs.js";
|
|
31
31
|
import {
|
|
32
32
|
User3
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-fg9p65nk.js";
|
|
34
34
|
import {
|
|
35
35
|
externalize2,
|
|
36
36
|
recordRefs2,
|
|
37
37
|
syncRefs2,
|
|
38
38
|
releaseFrom2,
|
|
39
39
|
releaseSession2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-yjerzzbx.js";
|
|
41
41
|
import {
|
|
42
42
|
apply2,
|
|
43
43
|
initialize3,
|
|
44
44
|
advanceEpoch2,
|
|
45
45
|
rewind2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./generate-5x26af84.js";
|
|
47
47
|
import {
|
|
48
48
|
decodeMessageRowSync2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./generate-wyh1p29c.js";
|
|
50
50
|
import {
|
|
51
51
|
projectAdmitted2,
|
|
52
52
|
projectDelivered2,
|
|
53
53
|
projectCancelled2,
|
|
54
54
|
projectDeliveryChanged2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./generate-8eady601.js";
|
|
56
56
|
import {
|
|
57
57
|
initialize2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./generate-5yz609yq.js";
|
|
59
59
|
import {
|
|
60
60
|
Slug2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./generate-gebd4c9n.js";
|
|
62
62
|
import {
|
|
63
63
|
__export
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./generate-9rqn6x4v.js";
|
|
65
65
|
|
|
66
66
|
// src/session/projector.ts
|
|
67
67
|
var exports_projector = {};
|
|
68
68
|
__export(exports_projector, {
|
|
69
69
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
70
70
|
SessionProjector: () => exports_projector,
|
|
71
|
-
node: () =>
|
|
71
|
+
node: () => node29
|
|
72
72
|
});
|
|
73
73
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
74
74
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -281,7 +281,7 @@ function run(db, event) {
|
|
|
281
281
|
updateCompaction: updateMessage,
|
|
282
282
|
appendMessage
|
|
283
283
|
};
|
|
284
|
-
yield*
|
|
284
|
+
yield* update2(adapter, event);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
var encodeStored = (message) => message.type === "user" ? encodeStoredUser(message) : encodeMessage(message);
|
|
@@ -508,6 +508,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
508
508
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
509
509
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
510
510
|
}));
|
|
511
|
-
var
|
|
511
|
+
var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node90, node91] });
|
|
512
512
|
|
|
513
|
-
export { SessionAlreadyProjected2,
|
|
513
|
+
export { SessionAlreadyProjected2, node29, exports_projector };
|