Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

Merge pull request #5529 from zyjisdog/cindy/epic-wozniak

Lizi29b9356233fc
diff --cc apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsx
index 34cb418f26,888e525515..539cea4b36
--- a/apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsx
+++ b/apps/desktop/src/renderer/features/cc-agent/RolePillDropdown.tsx
@@@ -521,16 -500,20 +531,18 @@@ function WorkerLayoutMenu(
onLayoutChange,
workers,
selectedWorkerId,
- activeWorkerCount,
onSwitchFocus,
onArchiveWorker,
+ onEditWorker,
clearAttentionWhenVisible = true,
}: {
layout: WorkerListLayout;
onLayoutChange: (layout: WorkerListLayout) => void;
workers: WorkerInfo[];
selectedWorkerId: string | null;
- activeWorkerCount: number;
onSwitchFocus: (workerId: string) => void;
onArchiveWorker: (workerId: string) => void;
+ onEditWorker?: (workerId: string) => void;
clearAttentionWhenVisible?: boolean;
}) {
const { t } = useTranslation();
@@@ -1125,8 -1141,10 +1183,9 @@@ export function WorkerListToolbar(
onLayoutChange={handleLayoutChange}
workers={workers}
selectedWorkerId={selectedWorkerId}
- activeWorkerCount={activeWorkerCount}
onSwitchFocus={onSwitchFocus}
onArchiveWorker={onArchiveWorker}
+ onEditWorker={onEditWorker}
clearAttentionWhenVisible={clearAttentionWhenVisible}
/>
{trailingActions}
@@@ -1180,8 -1200,10 +1241,9 @@@
onLayoutChange={handleLayoutChange}
workers={workers}
selectedWorkerId={selectedWorkerId}
- activeWorkerCount={activeWorkerCount}
onSwitchFocus={onSwitchFocus}
onArchiveWorker={onArchiveWorker}
+ onEditWorker={onEditWorker}
clearAttentionWhenVisible={clearAttentionWhenVisible}
/>
{trailingActions}
@@@ -1193,8 -1215,10 +1255,9 @@@ export function RolePillDropdown(
worker,
workers,
selectedWorkerId,
- activeWorkerCount,
onSwitchFocus,
onArchiveWorker,
+ onEditWorker,
clearAttentionWhenVisible = true,
className,
}: RolePillDropdownProps) {
diff --cc apps/desktop/src/renderer/i18n/locales/en/common.json
index 4c45a3189b,f5df48ebd4..cc42322e6b
--- a/apps/desktop/src/renderer/i18n/locales/en/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json
@@@ -15379,10 -15371,11 +15392,11 @@@
"unread": "Unread update",
"worker": "Worker",
"workersHeader": "Workers",
- "workerCountSummary_one": "{{totalCount}} worker · {{activeCount}} active",
- "workerCountSummary_other": "{{totalCount}} workers · {{activeCount}} active",
+ "workerCountSummary_one": "{{totalCount}} worker · {{activeCount}} running",
+ "workerCountSummary_other": "{{totalCount}} workers · {{activeCount}} running",
"statusAria": "status {{status}}",
"archiveWorkerAria": "Archive worker {{name}}",
+ "editWorkerAria": "Edit worker {{name}}",
"createWorker": "Create new worker",
"hardLimitHint": "Hard limit reached: {{count}}. Archive an existing worker to create another one.",
"hardLimitSettingsHint": "Hard limit reached: {{count}}. Click to adjust in collaboration settings.",
diff --cc apps/desktop/src/renderer/i18n/locales/ko/common.json
index 7443fa7800,c40e7ce791..f4a9ded926
--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json
@@@ -15330,9 -15322,10 +15343,10 @@@
"unread": "읽지 않은 업데이트",
"worker": "Worker",
"workersHeader": "Workers",
- "workerCountSummary_other": "전체 Worker {{totalCount}} · 활성 {{activeCount}}",
+ "workerCountSummary_other": "전체 Worker {{totalCount}} · 실행 중 {{activeCount}}",
"statusAria": "상태 {{status}}",
"archiveWorkerAria": "Worker {{name}} 아카이브",
+ "editWorkerAria": "Worker {{name}} 편집",
"createWorker": "새 Worker 만들기",
"hardLimitHint": "하드 제한 {{count}} 에 도달했습니다. 기존 Worker 를 아카이브하면 더 만들 수 있습니다.",
"hardLimitSettingsHint": "하드 제한 {{count}} 에 도달했습니다. 클릭하여 협업 설정을 조정합니다.",