Skip to content

fix: distinguish stopped agents and polish admin/chat usage UX - #137

Merged
jubaoliang merged 1 commit into
developfrom
feature/chat-dock-file-tree-ux
Aug 2, 2026
Merged

fix: distinguish stopped agents and polish admin/chat usage UX#137
jubaoliang merged 1 commit into
developfrom
feature/chat-dock-file-tree-ux

Conversation

@jubaoliang

Copy link
Copy Markdown
Collaborator

Summary

  • Map disabled/stopped experts to AGENT_NOT_RUNNING (and failed starts to AGENT_FAILED) instead of conflating them with AGENT_NOT_FOUND
  • Share session channel icons across chat list/title bar, surface an inline rename control, and refresh create-user role picking
  • Let admins filter Token Usage by user (global or per-user roll-up)

Test plan

  • Stop an expert and open workspace/chat — UI shows “此专家未启用” / AGENT_NOT_RUNNING, not “not found”
  • Create user modal: role cards select admin vs user with hints; cancel resets the form
  • Chat history/title bar shows channel glyph; pencil edits the title
  • As admin, Token Usage user filter switches between all users and a single user
  • make all + cd dashboard && npx tsc --noEmit

Made with Cursor

Map disabled experts to AGENT_NOT_RUNNING instead of not-found, share
session channel icons in chat chrome, improve create-user role picking,
and let admins filter token usage by user.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jubaoliang
jubaoliang merged commit 61e28a4 into develop Aug 2, 2026
3 checks passed
@jubaoliang jubaoliang mentioned this pull request Aug 2, 2026
3 tasks
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.

2 participants