From 1135cbea80a3c0fc0e6ab4016ddd03c6c812506b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20Anton=E2=80=9D=20=E2=88=B4?= Date: Sun, 23 Aug 2026 05:47:00 -0700 Subject: [PATCH] feat(cli-tools): add Prime Agent to the CLI agents catalog (#11166) Validated on the combined batch board over tip 0b41259f: static gates clean (changelog, file-size 160 frozen, complexity 2628<=2774, cognitive 1187<=1223, dead-code 408<=416, docs-counts green at 351 providers, provider-consistency 268/351/0), typecheck:core clean, 430+ focused tests green across 5 groups. Prime Agent joins the CLI agents catalog with runtime entry + doc counts synced (35 tools; CLI-TOOLS.md row). cli-catalog-acpspawnable 26/26. Thank you @arminanton! --- README.md | 2 +- docs/reference/CLI-TOOLS.md | 3 ++- src/shared/constants/cliTools.ts | 25 +++++++++++++++++++++++++ src/shared/services/cliRuntime.ts | 9 +++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a044e699e0..27984ab4aa 100644 --- a/README.md +++ b/README.md @@ -612,7 +612,7 @@ the current catalog at **[radar.omniroute.online/planos](https://radar.omniroute + also works with · Kiro · Command Code · Antigravity · Windsurf · AMP · any OpenAI-compatible tool -📖 Per-tool setup for all 34 tools (26 CLI Code's + 8 CLI Agents) → [`docs/reference/CLI-TOOLS.md`](docs/reference/CLI-TOOLS.md) · 🧩 OpenCode plugin → [`@omniroute/opencode-provider`](https://www.npmjs.com/package/@omniroute/opencode-provider) +📖 Per-tool setup for all 35 tools (26 CLI Code's + 9 CLI Agents) → [`docs/reference/CLI-TOOLS.md`](docs/reference/CLI-TOOLS.md) · 🧩 OpenCode plugin → [`@omniroute/opencode-provider`](https://www.npmjs.com/package/@omniroute/opencode-provider) diff --git a/docs/reference/CLI-TOOLS.md b/docs/reference/CLI-TOOLS.md index fcc74dc2ab..c32b433fbd 100644 --- a/docs/reference/CLI-TOOLS.md +++ b/docs/reference/CLI-TOOLS.md @@ -176,7 +176,7 @@ All tools that appear in `/dashboard/cli-code`. Those with `baseUrlSupport: none Tools with `baseUrlSupport: "partial"` show a badge "⚠ Base URL parcial" in the dashboard card. --- -## 2. CLI Agents Catalog (8 tools) +## 2. CLI Agents Catalog (9 tools) Autonomous agents that appear in `/dashboard/cli-agents`: @@ -190,6 +190,7 @@ Autonomous agents that appear in `/dashboard/cli-agents`: | agent-deck | Agent Deck | asheshgoplani (OSS) | full | false | | omp | Oh My Pi | OSS | full | true | | letta | Letta CLI | Letta | full | false | +| prime-agent | Prime Agent | Prime Intellect (OSS) | full | false | --- diff --git a/src/shared/constants/cliTools.ts b/src/shared/constants/cliTools.ts index 4fbecf35ba..168075c868 100644 --- a/src/shared/constants/cliTools.ts +++ b/src/shared/constants/cliTools.ts @@ -592,6 +592,31 @@ aider --openai-api-base "{{baseUrl}}" --model "{{model}}"`, defaultCommand: "jcode", }, + /** + * ★ Added 2026-08-22 — Prime Agent (PrimeIntellect-ai/prime-agent). + * A self-improving RLM coding harness (TypeScript) whose LLM toolkit + * (prime-agent-ai) supports "any OpenAI-compatible API" + a dedicated + * "OpenAI Codex (ChatGPT Plus/Pro OAuth)" provider, so it can point at + * OmniRoute's OpenAI-compatible base URL like codex/forge. Installed via + * `curl -fsSL https://app.primeintellect.ai/prime-agent/install.sh | sh`; + * provider chosen at first run via `/login`. + */ + "prime-agent": { + id: "prime-agent", + name: "Prime Agent", + icon: "terminal", + color: "#6366F1", + description: + "Prime Agent — self-improving RLM coding harness with OpenAI-compatible provider support", + docsUrl: "https://github.com/PrimeIntellect-ai/prime-agent", + configType: "custom", + category: "agent", + vendor: "Prime Intellect (OSS)", + acpSpawnable: false, + baseUrlSupport: "full", + defaultCommand: "prime-agent", + }, + /** * ★ Added by plan 14 (CLI Pages Redesign) — 2026-05-27 * Kept as a legacy/dual entry after CodeWhale (see below) took over as the diff --git a/src/shared/services/cliRuntime.ts b/src/shared/services/cliRuntime.ts index b8605deff1..ca5ed60053 100644 --- a/src/shared/services/cliRuntime.ts +++ b/src/shared/services/cliRuntime.ts @@ -245,6 +245,15 @@ const CLI_TOOLS: Record = { config: ".jcode/config.json", }, }, + "prime-agent": { + defaultCommand: "prime-agent", + envBinKey: "CLI_PRIME_AGENT_BIN", + requiresBinary: true, + healthcheckTimeoutMs: 8000, + paths: { + config: ".prime-agent/config.json", + }, + }, "grok-build": GROK_BUILD_RUNTIME_ENTRY, "deepseek-tui": { defaultCommand: "deepseek-tui",