From e99e23e04b9e043e1e2a3d44b4d56e97c4aecf35 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Fri, 21 Aug 2026 01:57:43 -0700 Subject: [PATCH] Say workbench, not bench or workspace, in user-facing copy check:ui-vocabulary flagged seven strings using internal nouns. Also replaces a raw deploy-response error with something a person can read. --- apps/web/src/instant-agent-create.ts | 4 +--- apps/web/src/pages/agent-detail-page.tsx | 6 +++--- apps/web/src/pages/new-workbench-picker.tsx | 2 +- apps/web/src/workbench-templates-api.ts | 2 +- packages/chat-ui/src/strings.ts | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/apps/web/src/instant-agent-create.ts b/apps/web/src/instant-agent-create.ts index da8be86f2..3b3071248 100644 --- a/apps/web/src/instant-agent-create.ts +++ b/apps/web/src/instant-agent-create.ts @@ -119,9 +119,7 @@ export async function createWorkbenchFromTemplate( : ((await fetchWorkbenchTemplateManifest(tenantId, templateId)) ?? undefined); if (templateId !== "blank" && manifest === undefined) { - throw new Error( - `This bench can't set up a ${templateId} workbench yet — it isn't in the library.`, - ); + throw new Error(`A ${templateId} workbench isn't available here yet.`); } const requiresGithub = manifest?.requiredConnections.includes("github") ?? false; diff --git a/apps/web/src/pages/agent-detail-page.tsx b/apps/web/src/pages/agent-detail-page.tsx index 2fee6a96d..d7ddbf0a1 100644 --- a/apps/web/src/pages/agent-detail-page.tsx +++ b/apps/web/src/pages/agent-detail-page.tsx @@ -423,8 +423,8 @@ export function AgentDetailPage({ {archived - ? "Archived — nobody can start a new chat with it until it is restored. Chats already running keep going." - : "Active — anyone in this bench can start a chat with it."} + ? "Archived — nobody can start a new conversation with it until it is restored. Conversations already running keep going." + : "Active — anyone in this workbench can talk to it."}
@@ -637,7 +637,7 @@ export function AgentDetailRoute({ } title="No such agent" - description={`Nothing in this bench answers to "${slug}". It may have been renamed, or belong to another workbench.`} + description={`Nothing here answers to "${slug}". It may have been renamed, or belong to another workbench.`} footer={