@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./generate-j159kvx1.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input5,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin5,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
28
|
description: () => description2,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name5
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name5 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
40
|
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input5 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input2 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input5.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin5 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service59;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name5,
|
|
104
104
|
options: { codemode: false },
|
|
105
105
|
description: description2,
|
|
106
|
-
input:
|
|
106
|
+
input: Input5,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin37 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name5,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input5, Plugin5, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-b46zkj5d.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-j581asrx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-204s3925.js";
|
|
12
12
|
import {
|
|
13
13
|
ID9,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service64,
|
|
15
|
+
node67
|
|
16
|
+
} from "./generate-0tmz53w6.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service73,
|
|
22
|
+
node77
|
|
23
|
+
} from "./generate-g6y6gxmp.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-wyh1p29c.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./generate-0rvj68xf.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service35,
|
|
48
|
+
node38
|
|
49
|
+
} from "./generate-26m29gst.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service45,
|
|
52
|
+
node47
|
|
53
|
+
} from "./generate-b8dj6a54.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./generate-fyxqncs3.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./generate-9gdvrvfc.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./generate-r542h3bh.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./generate-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
@@ -76,7 +76,7 @@ __export(exports_compaction2, {
|
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
79
|
+
layer: () => layer7,
|
|
80
80
|
node: () => node12,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service64;
|
|
189
189
|
const bus = yield* Service86;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
192
|
-
const models = yield*
|
|
191
|
+
const catalog = yield* Service73;
|
|
192
|
+
const models = yield* Service45;
|
|
193
193
|
const db = (yield* Service87).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service35;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -594,8 +594,8 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
594
594
|
}));
|
|
595
595
|
var node12 = makeLocationNode({
|
|
596
596
|
service: Service10,
|
|
597
|
-
layer:
|
|
598
|
-
deps: [
|
|
597
|
+
layer: layer7,
|
|
598
|
+
deps: [node67, node90, node91, llmClient2, node77, node38, node47]
|
|
599
599
|
});
|
|
600
600
|
var heldIndex = (held, context) => {
|
|
601
601
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -786,4 +786,4 @@ var estimateMedia = (mime) => {
|
|
|
786
786
|
return 0;
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
export { Service10, buildPrompt2,
|
|
789
|
+
export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-b46zkj5d.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-j581asrx.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID14,
|
|
26
|
+
Info: () => Info25,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service76,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node80
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID14 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event16 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID14,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service87).db;
|
|
59
59
|
const bus = yield* Service86;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info25({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service76.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info25({
|
|
95
|
+
id: input.id ?? ID14.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node91, node90, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID14, OAuth3, Key4, External2, Value2, Event16, Info25, Service76, node80, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node6, bound2, exports_instance2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service62
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-mhvba134.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-gg8p9cgs.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-fg9p65nk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin35
|
|
3
|
+
} from "./generate-ewr5k9wg.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./generate-hf1hr246.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin41
|
|
9
|
+
} from "./generate-6bwjnpkg.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin42
|
|
12
|
+
} from "./generate-gnrr882k.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin34
|
|
15
|
+
} from "./generate-62gytg6z.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin35,
|
|
20
|
+
Plugin36,
|
|
21
|
+
Plugin41,
|
|
22
|
+
Plugin42,
|
|
23
|
+
Plugin34
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service43,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service43, exports_runner };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID13,
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./generate-tjjeexw4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info4,
|
|
18
|
+
Service: () => Service17,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node19
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info4 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service17 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service75;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID13.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service17.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node19 = makeLocationNode({
|
|
72
|
+
service: Service17,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node79, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info4, UnavailableError3, Service17, layer10, node19, exports_usage_limits };
|