fix(connections): recognize the Workspace homepage

Give the combined connector a distinct URL pattern without taking over product-specific Google links. All 45 catalog and scope tests pass.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-08 05:56:17 -05:00
1 parent 4219ebbb80
commit 948a29f0fd
2 files changed
+2 -1

No files matched your search

@@ -11,6 +11,7 @@ describe("tool app gallery URL matching", () => {
expect(getAppDefinitionForUrl("https://github.com/paperclipai/paperclip/pull/1")?.slug).toBe("github");
expect(getAppDefinitionForUrl("https://docs.google.com/spreadsheets/d/sheet_123/edit")?.slug).toBe("google-sheets");
expect(getAppDefinitionForUrl("https://gmailmcp.googleapis.com/mcp/v1")?.slug).toBe("gmail");
expect(getAppDefinitionForUrl("https://workspace.google.com/")?.slug).toBe("google-workspace");
expect(getAppDefinitionForUrl("https://mcp.neon.tech/mcp")?.slug).toBe("neon");
expect(getAppDefinitionForUrl("https://www.superagent.sh/mcp")?.slug).toBe("superagent");
});
@@ -12,7 +12,7 @@
"branding": {
"logoUrl": "/brands/apps/google-people.svg"
},
"urlPatterns": [],
"urlPatterns": ["https://workspace.google.com/*"],
"docsUrl": "https://developers.google.com/workspace/guides/configure-mcp-servers",
"setupPrerequisite": {
"title": "Google Developer Preview access required",