From 02dba4e63c90b57196a98ab5cb0448035fe6b974 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 31 Oct 2026 22:27:47 +0000 Subject: [PATCH 1/2] Unify user-facing product name as "Thoughtful" The product appeared as "Writing Tools", "Thoughtful AI Tools", and "Thoughtful Writing Tools" depending on the surface. Use "Thoughtful" on the OAuth login page, device approval page, Google Docs add-on (menu, sidebar, store listing, setup README), Office store long description, dev debug pages, and docs. The Mindmap OAuth client's display name becomes "Mindmap" (re-provisioned on startup). Left as-is: the lab name ("Thoughtful AI Lab"), LICENSE, package and repo identifiers. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017KwGFihH21DMyLYsDhRSFp --- backend/src/__tests__/oauth-config.test.ts | 2 +- backend/src/config.ts | 2 +- backend/src/routes/debug.ts | 2 +- backend/src/routes/device-approval.ts | 6 +++--- backend/src/routes/device-taskpane.ts | 2 +- backend/src/routes/oauth-login.ts | 6 +++--- docs/oauth-provider.md | 4 ++-- frontend/public/longDescription.html | 4 ++-- google-docs-addon/Code.gs | 12 ++++++------ google-docs-addon/README.md | 12 ++++++------ google-docs-addon/appsscript.json | 2 +- google-docs-addon/sidebar.html | 10 +++++----- google-docs-addon/store-listing.md | 6 +++--- 13 files changed, 35 insertions(+), 35 deletions(-) diff --git a/backend/src/__tests__/oauth-config.test.ts b/backend/src/__tests__/oauth-config.test.ts index 5281581c..5cef9840 100644 --- a/backend/src/__tests__/oauth-config.test.ts +++ b/backend/src/__tests__/oauth-config.test.ts @@ -40,7 +40,7 @@ describe('trusted OAuth client configuration', () => { expect(trustedOAuthClients()).toEqual([ { clientId: 'writing-tools-mindmap', - name: 'Writing Tools Mindmap', + name: 'Mindmap', redirectUris: [PROD_REDIRECT], }, ]); diff --git a/backend/src/config.ts b/backend/src/config.ts index d7f27a26..60465066 100644 --- a/backend/src/config.ts +++ b/backend/src/config.ts @@ -101,7 +101,7 @@ export const trustedOAuthClients = (): TrustedOAuthClient[] => [ { clientId: envString('MINDMAP_OAUTH_CLIENT_ID'), - name: 'Writing Tools Mindmap', + name: 'Mindmap', redirectUris: envList('MINDMAP_OAUTH_REDIRECT_URIS'), }, ].filter((client) => client.clientId && client.redirectUris.length > 0); diff --git a/backend/src/routes/debug.ts b/backend/src/routes/debug.ts index cb751409..b4c656ab 100644 --- a/backend/src/routes/debug.ts +++ b/backend/src/routes/debug.ts @@ -8,7 +8,7 @@ const DEBUG_HTML = ` - Auth Debug — Writing Tools Backend + Auth Debug — Thoughtful backend -

Sign in to Writing Tools

+

Sign in to Thoughtful

-

Sign in to let the app you came from use Writing Tools AI on your behalf.

+

Sign in to let the app you came from use Thoughtful on your behalf.