fix: doctor memory hint

This commit is contained in:
Peter Steinberger
2026-01-06 06:01:11 +00:00
parent f29efb9862
commit 7d896b5f67
6 changed files with 93 additions and 18 deletions

View File

@@ -289,9 +289,16 @@ export function buildProgram() {
program
.command("doctor")
.description("Health checks + quick fixes for the gateway and providers")
.action(async () => {
.option(
"--no-workspace-suggestions",
"Disable workspace memory system suggestions",
false,
)
.action(async (opts) => {
try {
await doctorCommand(defaultRuntime);
await doctorCommand(defaultRuntime, {
workspaceSuggestions: opts.workspaceSuggestions,
});
} catch (err) {
defaultRuntime.error(String(err));
defaultRuntime.exit(1);