Before submitting#
Area#
apps/desktop
Steps to reproduce#
- Install and log in to Grok CLI.
- Configure T3 Code Grok provider to use grok.
- Start T3 Code provider discovery.
- T3 reports: Unavailable - Grok CLI is installed but ACP startup timed out after 15000ms.
Expected behavior#
T3 Code should tolerate unrelated or unsolicited JSON-RPC responses/notifications while waiting for the response to its own request IDs, and complete Grok ACP startup.
Actual behavior#
On Linux, T3 Code fails Grok provider startup with:
Unavailable - Grok CLI is installed but ACP startup timed out after 15000ms.
The Grok CLI itself works. Running grok agent stdio directly can initialize, authenticate, and create a session successfully outside T3 Code.
During ACP startup, Grok emits unsolicited JSON-RPC response messages like:
{"jsonrpc":"2.0","id":"skills-reload","result":{"result":{"reloaded":0}}}
These messages appear before or around the normal authenticate/session startup flow. T3 Code appears to hang or time out when these messages are present.
Impact#
Blocks work completely
Version or commit#
T3 Code: AppImage 0.0.28 | Grok CLI: 0.2.82 stable
Environment#
Linux Mint 22.3
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
I created a local wrapper that proxies grok agent stdio and filters only lines containing:
"id":"skills-reload"
With that wrapper configured as the Grok binary, Grok becomes usable inside T3 Code.
Why I think this is the issue:
The wrapper does not change auth, PATH, cwd, or Grok startup. It only removes the skills-reload JSON-RPC response lines from Grok stdout. After that, T3 Code can use Grok normally.
I asked Grok to analyze this issue and it basically says that the WSL T3 server needs to run in a WSL Linux directory not a Windows path.
This is also a reasonable bug report for T3 Code: provider model discovery should not use process.cwd() on a Windows /mnt/c path; it should use /tmp or $HOME on the Linux side.