Skip to content

feat(tui_v2): 新增 /rename 命令,支持重命名当前会话#359

Open
kkingwing wants to merge 1 commit into
lsdefine:mainfrom
kkingwing:feature/tui-rename-command
Open

feat(tui_v2): 新增 /rename 命令,支持重命名当前会话#359
kkingwing wants to merge 1 commit into
lsdefine:mainfrom
kkingwing:feature/tui-rename-command

Conversation

@kkingwing
Copy link
Copy Markdown

改动内容

  • 在 tuiapp_v2.py 中新增 /rename <name> 命令
  • 支持将当前会话重命名为指定名称,侧边栏即时刷新
  • 参数缺失时给出用法提示

改动文件

  • frontends/tuiapp_v2.py:COMMANDS 列表、handlers 字典、_cmd_rename 方法

用法示例

/rename 我的新会话

测试

  • /rename 无参数 → 显示用法提示 ✅
  • /rename 新名字 → 会话标题更新、侧边栏刷新 ✅

@kkingwing kkingwing force-pushed the feature/tui-rename-command branch from f26762c to e884e25 Compare May 13, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant