fix: accept auth code in chutes oauth manual flow

This commit is contained in:
Peter Steinberger
2026-02-15 02:52:36 +00:00
parent 981d572132
commit 6c0dca30b8
2 changed files with 32 additions and 26 deletions

View File

@@ -20,14 +20,6 @@ const IOS_NODE = {
connected: true,
} as const;
function getFirstRuntimeLogLine(): string {
const value = runtime.log.mock.calls[0]?.[0];
if (typeof value !== "string") {
throw new Error(`expected runtime.log first arg to be string, got ${typeof value}`);
}
return value;
}
function mockCameraGateway(
command: "camera.snap" | "camera.clip",
payload: Record<string, unknown>,