From 909e22cfeda11496714b436437b32df5db425797 Mon Sep 17 00:00:00 2001 From: Eugene Molodkin Date: Thu, 15 Oct 2026 12:37:09 +0200 Subject: [PATCH] fix(editor): remove a duplicate chat queue translation key (no-changelog) The key `agents.chat.queue.sendError` was defined two times. JSON parsing keeps the last entry, which replaced the queue confirmation message. Also make `planSchema` local again, because no other module imports it. Co-Authored-By: Claude Opus 5 (1M context) --- packages/frontend/@n8n/i18n/src/locales/en.json | 1 - .../frontend/editor-ui/src/features/agents/utils/agent-plan.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/@n8n/i18n/src/locales/en.json b/packages/frontend/@n8n/i18n/src/locales/en.json index 8153de1ef04..84cb04d5796 100644 --- a/packages/frontend/@n8n/i18n/src/locales/en.json +++ b/packages/frontend/@n8n/i18n/src/locales/en.json @@ -8422,7 +8422,6 @@ "agents.chat.tasks.stopped": "Stopped", "agents.chat.tasks.retry": "Retry stopping", "agents.chat.tasks.stopFailedTitle": "Some tasks still need to stop", - "agents.chat.queue.sendError": "Couldn’t send the message. Try again.", "agents.chat.plan.title": "Plan: {title}", "agents.chat.plan.progress": "{done} of {total} task done | {done} of {total} tasks done", "agents.chat.plan.viewTrace": "View trace", diff --git a/packages/frontend/editor-ui/src/features/agents/utils/agent-plan.ts b/packages/frontend/editor-ui/src/features/agents/utils/agent-plan.ts index 363ae8dd664..cebdf11a3a9 100644 --- a/packages/frontend/editor-ui/src/features/agents/utils/agent-plan.ts +++ b/packages/frontend/editor-ui/src/features/agents/utils/agent-plan.ts @@ -22,7 +22,7 @@ const groupSchema = z.object({ kind: z.literal('group'), tasks: z.array(taskSchema), }); -export const planSchema = z.object({ +const planSchema = z.object({ planId: z.string().uuid(), revision: z.number().int().positive(), closed: z.boolean(),