8c86b50d09
服务器页拆分未设路径列表、行内展开详情;API target_path_unset 可选过滤。 命令栏取消 Shell 语法彩色,ANSI 仅保留 xterm SSH 输出区。 Co-authored-by: Cursor <cursoragent@cursor.com>
1.7 KiB
1.7 KiB
审计 — 生产部署批次(WebSSH ANSI + 服务器未设路径 + 命令栏单色)
Changelog:
docs/changelog/2026-06-08-webssh-xterm-ansi-output-fix.mddocs/changelog/2026-06-08-servers-unset-path-inline-detail.mddocs/changelog/2026-06-08-terminal-cmdbar-monochrome.md
变更文件
| 模块 | 文件 |
|---|---|
| WebSSH relay | server/api/webssh.py |
| 终端解码 | frontend/src/utils/terminalPayload.ts |
| 终端会话 | frontend/src/composables/terminal/useTerminalSessions.ts |
| 终端页 | frontend/src/pages/TerminalPage.vue |
| 命令栏 | frontend/src/components/terminal/TerminalCmdBar.vue |
| WebSSH 单测 | tests/test_webssh_terminal_payload.py |
| 路径判定 | server/utils/posix_paths.py |
| 服务器仓储 | server/infrastructure/database/server_repo.py |
| 服务器 API | server/api/servers.py |
| 前端路径 util | frontend/src/utils/serverTargetPath.ts |
| 分页 composable | frontend/src/composables/useServerPagination.ts |
| 行内详情 | frontend/src/components/servers/ServerInlineDetail.vue |
| 未设路径面板 | frontend/src/components/servers/ServerUnsetPathPanel.vue |
| 服务器页 | frontend/src/pages/ServersPage.vue |
| 路径过滤单测 | tests/test_server_target_path_filter.py |
Step 3
| 项 | 结论 |
|---|---|
| xterm ANSI 在 SSH 输出区 | PASS(PTY env + data_b64) |
| 命令栏单色 | PASS(.sh-* 统一 on-surface) |
target_path_unset 默认 None |
PASS |
| 双表 refresh / 行内详情 | PASS |
Closure
Gate 7/7 PASS · pytest + local_verify + build · 生产部署
DoD
- WebSSH xterm ANSI
- 命令栏无彩色
- 服务器未设路径区块 + 行内详情
- 单测与门控