fix(repl): offer prompts in .list tab completion and rename its listing helpers

MCP prompts are live, server-owned catalog entries, not managed assets;
list_prompt_assets/prompt_asset_rows implied otherwise and are now
list_mcp_prompts/mcp_prompt_rows. The .list completer was also missing
the prompts kind that the usage string and unknown-kind error advertise.
This commit is contained in:
2026-08-25 11:37:41 -06:00
parent ad9ff3bea8
commit a5a3eed6d8
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1251,7 +1251,7 @@ pub async fn run_repl_command(
},
".list" => match args.map(str::trim) {
Some("prompts") => {
ctx.list_prompt_assets().await?;
ctx.list_mcp_prompts().await?;
}
Some(args) => {
ctx.list_assets(args)?;