Skip to content

fix(app-session): read gateway descriptor version 3 - #143

Open
nicolasmertens wants to merge 1 commit into
ScriptedAlchemy:mainfrom
nicolasmertens:upstream-pr/descriptor-v3
Open

nicolasmertens wants to merge 1 commit into
ScriptedAlchemy:mainfrom
nicolasmertens:upstream-pr/descriptor-v3

Conversation

@nicolasmertens

Copy link
Copy Markdown

Problem

Current Grok Bot desktop builds write gateway-descriptor.json with "version": 3. Every command that needs the app session then fails:

$ gbot bots list --json
{"error":{"code":"render-failed","message":"Unsupported Grok Bot gateway descriptor version 3."}}

Seen on macOS with gbot 0.12.4.

What v3 looks like

Same wrapper layout as v2, plus a savedAtMs timestamp per entry:

{ "version": 3, "entries": { "<hash>": { "savedAtMs": 1791320229049, "encrypted": "..." } } }

The decrypted payload still carries baseUrl, token and headers, plus a new vncProxy block that the CLI doesn't need.

Change

Verification

  • npm test: 444 pass, 0 fail. npm run validate:artifact: passes.
  • Against a live Grok Bot desktop session on macOS, the patched build returns the bot list; gbot doctor reports Grok Bot app session: usable.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F7jcCQRFPBA9cNGeLvEoJi

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-bot

changeset-bot Bot commented Oct 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e9ac663

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
grok-bot-cli Patch

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant