Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

fix(coding-agent): advertise ACP mode in help (fixes #620) (#625)

Seth Kartencf9043e51945
diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md
index 0227ec1273..7509516314 100644
--- a/packages/coding-agent/CHANGELOG.md
+++ b/packages/coding-agent/CHANGELOG.md
@@ -5,6 +5,7 @@
- Added reverse tab navigation to the `/login` configuration menu and moved the model scope shortcut to `Alt+S`.
- Fixed daemon startup crashes hiding their exit status and daemon log until the startup timeout.
- Documented the global `idleEvictionMinutes` daemon setting, including its default, valid values, and eviction/passivation behavior ([#621](https://github.com/PrimeIntellect-ai/prime-agent/issues/621)).
+- Fixed top-level `--help` omitting `acp` from the supported `--mode` values ([#620](https://github.com/PrimeIntellect-ai/prime-agent/issues/620)).
## [0.6.0] - 2026-08-04
diff --git a/packages/coding-agent/src/cli/command-registry.ts b/packages/coding-agent/src/cli/command-registry.ts
index 0980b67982..85cd0bf687 100644
--- a/packages/coding-agent/src/cli/command-registry.ts
+++ b/packages/coding-agent/src/cli/command-registry.ts
@@ -165,7 +165,7 @@ const TOP_LEVEL_OPTION_GROUPS: ReadonlyArray<{ heading: string; options: readonl
heading: "Run options",
options: [
["-p, --print", "Print a response and exit"],
- ["--mode <text|json|rpc|daemon>", "Select the output mode (default: text)"],
+ ["--mode <text|json|rpc|acp|daemon>", "Select the output mode (default: text)"],
["--cwd <dir>", "Use a specific working directory"],
["--offline", "Disable startup network operations"],
["--verbose", "Force verbose startup"],
diff --git a/packages/coding-agent/test/public-command.test.ts b/packages/coding-agent/test/public-command.test.ts
index e943ef08ed..b24b115df1 100644
--- a/packages/coding-agent/test/public-command.test.ts
+++ b/packages/coding-agent/test/public-command.test.ts
@@ -325,6 +325,7 @@ describe("public command routing", () => {
const help = formatTopLevelHelp();
expect(help).toContain("Options:");
expect(help).toContain("Run options:");
+ expect(help).toContain("--mode <text|json|rpc|acp|daemon>");
expect(help).toContain("Autonomous options:");
for (const option of [
"--autonomous",