diff --git a/.gitignore b/.gitignore index c89e3d7e..cfb9c543 100644 --- a/.gitignore +++ b/.gitignore @@ -22,5 +22,6 @@ package-lock.json Thumbs.db CLAUDE.md +.claude AGENTS.md .serena \ No newline at end of file diff --git a/app.js b/app.js index a5a167af..6a6c2468 100644 --- a/app.js +++ b/app.js @@ -1750,8 +1750,8 @@ class CLIProxyManager { // 增量加载:追加新日志 this.appendLogs(response.lines, response['line-count'] || 0); } else if (!incremental && response.lines.length > 0) { - // 全量加载:重新渲染 - this.renderLogs(response.lines, response['line-count'] || response.lines.length, false); + // 全量加载:重新渲染,默认滚动到底部显示最新日志 + this.renderLogs(response.lines, response['line-count'] || response.lines.length, true); } else if (!incremental) { // 全量加载但没有日志 logsContent.innerHTML = '

' +