fix(frontend): 将 toolsets 加入 AgentTab 类型联合,修复 TS2367 编译错误

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 18:29:16 +00:00
parent ac363bc6bc
commit 6792ad5485
+1 -1
View File
@@ -3,7 +3,7 @@ import { persist } from 'zustand/middleware';
type AppMode = 'work' | 'agent'; type AppMode = 'work' | 'agent';
type WorkTab = 'chat' | 'workflow'; type WorkTab = 'chat' | 'workflow';
type AgentTab = 'plugin' | 'agents' | 'config' | 'logs'; type AgentTab = 'plugin' | 'agents' | 'toolsets' | 'config' | 'logs';
type ThemeMode = 'light' | 'dark' | 'system'; type ThemeMode = 'light' | 'dark' | 'system';
interface AppState { interface AppState {