Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
bin/patchcord.mjsimport { existsSync, mkdirSync, cpSync, readdirSync, readFileSync, writeFileSync, unlinkSync, rmSync, chmodSync } from "fs";
writeFileSync(path, contents, { mode: 0o600 });
writeFileSync(cliConfigPath, JSON.stringify(obj, null, 2) + "\n");
writeFileSync(approvalsPath, JSON.stringify(approvals, null, 2) + "\n");
writeFileSync(legacyMcp, JSON.stringify(obj, null, 2) + "\n");
writeFileSync(syncManifest, JSON.stringify(obj, null, 2) + "\n");
const codexConfig = join(HOME, ".codex", "config.toml");
writeFileSync(join(globalSkillDir, "SKILL.md"),