Remove redundant 'No plan exists' message from plan_read output

The UI already shows 'empty' via print_plan_compact, so returning an
empty string avoids duplicate output.
This commit is contained in:
Dhanji R. Prasanna
2026-02-02 17:19:01 +11:00
parent e332109273
commit 263a838d31
6 changed files with 634 additions and 2118 deletions

View File

@@ -773,7 +773,7 @@ pub async fn execute_plan_read<W: UiWriter>(
}
None => {
ctx.ui_writer.print_plan_compact(None, None, false);
Ok("📋 No plan exists for this session. Use plan_write to create one.".to_string())
Ok(String::new())
}
}
}