You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Live roster returns 404 with Grok Bot desktop 1.2.3 on macOS #171
gbot bots list --gateway --json fails on macOS with Grok Bot desktop 1.2.3. The signed-in desktop app still shows the bot roster.
The installed CLI is a local build based on 0.12.5 (0.12.5-repair.20261110.1), running on Node 24.16.0. I reproduced this with the local build. Stock 0.12.5 has yet to be tested here.
$ gbot bots list --gateway --json
listAgents failed: 404 The request could not be routed
gbot skills list --gateway --json stops at the same listAgents error. The CLI build calls /api/listAgents, while the desktop client uses ListGrokBotAgents for its roster. The 404 leaves open whether the gateway route has changed or the request is reaching the wrong backend.
Is there a supported CLI version or configuration that restores live roster access with desktop 1.2.3?
npm run check passes: validation, build, artifact validation, typecheck, 510 unit tests and 97 route tests.
For this reproduction, forwarding the gatewayPortToken returned by EnsureSandBox as x-anyrun-port-token fixes the routing failure; switching /api/listAgents to ListGrokBotAgents is not necessary. Only the read-only roster command was exercised live; no messages were sent and no bots were created or changed.
Activity
clement006 commentedon Nov 27, 2026
Independent reproduction and fix confirmation on macOS with Grok Bot 1.3.0, Node.js 24.22.1, and the stock npm CLI 0.12.5:
gbot bots listfails withlistAgents failed: 404 The request could not be routed, while the desktop app is open and signed in.86046d296149f3fad7290d49c2e71f5fbc949595) successfully lists the bot roster using the same desktop session. I verified both its committed executable and a fresh local build.npm run checkpasses: validation, build, artifact validation, typecheck, 510 unit tests and 97 route tests.For this reproduction, forwarding the
gatewayPortTokenreturned byEnsureSandBoxasx-anyrun-port-tokenfixes the routing failure; switching/api/listAgentstoListGrokBotAgentsis not necessary. Only the read-only roster command was exercised live; no messages were sent and no bots were created or changed.I preserved the existing PR's commit unchanged in a personal fork while awaiting an upstream release: https://github.com/clement006/grok-bot-cli/tree/fix/gateway-port-token. No duplicate fix PR opened.