@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-j581asrx.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./generate-yd4fy85j.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-204s3925.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-bjhzkqyk.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-hc2ycws5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration2 = {};
|
|
@@ -36,18 +36,18 @@ __export(exports_integration2, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event15,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
Integration: () => exports_integration2,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref4,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service75,
|
|
50
|
+
node: () => node79
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
73
|
-
var
|
|
72
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
73
|
+
var ID13 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
76
76
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info23 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -102,19 +102,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
105
|
-
integrationID:
|
|
105
|
+
integrationID: ID13,
|
|
106
106
|
attemptID: AttemptID2
|
|
107
107
|
}) {
|
|
108
108
|
}
|
|
109
109
|
var Ref4 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
116
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service76;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
225
225
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
226
226
|
return [...credentials, ...env];
|
|
227
227
|
};
|
|
228
|
-
const project = (entry, connections) =>
|
|
228
|
+
const project = (entry, connections) => Info23.make({
|
|
229
229
|
id: entry.ref.id,
|
|
230
230
|
name: entry.ref.name,
|
|
231
231
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -458,7 +458,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
458
458
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
459
459
|
return CommandAttempt2.make({ attemptID, time });
|
|
460
460
|
});
|
|
461
|
-
return
|
|
461
|
+
return Service75.of({
|
|
462
462
|
transform: state.transform,
|
|
463
463
|
reload: state.reload,
|
|
464
464
|
revision: state.revision,
|
|
@@ -645,10 +645,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
645
645
|
}
|
|
646
646
|
});
|
|
647
647
|
}));
|
|
648
|
-
var
|
|
649
|
-
service:
|
|
648
|
+
var node79 = makeLocationNode({
|
|
649
|
+
service: Service75,
|
|
650
650
|
layer,
|
|
651
|
-
deps: [
|
|
651
|
+
deps: [node80, node90, AppProcess.node]
|
|
652
652
|
});
|
|
653
653
|
|
|
654
|
-
export {
|
|
654
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service75, node79, exports_integration2, Event15 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-sa3fpqfw.js";
|
|
12
12
|
import {
|
|
13
13
|
Service83
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-wevr71gn.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-8ap1sysz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin40,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin40 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
39
|
const location = yield* Service83;
|
|
@@ -588,4 +588,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
588
588
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
589
589
|
});
|
|
590
590
|
|
|
591
|
-
export {
|
|
591
|
+
export { Plugin40, exports_git };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-cvp0wny2.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-6gbxzgzx.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-s0pffs2s.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make5 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make5();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make5, LMStudioPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-b46zkj5d.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service87).db;
|
|
26
|
-
return
|
|
26
|
+
return Service79.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node91] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service79, node83, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-j581asrx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-wevr71gn.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./generate-d1k9066s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin48
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin48 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service83;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
201
|
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin48, exports_command2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-bjhzkqyk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-j581asrx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./generate-yd4fy85j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-tjjeexw4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./generate-e8d90cjd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./generate-g6y6gxmp.js";
|
|
24
24
|
import {
|
|
25
25
|
load4,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-dh7hd762.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-ggf6q6xq.js";
|
|
31
31
|
import {
|
|
32
32
|
ID9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-0tmz53w6.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID13.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service74;
|
|
168
168
|
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,7 +181,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load4(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID12.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,9 +260,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID12.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID12.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID12.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID10 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID10,
|
|
7
|
+
export { ID10, Info20, SessionSchema2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-ggf6q6xq.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./generate-yd4fy85j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-tjjeexw4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-e8d90cjd.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service76;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|