From 151db3f87dfec5533d3f25f5ddc67415c408b4e4 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Mon, 18 May 2026 12:54:47 +0800 Subject: [PATCH] auto-sync: 2026-05-18 12:54:47 --- src/frontend/src/store.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/frontend/src/store.ts b/src/frontend/src/store.ts index d706fa6..b5abcc0 100644 --- a/src/frontend/src/store.ts +++ b/src/frontend/src/store.ts @@ -193,6 +193,7 @@ export type TabKey = export const TAB_DEFS: { key: TabKey; label: string; icon: string }[] = [ { key: 'tasks', label: '任务看板', icon: '📜' }, + { key: 'mail', label: '飞鸽传书', icon: '✉️' }, { key: 'court', label: '军议大厅', icon: '🏛️' }, { key: 'monitor', label: '编排调度', icon: '🔌' }, { key: 'agents', label: '将军总览', icon: '🤺' }, @@ -415,6 +416,11 @@ interface AppStore { loadMorning: () => Promise; loadSubConfig: () => Promise; loadAll: () => Promise; + + // Mail + mails: any[]; + mailUnread: number; + loadMails: () => Promise; } let _toastId = 0;