From ca26887a014008f18f0564366e8324788265d575 Mon Sep 17 00:00:00 2001 From: $H!NDGEKYUME Date: Wed, 10 Jun 2026 11:35:05 +0800 Subject: [PATCH] Update grok-build to v0.2.39 and switch to npx distribution The binary distribution has been replaced with an npx distribution using the `@xai-official/grok@0.2.39` package. All platform-specific binary archives and commands have been removed in favor of the cross-platform npm package approach. --- grok-build/agent.json | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/grok-build/agent.json b/grok-build/agent.json index 0c231445..1fad3d0e 100644 --- a/grok-build/agent.json +++ b/grok-build/agent.json @@ -1,43 +1,15 @@ { "id": "grok-build", "name": "Grok Build", - "version": "0.2.20", + "version": "0.2.39", "description": "xAI's coding agent and CLI", "website": "https://x.ai/cli", "authors": ["xAI"], "license": "proprietary", "distribution": { - "binary": { - "darwin-aarch64": { - "archive": "https://x.ai/cli/grok-0.2.20-macos-aarch64", - "cmd": "./grok-0.2.20-macos-aarch64", - "args": ["agent", "stdio"] - }, - "darwin-x86_64": { - "archive": "https://x.ai/cli/grok-0.2.20-macos-x86_64", - "cmd": "./grok-0.2.20-macos-x86_64", - "args": ["agent", "stdio"] - }, - "linux-aarch64": { - "archive": "https://x.ai/cli/grok-0.2.20-linux-aarch64", - "cmd": "./grok-0.2.20-linux-aarch64", - "args": ["agent", "stdio"] - }, - "linux-x86_64": { - "archive": "https://x.ai/cli/grok-0.2.20-linux-x86_64", - "cmd": "./grok-0.2.20-linux-x86_64", - "args": ["agent", "stdio"] - }, - "windows-aarch64": { - "archive": "https://x.ai/cli/grok-0.2.20-windows-aarch64.exe", - "cmd": "./grok-0.2.20-windows-aarch64.exe", - "args": ["agent", "stdio"] - }, - "windows-x86_64": { - "archive": "https://x.ai/cli/grok-0.2.20-windows-x86_64.exe", - "cmd": "./grok-0.2.20-windows-x86_64.exe", - "args": ["agent", "stdio"] - } + "npx": { + "package": "@xai-official/grok@0.2.39", + "args": ["agent", "stdio"] } } -} +} \ No newline at end of file