fix: expose apply-patch timing summary

This commit is contained in:
Codex
2026-06-06 18:12:58 +00:00
parent 3f26f4f359
commit 27acd2a98f
6 changed files with 234 additions and 5 deletions
+12 -1
View File
@@ -1294,7 +1294,18 @@ async function runRemoteSshOverFrontend(session: FrontendSession, target: string
const executor: ApplyPatchV2Executor = {
run: (command, input) => runRemoteSshWebSocketCapture(session, invocation, command, input),
};
return await runApplyPatchV2({ executor, stdin: process.stdin, stdout: process.stdout, stderr: process.stderr, argv: normalizedArgs.slice(1) });
return await runApplyPatchV2({
executor,
stdin: process.stdin,
stdout: process.stdout,
stderr: process.stderr,
argv: normalizedArgs.slice(1),
timing: {
providerId: invocation.providerId,
route: invocation.route.raw,
transport: "frontend-websocket",
},
});
}
return runRemoteSshWebSocket(session, invocation);
}