From e5529f0954aef6c7501a1b97dc2c9eecadf3ad45 Mon Sep 17 00:00:00 2001 From: John McConnell Date: Thu, 29 Jan 2026 14:49:21 -0500 Subject: [PATCH 1/6] Add grok-cli agent and icon --- grok-cli/agent.json | 35 +++++++++++++++++++++++++++++++++++ grok-cli/icon.svg | 1 + 2 files changed, 36 insertions(+) create mode 100644 grok-cli/agent.json create mode 100644 grok-cli/icon.svg diff --git a/grok-cli/agent.json b/grok-cli/agent.json new file mode 100644 index 0000000..3b96e64 --- /dev/null +++ b/grok-cli/agent.json @@ -0,0 +1,35 @@ +{ + "name": "grok-cli", + "description": "An open-source AI agent that brings the power of xAI's Grok models directly into your terminal and Zed editor.", + "author": "micro-tech", + "version": "0.1.2", + "repository": "https://github.com/micro-tech/grok-cli", + "license": "License", + "icon": "https://www.google.com/search?q=https://raw.githubusercontent.com/micro-tech/grok-cli/main/icon.svg", + "type": "custom", + "command": "grok", + "args": ["--acp"], + "env_vars": [ + { + "name": "GROK_API_KEY", + "description": "Your xAI API key from console.x.ai", + "required": true + } + ], + "targets": { + "darwin-aarch64": { + "bin": "grok" + }, + "linux-x86_64": { + "bin": "grok" + }, + "windows-x86_64": { + "bin": "grok.exe" + } + }, + "distribution": { + "npm": { + "package": "grok-cli-acp" + } + } +} diff --git a/grok-cli/icon.svg b/grok-cli/icon.svg new file mode 100644 index 0000000..c6790e1 --- /dev/null +++ b/grok-cli/icon.svg @@ -0,0 +1 @@ + From a7a900c695c6cbd95a9ed2bf38de651941680ea8 Mon Sep 17 00:00:00 2001 From: John McConnell Date: Thu, 29 Jan 2026 15:11:30 -0500 Subject: [PATCH 2/6] Update icon.svg --- grok-cli/icon.svg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/grok-cli/icon.svg b/grok-cli/icon.svg index c6790e1..74b3eec 100644 --- a/grok-cli/icon.svg +++ b/grok-cli/icon.svg @@ -1 +1,6 @@ - + + + + + + From bc981b95ef71d2cce1fddc2e6dbe9040ea11eba7 Mon Sep 17 00:00:00 2001 From: John McConnell Date: Sat, 31 Jan 2026 08:47:24 -0500 Subject: [PATCH 3/6] Update agent.json --- grok-cli/agent.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grok-cli/agent.json b/grok-cli/agent.json index 3b96e64..2b74627 100644 --- a/grok-cli/agent.json +++ b/grok-cli/agent.json @@ -1,5 +1,6 @@ { - "name": "grok-cli", + "id": "grok-cli", + "name": "Grok-cli", "description": "An open-source AI agent that brings the power of xAI's Grok models directly into your terminal and Zed editor.", "author": "micro-tech", "version": "0.1.2", From 6180bfda1fc8b27cd65779b655e18b2bcb6d2f09 Mon Sep 17 00:00:00 2001 From: John McConnell Date: Sun, 15 Feb 2026 10:03:37 -0500 Subject: [PATCH 4/6] Switch grok-cli to binary distributions --- grok-cli/agent.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/grok-cli/agent.json b/grok-cli/agent.json index 2b74627..ec9f769 100644 --- a/grok-cli/agent.json +++ b/grok-cli/agent.json @@ -29,8 +29,18 @@ } }, "distribution": { - "npm": { - "package": "grok-cli-acp" + "binary": { + "darwin-x86_64": { + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-x86_64.zip" + }, + "linux-x86_64": { + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-linux-x86_64.zip", + "cmd": "./codex-acp" + }, + "windows-x86_64": { + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-windows-x86_64.zip", + "cmd": "./codex-acp.exe" + } } } } From ff8c6a5301938810512d334b4fa0ce6ec02a0288 Mon Sep 17 00:00:00 2001 From: John McConnell Date: Sun, 15 Feb 2026 14:13:42 -0500 Subject: [PATCH 5/6] Add macOS x86_64 binary target --- grok-cli/agent.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/grok-cli/agent.json b/grok-cli/agent.json index ec9f769..92219ae 100644 --- a/grok-cli/agent.json +++ b/grok-cli/agent.json @@ -18,6 +18,9 @@ } ], "targets": { + "darwin-x86_64": { + "bin": "grok" + }, "darwin-aarch64": { "bin": "grok" }, @@ -33,13 +36,14 @@ "darwin-x86_64": { "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-x86_64.zip" }, + "darwin-aarch64": { + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-aarch64.zip" + }, "linux-x86_64": { - "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-linux-x86_64.zip", - "cmd": "./codex-acp" + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-linux-x86_64.zip" }, "windows-x86_64": { - "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-windows-x86_64.zip", - "cmd": "./codex-acp.exe" + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-windows-x86_64.zip" } } } From 13ed994bd3b6a7d790bd065ffc0ff4ad788a6fd6 Mon Sep 17 00:00:00 2001 From: John McConnell Date: Fri, 20 Feb 2026 17:31:51 -0500 Subject: [PATCH 6/6] update agent.json --- grok-cli/agent.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/grok-cli/agent.json b/grok-cli/agent.json index 92219ae..cdbe162 100644 --- a/grok-cli/agent.json +++ b/grok-cli/agent.json @@ -34,17 +34,21 @@ "distribution": { "binary": { "darwin-x86_64": { - "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-x86_64.zip" + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-x86_64.zip", + "cmd": "grok" }, "darwin-aarch64": { - "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-aarch64.zip" + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-macos-aarch64.zip", + "cmd": "grok" }, "linux-x86_64": { - "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-linux-x86_64.zip" + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-linux-x86_64.zip", + "cmd": "grok" }, "windows-x86_64": { - "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-windows-x86_64.zip" + "archive": "https://github.com/micro-tech/grok-cli/releases/download/v0.1.4/grok-cli-windows-x86_64.zip", + "cmd": "grok.exe" } } } -} +} \ No newline at end of file