From 039d6b3cf2e7997bf47c19cb7859daec7e5a40ef Mon Sep 17 00:00:00 2001 From: olibaron Date: Tue, 24 Nov 2026 20:53:40 +0100 Subject: [PATCH] fix(connectors): title the last Connectors heading Custom connectors Co-Authored-By: Claude Opus 5.5 --- ...2026-11-24-more-connectors-grouped-by-category.i18n.yaml | 4 ++-- .../2026-11-24-more-connectors-grouped-by-category.md | 2 +- .../2026-11-24-more-connectors-grouped-by-category.zh.md | 2 +- .../client/ui-settings-integrations/src/client/locales.ts | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.i18n.yaml b/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.i18n.yaml index 73aeefba59..dc9e70adcd 100644 --- a/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.i18n.yaml +++ b/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.i18n.yaml @@ -2,5 +2,5 @@ # side as of the last confirmed-consistent state. Both languages carry equal authority; # after editing either side, bring the other along and re-record with: # pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.md -2026-11-24-more-connectors-grouped-by-category.md: 6488d657088bf7cb55bd5b04634065552023f0b0 -2026-11-24-more-connectors-grouped-by-category.zh.md: 42e7ca350d713a6978589547fa51deb247efbc80 +2026-11-24-more-connectors-grouped-by-category.md: defb9cbd15f578d3d57c990e151d999705099db9 +2026-11-24-more-connectors-grouped-by-category.zh.md: d0e546ad3b88f5e7ac157d8f5461fe1ac61806d7 diff --git a/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.md b/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.md index 6488d65708..defb9cbd15 100644 --- a/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.md +++ b/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.md @@ -15,7 +15,7 @@ Users asked for Spotify, Cloudflare, AWS, Supabase, Calendly, the other major cl - **Azure DevOps through the Microsoft application.** Its hosted server lives at `mcp.dev.azure.com/` and authorizes through Entra work and school accounts, so the API's Microsoft application requests `https://mcp.dev.azure.com/.default` at `organizations`. That token is not for Graph, so the API reads the account from the ID token instead of Graph's `/me`. Settings collects the organization before the consent and the Host stores the server with the row. Azure resources have no hosted MCP server and are not offered. - **Oracle Cloud like Salesforce.** Oracle's managed MCP server runs inside each tenancy and authorizes through the tenancy's own Identity Domain, without dynamic registration, so the user brings the server URL, the Identity Domain, and its application's client id and secret. The API's bring-your-own path, until now Salesforce's alone, selects validation rules and endpoints by provider; it accepts only `identity.oraclecloud.com` hosts and requests `openid offline_access`, and the Host accepts only an HTTPS `oraclecloud.com` server URL. - **Google beyond Gmail, Drive, and Calendar.** `google-tasks` (`tasks`), `google-contacts` (`contacts`), and `google-meet` (`meetings.space.created`, `meetings.space.readonly`) run through the same Workspace bridge with `GWS_SERVICES` set to `tasks`, `people`, and `meet`. All four scopes are sensitive, not restricted, so verification needs no CASA assessment. The bridge has no Meet tools of its own; its `workspace_raw` tool reaches the Meet API and verifies the grant with `conferenceRecords.list`. Chat and Keep need a Workspace administrator and YouTube is outside the bridge, so they are not offered. -- **Categories in the client.** `connector-categories.ts` maps every provider to one heading — Communication, Productivity, Development tools, Sales and marketing, Commerce and shopping, Financial services, the vocabulary of Claude's connector directory, with custom MCP servers last under Custom because they can be anything — and the Connectors page lists each non-empty heading above its rows. The map is a `Record`, so adding a provider without a category fails the typecheck. Search narrows the rows inside each heading and hides headings left empty. +- **Categories in the client.** `connector-categories.ts` maps every provider to one heading — Communication, Productivity, Development tools, Sales and marketing, Commerce and shopping, Financial services, the vocabulary of Claude's connector directory, with custom MCP servers last under Custom connectors because they can be anything — and the Connectors page lists each non-empty heading above its rows. The map is a `Record`, so adding a provider without a category fails the typecheck. Search narrows the rows inside each heading and hides headings left empty. ## Alternatives considered diff --git a/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.zh.md b/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.zh.md index 42e7ca350d..d0e546ad3b 100644 --- a/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.zh.md +++ b/.agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.zh.md @@ -15,7 +15,7 @@ Status: implemented - **通过 Microsoft 应用接入 Azure DevOps。** 其托管服务器位于 `mcp.dev.azure.com/`,经由 Entra 工作或学校账户授权,因此 API 的 Microsoft 应用在 `organizations` 请求 `https://mcp.dev.azure.com/.default`。该令牌并非针对 Graph,因此 API 从 ID 令牌而非 Graph 的 `/me` 读取账户。设置页面在授权前收集组织,宿主将服务器与连接行一同保存。Azure 资源没有托管 MCP 服务器,因此不提供。 - **Oracle Cloud 沿用 Salesforce 的方式。** Oracle 的托管 MCP 服务器运行在各租户内部,经由租户自己的身份域授权,且不支持动态注册,因此用户提供服务器 URL、身份域及其应用的客户端 ID 和密钥。API 的自带应用路径此前仅供 Salesforce 使用,现按提供商选择校验规则和端点;它只接受 `identity.oraclecloud.com` 主机,并请求 `openid offline_access`,宿主只接受 `oraclecloud.com` 上的 HTTPS 服务器 URL。 - **Gmail、云端硬盘和日历之外的 Google 服务。** `google-tasks`(`tasks`)、`google-contacts`(`contacts`)和 `google-meet`(`meetings.space.created`、`meetings.space.readonly`)通过同一 Workspace 桥接运行,`GWS_SERVICES` 分别设为 `tasks`、`people` 和 `meet`。这四个范围均为敏感而非受限范围,因此验证无需 CASA 评估。桥接本身没有 Meet 工具;其 `workspace_raw` 工具访问 Meet API,并以 `conferenceRecords.list` 验证授权。Chat 和 Keep 需要 Workspace 管理员,YouTube 不在桥接范围内,因此不提供。 -- **类别在客户端。** `connector-categories.ts` 将每个提供商映射到一个标题——沟通、效率、开发工具、销售与营销、电商与购物或金融服务,沿用 Claude 连接器目录的用语,自定义 MCP 服务器可以是任何服务,因此排在最后的“自定义”标题下——连接器页面在各行上方列出每个非空标题。该映射为 `Record`,新增提供商而未指定类别会导致类型检查失败。搜索会缩小每个标题下的行,并隐藏变空的标题。 +- **类别在客户端。** `connector-categories.ts` 将每个提供商映射到一个标题——沟通、效率、开发工具、销售与营销、电商与购物或金融服务,沿用 Claude 连接器目录的用语,自定义 MCP 服务器可以是任何服务,因此排在最后的“自定义连接器”标题下——连接器页面在各行上方列出每个非空标题。该映射为 `Record`,新增提供商而未指定类别会导致类型检查失败。搜索会缩小每个标题下的行,并隐藏变空的标题。 ## 考虑过的替代方案 diff --git a/packages/client/ui-settings-integrations/src/client/locales.ts b/packages/client/ui-settings-integrations/src/client/locales.ts index 629f3acebe..89c6da49e8 100644 --- a/packages/client/ui-settings-integrations/src/client/locales.ts +++ b/packages/client/ui-settings-integrations/src/client/locales.ts @@ -142,7 +142,7 @@ export const en = { calendlyDescription: 'See your scheduled meetings and event types, share booking links, and book or cancel meetings in Calendly.', supabaseDescription: 'Query databases, run migrations, and manage projects, edge functions, and storage in your Supabase organizations.', categoryCommunication: 'Communication', categoryProductivity: 'Productivity', categoryDevelopment: 'Development tools', categorySales: 'Sales and marketing', - categoryCommerce: 'Commerce and shopping', categoryFinance: 'Financial services', categoryCustom: 'Custom', + categoryCommerce: 'Commerce and shopping', categoryFinance: 'Financial services', categoryCustom: 'Custom connectors', salesforceDescription: 'Search, read, create, and update records in your Salesforce org through its hosted MCP server.', salesforceSetup: 'Your Salesforce administrator first creates an External Client App with the callback URL https://aeven.io/connectors/oauth/callback, the mcp_api and refresh_token scopes, and PKCE, then turns on the MCP server under Setup → API Catalog → MCP Servers.', salesforceDomain: 'My Domain', salesforceClientId: 'Consumer key', salesforceClientSecret: 'Consumer secret (if the app requires one)', @@ -315,7 +315,7 @@ export const zh: Record = { calendlyDescription: '在 Calendly 中查看已安排的会议及活动类型、分享预约链接,并预约或取消会议。', supabaseDescription: '在您的 Supabase 组织中查询数据库、运行迁移,并管理项目、边缘函数及存储。', categoryCommunication: '沟通', categoryProductivity: '效率', categoryDevelopment: '开发工具', categorySales: '销售与营销', - categoryCommerce: '电商与购物', categoryFinance: '金融服务', categoryCustom: '自定义', + categoryCommerce: '电商与购物', categoryFinance: '金融服务', categoryCustom: '自定义连接器', salesforceDescription: '通过 Salesforce 组织的托管 MCP 服务器搜索、阅读、创建及更新记录。', salesforceSetup: '您的 Salesforce 管理员需先创建一个外部客户端应用:回调 URL 为 https://aeven.io/connectors/oauth/callback,权限范围为 mcp_api 和 refresh_token,并启用 PKCE;然后在“设置 → API 目录 → MCP 服务器”中启用 MCP 服务器。', salesforceDomain: '我的域', salesforceClientId: '使用者密钥', salesforceClientSecret: '使用者密码(如应用要求)', @@ -487,7 +487,7 @@ export const es = { calendlyDescription: 'Consulta tus reuniones programadas y tipos de evento, comparte enlaces de reserva y reserva o cancela reuniones en Calendly.', supabaseDescription: 'Consulta bases de datos, ejecuta migraciones y administra proyectos, edge functions y almacenamiento en tus organizaciones de Supabase.', categoryCommunication: 'Comunicación', categoryProductivity: 'Productividad', categoryDevelopment: 'Herramientas de desarrollo', categorySales: 'Ventas y marketing', - categoryCommerce: 'Comercio y compras', categoryFinance: 'Servicios financieros', categoryCustom: 'Personalizado', + categoryCommerce: 'Comercio y compras', categoryFinance: 'Servicios financieros', categoryCustom: 'Conectores personalizados', salesforceDescription: 'Busca, lee, crea y actualiza registros en tu organización de Salesforce mediante su servidor MCP alojado.', salesforceSetup: 'Primero, tu administrador de Salesforce crea una External Client App con la URL de devolución de llamada https://aeven.io/connectors/oauth/callback, los ámbitos mcp_api y refresh_token y PKCE, y activa el servidor MCP en Configuración → API Catalog → MCP Servers.', salesforceDomain: 'Mi dominio', salesforceClientId: 'Clave de consumidor', salesforceClientSecret: 'Secreto de consumidor (si la app lo requiere)',