fix(copy): use agent terminology

This commit is contained in:
morluto
2026-07-13 19:17:15 +00:00
parent 77454dc8f4
commit 12060f6d8d
12 changed files with 36 additions and 37 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ const systemSetupHost = (): SetupHost => {
};
};
/** Detect supported coding agents from stable per-user installation markers. */
/** Detect supported agents from stable per-user installation markers. */
export const detectClients = async (
home: string,
): Promise<readonly SetupClient[]> => {
+4 -4
View File
@@ -8,13 +8,13 @@ const failedConfigurationMessage = (
reason: "backup" | "write" | "readback",
): string => {
if (reason === "backup")
return "Coding-agent configuration could not be backed up, so no change was made. Check file permissions, then rerun setup.";
return "Agent configuration could not be backed up, so no change was made. Check file permissions, then rerun setup.";
if (reason === "write")
return "Coding-agent configuration could not be updated. Check file permissions, then rerun setup.";
return "Coding-agent configuration could not be verified after writing. Repair the configuration file or restore its `.rea.backup`, then rerun setup.";
return "Agent configuration could not be updated. Check file permissions, then rerun setup.";
return "Agent configuration could not be verified after writing. Repair the configuration file or restore its `.rea.backup`, then rerun setup.";
};
/** Configure each detected coding agent, stopping after the first failed transaction. */
/** Configure each detected agent, stopping after the first failed transaction. */
export const configureDetectedClients = async (options: {
readonly host: SetupHost;
readonly detectedClients: readonly SetupClient[];
+2 -3
View File
@@ -35,8 +35,7 @@ export const createCli = (): ReturnType<typeof Cli.create> => {
);
const cli = Cli.create(PRODUCT_IDENTITY.cliBinary, {
version: process.env.REA_PACKAGE_VERSION ?? "0.0.0-development",
description:
"Reverse engineer anything from your terminal or coding agent.",
description: "Reverse engineer anything from your terminal or agent.",
mcp: {
command: PRODUCT_IDENTITY.mcpCommand,
instructions:
@@ -131,7 +130,7 @@ const registerSetupCommands = (
logger: Logger,
): void => {
cli.command("setup", {
description: "Install requirements and configure coding agents",
description: "Install requirements and configure agents",
options: z.object({
yes: z
.boolean()