Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
chore(desktop): 恢复 worker 列表默认布局为 dropdown
Shinku74d625fad8ba
diff --git a/apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsx b/apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsxindex 0f277e0c3e..437dd29be3 100644--- a/apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsx+++ b/apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsx@@ -169,11 +169,11 @@ type WorkerListLayout = 'tabs' | 'dropdown';type DropdownOpenMode = 'transient' | 'pinned' | null;function readStoredWorkerListLayout(): WorkerListLayout {- if (typeof window === 'undefined') return 'tabs';+ if (typeof window === 'undefined') return 'dropdown';try {- return window.localStorage.getItem(WORKER_LIST_LAYOUT_KEY) === 'dropdown' ? 'dropdown' : 'tabs';+ return window.localStorage.getItem(WORKER_LIST_LAYOUT_KEY) === 'tabs' ? 'tabs' : 'dropdown';} catch {- return 'tabs';+ return 'dropdown';}}