Repository navigation
feat(ai): migrate ChatGPT authentication and inference - #291
Merged
Pepps233 merged 10 commits intoOct 27, 2026
Merged
Conversation
Persist issued client and host identities, validate sign-in tokens, and revoke renewable sessions on logout.
Discover account-specific models and stream public Responses requests with isolated catalog caches and subscription usage reporting.
Retain validated registrations across consent and terminal refresh failures, protect credential writes, and keep cancellation and identity hints out of error output.
- Check the public account display name so native artifact acceptance completes after authentication migration
- Keep callback and login checks consistent with the public account integration
- Use private temporary directories and inspect one file descriptor - Share credential reloads for each active storage path without retaining inactive credentials
- Keep persistent example credentials outside shared temporary directories - Create private compaction fixtures and inspect credential metadata through file descriptors
- Keep exclusive credential writes visibly owner-only to security analysis
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.
Summary
Register Diffex ChatGPT sessions and use account-specific models through the public Responses API.
Reasoning
Authentication, granted plan usage, model discovery, inference, and sign-out must share the same issued registration.
Transient failures should preserve usable credentials; terminal refresh failures require explicit sign-in.
Changes
Testing
npm run checkand./test.shpassed on the complete local revision.