fix(web): localize toast messages and keep full session counts (#573)

Normalize hub toast text in the web client for i18n coverage (including Ready for input notifications) and stop deduplicating session rows by agentSessionId so outline/group counts reflect user-visible sessions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
junes
2026-05-06 09:13:02 +08:00
committed by GitHub
co-authored by Cursor
parent 23c0fa4872
commit fad5dbbc30
5 changed files with 64 additions and 7 deletions
+6
View File
@@ -276,6 +276,12 @@ export default {
// Send blocked
'send.blocked.title': '无法发送消息',
'send.blocked.noConnection': '未连接到服务器',
'resume.failed.title': '恢复会话失败',
'toast.ready.title': '等待输入',
'toast.ready.body': '{agent} 正在 {session} 等待你的输入',
'toast.permission.title': '权限请求',
'toast.task.completed': '任务完成',
'toast.task.failed': '任务失败',
// Install prompt
'install.title': '安装 HAPI',