Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.jsawait (0, import_promises.writeFile)((0, import_path.join)(getConfigDir(), "config.json"), JSON.stringify(config, null, 2), { mode: 384 });
await (0, import_promises.writeFile)(tmpPath, JSON.stringify(tasks2, null, 2));
await fd.writeFile(String(process.pid));
await (0, import_promises.writeFile)(authPath, JSON.stringify(auth, null, 2), { mode: 384 });
"Personal access tokens (sct_) were removed. Create an API key (sk_...) in the SpaceCode app and use `spacecode login --api-key <key>` or set SPACECODE_TOKEN to it."
await (0, import_promises2.writeFile)(tmpPath, JSON.stringify(sessions, null, 2));
function createSandboxCl