feat(cli): defer devtools startup and integrate with F12 (#18695)

This commit is contained in:
Sandy Tao
2026-02-10 08:54:23 -08:00
committed by GitHub
parent f2ca0bb38d
commit f5b1245f51
8 changed files with 704 additions and 184 deletions

View File

@@ -72,10 +72,10 @@ export async function runNonInteractive({
});
if (process.env['GEMINI_CLI_ACTIVITY_LOG_TARGET']) {
const { registerActivityLogger } = await import(
const { setupInitialActivityLogger } = await import(
'./utils/devtoolsService.js'
);
await registerActivityLogger(config);
await setupInitialActivityLogger(config);
}
const { stdout: workingStdout } = createWorkingStdio();