@opencode/core 0.0.0-dev-21827 → 0.0.0-dev-21834
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 +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-lifecycle-2qxc72s4.js → skill-00gjqycq.js} +25 -25
- package/dist/chunks/{location-lifecycle-ynrq1a8k.js → skill-02pz8arg.js} +8 -8
- package/dist/chunks/{location-lifecycle-034tev2y.js → skill-034tev2y.js} +2 -2
- package/dist/chunks/{location-lifecycle-zzaqn35t.js → skill-04hm4bt0.js} +42 -42
- package/dist/chunks/{location-lifecycle-3f1c5rw9.js → skill-06nd5b66.js} +11 -11
- package/dist/chunks/{location-lifecycle-951gfphn.js → skill-0be85waj.js} +16 -16
- package/dist/chunks/{location-lifecycle-06ezgrzy.js → skill-0cbbnd0e.js} +8 -8
- package/dist/chunks/{location-lifecycle-jqrrajmw.js → skill-0n9ahcch.js} +14 -14
- package/dist/chunks/{location-lifecycle-qt6xa0r4.js → skill-0nrdvnna.js} +4 -4
- package/dist/chunks/{location-lifecycle-ftt01jz2.js → skill-0nx6k2c3.js} +17 -17
- package/dist/chunks/{location-lifecycle-mbwgdc5a.js → skill-0rq01gt9.js} +5 -5
- package/dist/chunks/{location-lifecycle-0gqpdc35.js → skill-0trxxenf.js} +30 -30
- package/dist/chunks/{location-lifecycle-w8ytyev4.js → skill-0vyqaw1y.js} +1 -1
- package/dist/chunks/{location-lifecycle-e12w6dtp.js → skill-0y9nmzdh.js} +17 -17
- package/dist/chunks/{location-lifecycle-wa9en833.js → skill-0zg0wj8r.js} +28 -28
- package/dist/chunks/{location-lifecycle-x8nvjgx0.js → skill-11hfp36g.js} +4 -4
- package/dist/chunks/{location-lifecycle-tg1vr1qt.js → skill-160yv0cs.js} +8 -8
- package/dist/chunks/{location-lifecycle-qv7y9773.js → skill-173t91w5.js} +4 -4
- package/dist/chunks/{location-lifecycle-anzexaze.js → skill-17b5xsvs.js} +9 -9
- package/dist/chunks/{location-lifecycle-kec0ksjq.js → skill-1adswb2h.js} +24 -24
- package/dist/chunks/{location-lifecycle-zvg5ahhp.js → skill-1e5bw0rs.js} +10 -10
- package/dist/chunks/{location-lifecycle-c78bsrpc.js → skill-1egxbjqn.js} +5 -5
- package/dist/chunks/{location-lifecycle-1ep2p91f.js → skill-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-lifecycle-8r31w3mw.js → skill-1fecs8e0.js} +83 -83
- package/dist/chunks/{location-lifecycle-te2z8gzs.js → skill-1hmnwk5s.js} +64 -64
- package/dist/chunks/{location-lifecycle-bhjvzhfy.js → skill-1mm7n2nj.js} +16 -16
- package/dist/chunks/{location-lifecycle-sdngsbgs.js → skill-1t1xece5.js} +3 -3
- package/dist/chunks/{location-lifecycle-1x2knyw4.js → skill-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-lifecycle-ybqjtrnz.js → skill-21atppj8.js} +8 -8
- package/dist/chunks/{location-lifecycle-cs87y13h.js → skill-231a8wys.js} +8 -8
- package/dist/chunks/{location-lifecycle-xdcxsav6.js → skill-2dgzezj9.js} +28 -28
- package/dist/chunks/{location-lifecycle-frjevq5v.js → skill-2eqjdh0q.js} +26 -26
- package/dist/chunks/{location-lifecycle-afbxbw72.js → skill-2eqy3gj5.js} +11 -11
- package/dist/chunks/{location-lifecycle-je5hz476.js → skill-2je7xwd4.js} +24 -24
- package/dist/chunks/{location-lifecycle-2z1j29yd.js → skill-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-gq43p9bv.js → skill-3j2fevem.js} +11 -11
- package/dist/chunks/{location-lifecycle-3nnrz6f6.js → skill-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-lifecycle-435ejdhj.js → skill-3pav5zsa.js} +25 -25
- package/dist/chunks/{location-lifecycle-40za9wsf.js → skill-40za9wsf.js} +2 -2
- package/dist/chunks/{location-lifecycle-bjhzkqyk.js → skill-42jd4697.js} +4 -4
- package/dist/chunks/{location-lifecycle-6yf8mef0.js → skill-4ek8vd21.js} +19 -19
- package/dist/chunks/{location-lifecycle-fnygd1nj.js → skill-4jqg84dk.js} +14 -14
- package/dist/chunks/{location-lifecycle-86nga2pg.js → skill-4kpphzt0.js} +11 -11
- package/dist/chunks/{location-lifecycle-veb1b92r.js → skill-4kvnwz1d.js} +15 -15
- package/dist/chunks/{location-lifecycle-4v008n1t.js → skill-4v008n1t.js} +1 -1
- package/dist/chunks/{location-lifecycle-4xvmh7wp.js → skill-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-lifecycle-1p9b9gvf.js → skill-54pbqzcr.js} +36 -36
- package/dist/chunks/{location-lifecycle-fx5kqmvd.js → skill-5dyn294f.js} +7 -7
- package/dist/chunks/{location-lifecycle-pxdkqw7r.js → skill-5gfep4at.js} +31 -31
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-8psf50w9.js → skill-5pck7wvj.js} +11 -11
- package/dist/chunks/{location-lifecycle-e07q2w5p.js → skill-5y0frafb.js} +6 -6
- package/dist/chunks/{location-lifecycle-p7vhpwh8.js → skill-5zrxpy3q.js} +5 -5
- package/dist/chunks/{location-lifecycle-w54mkzpv.js → skill-62sayf8a.js} +33 -33
- package/dist/chunks/{location-lifecycle-zta2ja2d.js → skill-6bpq0ecf.js} +24 -24
- package/dist/chunks/{location-lifecycle-yy11h7xe.js → skill-6c4tda3b.js} +5 -5
- package/dist/chunks/{location-lifecycle-6esdw8yj.js → skill-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-lifecycle-mzr8qcts.js → skill-6pdpw644.js} +8 -8
- package/dist/chunks/{location-lifecycle-6pjqjmy2.js → skill-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-lifecycle-2zjh3nq3.js → skill-72an0bmj.js} +5 -5
- package/dist/chunks/{location-lifecycle-35yjq3b2.js → skill-7412659d.js} +12 -12
- package/dist/chunks/{location-lifecycle-76cb1hcw.js → skill-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-lifecycle-770pw0s1.js → skill-770pw0s1.js} +1 -1
- package/dist/chunks/{location-lifecycle-75bc8n2n.js → skill-77kepa5s.js} +21 -21
- package/dist/chunks/{location-lifecycle-hyetydc1.js → skill-77wcrcrr.js} +4 -4
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-vg8z76t4.js → skill-7ete3fjn.js} +49 -49
- package/dist/chunks/{location-lifecycle-0mj3m2qe.js → skill-7h2sr6bm.js} +23 -23
- package/dist/chunks/{location-lifecycle-zr0c5wvp.js → skill-7md7twpt.js} +5 -5
- package/dist/chunks/{location-lifecycle-46p95yhx.js → skill-7p112bbq.js} +8 -8
- package/dist/chunks/{location-lifecycle-rvkz6b3j.js → skill-7pyt5zq6.js} +5 -5
- package/dist/chunks/{location-lifecycle-df96cq4z.js → skill-7scb859s.js} +9 -9
- package/dist/chunks/{location-lifecycle-7w2ypzdf.js → skill-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-lifecycle-a3h99bw5.js → skill-7x19yq7v.js} +9 -9
- package/dist/chunks/{location-lifecycle-1zvetpda.js → skill-85ynyc4w.js} +14 -14
- package/dist/chunks/{location-lifecycle-dccfjtkm.js → skill-8ecwpcxg.js} +11 -11
- package/dist/chunks/{location-lifecycle-1bmms672.js → skill-8eprwqzy.js} +36 -36
- package/dist/chunks/{location-lifecycle-a1ref3hp.js → skill-8hnyj9sr.js} +13 -13
- package/dist/chunks/{location-lifecycle-frdmxv06.js → skill-8j2r6s7s.js} +13 -13
- package/dist/chunks/{location-lifecycle-f4vgery6.js → skill-8mnbshzt.js} +27 -27
- package/dist/chunks/{location-lifecycle-jktd17zr.js → skill-8vcctmfr.js} +19 -19
- package/dist/chunks/{location-lifecycle-vpm8vpz0.js → skill-8whp40kv.js} +3 -3
- package/dist/chunks/{location-lifecycle-8wtp7s3z.js → skill-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-lifecycle-1de3rwvd.js → skill-8x3yvqxw.js} +13 -13
- package/dist/chunks/{location-lifecycle-91rj84md.js → skill-91rj84md.js} +1 -1
- package/dist/chunks/{location-lifecycle-jehnak5d.js → skill-97xzxk8a.js} +25 -25
- package/dist/chunks/{location-lifecycle-998yhzzq.js → skill-998yhzzq.js} +3 -3
- package/dist/chunks/{location-lifecycle-ectz1n32.js → skill-9a62epdc.js} +6 -6
- package/dist/chunks/{location-lifecycle-v53et2yk.js → skill-9bd0cbwc.js} +5 -5
- package/dist/chunks/{location-lifecycle-9cx9sm2q.js → skill-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-e4s86g6j.js → skill-9czcsnv2.js} +7 -7
- package/dist/chunks/{location-lifecycle-992x37hq.js → skill-9etm08e8.js} +2 -2
- package/dist/chunks/{location-lifecycle-g13qewtb.js → skill-9mpf12xv.js} +6 -6
- package/dist/chunks/{location-lifecycle-413e5bjn.js → skill-9w36kdqj.js} +30 -30
- package/dist/chunks/{location-lifecycle-pzwcb5qk.js → skill-9wck53cd.js} +16 -16
- package/dist/chunks/{location-lifecycle-wag9xyar.js → skill-9wn9b57t.js} +5 -5
- package/dist/chunks/{location-lifecycle-fbyakzmk.js → skill-9zgjf50m.js} +185 -185
- package/dist/chunks/{location-lifecycle-4ek3z2qp.js → skill-a4cqfe3h.js} +12 -12
- package/dist/chunks/{location-lifecycle-5568dj31.js → skill-a78hr7yt.js} +11 -11
- package/dist/chunks/{location-lifecycle-tmjxyh9r.js → skill-a92dmqhy.js} +6 -6
- package/dist/chunks/{location-lifecycle-9nj2740a.js → skill-a9b9gd9t.js} +10 -10
- package/dist/chunks/{location-lifecycle-qzzf3e3r.js → skill-afeb4rgf.js} +19 -19
- package/dist/chunks/{location-lifecycle-e1ranap3.js → skill-ajncej77.js} +1 -1
- package/dist/chunks/{location-lifecycle-gvn0qkq4.js → skill-ajygxxmq.js} +15 -15
- package/dist/chunks/{location-lifecycle-qqp4xta8.js → skill-avesyp7a.js} +17 -17
- package/dist/chunks/{location-lifecycle-sxxsahz6.js → skill-avzzjsq4.js} +7 -7
- package/dist/chunks/skill-axfnrvhr.js +261 -0
- package/dist/chunks/{location-lifecycle-ayjs7tqn.js → skill-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-lifecycle-b0mv4wxm.js → skill-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-lifecycle-t2w38zde.js → skill-b333880x.js} +27 -27
- package/dist/chunks/{location-lifecycle-5nnwax6m.js → skill-b6vsg801.js} +5 -5
- package/dist/chunks/{location-lifecycle-c2gy53he.js → skill-ba7dfhfp.js} +8 -8
- package/dist/chunks/{location-lifecycle-x17ah571.js → skill-bhfgb36z.js} +25 -25
- package/dist/chunks/{location-lifecycle-snx5yfz7.js → skill-bmjgccg8.js} +12 -12
- package/dist/chunks/{location-lifecycle-ygjypke9.js → skill-bs8kzehq.js} +20 -20
- package/dist/chunks/{location-lifecycle-xd9cc171.js → skill-bstexjd6.js} +5 -5
- package/dist/chunks/{location-lifecycle-wnz1azms.js → skill-bz8b4c6r.js} +4 -4
- package/dist/chunks/skill-c3wtnm2w.js +517 -0
- package/dist/chunks/{location-lifecycle-9805fe88.js → skill-c4gxyfvh.js} +6 -6
- package/dist/chunks/{location-lifecycle-qns03ea0.js → skill-cd8a27jh.js} +32 -32
- package/dist/chunks/{location-lifecycle-hgdppmnw.js → skill-cdzgrgbz.js} +12 -12
- package/dist/chunks/{location-lifecycle-9nkjg9qd.js → skill-ceq6pwch.js} +6 -6
- package/dist/chunks/{location-lifecycle-742ze767.js → skill-cmf65zxm.js} +23 -23
- package/dist/chunks/{location-lifecycle-nfepp5zp.js → skill-cmn63q56.js} +15 -15
- package/dist/chunks/{location-lifecycle-e2tba9md.js → skill-ctxfjdfm.js} +17 -17
- package/dist/chunks/{location-lifecycle-4agfam69.js → skill-d124qykh.js} +31 -31
- package/dist/chunks/{location-lifecycle-d4v9tmah.js → skill-d4v9tmah.js} +2 -2
- package/dist/chunks/skill-d77dj7jw.js +18 -0
- package/dist/chunks/{location-lifecycle-djjzzs3c.js → skill-djjzzs3c.js} +3 -3
- package/dist/chunks/{location-lifecycle-yx7j83gx.js → skill-dmhr0cwa.js} +6 -6
- package/dist/chunks/{location-lifecycle-mvsbfcth.js → skill-dq4yndb5.js} +3 -3
- package/dist/chunks/{location-lifecycle-s4bgcgc7.js → skill-dvqxp2fr.js} +38 -38
- package/dist/chunks/{location-lifecycle-e834z07m.js → skill-e834z07m.js} +1 -1
- package/dist/chunks/{location-lifecycle-36s4rh9q.js → skill-edr0v86s.js} +11 -11
- package/dist/chunks/{location-lifecycle-q8h1f998.js → skill-ep701ytr.js} +18 -18
- package/dist/chunks/{location-lifecycle-9yc96src.js → skill-er1g1bvg.js} +41 -41
- package/dist/chunks/{location-lifecycle-c7p956y6.js → skill-ercd8kmt.js} +23 -23
- package/dist/chunks/{location-lifecycle-dxykbx1a.js → skill-f0h0qhsv.js} +20 -20
- package/dist/chunks/{location-lifecycle-eq1akb9r.js → skill-fbbj2f9m.js} +24 -24
- package/dist/chunks/{location-lifecycle-9cfxjga2.js → skill-feqd3nyp.js} +4 -4
- package/dist/chunks/{location-lifecycle-fffv3p7h.js → skill-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-lifecycle-3njh67zs.js → skill-fg74as85.js} +19 -19
- package/dist/chunks/{location-lifecycle-57t85xsq.js → skill-fj5727b0.js} +17 -17
- package/dist/chunks/{location-lifecycle-7a8d5kd0.js → skill-ftegdgb6.js} +5 -5
- package/dist/chunks/{location-lifecycle-zfyb5tr4.js → skill-g1e2r5aa.js} +4 -4
- package/dist/chunks/{location-lifecycle-g5h9c0rr.js → skill-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-lifecycle-ng4qg3fx.js → skill-g8dsp257.js} +45 -45
- package/dist/chunks/{location-lifecycle-rjnacbrz.js → skill-gcjdgkn2.js} +9 -9
- package/dist/chunks/{location-lifecycle-67q39sdk.js → skill-gfjrd4e2.js} +29 -29
- package/dist/chunks/{location-lifecycle-wwfabvmy.js → skill-ghmsr1ac.js} +10 -10
- package/dist/chunks/{location-lifecycle-z2kpe0d7.js → skill-gt561mjr.js} +2 -2
- package/dist/chunks/{location-lifecycle-vycsk1c7.js → skill-h097nhc1.js} +8 -8
- package/dist/chunks/{location-lifecycle-1fgt88qx.js → skill-h8crf5kq.js} +27 -27
- package/dist/chunks/{location-lifecycle-8j8x0ypw.js → skill-h9re2tn8.js} +9 -9
- package/dist/chunks/{location-lifecycle-tq8vqm91.js → skill-hbqckzs6.js} +12 -12
- package/dist/chunks/{location-lifecycle-hdfrs5mg.js → skill-hdfrs5mg.js} +2 -2
- package/dist/chunks/{location-lifecycle-hfgk9wzg.js → skill-hfgk9wzg.js} +1 -1
- package/dist/chunks/{location-lifecycle-ec9v8bzb.js → skill-hkfq79xc.js} +18 -18
- package/dist/chunks/{location-lifecycle-t0vb5p66.js → skill-hnpjybsn.js} +12 -12
- package/dist/chunks/{location-lifecycle-3edhnm16.js → skill-hqd3zsvt.js} +18 -18
- package/dist/chunks/{location-lifecycle-t4wqpqs4.js → skill-hre0n7rd.js} +30 -30
- package/dist/chunks/{location-lifecycle-a0et8sps.js → skill-hwypf69j.js} +32 -32
- package/dist/chunks/{location-lifecycle-3eeark8j.js → skill-j0wdjrjq.js} +33 -33
- package/dist/chunks/{location-lifecycle-j113cymg.js → skill-j113cymg.js} +1 -1
- package/dist/chunks/{location-lifecycle-6p5kxrcn.js → skill-j577xwbf.js} +11 -11
- package/dist/chunks/{location-lifecycle-p0d4rfr5.js → skill-j5hd8hn7.js} +5 -5
- package/dist/chunks/{location-lifecycle-kprb24q4.js → skill-jg1m0r49.js} +35 -35
- package/dist/chunks/{location-lifecycle-a68j5p6f.js → skill-jw5j4v0h.js} +9 -9
- package/dist/chunks/{location-lifecycle-dnw0rj89.js → skill-k1x3cnpd.js} +9 -9
- package/dist/chunks/{location-lifecycle-qj1q6p4a.js → skill-k2mww7e3.js} +21 -21
- package/dist/chunks/{location-lifecycle-gj025hnp.js → skill-k62cyg57.js} +9 -9
- package/dist/chunks/{location-lifecycle-k814nvkf.js → skill-k814nvkf.js} +1 -1
- package/dist/chunks/{location-lifecycle-3d32z0b5.js → skill-k88b30qa.js} +5 -5
- package/dist/chunks/{location-lifecycle-dws4rekc.js → skill-kfy4zy3j.js} +11 -11
- package/dist/chunks/{location-lifecycle-8pn39epj.js → skill-kg86qhz3.js} +26 -26
- package/dist/chunks/{location-lifecycle-snahbe28.js → skill-kgex5j78.js} +11 -11
- package/dist/chunks/{location-lifecycle-y01veweq.js → skill-khgjxzfs.js} +7 -7
- package/dist/chunks/{location-lifecycle-5kbev7nh.js → skill-kkew1p9e.js} +6 -6
- package/dist/chunks/{location-lifecycle-2zp2gb6m.js → skill-kmhnqez1.js} +30 -30
- package/dist/chunks/{location-lifecycle-kt3bjfbg.js → skill-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-lifecycle-8q3v088a.js → skill-kx5dznpq.js} +21 -21
- package/dist/chunks/{location-lifecycle-m1714858.js → skill-m1714858.js} +1 -1
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-m5apnkkj.js → skill-mabn13q5.js} +6 -6
- package/dist/chunks/{location-lifecycle-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{location-lifecycle-avysa06y.js → skill-mck06rjh.js} +20 -20
- package/dist/chunks/{location-lifecycle-9ytkwk8q.js → skill-mfpkpefx.js} +9 -9
- package/dist/chunks/{location-lifecycle-y5q36pfq.js → skill-my6dh6dm.js} +4 -4
- package/dist/chunks/{location-lifecycle-h5qan5zz.js → skill-mzyv1r8q.js} +8 -8
- package/dist/chunks/{location-lifecycle-50ecpaw5.js → skill-n4sq8h3f.js} +11 -11
- package/dist/chunks/{location-lifecycle-kac0vvew.js → skill-n4ygatty.js} +11 -11
- package/dist/chunks/{location-lifecycle-c3qftb49.js → skill-nfbensgb.js} +11 -11
- package/dist/chunks/{location-lifecycle-ypzswc5a.js → skill-njtpn054.js} +21 -21
- package/dist/chunks/{location-lifecycle-6t633b8k.js → skill-nkj7ejgf.js} +8 -8
- package/dist/chunks/{location-lifecycle-xb278pxb.js → skill-npkxyn8y.js} +31 -31
- package/dist/chunks/{location-lifecycle-d963e9nv.js → skill-nxy7se6b.js} +4 -4
- package/dist/chunks/{location-lifecycle-fmg054cs.js → skill-nyzgr9mz.js} +3 -3
- package/dist/chunks/{location-lifecycle-p015t6z3.js → skill-p015t6z3.js} +2 -2
- package/dist/chunks/{location-lifecycle-anfwg7gt.js → skill-p0n3fcv8.js} +11 -11
- package/dist/chunks/{location-lifecycle-engkm2d6.js → skill-p3p972wa.js} +5 -5
- package/dist/chunks/{location-lifecycle-drvbhkez.js → skill-p7f9amnf.js} +6 -6
- package/dist/chunks/{location-lifecycle-5d7xngw8.js → skill-p82tt7j1.js} +13 -13
- package/dist/chunks/{location-lifecycle-x87bzsmd.js → skill-pa0dea9e.js} +17 -17
- package/dist/chunks/{location-lifecycle-hfzr0j9k.js → skill-pacbbjc0.js} +7 -7
- package/dist/chunks/{location-lifecycle-a41ejy6z.js → skill-pfw200mj.js} +4 -4
- package/dist/chunks/{location-lifecycle-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-7shxwfzw.js → skill-ppmh5vyf.js} +35 -35
- package/dist/chunks/{location-lifecycle-t3fc188m.js → skill-prg65b25.js} +19 -19
- package/dist/chunks/{location-lifecycle-ptb0zbfq.js → skill-ps0mkw1v.js} +18 -18
- package/dist/chunks/{location-lifecycle-rmt5ct6z.js → skill-q0phr7xp.js} +21 -21
- package/dist/chunks/{location-lifecycle-xd6kzcb0.js → skill-q2b8kbm5.js} +15 -15
- package/dist/chunks/{location-lifecycle-157ttsdx.js → skill-qjsrg47w.js} +50 -50
- package/dist/chunks/{location-lifecycle-1kpwb10n.js → skill-qnw5bx26.js} +35 -35
- package/dist/chunks/{location-lifecycle-rz88mfas.js → skill-qsgzt8d8.js} +43 -43
- package/dist/chunks/{location-lifecycle-qyq8h28g.js → skill-qyq8h28g.js} +1 -1
- package/dist/chunks/{location-lifecycle-r0yr0wbs.js → skill-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-lifecycle-r542h3bh.js → skill-r542h3bh.js} +1 -1
- package/dist/chunks/{location-lifecycle-51f8x9pa.js → skill-r8hzrbfh.js} +16 -16
- package/dist/chunks/{location-lifecycle-09r18skv.js → skill-r971kbe0.js} +23 -23
- package/dist/chunks/{location-lifecycle-4hm1p6t4.js → skill-rah08q8j.js} +23 -23
- package/dist/chunks/{location-lifecycle-rb9dy4dg.js → skill-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-lifecycle-t046hrcv.js → skill-rm2t5ma7.js} +11 -11
- package/dist/chunks/{location-lifecycle-rt5dr6hb.js → skill-rt5dr6hb.js} +1 -1
- package/dist/chunks/skill-rvejayd9.js +26 -0
- package/dist/chunks/{location-lifecycle-7vchxsnv.js → skill-rvhc0q80.js} +7 -7
- package/dist/chunks/{location-lifecycle-aw0rdgjt.js → skill-ry0m9tn2.js} +11 -11
- package/dist/chunks/{location-lifecycle-jg3yeysd.js → skill-s6f1tzs1.js} +13 -13
- package/dist/chunks/{location-lifecycle-sa3fpqfw.js → skill-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-lifecycle-ps1n2edm.js → skill-savsbs8r.js} +32 -32
- package/dist/chunks/{location-lifecycle-njtsvrb4.js → skill-sj9vbdm2.js} +9 -9
- package/dist/chunks/{location-lifecycle-3c1pnkk3.js → skill-skm03efc.js} +8 -8
- package/dist/chunks/{location-lifecycle-bsr5npnb.js → skill-sm1y76r2.js} +3 -3
- package/dist/chunks/{location-lifecycle-sqjzf8x2.js → skill-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-lifecycle-ssfehs1z.js → skill-ssfehs1z.js} +1 -1
- package/dist/chunks/{location-lifecycle-g5s4yfa7.js → skill-svmpqen7.js} +11 -11
- package/dist/chunks/{location-lifecycle-7xg2jm5b.js → skill-szcgc7h4.js} +5 -5
- package/dist/chunks/{location-lifecycle-rvqj7kwa.js → skill-szcvdtb1.js} +15 -15
- package/dist/chunks/{location-lifecycle-wtgq8nqm.js → skill-t211gxpv.js} +7 -7
- package/dist/chunks/{location-lifecycle-aa6rhnpe.js → skill-t7ch0rgv.js} +21 -21
- package/dist/chunks/{location-lifecycle-apcraaat.js → skill-ta7416gx.js} +16 -16
- package/dist/chunks/{location-lifecycle-tczq8hjw.js → skill-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-lifecycle-32xj0qwx.js → skill-ted04mbz.js} +13 -13
- package/dist/chunks/{location-lifecycle-5ecqqef8.js → skill-tfkn5990.js} +40 -40
- package/dist/chunks/{location-lifecycle-b6n7nw5p.js → skill-tg7v3kdh.js} +21 -21
- package/dist/chunks/{location-lifecycle-32s59e8p.js → skill-tpm1qpxt.js} +9 -9
- package/dist/chunks/{location-lifecycle-twv2r8f4.js → skill-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-lifecycle-e870b599.js → skill-txy76bqw.js} +3 -3
- package/dist/chunks/{location-lifecycle-gbed8n64.js → skill-ty59g5hq.js} +4 -4
- package/dist/chunks/{location-lifecycle-rcb6y6qt.js → skill-ty9tdn63.js} +2 -2
- package/dist/chunks/{location-lifecycle-vpgtgc27.js → skill-v1dcgevh.js} +4 -4
- package/dist/chunks/{location-lifecycle-v2r1d0zg.js → skill-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-lifecycle-vd3b3yk9.js → skill-vd3b3yk9.js} +1 -1
- package/dist/chunks/{location-lifecycle-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-gcs60vk9.js → skill-vnm637sj.js} +30 -30
- package/dist/chunks/{location-lifecycle-88j2ywh2.js → skill-vp04qmca.js} +19 -19
- package/dist/chunks/{location-lifecycle-qvr2rrtk.js → skill-vrhfh655.js} +23 -23
- package/dist/chunks/{location-lifecycle-da7xvg6p.js → skill-vsvv2e2n.js} +18 -18
- package/dist/chunks/{location-lifecycle-7yect7x1.js → skill-vwvg46tm.js} +2 -2
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-fznmdakp.js → skill-w687dnns.js} +4 -4
- package/dist/chunks/{location-lifecycle-wakvkjy4.js → skill-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-lifecycle-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-b7w6s8p5.js → skill-wepwhyhm.js} +7 -7
- package/dist/chunks/{location-lifecycle-nkpwy2rp.js → skill-wes5520y.js} +11 -11
- package/dist/chunks/{location-lifecycle-b00nmbcn.js → skill-wggz5dcx.js} +6 -6
- package/dist/chunks/{location-lifecycle-9scg20h1.js → skill-x78ehrnn.js} +16 -16
- package/dist/chunks/{location-lifecycle-m48kphhn.js → skill-x9sp13q1.js} +4 -4
- package/dist/chunks/{location-lifecycle-6qg9c6q0.js → skill-xgwp5qw1.js} +1 -1
- package/dist/chunks/{location-lifecycle-zj2xjtpe.js → skill-xmeg9r5c.js} +38 -38
- package/dist/chunks/{location-lifecycle-a08db8pb.js → skill-xs87h7sc.js} +18 -18
- package/dist/chunks/{location-lifecycle-fwp9mfc9.js → skill-xsact9zs.js} +4 -4
- package/dist/chunks/{location-lifecycle-0vyc9x74.js → skill-y455aja3.js} +52 -52
- package/dist/chunks/{location-lifecycle-9ebynfn0.js → skill-y8dcjgfv.js} +22 -22
- package/dist/chunks/{location-lifecycle-bbbezdga.js → skill-yavw29v2.js} +20 -20
- package/dist/chunks/{location-lifecycle-yb20nhc3.js → skill-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-ms60x9fc.js → skill-z0db4kf0.js} +43 -43
- package/dist/chunks/{location-lifecycle-z38nccrw.js → skill-z38nccrw.js} +1 -1
- package/dist/chunks/{location-lifecycle-eyvjr0jg.js → skill-z8ytgzmn.js} +26 -26
- package/dist/chunks/{location-lifecycle-phdfpjbh.js → skill-zbz46kc9.js} +7 -7
- package/dist/chunks/{location-lifecycle-mjhp71bb.js → skill-zg6f644q.js} +45 -45
- package/dist/chunks/{location-lifecycle-zkg84ctx.js → skill-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-lifecycle-nz3pz1tw.js → skill-zsmny15c.js} +81 -81
- package/dist/chunks/{location-lifecycle-te1haqs4.js → skill-zswh72fp.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +5 -5
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- 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 +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +90 -90
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +105 -105
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- 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 +96 -96
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +367 -367
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev.js +112 -112
- 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 +114 -114
- 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 +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode-legacy.js +103 -103
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +223 -223
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- 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 +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +119 -119
- package/dist/snapshot.js +98 -98
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +125 -125
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +107 -107
- 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 +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +97 -97
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- 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 +94 -94
- package/dist/worktree.js +105 -105
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-8414x7my.js +0 -261
- package/dist/chunks/location-lifecycle-dr1hh12s.js +0 -517
- package/dist/chunks/location-lifecycle-gqxtb57b.js +0 -26
- package/dist/chunks/location-lifecycle-me0dhgxs.js +0 -18
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5fjb7ams.js → skill-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a058387c.js → skill-a058387c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cqv5kn06.js → skill-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwr30sdr.js → skill-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-rvhc0q80.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-p3p972wa.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-txy76bqw.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-bz8b4c6r.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-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: () => Event15,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID10,
|
|
26
|
+
Info: () => Info22,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service71,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node75
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
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
|
-
var
|
|
39
|
+
var ID10 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
|
-
var
|
|
41
|
+
var Key3 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event15 = Credential.Event;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info22 extends Schema.Class("Credential.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
57
57
|
const db = (yield* Service87).db;
|
|
58
58
|
const bus = yield* Service86;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
62
62
|
return;
|
|
63
|
-
return new
|
|
63
|
+
return new Info22({
|
|
64
64
|
id: row.id,
|
|
65
65
|
integrationID: row.integration_id,
|
|
66
66
|
label: row.label,
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service71.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
79
79
|
return row ? stored(row) : undefined;
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
|
-
const credential = new
|
|
83
|
-
id: input.id ??
|
|
82
|
+
const credential = new Info22({
|
|
83
|
+
id: input.id ?? ID10.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node91, node90] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID10, OAuth3, Key3, External2, Value2, Event15, Info22, Service71, node75, exports_credential };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service73,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node77,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service73 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service73.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node77 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options8, Service73, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured11, node77, exports_select };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-gt561mjr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./skill-cmn63q56.js";
|
|
10
10
|
import {
|
|
11
11
|
Service7
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-17b5xsvs.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-zkg84ctx.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./skill-fg74as85.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input13,
|
|
35
|
+
Plugin: () => Plugin31,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name13,
|
|
38
|
+
toModelContent: () => toModelContent6
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name13 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input13 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin31 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
60
|
+
const reader = yield* Service32;
|
|
61
|
+
const access = yield* Service14;
|
|
62
62
|
const sessionInstructions = yield* Service7;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
64
|
const location = yield* Service83;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name13,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input13,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin25 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent6 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name13, Input13, Plugin31, toModelContent6, exports_read };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-gt561mjr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service38,
|
|
12
|
+
node41
|
|
13
|
+
} from "./skill-t7ch0rgv.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event5,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
33
|
NotFoundError: () => NotFoundError5,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service37,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node40
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event5 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service37 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service37, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
101
|
const location = yield* Service83;
|
|
102
|
-
const search = yield*
|
|
102
|
+
const search = yield* Service38;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -118,7 +118,7 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
118
118
|
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node40 = makeLocationNode({
|
|
162
|
+
service: Service37,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node, node87,
|
|
164
|
+
deps: [FSUtil.node, node87, node41]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service37, node40, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-8whp40kv.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer6,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer6, exports_unavailable };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./skill-54pbqzcr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./skill-7ete3fjn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
@@ -24,8 +24,8 @@ var Plugin41 = define({
|
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service55;
|
|
28
|
+
const mcp = yield* Service33;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./skill-54pbqzcr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./skill-kg86qhz3.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin39
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin39 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service55;
|
|
27
|
+
const snapshot = yield* Service40;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin46 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin39, exports_snapshot };
|