Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
cli.jsimport { mkdir as mkdir4, rename as rename2, rm, writeFile as writeFile3 } from "node:fs/promises";
async function atomicWriteFile(path3, content3) {
await writeFile3(tmpPath, content3, "utf8");
await atomicWriteFile(paths.state, `${JSON.stringify(nextState, null, 2)}
await atomicWriteFile(packagePath, `${JSON.stringify(parsed, null, 2)}
await atomicWriteFile(outputPath, `${JSON.stringify(replay, null, 2)}
SENSITIVE_OPTION = /^(--(?:auth|authorization|password|secret|token|otp|cookie|api-key))(?:=|$)/iu;
import { mkdir as mkdir13, readFile as readFile20, readdir as readdir8, writeFile as writeFile9 } from "node:fs/promises";