feat: Agent CLI 与终端审计回放全面优化

- Agent CLI: 多轮对话、SSH 长连接、流式推理、Evolver 按用户隔离、历史侧栏
- 终端审计: 回放播放器、命令书签、筛选分页导出、命令输出统计、录制落盘修复
- 修复 session_commands 表迁移、Kill 竞态导致录制丢失、无录制会话回放提示
- 审计历史页只读(移除删除),移除回放弹框录制搜索
This commit is contained in:
Logan committed 2026-07-01 12:13:53 +08:00
1 parent 9a3dd304f7
commit 1acb0c49af
81 files changed
+3916 -1655

No files matched your search

+37 -1
View File
@@ -620,6 +620,7 @@
"noHistory": "No history sessions",
"noCommands": "No command records",
"totalCommands": "{{count}} commands",
"showingLoaded": "{{loaded}} loaded",
"virtualScroll": "virtual scroll",
"autoRefresh": "Auto Refresh",
"autoRefreshHintOn": "Auto-refresh every {{sec}}s · click to disable",
@@ -630,6 +631,40 @@
"liveMonitor": "Live Monitor",
"replay": "Replay",
"downloadRecord": "Download Recording",
"replayAtCommand": "Replay from command",
"filterUsername": "Username",
"presetToday": "Today",
"preset7d": "Last 7 days",
"preset30d": "Last 30 days",
"hasRecordOnly": "With recording only",
"applyFilter": "Filter",
"totalSessions": "{{count}} sessions",
"deleteTitle": "Delete Session",
"deleteConfirm": "Delete session #{{id}}? Recording will be removed.",
"deleted": "Deleted",
"deleteFailed": "Delete failed",
"batchDelete": "Batch delete",
"batchDeleteConfirm": "Delete {{count}} selected sessions?",
"batchDeleted": "Batch deleted",
"exportFailed": "Export failed",
"exportReport": "Export report",
"exportReportCsv": "Export CSV",
"exportCommands": "Export commands",
"exportCommandsCsv": "Export commands CSV",
"replayPlayer": {
"title": "Terminal Replay #{{id}}",
"desc": "Replay recorded terminal session",
"noRecord": "No recording data for this session",
"loadFailed": "Failed to load recording",
"legacyFormat": "Legacy format — static display only",
"commands": "Command bookmarks",
"searchCommand": "Search commands...",
"noCommands": "No commands recorded",
"toStart": "Jump to start",
"toEnd": "Jump to end",
"restart": "Restart playback",
"clientIp": "Client IP"
},
"tab": {
"active": "Active Sessions",
"history": "History Sessions",
@@ -647,7 +682,8 @@
"actions": "Actions",
"command": "Command",
"outputSize": "Output Size",
"sessionRef": "Session"
"sessionRef": "Session",
"recordSize": "Recording Size"
},
"status": {
"active": "Active",
+37 -1
View File
@@ -620,6 +620,7 @@
"noHistory": "暂无历史会话",
"noCommands": "暂无会话命令记录",
"totalCommands": "共 {{count}} 条命令",
"showingLoaded": "已加载 {{loaded}} 条",
"virtualScroll": "虚拟滚动渲染",
"autoRefresh": "自动刷新",
"autoRefreshHintOn": "每 {{sec}}s 自动刷新 · 点击关闭",
@@ -630,6 +631,40 @@
"liveMonitor": "实时查看",
"replay": "回放",
"downloadRecord": "下载录制",
"replayAtCommand": "从此命令回放",
"filterUsername": "用户名",
"presetToday": "今天",
"preset7d": "近7天",
"preset30d": "近30天",
"hasRecordOnly": "仅有录制",
"applyFilter": "筛选",
"totalSessions": "共 {{count}} 条会话",
"deleteTitle": "删除会话",
"deleteConfirm": "确认删除会话 #{{id}}?录制文件将一并删除。",
"deleted": "已删除",
"deleteFailed": "删除失败",
"batchDelete": "批量删除",
"batchDeleteConfirm": "确认删除选中的 {{count}} 条会话记录?",
"batchDeleted": "已批量删除",
"exportFailed": "导出失败",
"exportReport": "导出报告",
"exportReportCsv": "导出 CSV",
"exportCommands": "导出命令",
"exportCommandsCsv": "导出命令 CSV",
"replayPlayer": {
"title": "终端回放 #{{id}}",
"desc": "回放录制的终端会话",
"noRecord": "该会话无录制数据",
"loadFailed": "加载录制失败",
"legacyFormat": "旧版录制格式,仅支持静态展示",
"commands": "命令书签",
"searchCommand": "搜索命令...",
"noCommands": "无命令记录",
"toStart": "跳到开头",
"toEnd": "跳到结尾",
"restart": "重新播放",
"clientIp": "客户端 IP"
},
"tab": {
"active": "在线会话",
"history": "历史会话",
@@ -647,7 +682,8 @@
"actions": "操作",
"command": "命令",
"outputSize": "输出大小",
"sessionRef": "关联会话"
"sessionRef": "关联会话",
"recordSize": "录制大小"
},
"status": {
"active": "活动中",