@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-ggf6q6xq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-j581asrx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event16
|
|
11
|
+
} from "./generate-yd4fy85j.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-tjjeexw4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID12
|
|
22
|
+
} from "./generate-e8d90cjd.js";
|
|
23
23
|
import {
|
|
24
24
|
Service62
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-mhvba134.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Remote2,
|
|
28
28
|
Document2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
make12
|
|
30
|
+
} from "./generate-e07q2w5p.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-s3hnj3sh.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service18
|
|
41
|
+
} from "./generate-zk2jkd91.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
ID16,
|
|
44
|
+
Input15,
|
|
45
45
|
Response3
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./generate-7w0hvkcz.js";
|
|
47
47
|
import {
|
|
48
48
|
Response2,
|
|
49
49
|
make9,
|
|
50
50
|
statements2,
|
|
51
51
|
providerIDs2,
|
|
52
52
|
register3
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./generate-bq741ffa.js";
|
|
54
54
|
|
|
55
55
|
// src/plugin/provider/opencode.ts
|
|
56
56
|
import {
|
|
@@ -113,7 +113,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
113
113
|
}
|
|
114
114
|
function oauth(http) {
|
|
115
115
|
return {
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID13.make("opencode"),
|
|
117
117
|
method: {
|
|
118
118
|
id: methodID,
|
|
119
119
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpencodePlugin2 = define({
|
|
|
181
181
|
const bus = yield* Service86;
|
|
182
182
|
const client = yield* HttpClient.HttpClient;
|
|
183
183
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
184
|
-
const managed = yield*
|
|
184
|
+
const managed = yield* Service18;
|
|
185
185
|
const config = yield* Service62;
|
|
186
186
|
const scope = yield* Scope.Scope;
|
|
187
187
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -218,16 +218,16 @@ var OpencodePlugin2 = define({
|
|
|
218
218
|
});
|
|
219
219
|
let integrated;
|
|
220
220
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
221
|
-
yield* config.integration?.(
|
|
222
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
221
|
+
yield* config.integration?.(ID13.make("opencode"), document) ?? Effect.void;
|
|
222
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID13.make("opencode"));
|
|
223
223
|
});
|
|
224
224
|
const publish = Effect.fnUntraced(function* (next) {
|
|
225
225
|
switch (next.remote?.type) {
|
|
226
226
|
case "config":
|
|
227
227
|
yield* managed.set({ statements: [], organization: next.organization });
|
|
228
|
-
return yield* integrate(next.connection &&
|
|
229
|
-
integrationID:
|
|
230
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
228
|
+
return yield* integrate(next.connection && make12({
|
|
229
|
+
integrationID: ID13.make("opencode"),
|
|
230
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID14.make(next.connection.id) } : next.connection,
|
|
231
231
|
organization: next.organization,
|
|
232
232
|
info: next.remote.info
|
|
233
233
|
}));
|
|
@@ -254,7 +254,7 @@ var OpencodePlugin2 = define({
|
|
|
254
254
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
255
255
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
256
256
|
const server = yield* normalizeServer(server2(credential));
|
|
257
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
257
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
258
258
|
query: input.query,
|
|
259
259
|
providerID
|
|
260
260
|
}));
|
|
@@ -283,7 +283,7 @@ var OpencodePlugin2 = define({
|
|
|
283
283
|
integrate2(providers, integrated);
|
|
284
284
|
});
|
|
285
285
|
yield* ctx.provider.transform((providers) => {
|
|
286
|
-
const item = providers.get(
|
|
286
|
+
const item = providers.get(ID12.opencode);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
});
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.model.transform((models) => {
|
|
298
|
-
const item = models.provider.get(
|
|
298
|
+
const item = models.provider.get(ID12.opencode);
|
|
299
299
|
if (!item)
|
|
300
300
|
return;
|
|
301
301
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -311,7 +311,7 @@ var OpencodePlugin2 = define({
|
|
|
311
311
|
});
|
|
312
312
|
yield* ctx.websearch.transform((editor) => {
|
|
313
313
|
if (snapshot.remote?.type === "config" && snapshot.connection)
|
|
314
|
-
editor.add(search(
|
|
314
|
+
editor.add(search(ID16.make("opencode"), snapshot.connection));
|
|
315
315
|
});
|
|
316
316
|
const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
|
|
317
317
|
snapshot = next;
|
|
@@ -348,7 +348,7 @@ var OpencodePlugin2 = define({
|
|
|
348
348
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
349
349
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
350
350
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
351
|
-
|
|
351
|
+
ID12.opencode,
|
|
352
352
|
...next.remote?.type === "config" ? Object.keys(next.remote.info.providers ?? {}) : providerIDs2(next.remote)
|
|
353
353
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
354
354
|
});
|
|
@@ -361,7 +361,7 @@ var OpencodePlugin2 = define({
|
|
|
361
361
|
onlyIfMissing: true
|
|
362
362
|
});
|
|
363
363
|
});
|
|
364
|
-
yield* bus.subscribe(
|
|
364
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
365
365
|
yield* poll();
|
|
366
366
|
})
|
|
367
367
|
});
|
|
@@ -384,7 +384,7 @@ function fetchConfig(http, value) {
|
|
|
384
384
|
}
|
|
385
385
|
const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
|
|
386
386
|
if (Predicate.hasProperty(body, "$schema"))
|
|
387
|
-
return { type: "config", info: yield* Schema.decodeUnknownEffect(
|
|
387
|
+
return { type: "config", info: yield* Schema.decodeUnknownEffect(Remote2)(body) };
|
|
388
388
|
return { type: "legacy", response: yield* Schema.decodeUnknownEffect(Response2)(body) };
|
|
389
389
|
})), Effect.scoped);
|
|
390
390
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-j581asrx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node37
|
|
8
|
+
} from "./generate-d1k9066s.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service59,
|
|
14
|
+
node62
|
|
15
|
+
} from "./generate-j159kvx1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service55,
|
|
18
|
+
node57
|
|
19
|
+
} from "./generate-2w5fjxjh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service54,
|
|
22
|
+
node56
|
|
23
|
+
} from "./generate-6wz31r82.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-qamv2m5k.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service32,
|
|
36
36
|
layer: () => layer14,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node35
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer14 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service34;
|
|
54
|
+
const tools = yield* Service55;
|
|
55
55
|
const bus = yield* Service86;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service59;
|
|
57
|
+
const toolOutput = yield* Service54;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name14(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node35 = makeLocationNode({
|
|
148
|
+
service: Service32,
|
|
149
149
|
layer: layer14,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node57, node37, node90, node62, node56]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name14, Service32, layer14, node35, exports_mcp3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration = {};
|
|
@@ -8,8 +8,8 @@ __export(exports_integration, {
|
|
|
8
8
|
ConfigIntegration: () => exports_integration,
|
|
9
9
|
Document: () => Document2,
|
|
10
10
|
Policies: () => Policies2,
|
|
11
|
-
Remote: () =>
|
|
12
|
-
make: () =>
|
|
11
|
+
Remote: () => Remote2,
|
|
12
|
+
make: () => make12
|
|
13
13
|
});
|
|
14
14
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
15
15
|
import { Config } from "@opencode/schema/config";
|
|
@@ -28,7 +28,7 @@ var Policies2 = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Unknown
|
|
|
28
28
|
})),
|
|
29
29
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
30
30
|
}), Schema.decodeTo(Schema.Array(ConfigPolicy.Info)));
|
|
31
|
-
var
|
|
31
|
+
var Remote2 = Schema.Struct({
|
|
32
32
|
providers: Config.Info.fields.providers,
|
|
33
33
|
mcp: Config.Info.fields.mcp,
|
|
34
34
|
policies: Policies2.pipe(Schema.optional),
|
|
@@ -41,7 +41,7 @@ class Document2 extends Config.Document.extend("Config.IntegrationDocument")({
|
|
|
41
41
|
organization: Schema.optional(Schema.String)
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function make12(input) {
|
|
45
45
|
const servers = input.info.mcp?.servers;
|
|
46
46
|
return new Document2({
|
|
47
47
|
type: "document",
|
|
@@ -80,4 +80,4 @@ function withoutCredentials(settings) {
|
|
|
80
80
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { Policies2,
|
|
83
|
+
export { Policies2, Remote2, Document2, make12, exports_integration };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./generate-j159kvx1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./generate-wm4h87ch.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input9,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin9,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name9,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name9 = "skill";
|
|
30
|
+
var Input9 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin9 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service38;
|
|
51
|
+
const permission = yield* Service59;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name9,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input9,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name9,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin42 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name9, Input9, Output6, description3, toModelOutput2, Plugin9, exports_skill };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-e8d90cjd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-g6y6gxmp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -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
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-bjhzkqyk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service75,
|
|
15
|
+
node79,
|
|
16
|
+
Event15
|
|
17
|
+
} from "./generate-tjjeexw4.js";
|
|
18
18
|
import {
|
|
19
19
|
Service83,
|
|
20
20
|
node87
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-wevr71gn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider3, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node78,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -324,8 +324,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
324
324
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
325
325
|
|
|
326
326
|
// src/provider.ts
|
|
327
|
-
import { Event as
|
|
328
|
-
var
|
|
327
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
328
|
+
var ID12 = Provider.ID;
|
|
329
329
|
var AISDK_PREFIX2 = "aisdk:";
|
|
330
330
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
331
331
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -572,9 +572,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
572
572
|
var Cache2 = Provider.Cache;
|
|
573
573
|
var Transport2 = Provider.Transport;
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
|
-
var
|
|
575
|
+
var Info22 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,9 +587,9 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
590
|
+
var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
591
591
|
const bus = yield* Service86;
|
|
592
|
-
const integrations = yield*
|
|
592
|
+
const integrations = yield* Service75;
|
|
593
593
|
const location = yield* Service83;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
@@ -601,7 +601,7 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
601
601
|
const current = records.get(id);
|
|
602
602
|
if (current)
|
|
603
603
|
return current;
|
|
604
|
-
const added = { provider:
|
|
604
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
605
605
|
records.set(id, added);
|
|
606
606
|
maps.add(added.models);
|
|
607
607
|
return added;
|
|
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
682
682
|
const available = Array.from(records.values()).filter((record) => {
|
|
683
683
|
if (record.provider.activation === "disabled")
|
|
684
684
|
return false;
|
|
685
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
685
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
686
686
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
687
687
|
return false;
|
|
688
688
|
if (record.provider.activation === "enabled")
|
|
@@ -708,8 +708,8 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
708
708
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
|
-
yield* bus.subscribe([
|
|
712
|
-
return
|
|
711
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
+
return Service74.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var
|
|
721
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node90, node79, node87] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info22, Service74, node78, exports_provider3, Event14 };
|