{"draft":null,"from":53,"to":54,"files":[{"path":"client/src/api.ts","added":7,"removed":7,"diff":"--- a/client/src/api.ts\n+++ b/client/src/api.ts\n@@ -156,7 +156,7 @@\n \t\tthis.startRetryDelaysMs = startRetryDelaysMs;\n \t}\n \n-\t/** What a box run is for, for the server's box-run records (#39): X-Avcs-Kind on POST /run. */\n+\t/** What a box run is for, for the server's box-run records (#39): X-Abso-Kind on POST /run. */\n \trunKind: RunKind = \"run\";\n \n \t/** The Issues Worker (#54) this folder's issues calls go to; set by the issues commands (issues.ts). */\n@@ -173,7 +173,7 @@\n \theaders(contentType?: string): Record<string, string> {\n \t\treturn {\n \t\t\t// Which client made the call (#29); the mods send theirs too.\n-\t\t\t\"x-avcs-client\": `abso-cli/${clientVersion()}`,\n+\t\t\t\"x-abso-client\": `abso-cli/${clientVersion()}`,\n \t\t\t...(this.config.token ? { authorization: `Bearer ${this.config.token}` } : {}),\n \t\t\t...(contentType ? { \"content-type\": contentType } : {}),\n \t\t};\n@@ -479,7 +479,7 @@\n \t\ttry {\n \t\t\tres = await fetch(this.url(path, this.issuesServer), {\n \t\t\t\tmethod: \"POST\",\n-\t\t\t\theaders: { ...this.headers(\"application/octet-stream\"), \"x-avcs-name\": encodeURIComponent(name) },\n+\t\t\t\theaders: { ...this.headers(\"application/octet-stream\"), \"x-abso-name\": encodeURIComponent(name) },\n \t\t\t\tbody: bytes as Uint8Array<ArrayBuffer>,\n \t\t\t\tsignal: AbortSignal.timeout(Math.max(this.timeoutMs, 120_000)),\n \t\t\t});\n@@ -882,9 +882,9 @@\n \t */\n \tasync run(command: string, tarGz: Uint8Array<ArrayBuffer>, io: RunIO): Promise<number> {\n \t\tconst res = await postRun(this, command, tarGz, io.onRetry, io.replace, io.fresh);\n-\t\t// X-Avcs-Box: cold means the box started for this run; X-Avcs-Prep says whether it started from the prep (#37).\n-\t\tio.onBox?.(res.headers.get(\"x-avcs-box\") === \"cold\", res.headers.get(\"x-avcs-prep\") ?? undefined);\n-\t\treturn follow(this, res, res.headers.get(\"x-avcs-run\"), { at: 0, errAt: 0 }, io);\n+\t\t// X-Abso-Box: cold means the box started for this run; X-Abso-Prep says whether it started from the prep (#37).\n+\t\tio.onBox?.(res.headers.get(\"x-abso-box\") === \"cold\", res.headers.get(\"x-abso-prep\") ?? undefined);\n+\t\treturn follow(this, res, res.headers.get(\"x-abso-run\"), { at: 0, errAt: 0 }, io);\n \t}\n \n \t/**\n@@ -898,7 +898,7 @@\n \t\treplace = false,\n \t): Promise<string> {\n \t\tconst res = await postRun(this, command, tarGz, onRetry, replace);\n-\t\tconst id = res.headers.get(\"x-avcs-run\");\n+\t\tconst id = res.headers.get(\"x-abso-run\");\n \t\tif (id === null) {\n \t\t\t// No id: the box failed before the job started ({\"error\"} in the body), or the server can't detach.\n \t\t\tawait consumeRun(res, { out: () => {} }, { at: 0, errAt: 0 });"}],"unmatched":[]}