@opencode/core 0.0.0-dev-21627 → 0.0.0-dev-21631
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +3 -3
- package/dist/bus.js +71 -71
- package/dist/chunks/{skill-0pka27f2.js → workspace-02ggbb5g.js} +23 -23
- package/dist/chunks/{skill-034tev2y.js → workspace-034tev2y.js} +2 -2
- package/dist/chunks/{skill-qxjfezhp.js → workspace-067bn7k9.js} +18 -18
- package/dist/chunks/{skill-2pezzwrh.js → workspace-0x14psyd.js} +45 -45
- package/dist/chunks/{skill-ezt545vn.js → workspace-0ygh9k6m.js} +23 -23
- package/dist/chunks/{skill-r099y4ps.js → workspace-0zcnfd18.js} +11 -11
- package/dist/chunks/{skill-9117k7f0.js → workspace-0zwx71ns.js} +24 -24
- package/dist/chunks/{skill-947mv770.js → workspace-10nvmenf.js} +26 -26
- package/dist/chunks/{skill-p3f7fjvj.js → workspace-1216qybz.js} +34 -34
- package/dist/chunks/{skill-1ep2p91f.js → workspace-1ep2p91f.js} +2 -2
- package/dist/chunks/{skill-7nah7t9t.js → workspace-1pzczgek.js} +4 -4
- package/dist/chunks/{skill-zppspqcz.js → workspace-1vf54b5a.js} +25 -25
- package/dist/chunks/{skill-kkqv5r1r.js → workspace-1vwr1yzz.js} +13 -13
- package/dist/chunks/{skill-q4cbq1f3.js → workspace-1wct354y.js} +14 -14
- package/dist/chunks/{skill-1x2knyw4.js → workspace-1x2knyw4.js} +1 -1
- package/dist/chunks/{skill-sqhhj1qv.js → workspace-1xvjm3kc.js} +15 -15
- package/dist/chunks/{skill-w5atrptj.js → workspace-1y0wdj51.js} +4 -4
- package/dist/chunks/{skill-wra3v8a2.js → workspace-22yhmnjg.js} +11 -11
- package/dist/chunks/{skill-8yckwdq4.js → workspace-2g8e9hha.js} +6 -6
- package/dist/chunks/{skill-x2m3ym70.js → workspace-2hntn1k8.js} +12 -12
- package/dist/chunks/{skill-mfjzh9b6.js → workspace-2hxpq778.js} +7 -7
- package/dist/chunks/{skill-j2vwh3c9.js → workspace-2jq4ff38.js} +7 -7
- package/dist/chunks/{skill-p0p2bbym.js → workspace-2xea8x11.js} +16 -16
- package/dist/chunks/{skill-2z1j29yd.js → workspace-2z1j29yd.js} +1 -1
- package/dist/chunks/{skill-4xka9byx.js → workspace-32mwzrrd.js} +13 -13
- package/dist/chunks/{skill-jdxkdes2.js → workspace-38vyv955.js} +5 -5
- package/dist/chunks/{skill-c3cfh5w6.js → workspace-3bnf6a24.js} +9 -9
- package/dist/chunks/{skill-4n7cd8yq.js → workspace-3ge5rx21.js} +11 -11
- package/dist/chunks/{skill-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-qhh97q7n.js → workspace-3k5f8s26.js} +4 -4
- package/dist/chunks/{skill-7xg2jm5b.js → workspace-3kdbrncp.js} +5 -5
- package/dist/chunks/{skill-ydd7qh3d.js → workspace-3nh05435.js} +1 -1
- package/dist/chunks/{skill-zbzk5m8v.js → workspace-3paf0x2w.js} +20 -20
- package/dist/chunks/{skill-ywhvh3nf.js → workspace-3wmzcy16.js} +1 -1
- package/dist/chunks/{skill-z6wcwh0g.js → workspace-3z36edkt.js} +8 -8
- package/dist/chunks/{skill-995pze1t.js → workspace-48qd1d8y.js} +10 -10
- package/dist/chunks/{skill-e363apy6.js → workspace-4hhqfxrb.js} +18 -18
- package/dist/chunks/{skill-sg2n1ckc.js → workspace-4hrd0f0s.js} +186 -186
- package/dist/chunks/{skill-xvvqj25y.js → workspace-4rk46c4y.js} +23 -23
- package/dist/chunks/{skill-q1x9f9ek.js → workspace-4txypjtm.js} +42 -42
- package/dist/chunks/{skill-4v008n1t.js → workspace-4v008n1t.js} +1 -1
- package/dist/chunks/{skill-4xvmh7wp.js → workspace-4xvmh7wp.js} +3 -3
- package/dist/chunks/{skill-t4gamwwa.js → workspace-4z3n7x5k.js} +3 -3
- package/dist/chunks/{skill-zqxcdq1j.js → workspace-5083qcyj.js} +32 -32
- package/dist/chunks/{skill-h3fx1d97.js → workspace-5445pja8.js} +26 -26
- package/dist/chunks/{skill-askxfvj1.js → workspace-57zfgywe.js} +18 -18
- package/dist/chunks/{skill-4khbqer1.js → workspace-59rjxnhk.js} +11 -11
- package/dist/chunks/{skill-k1cs6ggx.js → workspace-5agv5pnb.js} +9 -9
- package/dist/chunks/{skill-033a0jkt.js → workspace-5crety7g.js} +3 -3
- package/dist/chunks/{skill-56p8xrn7.js → workspace-5f9y7f7a.js} +9 -9
- package/dist/chunks/{skill-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-nv8msw9v.js → workspace-5pk0xbgp.js} +27 -27
- package/dist/chunks/{skill-f5v2qazg.js → workspace-5qjar1cd.js} +5 -5
- package/dist/chunks/{skill-b2yndca3.js → workspace-5w9qrcma.js} +14 -14
- package/dist/chunks/{skill-6744j87g.js → workspace-66c7hxbd.js} +18 -18
- package/dist/chunks/{skill-nk7c66w4.js → workspace-6c1s406r.js} +6 -6
- package/dist/chunks/{skill-6esdw8yj.js → workspace-6esdw8yj.js} +1 -1
- package/dist/chunks/{skill-6pjqjmy2.js → workspace-6pjqjmy2.js} +1 -1
- package/dist/chunks/{skill-8eydac1t.js → workspace-6qbtkmgq.js} +18 -18
- package/dist/chunks/{skill-qk4mejn3.js → workspace-6qjs3j48.js} +22 -22
- package/dist/chunks/{skill-4cnamn5s.js → workspace-6wx80czs.js} +19 -19
- package/dist/chunks/{skill-mdtem3ya.js → workspace-75cp5h68.js} +26 -26
- package/dist/chunks/{skill-dkh3sd83.js → workspace-75sznh19.js} +18 -18
- package/dist/chunks/{skill-w8qtt4th.js → workspace-76cb1hcw.js} +4 -4
- package/dist/chunks/{skill-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-szdapffa.js → workspace-7en38gq0.js} +14 -14
- package/dist/chunks/{skill-kc5yzw46.js → workspace-7j753ka9.js} +21 -21
- package/dist/chunks/{skill-p98r05e1.js → workspace-7scgcvrf.js} +13 -13
- package/dist/chunks/{skill-4sw0ejyy.js → workspace-7vpzw89w.js} +21 -21
- package/dist/chunks/{skill-7w2ypzdf.js → workspace-7w2ypzdf.js} +1 -1
- package/dist/chunks/{skill-ptntwbsm.js → workspace-811sm8q5.js} +11 -11
- package/dist/chunks/{skill-8wtp7s3z.js → workspace-8wtp7s3z.js} +1 -1
- package/dist/chunks/{skill-2sevv1cv.js → workspace-8xgvjc3j.js} +24 -24
- package/dist/chunks/{skill-m2pmbc66.js → workspace-8y2wmcqs.js} +22 -22
- package/dist/chunks/{skill-91rj84md.js → workspace-91rj84md.js} +1 -1
- package/dist/chunks/{skill-998yhzzq.js → workspace-998yhzzq.js} +3 -3
- package/dist/chunks/{skill-n5jmjs6e.js → workspace-9ahp1agz.js} +6 -6
- package/dist/chunks/{skill-6rtsmxgw.js → workspace-9djkex7c.js} +8 -8
- package/dist/chunks/{skill-0ear39jp.js → workspace-9jh1w38s.js} +11 -11
- package/dist/chunks/{skill-b8aj1gka.js → workspace-9qg9bmww.js} +3 -3
- package/dist/chunks/{skill-y00x4xpa.js → workspace-9tvpxs1q.js} +4 -4
- package/dist/chunks/{skill-t0ps8kqa.js → workspace-9y24x8tm.js} +5 -5
- package/dist/chunks/{skill-541q9sgv.js → workspace-a710j6jq.js} +17 -17
- package/dist/chunks/{skill-re7pnx8q.js → workspace-a7hcemwv.js} +8 -8
- package/dist/chunks/{skill-gq5zf4rk.js → workspace-actym6sp.js} +8 -8
- package/dist/chunks/{skill-6tyymnfj.js → workspace-af16rb46.js} +4 -4
- package/dist/chunks/{skill-sy39gw44.js → workspace-amv93mrg.js} +14 -14
- package/dist/chunks/{skill-kqd0gnmf.js → workspace-as4kdtne.js} +5 -5
- package/dist/chunks/{skill-gnqx4evg.js → workspace-at43vtwn.js} +12 -12
- package/dist/chunks/{skill-2ymx4vhd.js → workspace-avpraz00.js} +42 -42
- package/dist/chunks/{skill-mv23gc4q.js → workspace-ay6kp039.js} +4 -4
- package/dist/chunks/{skill-ayjs7tqn.js → workspace-ayjs7tqn.js} +2 -2
- package/dist/chunks/{skill-b0mv4wxm.js → workspace-b0mv4wxm.js} +2 -2
- package/dist/chunks/{skill-b9krpbd6.js → workspace-b6ejp4av.js} +36 -36
- package/dist/chunks/{skill-b6vsg801.js → workspace-b6vsg801.js} +2 -2
- package/dist/chunks/{skill-0gbb59p9.js → workspace-bqwdyg2t.js} +9 -9
- package/dist/chunks/{skill-jgrb82h0.js → workspace-bx934t5c.js} +12 -12
- package/dist/chunks/{skill-tvq7tfyj.js → workspace-c80g5ddr.js} +17 -17
- package/dist/chunks/{skill-mtkfycnh.js → workspace-c9t2ty9q.js} +4 -4
- package/dist/chunks/{skill-fggb9rqk.js → workspace-cjkc2yd9.js} +23 -23
- package/dist/chunks/{skill-ey1h224v.js → workspace-cq3z49j9.js} +32 -32
- package/dist/chunks/workspace-csdtf696.js +26 -0
- package/dist/chunks/{skill-5g4qfy9z.js → workspace-ctyy7ctv.js} +7 -7
- package/dist/chunks/{skill-n4d89nwx.js → workspace-cwyfam04.js} +4 -4
- package/dist/chunks/{skill-77wj5rxd.js → workspace-d01ndws9.js} +43 -43
- package/dist/chunks/{skill-20nwq5j7.js → workspace-d1bhb9nv.js} +10 -10
- package/dist/chunks/{skill-d4v9tmah.js → workspace-d4v9tmah.js} +2 -2
- package/dist/chunks/{skill-a7nacxy4.js → workspace-d5agj1pv.js} +34 -34
- package/dist/chunks/{skill-d099br6m.js → workspace-d8wk2jpt.js} +56 -56
- package/dist/chunks/{skill-wgr7v8zv.js → workspace-dcdr9dg7.js} +11 -11
- package/dist/chunks/{skill-7rsf47sr.js → workspace-dhjhcs6c.js} +4 -4
- package/dist/chunks/{skill-w7m0wg7t.js → workspace-dhndgb5g.js} +5 -5
- package/dist/chunks/{skill-dk5xnaxx.js → workspace-dk5xnaxx.js} +4 -4
- package/dist/chunks/{skill-dtqb72qn.js → workspace-e1my15k2.js} +32 -32
- package/dist/chunks/{skill-h9gzr82a.js → workspace-e48jzpsf.js} +18 -18
- package/dist/chunks/{skill-mavaka8q.js → workspace-e5fabfm1.js} +15 -15
- package/dist/chunks/{skill-zrhtt4mx.js → workspace-e6xa1h83.js} +16 -16
- package/dist/chunks/{skill-e834z07m.js → workspace-e834z07m.js} +1 -1
- package/dist/chunks/{skill-69y86gwn.js → workspace-edxck1ff.js} +32 -32
- package/dist/chunks/{skill-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-zprncdek.js → workspace-ep3cfgsw.js} +4 -4
- package/dist/chunks/{skill-953xbrr3.js → workspace-eq3fc1qc.js} +5 -5
- package/dist/chunks/{skill-48d7svjz.js → workspace-esf33pnx.js} +20 -20
- package/dist/chunks/{skill-chqd8knq.js → workspace-esgjzs5t.js} +21 -21
- package/dist/chunks/{skill-g0m3q5v4.js → workspace-ey8jy4js.js} +25 -25
- package/dist/chunks/{skill-jjz7fg58.js → workspace-eyamc8wk.js} +15 -15
- package/dist/chunks/{skill-91wcfwek.js → workspace-f2zvcq77.js} +21 -21
- package/dist/chunks/{skill-2xjafy0r.js → workspace-f5wtb4x0.js} +11 -11
- package/dist/chunks/{skill-sx2sqvt0.js → workspace-fbjqxkhq.js} +8 -8
- package/dist/chunks/{skill-fffv3p7h.js → workspace-fffv3p7h.js} +1 -1
- package/dist/chunks/{skill-z75bx9qd.js → workspace-fg9knja8.js} +4 -4
- package/dist/chunks/{skill-1ptn6vpt.js → workspace-fk80w04t.js} +36 -36
- package/dist/chunks/{skill-3yypt6ts.js → workspace-fkjz51h9.js} +46 -46
- package/dist/chunks/{skill-z2dsbwwc.js → workspace-fy7vwem6.js} +10 -10
- package/dist/chunks/{skill-g5h9c0rr.js → workspace-g5h9c0rr.js} +2 -2
- package/dist/chunks/{skill-vmfhgzt5.js → workspace-g7esga4v.js} +5 -5
- package/dist/chunks/{skill-8nsf2vhk.js → workspace-gc7zkq2j.js} +15 -15
- package/dist/chunks/{skill-gcjdgkn2.js → workspace-gcjdgkn2.js} +2 -2
- package/dist/chunks/{skill-0j3s3y6t.js → workspace-gcs2fc5m.js} +16 -16
- package/dist/chunks/{skill-sv3xprza.js → workspace-geys63pa.js} +21 -21
- package/dist/chunks/{skill-4ja6gwqf.js → workspace-gjzbapea.js} +4 -4
- package/dist/chunks/{skill-rj6ntzat.js → workspace-gmkqkmgg.js} +13 -13
- package/dist/chunks/{skill-3cfjhtxf.js → workspace-gnqppa8v.js} +33 -33
- package/dist/chunks/{skill-3rq5cxhd.js → workspace-gphf8qkn.js} +17 -17
- package/dist/chunks/{skill-0n8a0ffz.js → workspace-gpnxvr2a.js} +6 -6
- package/dist/chunks/{skill-ksp3s1z3.js → workspace-gq1ys0xw.js} +337 -337
- package/dist/chunks/{skill-2b09h5hh.js → workspace-gxhbx1gv.js} +37 -37
- package/dist/chunks/{skill-gekxv19v.js → workspace-hr99w7g5.js} +17 -17
- package/dist/chunks/{skill-vx3jgdek.js → workspace-hzrfc1p4.js} +3 -3
- package/dist/chunks/{skill-j113cymg.js → workspace-j113cymg.js} +1 -1
- package/dist/chunks/{skill-jchrqzf6.js → workspace-jchrqzf6.js} +1 -1
- package/dist/chunks/{skill-85svaqfh.js → workspace-jf7rv2bq.js} +16 -16
- package/dist/chunks/{skill-1m784x5w.js → workspace-jhx8zsag.js} +21 -21
- package/dist/chunks/{skill-7rg50dd4.js → workspace-jpff4b81.js} +27 -27
- package/dist/chunks/{skill-xn97cggx.js → workspace-k1q14wnz.js} +29 -29
- package/dist/chunks/{skill-aa88fh31.js → workspace-k4rvgcwk.js} +8 -8
- package/dist/chunks/{skill-k814nvkf.js → workspace-k814nvkf.js} +1 -1
- package/dist/chunks/{skill-9s125zhm.js → workspace-ka29x1p3.js} +17 -17
- package/dist/chunks/{skill-whsjj5wm.js → workspace-ka3ebb26.js} +12 -12
- package/dist/chunks/{skill-yz7xqcwb.js → workspace-kfh17eq6.js} +12 -12
- package/dist/chunks/{skill-t7e7c0ah.js → workspace-kgq6c069.js} +6 -6
- package/dist/chunks/{skill-vzg12yvp.js → workspace-kmr8mv8d.js} +11 -11
- package/dist/chunks/{skill-eg939vqe.js → workspace-kncbdffz.js} +11 -11
- package/dist/chunks/{skill-qw6kk6fw.js → workspace-kp0f5nz1.js} +26 -26
- package/dist/chunks/{skill-a3frx860.js → workspace-kqf87fk8.js} +21 -21
- package/dist/chunks/{skill-gc4rcfsx.js → workspace-ky596kc3.js} +4 -4
- package/dist/chunks/{skill-m1714858.js → workspace-m1714858.js} +1 -1
- package/dist/chunks/{skill-zzx5c99n.js → workspace-m4smrk82.js} +13 -13
- package/dist/chunks/{skill-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-maspj1v3.js → workspace-maspj1v3.js} +1 -1
- package/dist/chunks/{skill-vd7p45mp.js → workspace-mb90wd2d.js} +32 -32
- package/dist/chunks/{skill-n0p0277s.js → workspace-n0p0277s.js} +1 -1
- package/dist/chunks/{skill-ercyg6vn.js → workspace-n0tvgbk4.js} +11 -11
- package/dist/chunks/{skill-3zm4x19b.js → workspace-n3795dyb.js} +28 -28
- package/dist/chunks/{skill-11fa7rww.js → workspace-n3mhfr60.js} +20 -20
- package/dist/chunks/{skill-n3r3rt18.js → workspace-n3r3rt18.js} +1 -1
- package/dist/chunks/{skill-zy6fzxar.js → workspace-n823y48s.js} +21 -21
- package/dist/chunks/{skill-770pw0s1.js → workspace-nah043kf.js} +4 -4
- package/dist/chunks/{skill-8k8s1td8.js → workspace-ngyanjke.js} +5 -5
- package/dist/chunks/{skill-htxtppcv.js → workspace-nv2qnfza.js} +8 -8
- package/dist/chunks/{skill-p015t6z3.js → workspace-p015t6z3.js} +2 -2
- package/dist/chunks/{skill-rr5dbgaa.js → workspace-p1fymgqq.js} +7 -7
- package/dist/chunks/{skill-r3dbawsd.js → workspace-p3rr1xh3.js} +38 -38
- package/dist/chunks/{skill-f35f93zp.js → workspace-p7vhpwh8.js} +5 -5
- package/dist/chunks/{skill-789v9g1y.js → workspace-p83ne5gv.js} +10 -10
- package/dist/chunks/{skill-6nvrdjy7.js → workspace-p9aj7t6q.js} +11 -11
- package/dist/chunks/{skill-mckn6akx.js → workspace-paepwcm2.js} +6 -6
- package/dist/chunks/{skill-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{skill-rhd5ttm6.js → workspace-pm22z908.js} +34 -34
- package/dist/chunks/{skill-3eqa6a9h.js → workspace-py09vape.js} +11 -11
- package/dist/chunks/{skill-a4bnf5m8.js → workspace-py5bb3qg.js} +6 -6
- package/dist/chunks/{skill-3sectcat.js → workspace-q0wxm0f4.js} +26 -26
- package/dist/chunks/{skill-h4p3pyf8.js → workspace-q5ksxkha.js} +6 -6
- package/dist/chunks/{skill-bt79tyy7.js → workspace-q86pf388.js} +48 -48
- package/dist/chunks/{skill-dbg0wh11.js → workspace-q9nya8vj.js} +17 -17
- package/dist/chunks/{skill-sgjeypn9.js → workspace-qgarn9by.js} +8 -8
- package/dist/chunks/{skill-8jztxfpf.js → workspace-qjgzc4b4.js} +4 -4
- package/dist/chunks/{skill-9agds1d5.js → workspace-qw2pz74r.js} +5 -5
- package/dist/chunks/{skill-rh535rm6.js → workspace-qwn3jvah.js} +13 -13
- package/dist/chunks/{skill-r0yr0wbs.js → workspace-r0yr0wbs.js} +1 -1
- package/dist/chunks/{skill-x01r3c1p.js → workspace-r10bp8tk.js} +18 -18
- package/dist/chunks/{skill-r6wgv8c9.js → workspace-r1k9m3eb.js} +4 -4
- package/dist/chunks/{skill-b7ktsx7n.js → workspace-r23mryza.js} +32 -32
- package/dist/chunks/{skill-bk7xq8bh.js → workspace-r4zhn8a3.js} +8 -8
- package/dist/chunks/{skill-snqawsxe.js → workspace-r9ycgn4k.js} +11 -11
- package/dist/chunks/{skill-rb9dy4dg.js → workspace-rb9dy4dg.js} +1 -1
- package/dist/chunks/{skill-cjej0rv1.js → workspace-rfshxc0v.js} +23 -23
- package/dist/chunks/{skill-a694798e.js → workspace-rmm45jmv.js} +5 -5
- package/dist/chunks/{skill-zba5tm1j.js → workspace-rrad2nt9.js} +4 -4
- package/dist/chunks/{skill-rt5dr6hb.js → workspace-rt5dr6hb.js} +1 -1
- package/dist/chunks/{skill-h8zq42sa.js → workspace-rtq7m3w5.js} +47 -47
- package/dist/chunks/{skill-3kvd1ybd.js → workspace-rv0yz615.js} +10 -10
- package/dist/chunks/{skill-gcnrfmjh.js → workspace-rvqdw07f.js} +12 -12
- package/dist/chunks/{skill-5h7x5kcb.js → workspace-rvqxvq6d.js} +14 -14
- package/dist/chunks/{skill-27bs79w9.js → workspace-rxrz6b15.js} +2 -2
- package/dist/chunks/{skill-f8z67sd6.js → workspace-scvn2zk3.js} +23 -23
- package/dist/chunks/{skill-bvy5rd13.js → workspace-sg9szeyg.js} +17 -17
- package/dist/chunks/{skill-vj1zrd8s.js → workspace-sh8baf55.js} +15 -15
- package/dist/chunks/{skill-z07y0e54.js → workspace-skb5eq6z.js} +45 -45
- package/dist/chunks/{skill-x71cm01c.js → workspace-sphke738.js} +50 -50
- package/dist/chunks/{skill-sqjzf8x2.js → workspace-sqjzf8x2.js} +1 -1
- package/dist/chunks/{skill-mk0jmxxa.js → workspace-sy8vt3wj.js} +31 -31
- package/dist/chunks/{skill-bz473fg1.js → workspace-t01mmk0e.js} +10 -10
- package/dist/chunks/{skill-fjdc7vet.js → workspace-t1sb82cf.js} +2 -2
- package/dist/chunks/{skill-1z6jjy5p.js → workspace-tasvem1v.js} +3 -3
- package/dist/chunks/{skill-tczq8hjw.js → workspace-tczq8hjw.js} +1 -1
- package/dist/chunks/{skill-rn2qjb57.js → workspace-tdbp9pqc.js} +33 -33
- package/dist/chunks/{skill-jdvq5aj7.js → workspace-tge03dzs.js} +28 -28
- package/dist/chunks/{skill-5f1ff26s.js → workspace-tgqd2fy6.js} +24 -24
- package/dist/chunks/{skill-3nnrz6f6.js → workspace-tmc7xdjs.js} +4 -4
- package/dist/chunks/{skill-5ae9nc0x.js → workspace-tmsfm4tn.js} +8 -8
- package/dist/chunks/{skill-vgk61ywp.js → workspace-tpm1qpxt.js} +9 -9
- package/dist/chunks/{skill-a5j50q8f.js → workspace-trnc4ezg.js} +13 -13
- package/dist/chunks/{skill-c626zpgp.js → workspace-ts03qaq4.js} +40 -40
- package/dist/chunks/{skill-tw8zr1ps.js → workspace-tw8zr1ps.js} +1 -1
- package/dist/chunks/{skill-twv2r8f4.js → workspace-twv2r8f4.js} +2 -2
- package/dist/chunks/{skill-xr04kmxr.js → workspace-ty5gqdvp.js} +14 -14
- package/dist/chunks/{skill-v2r1d0zg.js → workspace-v2r1d0zg.js} +1 -1
- package/dist/chunks/{skill-eqb788cj.js → workspace-v6hd4jx6.js} +9 -9
- package/dist/chunks/{skill-vd3b3yk9.js → workspace-vd3b3yk9.js} +1 -1
- package/dist/chunks/{skill-jjqmxy6m.js → workspace-vdcmvetk.js} +5 -5
- package/dist/chunks/{skill-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-n5xyttrb.js → workspace-vjeddzcj.js} +9 -9
- package/dist/chunks/{skill-n7zsnvtv.js → workspace-vsbjkqn0.js} +19 -19
- package/dist/chunks/{skill-40za9wsf.js → workspace-w2eysc6j.js} +9 -9
- package/dist/chunks/{skill-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/workspace-w4nncpsp.js +257 -0
- package/dist/chunks/{skill-fznmdakp.js → workspace-w687dnns.js} +4 -4
- package/dist/chunks/{skill-36d69ja5.js → workspace-w8xq4g1c.js} +4 -4
- package/dist/chunks/{skill-7gt98f9b.js → workspace-w9geygzy.js} +43 -43
- package/dist/chunks/{skill-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
- package/dist/chunks/{skill-87sbw7gf.js → workspace-wd1ggha8.js} +17 -17
- package/dist/chunks/{skill-bbadp5mz.js → workspace-wd649kc4.js} +23 -23
- package/dist/chunks/{skill-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{skill-qd6sk5kx.js → workspace-we1bjw9z.js} +8 -8
- package/dist/chunks/{skill-sr8tb8mz.js → workspace-wr22rtgw.js} +35 -35
- package/dist/chunks/{skill-zbb5zqa4.js → workspace-wvsk6hkh.js} +7 -7
- package/dist/chunks/{skill-b5wkvtv6.js → workspace-wy92yfz2.js} +28 -28
- package/dist/chunks/{skill-9f1phk2m.js → workspace-x6vkv6xs.js} +10 -10
- package/dist/chunks/{skill-qj77n8j0.js → workspace-x95sfgj8.js} +3 -3
- package/dist/chunks/{skill-fkmgdpfk.js → workspace-xbjtm4mb.js} +80 -80
- package/dist/chunks/{skill-sn17cy1b.js → workspace-xbp4jbh1.js} +35 -35
- package/dist/chunks/{skill-tx4ck8yw.js → workspace-xbt735bc.js} +26 -26
- package/dist/chunks/{skill-bstexjd6.js → workspace-xd9cc171.js} +5 -5
- package/dist/chunks/{skill-n34f9j48.js → workspace-xjcqxx9h.js} +66 -66
- package/dist/chunks/{skill-83wvwyt6.js → workspace-xk4x8fp8.js} +5 -5
- package/dist/chunks/{skill-tdjbv876.js → workspace-xmss3g6h.js} +36 -36
- package/dist/chunks/{skill-0npzhjnm.js → workspace-xr5njmxy.js} +3 -3
- package/dist/chunks/{skill-manvqfw2.js → workspace-xtr5ejb8.js} +25 -25
- package/dist/chunks/{skill-kzvz15qr.js → workspace-xv6vex0v.js} +14 -14
- package/dist/chunks/{skill-7pktnej5.js → workspace-xxfhxe4r.js} +28 -28
- package/dist/chunks/{skill-9gzq1cr7.js → workspace-xxzvbbkc.js} +86 -86
- package/dist/chunks/{skill-yb20nhc3.js → workspace-yb20nhc3.js} +1 -1
- package/dist/chunks/{skill-kmzgegqq.js → workspace-ydsespw1.js} +8 -8
- package/dist/chunks/{skill-akbxbhf1.js → workspace-yp2qyq5j.js} +18 -18
- package/dist/chunks/{skill-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-z38nccrw.js → workspace-z38nccrw.js} +1 -1
- package/dist/chunks/{skill-wnqnyckf.js → workspace-z885xrfv.js} +4 -4
- package/dist/chunks/{skill-2nzrtg0s.js → workspace-zjwxeyqe.js} +2 -2
- package/dist/chunks/{skill-zkg84ctx.js → workspace-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- 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 +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +101 -101
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -94
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- 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 +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/types/image/photon-wasm.bun.d.ts +1 -1
- package/dist/types/mcp/client.d.ts +1 -279
- package/dist/types/session/history.d.ts +269 -269
- package/dist/types/shell/parser-wasm.bun.d.ts +3 -3
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +13 -12
- package/dist/chunks/skill-7jqqeghh.js +0 -26
- package/dist/chunks/skill-n0zrbr3n.js +0 -257
- /package/dist/chunks/{skill-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → workspace-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → workspace-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a058387c.js → workspace-a058387c.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → workspace-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-tge03dzs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-mb90wd2d.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
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 Info20.make({
|
|
98
|
+
...Info20.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,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-bx934t5c.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service86,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-4z3n7x5k.js";
|
|
14
14
|
import {
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-cwyfam04.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID14,
|
|
26
|
+
NotFoundError11
|
|
27
|
+
} from "./workspace-fkjz51h9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref3
|
|
30
|
+
} from "./workspace-a710j6jq.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service59,
|
|
33
|
+
node61
|
|
34
|
+
} from "./workspace-f5wtb4x0.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./workspace-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service16
|
|
41
|
+
} from "./workspace-jhx8zsag.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./workspace-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event3,
|
|
53
|
+
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service15,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node18
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info4 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry2 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event3 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service15 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service85;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service59;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError11({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref3.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service16).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service15.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node18 = Node.makeGlobalNode({
|
|
260
|
+
service: Service15,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node89, node90, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node61]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service15, node18, exports_worktree2, OperationError2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-5fjb7ams.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-91rj84md.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9ahp1agz.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-xr5njmxy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./workspace-a710j6jq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./workspace-0zwx71ns.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service61,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-gmkqkmgg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service44
|
|
14
|
+
} from "./workspace-gc7zkq2j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service65
|
|
17
|
+
} from "./workspace-avpraz00.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service13,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-067bn7k9.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin8,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin8 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service13;
|
|
197
|
+
const fileMutation = yield* Service61;
|
|
198
|
+
const environment = yield* Service62;
|
|
199
|
+
const formatter = yield* Service44;
|
|
200
|
+
const location = yield* Service76;
|
|
201
|
+
const permission = yield* Service65;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output4,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin25 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output4, Plugin8, exports_edit };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2g8e9hha.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-cwyfam04.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./workspace-wy92yfz2.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-rrad2nt9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-n3795dyb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service50
|
|
21
|
+
} from "./workspace-d1bhb9nv.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-tge03dzs.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-mb90wd2d.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve3
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-9qg9bmww.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
36
|
UnavailableError4,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
Service81
|
|
38
|
+
} from "./workspace-q9nya8vj.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID3,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-scvn2zk3.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
78
78
|
var RemoteResponse = Schema.Struct({
|
|
79
79
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
80
80
|
websearch: Schema.Struct({
|
|
81
|
-
providerID:
|
|
81
|
+
providerID: ID3
|
|
82
82
|
}).pipe(Schema.optional),
|
|
83
83
|
mcp: Schema.Struct({
|
|
84
84
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID16.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service50;
|
|
208
|
+
const voice = yield* Service81;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID16.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID13.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID13.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-cwyfam04.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Event20,
|
|
7
|
+
Service84
|
|
8
|
+
} from "./workspace-wy92yfz2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./workspace-tge03dzs.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-paepwcm2.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service84;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|