Versions 41 to 318
Lines 41–47 at 318 (were 41–47 at 41)
44− /** Called when the run starts: whether the box is fresh, and what X-Avcs-Prep says about its prep. */
44+ /** Called when the run starts: whether the box is fresh, and what X-Abso-Prep says about its prep. */
Lines 150–164 at 318 (were 150–164 at 41)
151151 // stderr=split: the box's stderr comes apart from stdout (7a5a111); older servers ignore it.
152152 // replace=1: stop the runs still going in the box first; without it the server answers 409 (#25).
153− const answer = await fetch(
154154 `${api.url(api.agentPath("run"))}?cmd=${encodeURIComponent(command)}&stderr=split${replace ? "&replace=1" : ""}${fresh ? "&fresh=1" : ""}${boxQuery(api.box)}`,
157− headers: { ...api.headers("application/gzip"), "x-avcs-run-key": key, "x-avcs-kind": api.runKind },
157+ headers: { ...api.headers("application/gzip"), "x-abso-run-key": key, "x-abso-kind": api.runKind },
161− if (answer.status < 500 || answer.headers.get("x-avcs-run") !== null) {
Lines 216–222 at 318 (were 216–222 at 41)
219− const res = await fetch(followUrl(api, id, seen), { headers: api.headers() });
- MCP
- compare on this site's /mcp
- CLI
- abso diff 41 318 client/src/box-run.ts --json
- JSON
- /christopher/abso-core/compare/41..318?file=client%2Fsrc%2Fbox-run.ts&format=json