Repository navigation
fix(app-session): read gateway descriptor version 3 - #143
Open
nicolasmertens wants to merge 1 commit into
Open
nicolasmertens wants to merge 1 commit into
nicolasmertens wants to merge 1 commit into
Conversation
Current Grok Bot desktop builds write gateway-descriptor.json version 3, which keeps the version 2 entries layout (adds savedAtMs per entry). Every command failed with "Unsupported Grok Bot gateway descriptor version 3". Treat v3 like v2; the multiple-entries safety check stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F7jcCQRFPBA9cNGeLvEoJi
🦋 Changeset detectedLatest commit: e9ac663 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Problem
Current Grok Bot desktop builds write
gateway-descriptor.jsonwith"version": 3. Every command that needs the app session then fails:Seen on macOS with gbot 0.12.4.
What v3 looks like
Same wrapper layout as v2, plus a
savedAtMstimestamp per entry:{ "version": 3, "entries": { "<hash>": { "savedAtMs": 1791320229049, "encrypted": "..." } } }The decrypted payload still carries
baseUrl,tokenandheaders, plus a newvncProxyblock that the CLI doesn't need.Change
encryptedPayloadaccepts version 3 and reads it the same way as version 2.AMBIGUOUS_ENTRIESsafety check is unchanged (see Support explicit account/gateway-entry selection for multi-account Grok Bot desktop sessions #102).artifact/.Verification
npm test: 444 pass, 0 fail.npm run validate:artifact: passes.gbot doctorreportsGrok Bot app session: usable.🤖 Generated with Claude Code
https://claude.ai/code/session_01F7jcCQRFPBA9cNGeLvEoJi