fix(browser): 对齐 browser status 输出字段

移除已不存在的 evalMode 输出,保持 browser command 与当前 browser status 模型一致。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
walker1211
2026-04-22 01:03:15 +08:00
co-authored by Claude Opus 4.7
parent 96db93ee6c
commit acdb93e1a8
-2
View File
@@ -103,7 +103,6 @@ function writeClaudeStatus(
writeLine(` Source: ${status.source}${status.overrideActive ? ' (env override active)' : ''}`);
writeLine(` User data dir: ${userDataDirDisplay}`);
writeLine(` DevTools port: ${status.devtoolsPort}`);
writeLine(` browser_eval access: ${status.evalMode}`);
writeLine(` Managed MCP: ${status.managedMcpServerName}`);
writeLine(` Managed path: ${status.managedMcpServerPath}`);
if (status.runtimeEnv?.CCS_BROWSER_DEVTOOLS_HTTP_URL) {
@@ -127,7 +126,6 @@ function writeCodexStatus(
writeLine(` Enabled: ${status.enabled ? 'yes' : 'no'}`);
writeLaunchPolicy(status.policy, writeLine);
writeLine(` Managed server: ${status.serverName}`);
writeLine(` browser_eval access: ${status.evalMode}`);
writeLine(` Supports overrides: ${status.supportsConfigOverrides ? 'yes' : 'no'}`);
writeLine(` Codex binary: ${status.binaryPath || 'not detected'}`);
if (status.version) {