Skip to content

feat: add unified workspace panel#9

Merged
ttiee merged 2 commits into
mainfrom
feat/unified-workspace-panel
Mar 15, 2026
Merged

feat: add unified workspace panel#9
ttiee merged 2 commits into
mainfrom
feat/unified-workspace-panel

Conversation

@ttiee

@ttiee ttiee commented Mar 15, 2026

Copy link
Copy Markdown
Owner

变更摘要

  • 新增 /panel/status 统一工作台入口,一屏汇总当前模式、模型、推理强度、权限、工作目录、当前会话状态和最近历史摘要。
  • 工作台面板支持一键跳转到现有模式、模型、强度、权限、目录和历史面板,并支持直接执行“新会话”“停止”“刷新”“关闭”。
  • 更新 README 中的命令和使用流程说明,补充统一工作台定位。

关联 Issue

Closes #5

具体改动

  • 用户可见行为:新增工作台面板、对应命令菜单项,以及工作台按钮交互。
  • 内部实现:在 service.py 中新增 workspace panel state/render/callback helpers,在 telegram.py/__init__.py 中新增 handler、callback 路由和 matcher 注册,并补充 service/handler/command 测试覆盖。

验证

  • pdm run pytest -q
  • pdm run ruff check .

风险 / 后续项

  • 当前工作台里的最近历史仅做摘要展示,不直接提供一键恢复;后续如果要继续收敛交互,可以再评估是否在保持面板简洁的前提下加入最近历史快捷恢复。

@ttiee ttiee merged commit b0c7166 into main Mar 15, 2026
5 checks passed
@ttiee ttiee deleted the feat/unified-workspace-panel branch March 15, 2026 09:08
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.

Feature: add a unified settings and session panel

1 participant