Repository navigation
Unify product name as "Thoughtful"; name the requesting app on OAuth login - #700
Merged
Merged
Conversation
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_017KwGFihH21DMyLYsDhRSFp
The login page said "the app you came from" for every client. Look up the authorization query's client_id in the trusted-client list and say "<Name> wants to use Thoughtful's AI on your behalf", which matches what the openai:chat scope grants. Only configured names can render (and they're escaped); unknown ids keep the generic prompt. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017KwGFihH21DMyLYsDhRSFp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits:
Unify user-facing product name as "Thoughtful". The product was called "Writing Tools", "Thoughtful AI Tools", or "Thoughtful Writing Tools" depending on where you looked. Now it's "Thoughtful" on the OAuth login page, the device approval page, the Google Docs add-on (menu, sidebar, store listing, setup README), the Office store long description, the dev debug pages, and in
docs/oauth-provider.md. The Mindmap OAuth client's display name is now "Mindmap". Provisioning updates the existing row on startup.Name the requesting app on the OAuth login page. The page used to say "the app you came from" for every client. It now looks up the query's
client_idin the trusted-client list and says "Mindmap wants to use Thoughtful's AI on your behalf", which matches what theopenai:chatscope grants. Only configured names can appear on the page, and they are HTML-escaped. An unknown id gets the old generic text.Notes
Testing
npm run typecheckandnpx vitest runinbackend/: 137/137 pass. That includes new assertions for the named prompt and the unknown-client fallback.Generated by Claude Code