fix(#760): agent_not_found and plugin_not_found envelopes now include hint field

This commit is contained in:
YeonGyu-Kim
2026-05-26 23:36:30 +09:00
parent ef31328aab
commit 7fa81b5dae
3 changed files with 6 additions and 0 deletions

View File

@@ -6227,6 +6227,8 @@ impl LiveCli {
"requested": name,
// #734: parity with skills show which always emits a message field
"message": format!("plugin '{}' not found", name),
// #760: hint so callers know how to enumerate available plugins
"hint": "Run `claw plugins list` to see available plugins.",
});
println!("{}", serde_json::to_string_pretty(&obj)?);
return Ok(());