Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix after #627: 新组件圆角/间距回到 DESIGN.md §5 档位
Lizi94535d657477
diff --git a/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/BackgroundTasksBody.tsx b/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/BackgroundTasksBody.tsxindex 63e9eba9d9..f6f94c79ad 100644--- a/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/BackgroundTasksBody.tsx+++ b/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/BackgroundTasksBody.tsx@@ -239,7 +239,7 @@ function StopButton({ sessionId, taskId }: { sessionId: string; taskId: string }aria-label={t('rightSidebar.backgroundTasks.stop')}title={t('rightSidebar.backgroundTasks.stop')}className={cn(- 'inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-[var(--text-secondary)] transition-colors hover:bg-[var(--surface-hover)] hover:text-[var(--text-primary)]',+ 'inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-lg text-[var(--text-secondary)] transition-colors hover:bg-[var(--surface-hover)] hover:text-[var(--text-primary)]',stopping && 'cursor-default opacity-50',)}>@@ -447,7 +447,7 @@ function WorkflowDetail({onClick={onBack}aria-label={t('rightSidebar.backgroundTasks.back')}title={t('rightSidebar.backgroundTasks.back')}- className="inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-[var(--text-secondary)] transition-colors hover:bg-[var(--surface-hover)] hover:text-[var(--text-primary)]"+ className="inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-lg text-[var(--text-secondary)] transition-colors hover:bg-[var(--surface-hover)] hover:text-[var(--text-primary)]"><ArrowLeft size={14} aria-hidden="true" /></button>diff --git a/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowAgentStrip.tsx b/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowAgentStrip.tsxindex c371744c96..d6dddf708a 100644--- a/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowAgentStrip.tsx+++ b/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowAgentStrip.tsx@@ -54,7 +54,7 @@ export function WorkflowAgentStrip({<spandata-workflow-agent-strip="true"aria-hidden="true"- className="flex flex-wrap items-center gap-[3px]"+ className="flex flex-wrap items-center gap-1">{visible.map((cell, i) => (<spandiff --git a/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowProgressTree.tsx b/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowProgressTree.tsxindex 2640b0ca79..edee633225 100644--- a/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowProgressTree.tsx+++ b/apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowProgressTree.tsx@@ -172,7 +172,7 @@ function AgentRow({ row }: { row: WorkflowTreeAgentRow }) {{row.label}</span>{modelLabel && (- <span className="shrink-0 rounded-[4px] bg-[var(--surface-chip)] px-1.5 py-0.5 text-11 leading-4 text-[var(--text-tertiary)]">+ <span className="shrink-0 rounded-full bg-[var(--surface-chip)] px-1.5 py-0.5 text-11 leading-4 text-[var(--text-tertiary)]">{modelLabel}</span>)}