Files
Nexus/docs/audit/2026-06-12-terminal-server-rail-search-history.md
T
Nexus Agent 989b17902b feat(terminal): 右侧服务器列表与搜索历史
终端与会话并行:右侧常驻选服列表,combobox 共用服务器页最近 10 条搜索历史。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 01:47:46 +08:00

39 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 审计 — 终端页右侧服务器列表与搜索历史
**Changelog**: `docs/changelog/2026-06-12-terminal-server-rail-search-history.md`
## 范围(文件清单)
| 文件 | 变更 |
|------|------|
| `frontend/src/pages/TerminalPage.vue` | 左右分栏,右侧常驻列表 |
| `frontend/src/components/terminal/TerminalArea.vue` | 空态文案 |
| `frontend/src/components/terminal/TerminalServerPicker.vue` | sidebar 模式 + combobox |
| `frontend/src/components/terminal/TerminalServerPickerSearch.vue` | 新建 |
| `frontend/src/components/terminal/TerminalServerPickerList.vue` | 新建 |
| `frontend/src/composables/terminal/useTerminalSessions.ts` | search-history API |
## Step 3 规则扫描
| H | 规则 | 结论 |
|---|------|------|
| H1 | 安全 | PASS — 复用已有 search-history API |
| H2 | 无静默吞错 | PASS |
| H3 | 无新密钥 | PASS |
| H4 | CUD | N/A |
## Closure
| H | 判定 | 依据 |
|---|------|------|
| H1H4 | PASS | 纯前端布局 + 已有 API |
## DoD
- [x] type-check
- [ ] 生产 `#/terminal` 验证
## 验证
右侧列表 + 搜索历史 10 条;与会话并行。