grok-mcp v0.3.0
Background-job lifecycle overhaul for research / x_search / ask_grok.
Added
- Queueing at the inflight cap. Jobs past the 10 concurrent slots now wait
in a bounded queue (up to 20) and return ajob_idimmediately instead of
being rejected.RATE_LIMITED(retryable) is returned only when the queue is
full. - Async offload by default. Omitting
timeout_secsnow offloads after a
~25s window instead of blocking until the client's request timeout fires.
Fast calls still return inline; slower ones returnstatus=running+job_id
to poll.timeout_secs(1–300) still overrides the window. - Queued vs running visibility. The deferred response reports
status
queued(waiting for a slot) orrunning(executing), with a matching poll
hint. - Abandoned-job drop. A queued job with no
job_statuspoll for ~5 minutes
is dropped (statusfailed, codeABANDONED) when it reaches a slot, so a
disconnected or exited client no longer burns SuperGrok quota on a result
nobody will read.
Notes
- Running jobs are never aborted mid-flight (quota is already spent); only
queued jobs are dropped.
Assets
Uploaded by CI after publish:
grok-mcp-v0.3.0-x86_64-unknown-linux-gnu- Windows best-effort
Upgrade
sudo ./deploy/grokctl update