@opencode/core 0.0.0-dev-163 → 0.0.0-dev-170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +79 -79
- package/dist/chunks/{skill-034tev2y.js → project-034tev2y.js} +2 -2
- package/dist/chunks/{skill-h03fjw9b.js → project-05bsswg1.js} +26 -26
- package/dist/chunks/{skill-ntadaps1.js → project-0dbrkw6r.js} +19 -19
- package/dist/chunks/{skill-rpmrbcva.js → project-0g4awprx.js} +4 -4
- package/dist/chunks/{skill-tvmvfkbc.js → project-0k0cpw4p.js} +23 -23
- package/dist/chunks/{skill-2dfqqm60.js → project-124q93e5.js} +23 -23
- package/dist/chunks/{skill-qw96sn3j.js → project-14gt304f.js} +17 -17
- package/dist/chunks/{skill-9kg5w032.js → project-160yv0cs.js} +8 -8
- package/dist/chunks/{skill-trcq3z22.js → project-19311dth.js} +11 -11
- package/dist/chunks/{skill-tjsmtshz.js → project-1b0ss9v1.js} +29 -29
- package/dist/chunks/{skill-1ep2p91f.js → project-1ep2p91f.js} +2 -2
- package/dist/chunks/{skill-kmhtvf6k.js → project-1g1hpfaj.js} +80 -80
- package/dist/chunks/{skill-xybtmwwq.js → project-1h6fjecm.js} +28 -28
- package/dist/chunks/{skill-v9wmh59m.js → project-1tz71j9c.js} +15 -15
- package/dist/chunks/{skill-1x2knyw4.js → project-1x2knyw4.js} +1 -1
- package/dist/chunks/{skill-204s3925.js → project-204s3925.js} +1 -1
- package/dist/chunks/{skill-fg9gx7xd.js → project-2224t6nn.js} +152 -152
- package/dist/chunks/{skill-k4krbr57.js → project-27sjz104.js} +4 -4
- package/dist/chunks/{skill-6ap3eaze.js → project-2fa41nq0.js} +18 -18
- package/dist/chunks/{skill-hd3k4wz8.js → project-2mbjfaxd.js} +4 -4
- package/dist/chunks/{skill-30nyfavy.js → project-2pgc8tgc.js} +3 -3
- package/dist/chunks/{skill-rby3wm67.js → project-2tjq87z5.js} +22 -22
- package/dist/chunks/{skill-zec3dvrx.js → project-2tprm9m6.js} +43 -43
- package/dist/chunks/{skill-yqh7zqgy.js → project-2ttzh2h6.js} +9 -9
- package/dist/chunks/{skill-wer98kyb.js → project-2vrz8qrs.js} +8 -8
- package/dist/chunks/{skill-vb80j1wh.js → project-2zp5a6yg.js} +3 -3
- package/dist/chunks/{skill-raytzsm9.js → project-34ar8crh.js} +9 -9
- package/dist/chunks/{skill-wcx1pj5t.js → project-38by4s4r.js} +25 -25
- package/dist/chunks/{skill-nvhett0n.js → project-38ywgb00.js} +19 -19
- package/dist/chunks/{skill-qzsrq0m2.js → project-3aaxk4qf.js} +2 -2
- package/dist/chunks/{skill-j2enqxax.js → project-3gezxapr.js} +15 -15
- package/dist/chunks/{skill-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3j1m3tq4.js → project-3j1m3tq4.js} +2 -2
- package/dist/chunks/{skill-ja63h2sr.js → project-3kdbrncp.js} +5 -5
- package/dist/chunks/{skill-3nnrz6f6.js → project-3nnrz6f6.js} +1 -1
- package/dist/chunks/{skill-ttqtdfz1.js → project-3qevjexk.js} +5 -5
- package/dist/chunks/{skill-mn0e9cd8.js → project-3v4n5zps.js} +32 -32
- package/dist/chunks/{skill-89q2nt0d.js → project-3vs2fbhh.js} +12 -12
- package/dist/chunks/{skill-pq0kc3ar.js → project-3vt72wg3.js} +27 -27
- package/dist/chunks/{skill-q2qaf7wx.js → project-3wezf27v.js} +9 -9
- package/dist/chunks/{skill-w2eysc6j.js → project-40za9wsf.js} +9 -9
- package/dist/chunks/{skill-1rjhx841.js → project-459w24x0.js} +16 -16
- package/dist/chunks/{skill-1k90x68w.js → project-4e9277vr.js} +15 -15
- package/dist/chunks/{skill-ndec2g7f.js → project-4f22kke0.js} +11 -11
- package/dist/chunks/{skill-5qnntnk2.js → project-4mw87j2f.js} +1 -1
- package/dist/chunks/{skill-4pyp9zr9.js → project-4pyp9zr9.js} +1 -1
- package/dist/chunks/{skill-4v008n1t.js → project-4v008n1t.js} +1 -1
- package/dist/chunks/{skill-jchw1kv4.js → project-4vm9vmfx.js} +10 -10
- package/dist/chunks/{skill-nkraqmq3.js → project-5ebc4mtx.js} +13 -13
- package/dist/chunks/{skill-vtgxp655.js → project-5epte933.js} +2 -2
- package/dist/chunks/{skill-b3d7ny6a.js → project-5fh1z4z1.js} +16 -16
- package/dist/chunks/{skill-pm3q2zxn.js → project-5h5p4jk8.js} +8 -8
- package/dist/chunks/{skill-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-dpv3c7v6.js → project-5qc37f80.js} +17 -17
- package/dist/chunks/{skill-nd2dg6zm.js → project-5w021j54.js} +4 -4
- package/dist/chunks/{skill-wg6jstvf.js → project-602fj4e2.js} +23 -23
- package/dist/chunks/{skill-aygdtr2v.js → project-62tathnt.js} +14 -14
- package/dist/chunks/{skill-hmk43ts9.js → project-6d5phvpe.js} +28 -28
- package/dist/chunks/{skill-6esdw8yj.js → project-6esdw8yj.js} +1 -1
- package/dist/chunks/{skill-z0b8nnqv.js → project-6jcsbcjf.js} +11 -11
- package/dist/chunks/{skill-aq94p1jm.js → project-6mxrg4kx.js} +5 -5
- package/dist/chunks/{skill-rmpw1pc8.js → project-6qd66m37.js} +32 -32
- package/dist/chunks/{skill-sykc9y4a.js → project-6vq97qmv.js} +5 -5
- package/dist/chunks/{skill-arbe3xjc.js → project-71dc9dsf.js} +19 -19
- package/dist/chunks/{skill-76cb1hcw.js → project-76cb1hcw.js} +1 -1
- package/dist/chunks/{skill-m29vy67z.js → project-799g0xtq.js} +28 -28
- package/dist/chunks/{skill-5mnzh5sc.js → project-79n4cqja.js} +11 -11
- package/dist/chunks/{skill-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-ban6zjwx.js → project-7dm987a9.js} +8 -8
- package/dist/chunks/{skill-ddmr4kyb.js → project-7hq1xj9b.js} +17 -17
- package/dist/chunks/{skill-2bvfvv2f.js → project-7jvcwqbb.js} +10 -10
- package/dist/chunks/{skill-6y7j79mm.js → project-7nrp2fgb.js} +4 -4
- package/dist/chunks/{skill-agqd6nxz.js → project-7sdtxe0n.js} +4 -4
- package/dist/chunks/{skill-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
- package/dist/chunks/{skill-yptr342z.js → project-7wmd0erc.js} +34 -34
- package/dist/chunks/{skill-pmyeg67v.js → project-7xm26dej.js} +52 -52
- package/dist/chunks/{skill-405qk1h7.js → project-80j4qbe9.js} +17 -17
- package/dist/chunks/{skill-rag25emf.js → project-86sj6v0r.js} +35 -35
- package/dist/chunks/{skill-2h215caw.js → project-88vg190z.js} +3 -3
- package/dist/chunks/{skill-6pzwfz31.js → project-8drcqw0f.js} +16 -16
- package/dist/chunks/{skill-8jztxfpf.js → project-8jztxfpf.js} +1 -1
- package/dist/chunks/{skill-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
- package/dist/chunks/{skill-gcjdgkn2.js → project-8x9y3wj0.js} +9 -9
- package/dist/chunks/{skill-z6yfre4a.js → project-8xv62g9a.js} +13 -13
- package/dist/chunks/{skill-90zstvax.js → project-90zstvax.js} +1 -1
- package/dist/chunks/{skill-zjsdvc9v.js → project-94pnpden.js} +63 -63
- package/dist/chunks/{skill-hdfrs5mg.js → project-9562mf0m.js} +9 -9
- package/dist/chunks/{skill-ga0fj4ee.js → project-9h4962kz.js} +12 -12
- package/dist/chunks/{skill-s25y11dt.js → project-9p4gea0z.js} +3 -3
- package/dist/chunks/{skill-2kg89srt.js → project-9q8g9sv8.js} +4 -4
- package/dist/chunks/{skill-5wxa8xqp.js → project-9thcrcbn.js} +27 -27
- package/dist/chunks/{skill-rfy1qsv0.js → project-9wzjb77v.js} +5 -5
- package/dist/chunks/{skill-zccn1z3t.js → project-9yrnwmme.js} +8 -8
- package/dist/chunks/{skill-37vw2nj8.js → project-a1meba53.js} +27 -27
- package/dist/chunks/{skill-ngz6cn3c.js → project-a31zznv1.js} +13 -13
- package/dist/chunks/{skill-ymz7p2c9.js → project-a9q6fvpe.js} +3 -3
- package/dist/chunks/{skill-1yphnjpe.js → project-adqpdtcv.js} +31 -31
- package/dist/chunks/{skill-9r049acs.js → project-ahzfx2tk.js} +8 -8
- package/dist/chunks/{skill-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
- package/dist/chunks/{skill-7gywx03k.js → project-aym7h9kd.js} +32 -32
- package/dist/chunks/{skill-qz3x11k1.js → project-ayxp4qd3.js} +178 -178
- package/dist/chunks/{skill-qk1k47zm.js → project-aze2b8kp.js} +25 -25
- package/dist/chunks/{skill-d8bep251.js → project-b33ebngj.js} +14 -14
- package/dist/chunks/{skill-b6vsg801.js → project-b6vsg801.js} +2 -2
- package/dist/chunks/{skill-bcdcevt1.js → project-bn5mm526.js} +1 -1
- package/dist/chunks/{skill-14zytdp5.js → project-bsezhyhb.js} +22 -22
- package/dist/chunks/{skill-bstexjd6.js → project-bstexjd6.js} +1 -1
- package/dist/chunks/{skill-kewetrmz.js → project-c13q7adm.js} +18 -18
- package/dist/chunks/{skill-b61v6d5c.js → project-cfcfv7cp.js} +10 -10
- package/dist/chunks/{skill-wf6trj2q.js → project-chy3akzh.js} +15 -15
- package/dist/chunks/{skill-n85dj6ja.js → project-cj1qh6za.js} +36 -36
- package/dist/chunks/{skill-fmc822pf.js → project-cmgxfm60.js} +10 -10
- package/dist/chunks/{skill-bvczkwhn.js → project-cq02s23n.js} +9 -9
- package/dist/chunks/{skill-cwrgdav8.js → project-cwrgdav8.js} +2 -2
- package/dist/chunks/{skill-d2887f8n.js → project-d2887f8n.js} +1 -1
- package/dist/chunks/{skill-d4v9tmah.js → project-d4v9tmah.js} +2 -2
- package/dist/chunks/{skill-b6j6r4ej.js → project-d4w7jtq9.js} +15 -15
- package/dist/chunks/{skill-61qx5y3q.js → project-d73nr425.js} +46 -46
- package/dist/chunks/project-d77dj7jw.js +18 -0
- package/dist/chunks/{skill-p6dffgb0.js → project-db8965yk.js} +27 -27
- package/dist/chunks/{skill-91kh0p1x.js → project-dmbhcq3k.js} +5 -5
- package/dist/chunks/{skill-e7rv6cb7.js → project-dpcjrdrj.js} +14 -14
- package/dist/chunks/{skill-epat7ra2.js → project-dqz301c6.js} +18 -18
- package/dist/chunks/{skill-w2fpj83c.js → project-ds061g1g.js} +21 -21
- package/dist/chunks/{skill-dt77769w.js → project-dt77769w.js} +1 -1
- package/dist/chunks/{skill-gs87gpdt.js → project-dtqc2fsd.js} +8 -8
- package/dist/chunks/{skill-3f40a73m.js → project-dzj6a01f.js} +42 -42
- package/dist/chunks/{skill-wdyn1ab2.js → project-e46kqp3e.js} +9 -9
- package/dist/chunks/{skill-btb3pt6y.js → project-e717qx8y.js} +19 -19
- package/dist/chunks/{skill-e834z07m.js → project-e834z07m.js} +1 -1
- package/dist/chunks/{skill-73bccqdv.js → project-eh1k8bp1.js} +5 -5
- package/dist/chunks/{skill-n1dbvrxa.js → project-eppkswgj.js} +13 -13
- package/dist/chunks/{skill-f8hh9n1c.js → project-eq7epvew.js} +3 -3
- package/dist/chunks/{skill-4az1a8cs.js → project-ewexpb9k.js} +6 -6
- package/dist/chunks/{skill-6p4z6825.js → project-ey3djwrh.js} +2 -2
- package/dist/chunks/{skill-hqkbkg9n.js → project-ey4zchg3.js} +26 -26
- package/dist/chunks/{skill-vq14rzh9.js → project-f4h8jhts.js} +18 -18
- package/dist/chunks/{skill-nkd8v4pa.js → project-f6mm2amt.js} +4 -4
- package/dist/chunks/{skill-5pshy8sw.js → project-f6x4r6gn.js} +2 -2
- package/dist/chunks/{skill-fffv3p7h.js → project-fffv3p7h.js} +1 -1
- package/dist/chunks/{skill-c8r01r98.js → project-fghe2ptw.js} +20 -20
- package/dist/chunks/{skill-fvjhjrzf.js → project-fjma1jv2.js} +30 -30
- package/dist/chunks/{skill-z7efmy73.js → project-ft3m1rtv.js} +5 -5
- package/dist/chunks/{skill-rmv4btrj.js → project-fv82f688.js} +13 -13
- package/dist/chunks/{skill-913wjczz.js → project-fvtargsj.js} +1 -1
- package/dist/chunks/{skill-7rqmk5w1.js → project-fzpw41ny.js} +16 -16
- package/dist/chunks/{skill-y0ha8pg7.js → project-g65rdf98.js} +35 -35
- package/dist/chunks/{skill-3vjmwmxb.js → project-gas2q22w.js} +9 -9
- package/dist/chunks/{skill-8fx14zah.js → project-gchbbwt8.js} +11 -11
- package/dist/chunks/{skill-tfmd9fwy.js → project-gdegh7ym.js} +43 -43
- package/dist/chunks/{skill-gg8p9cgs.js → project-gg8p9cgs.js} +3 -3
- package/dist/chunks/{skill-ee9g468w.js → project-gyk73bm7.js} +10 -10
- package/dist/chunks/{skill-nr1dehp0.js → project-gzx9tr3x.js} +28 -28
- package/dist/chunks/{skill-55k6j35k.js → project-h1pe7txv.js} +11 -11
- package/dist/chunks/{skill-a03n3gm8.js → project-h316rdv7.js} +38 -38
- package/dist/chunks/{skill-am9yzy1e.js → project-h9k240yj.js} +43 -43
- package/dist/chunks/{skill-eqz11q1g.js → project-heb8hctq.js} +4 -4
- package/dist/chunks/{skill-r2rkpkst.js → project-hhcxg32b.js} +4 -4
- package/dist/chunks/{skill-rfk05w8t.js → project-hhwk9qya.js} +7 -7
- package/dist/chunks/{skill-hpg1pkwy.js → project-hpg1pkwy.js} +1 -1
- package/dist/chunks/{skill-9cxh8y9p.js → project-hr2wbp44.js} +6 -6
- package/dist/chunks/{skill-7bx2zmjp.js → project-hrn2e2cq.js} +7 -7
- package/dist/chunks/{skill-wkw52rsc.js → project-hs34szv9.js} +12 -12
- package/dist/chunks/{skill-32jh04q0.js → project-j2q3svc5.js} +15 -15
- package/dist/chunks/{skill-tk2afw03.js → project-jbzdmrt6.js} +38 -38
- package/dist/chunks/{skill-b29fyxt2.js → project-jen2k315.js} +29 -29
- package/dist/chunks/{skill-jfaecv01.js → project-jfaecv01.js} +1 -1
- package/dist/chunks/{skill-mpn128rf.js → project-jfb3emas.js} +48 -48
- package/dist/chunks/{skill-jtnps1zs.js → project-jtnps1zs.js} +2 -2
- package/dist/chunks/{skill-r7eqq3d9.js → project-jv5e37k4.js} +34 -34
- package/dist/chunks/{skill-9beykft8.js → project-k293y0h3.js} +2 -2
- package/dist/chunks/{skill-pr5m753x.js → project-k6kbygd0.js} +5 -5
- package/dist/chunks/{skill-k814nvkf.js → project-k814nvkf.js} +1 -1
- package/dist/chunks/{skill-sgzfd5gg.js → project-kdpv2zf1.js} +20 -20
- package/dist/chunks/{skill-kt3bjfbg.js → project-kt3bjfbg.js} +1 -1
- package/dist/chunks/{skill-eb8kyfw1.js → project-ktsdcenb.js} +18 -18
- package/dist/chunks/{skill-ztwsgc1d.js → project-kvhc1fwr.js} +61 -61
- package/dist/chunks/{skill-yhxq0ph1.js → project-kzwnk51j.js} +30 -30
- package/dist/chunks/{skill-m1714858.js → project-m1714858.js} +1 -1
- package/dist/chunks/{skill-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-zxv2n26m.js → project-maw15393.js} +11 -11
- package/dist/chunks/{skill-epvvzesw.js → project-mba9snx8.js} +7 -7
- package/dist/chunks/{skill-6mtbmyr8.js → project-me9p9d4t.js} +90 -90
- package/dist/chunks/project-megfknn9.js +26 -0
- package/dist/chunks/{skill-afqm4g5m.js → project-mfv1rfcp.js} +9 -9
- package/dist/chunks/{skill-4wwq8aee.js → project-mjncwgp7.js} +15 -15
- package/dist/chunks/{skill-ms1wawne.js → project-mnmgb4vy.js} +21 -21
- package/dist/chunks/{skill-xdf117h8.js → project-n7e2n2r9.js} +322 -322
- package/dist/chunks/{skill-770pw0s1.js → project-nah043kf.js} +4 -4
- package/dist/chunks/{skill-en8b94nd.js → project-nf3ytnjv.js} +8 -8
- package/dist/chunks/{skill-njmbjpvg.js → project-nhdw7njq.js} +22 -22
- package/dist/chunks/{skill-essbs1k7.js → project-nt2tnka6.js} +10 -10
- package/dist/chunks/{skill-pjvr3qb3.js → project-nva4mbph.js} +24 -24
- package/dist/chunks/{skill-9k7nxg7x.js → project-nx583b5g.js} +11 -11
- package/dist/chunks/{skill-k4nkwk6k.js → project-nzep71h9.js} +26 -26
- package/dist/chunks/{skill-p015t6z3.js → project-p015t6z3.js} +2 -2
- package/dist/chunks/{skill-xe5v3ymg.js → project-p2cjbm1q.js} +17 -17
- package/dist/chunks/{skill-p7vhpwh8.js → project-p7vhpwh8.js} +1 -1
- package/dist/chunks/{skill-2kr5775s.js → project-pcfd06vh.js} +21 -21
- package/dist/chunks/{skill-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{skill-d390zwf3.js → project-pnwsrq7c.js} +8 -8
- package/dist/chunks/{skill-fg9p65nk.js → project-prq7xxp2.js} +6 -6
- package/dist/chunks/{skill-8035m94h.js → project-psc6haxf.js} +31 -31
- package/dist/chunks/{skill-9ca2rzpk.js → project-psr6t8k9.js} +38 -38
- package/dist/chunks/{skill-bmw1c1w2.js → project-q1nnka74.js} +8 -8
- package/dist/chunks/{skill-4np0zqes.js → project-q3w0bdwb.js} +9 -9
- package/dist/chunks/{skill-mx8m5z6n.js → project-q5tw4zz6.js} +36 -36
- package/dist/chunks/{skill-q63cb7ap.js → project-q63cb7ap.js} +3 -3
- package/dist/chunks/{skill-rxe7p33y.js → project-qckvhxzw.js} +11 -11
- package/dist/chunks/{skill-98qreggg.js → project-qdh34tk1.js} +8 -8
- package/dist/chunks/{skill-vaw3dvy1.js → project-qfdapvtz.js} +54 -54
- package/dist/chunks/{skill-yamg44ys.js → project-qga7e6rc.js} +9 -9
- package/dist/chunks/{skill-qp7r0hxv.js → project-qp7r0hxv.js} +1 -1
- package/dist/chunks/{skill-cpvd08na.js → project-qqg9c0kv.js} +4 -4
- package/dist/chunks/{skill-r0yr0wbs.js → project-r0yr0wbs.js} +1 -1
- package/dist/chunks/{skill-r542h3bh.js → project-r542h3bh.js} +1 -1
- package/dist/chunks/{skill-19sn1tff.js → project-r8t391st.js} +29 -29
- package/dist/chunks/{skill-zgmrepvs.js → project-r96ere88.js} +4 -4
- package/dist/chunks/{skill-5wcw8brx.js → project-r9mkamcg.js} +14 -14
- package/dist/chunks/{skill-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
- package/dist/chunks/{skill-ng1eyj3g.js → project-rcb3tjxw.js} +2 -2
- package/dist/chunks/{skill-3jcbynxa.js → project-rnbc7s2k.js} +10 -10
- package/dist/chunks/{skill-j6684nar.js → project-rnvvyp42.js} +6 -6
- package/dist/chunks/{skill-61ennm6n.js → project-rrad2nt9.js} +4 -4
- package/dist/chunks/{skill-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
- package/dist/chunks/{skill-aj5e77t9.js → project-rx76597h.js} +25 -25
- package/dist/chunks/{skill-v9cr40x8.js → project-s30exhfx.js} +6 -6
- package/dist/chunks/{skill-4cse8p3m.js → project-s3s9hs0c.js} +15 -15
- package/dist/chunks/{skill-05ew005d.js → project-s6jhc88p.js} +12 -12
- package/dist/chunks/{skill-sa3fpqfw.js → project-sa3fpqfw.js} +2 -2
- package/dist/chunks/{skill-n6nq4z64.js → project-sd52sx5g.js} +2 -2
- package/dist/chunks/{skill-9fvg35k7.js → project-sgg5jrrm.js} +28 -28
- package/dist/chunks/{skill-e44cxw6m.js → project-sjqk8nme.js} +21 -21
- package/dist/chunks/{skill-9a8sby2n.js → project-skp3ezgj.js} +10 -10
- package/dist/chunks/{skill-k3cw2t6y.js → project-sq4s6wq1.js} +6 -6
- package/dist/chunks/{skill-4j373htp.js → project-sq958vhs.js} +23 -23
- package/dist/chunks/{skill-sqjzf8x2.js → project-sqjzf8x2.js} +1 -1
- package/dist/chunks/{skill-svcy3p9a.js → project-svcy3p9a.js} +1 -1
- package/dist/chunks/{skill-pss36gg9.js → project-sxz3hzr2.js} +9 -9
- package/dist/chunks/{skill-9nmb08f7.js → project-t4sgv1fk.js} +10 -10
- package/dist/chunks/{skill-sp9dvky5.js → project-t7bjgsbt.js} +19 -19
- package/dist/chunks/{skill-tczq8hjw.js → project-tczq8hjw.js} +1 -1
- package/dist/chunks/{skill-wzy85xvx.js → project-tn22qbfv.js} +22 -22
- package/dist/chunks/{skill-twssxy5n.js → project-twssxy5n.js} +2 -2
- package/dist/chunks/{skill-bgt8yv0k.js → project-txdrszf7.js} +5 -5
- package/dist/chunks/{skill-ks317rcp.js → project-tzyd7gqa.js} +2 -2
- package/dist/chunks/{skill-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
- package/dist/chunks/{skill-pae7shj2.js → project-vq0wjetv.js} +9 -9
- package/dist/chunks/{skill-vnycbc10.js → project-vvcp0tk0.js} +18 -18
- package/dist/chunks/{skill-xm8wrjs5.js → project-w11ey1wa.js} +11 -11
- package/dist/chunks/{skill-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-5s40rnay.js → project-w4kkwae7.js} +14 -14
- package/dist/chunks/{skill-vzv6y601.js → project-w7tc5k17.js} +25 -25
- package/dist/chunks/{skill-wakvkjy4.js → project-wakvkjy4.js} +1 -1
- package/dist/chunks/{skill-k9zkdd2y.js → project-wby0kqsc.js} +4 -4
- package/dist/chunks/{skill-8qkh3bqb.js → project-wcgrwyye.js} +10 -10
- package/dist/chunks/{skill-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{skill-qz8ywq1d.js → project-wdt8vddk.js} +9 -9
- package/dist/chunks/{skill-wnhgecwx.js → project-wnhgecwx.js} +1 -1
- package/dist/chunks/{skill-0ep44wk4.js → project-wqtd6dn9.js} +6 -6
- package/dist/chunks/{skill-ddfxq7x3.js → project-wr1az2wc.js} +22 -22
- package/dist/chunks/{skill-wr3re1en.js → project-wr3re1en.js} +1 -1
- package/dist/chunks/{skill-9437wt4d.js → project-wzwsv8q3.js} +8 -8
- package/dist/chunks/{skill-jsw35a0h.js → project-x040dv0w.js} +16 -16
- package/dist/chunks/{skill-3rrjy1gv.js → project-xd934wrq.js} +9 -9
- package/dist/chunks/{skill-xpadfym9.js → project-xf5kfeqa.js} +16 -16
- package/dist/chunks/{skill-97vq97zw.js → project-xfgzn115.js} +15 -15
- package/dist/chunks/{skill-m37sd98t.js → project-xnh55p1t.js} +5 -5
- package/dist/chunks/{skill-1kn6jdkn.js → project-xt0z8zst.js} +4 -4
- package/dist/chunks/{skill-znk3jx2t.js → project-xtbg8a45.js} +24 -24
- package/dist/chunks/{skill-a54tt8tb.js → project-y1325wkv.js} +8 -8
- package/dist/chunks/{skill-yara3q77.js → project-yara3q77.js} +2 -2
- package/dist/chunks/{skill-yb20nhc3.js → project-yb20nhc3.js} +1 -1
- package/dist/chunks/{skill-5x26af84.js → project-z016zt19.js} +4 -4
- package/dist/chunks/{skill-qdndt55z.js → project-z2vzs3fj.js} +19 -19
- package/dist/chunks/{skill-z38nccrw.js → project-z38nccrw.js} +1 -1
- package/dist/chunks/{skill-0a5dxn0x.js → project-z3cpcmma.js} +3 -3
- package/dist/chunks/{skill-qnqasnye.js → project-zg0jbn27.js} +6 -6
- package/dist/chunks/{skill-0anyt1n6.js → project-zgd8t41s.js} +9 -9
- package/dist/chunks/{skill-zvp0bfyt.js → project-zhq6s34y.js} +5 -5
- package/dist/chunks/{skill-s7wsa77y.js → project-zq48vbqh.js} +25 -25
- package/dist/chunks/{skill-bamxkp5g.js → project-zs9j6ctn.js} +32 -32
- package/dist/chunks/{skill-g1ay4zd8.js → project-zx29snpc.js} +9 -9
- package/dist/chunks/{skill-fab4ec1x.js → project-zx69eakp.js} +13 -13
- package/dist/chunks/{skill-hbjf5446.js → project-zx6h37zb.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- 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 +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -99
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +78 -78
- package/dist/file-access.js +146 -146
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +82 -82
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- 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 +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +162 -162
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +105 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -355
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +186 -186
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +229 -229
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- 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 +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +226 -226
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +154 -154
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/skill-86pkm0fq.js +0 -26
- package/dist/chunks/skill-z7bdqmx5.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1jakw16s.js → project-1jakw16s.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → project-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4m86bj6y.js → project-4m86bj6y.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5w3e23ze.js → project-5w3e23ze.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a058387c.js → project-a058387c.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-beh6qq61.js → project-beh6qq61.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cqv5kn06.js → project-cqv5kn06.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fkpq3x5p.js → project-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jwr30sdr.js → project-jwr30sdr.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → project-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-ncqqe42p.js → project-ncqqe42p.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p71gwv9c.js → project-p71gwv9c.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-a31zznv1.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-s3s9hs0c.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
|
+
available: () => available4,
|
|
25
|
+
configured: () => configured5,
|
|
26
26
|
layer: () => layer21,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node69
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,25 +34,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available4 } from "#persistent-pty-binary";
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError10 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service84;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError10({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service67.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -259,16 +259,16 @@ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* (
|
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
261
|
var layer21 = makeLayer();
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
262
|
+
var configured5 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service67,
|
|
264
264
|
layer: options === undefined ? layer21 : makeLayer(options),
|
|
265
|
-
deps: [
|
|
265
|
+
deps: [node86, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node69 = configured5();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options4, UnavailableError4, NotFoundError10, Service67, layer21, configured5, node69, exports_persistent_pty, Handoff2, available4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service69
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-jv5e37k4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./project-jfb3emas.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin32,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin32 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
@@ -25,7 +25,7 @@ var Plugin29 = define({
|
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
27
|
const config = yield* Service69;
|
|
28
|
-
const mcp = yield*
|
|
28
|
+
const mcp = yield* Service34;
|
|
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();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin32, register2, exports_mcp2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-a31zznv1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event20
|
|
6
|
+
} from "./project-3v4n5zps.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID15
|
|
9
|
+
} from "./project-jen2k315.js";
|
|
10
10
|
import {
|
|
11
11
|
ID12
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-1b0ss9v1.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID15.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-1b0ss9v1.js";
|
|
5
5
|
import {
|
|
6
6
|
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-nzep71h9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-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: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -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 load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load4(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) {
|
|
@@ -94,8 +94,8 @@ 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
100
|
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load3, derive2, exports_models };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node32
|
|
16
16
|
});
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service29.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node32 = makeGlobalNode({ service:
|
|
375
|
+
var node32 = makeGlobalNode({ service: Service29, layer: layer11, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service29, makeLayer2, layer11, node32, exports_model_transport };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service69
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-jv5e37k4.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-gg8p9cgs.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-prq7xxp2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./project-xnh55p1t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -434,7 +434,7 @@ function make(id, optimize, mode = "override") {
|
|
|
434
434
|
const system = event.system[0];
|
|
435
435
|
if (!system)
|
|
436
436
|
return;
|
|
437
|
-
const rendered =
|
|
437
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
438
438
|
const text = mode === "append" ? `${system.text}
|
|
439
439
|
|
|
440
440
|
${rendered}` : rendered;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-a31zznv1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node37
|
|
8
|
+
} from "./project-jfb3emas.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service53,
|
|
14
|
+
node55
|
|
15
|
+
} from "./project-gdegh7ym.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service39,
|
|
18
|
+
node42
|
|
19
|
+
} from "./project-sjqk8nme.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service40,
|
|
22
|
+
node43
|
|
23
|
+
} from "./project-w11ey1wa.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-8drcqw0f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service32,
|
|
36
36
|
layer: () => layer13,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node35
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer13 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service34;
|
|
54
|
+
const tools = yield* Service39;
|
|
55
55
|
const bus = yield* Service84;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service53;
|
|
57
|
+
const toolOutput = yield* Service40;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node35 = makeLocationNode({
|
|
148
|
+
service: Service32,
|
|
149
149
|
layer: layer13,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node42, node37, node86, node55, node43]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service32, layer13, node35, exports_mcp3 };
|