Repository navigation
feat(login): live catalog sync and sign-in status - #6
Merged
Merged
Conversation
- read GET https://api.meta.ai/v1/models with the stored subscription key and declare the chat catalog on the `meta` route, so Muse Wonder and future chat models appear in the picker; non-chat families are filtered and a model list edited by the user is never overwritten - add GET /muse-code/status (pending/authorized/failed/idle) and rebuild the Settings > Models card: coloured status dot, monospace code badge, primary and secondary actions, and live polling that flips to "Signed in" - /muse-login now waits for Meta's confirmation and answers with the final state instead of leaving the chat on "sign-in started" - unref the status poll timer so the chain cannot pin a Node process open
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.
What
Follow-up to #5, driven by real-use feedback on the Settings > Models card and the missing Muse Wonder models.
GET https://api.meta.ai/v1/modelswith the stored subscription key (same approach asopenclaw-muse-code/hermes-muse-code) and declares the chat catalog on themetaroute. Muse Wonder 1.0 / Wonder Full 1.0 (+ contributor) and future chat ids become selectable without a DSH catalog update;muse-image-*,muse-voice-*, andsam-*families are filtered; the five Muse Spark rows keep the shipped catalog's names, context window, output cap, and reasoning levels. A model list the user edited is never overwritten.GET /muse-code/statusroute (pending/authorized/failed/idle); the Settings card polls it and flips to Signed in without a reload.Verification
npm run typecheck,npm run build, 20 tests locally (host command/routes/model sync + client card harness), markdownlint 0 issues.