10// locally it's loaded from R2 (CN-friendly, no Docker Hub pull):
11// https://r2.deepfetch.de5.net/docker/cicy-code-latest.tar.gz
12//
13// The container maps :8008 and persists ~/cicy-ai in a named volume.
14const { execFile, execFileSync, spawn } = require("child_process");
15const https = require("https");
⋯
21
22const IMAGE = process.env.CICY_DOCKER_IMAGE || "cicybot/cicy-code:latest";
23// Image tarball on Aliyun OSS (oss-cn-shanghai, public-read) — CN-domestic and
⋯
64return new Promise((resolve, reject) => {
65 execFile(dockerBin(), args, { timeout, windowsHide: true }, (err, stdout, stderr) => {
66 if (err) { err.stdout = String(stdout || ""); err.stderr = String(stderr || ""); return reject(err); }