fix(cli): include build step in missing-runtime recovery

This commit is contained in:
Kaoru0822
2026-10-05 22:19:35 -07:00
parent 19f8cddfd6
commit ae72abd019
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const runtimeFiles = isMcpMode
if (!(await compiledRuntimeExists(runtimeFiles))) {
process.stderr.write(
`REA's compiled runtime is missing. Run \`npm ci\` in ${packageRoot} to install dependencies and build REA, then restart it. If this is an installed package, reinstall rea-agents.\n`,
`REA's compiled runtime is missing. Run \`npm ci && npm run build:cached\` in ${packageRoot} to install dependencies and build REA, then restart it. If this is an installed package, reinstall rea-agents.\n`,
);
process.exitCode = 1;
} else if (isMcpMode) {