feat(terminal-dashboard): add session name (tag) field for grouping

- Add tag/name input field to CliConfigModal with auto-generation
- Auto-generate format: {tool}-{HHmmss} (e.g., gemini-143052)
- Add regenerate button for quick name changes
- Add i18n keys for new fields (en/zh)

Sessions are now grouped by tag in the sidebar for better organization.
This commit is contained in:
catlog22
2026-02-20 21:56:47 +08:00
parent f8ff9eaa7f
commit 7e5d47fe8d
3 changed files with 69 additions and 3 deletions

View File

@@ -90,6 +90,10 @@
"cliConfig": {
"title": "Create CLI Session",
"description": "Configure tool, model, mode, shell, and working directory.",
"tag": "Session Name",
"tagPlaceholder": "e.g., gemini-143052",
"tagHint": "Auto-generated as {tool}-{time}. Used for grouping sessions.",
"regenerateTag": "Regenerate name",
"tool": "Tool",
"model": "Model",
"modelAuto": "Auto",

View File

@@ -90,6 +90,10 @@
"cliConfig": {
"title": "创建 CLI 会话",
"description": "配置工具、模型、模式、Shell 与工作目录。",
"tag": "会话名称",
"tagPlaceholder": "例如gemini-143052",
"tagHint": "自动生成格式:{工具}-{时间}。用于会话分组显示。",
"regenerateTag": "重新生成名称",
"tool": "工具",
"model": "模型",
"modelAuto": "自动",