fix: slash-command guard errors now emit error_kind:interactive_only instead of unknown; covers memory, permissions, review, and any bare_slash_command_guidance path

This commit is contained in:
YeonGyu-Kim
2026-05-25 22:02:30 +09:00
parent a7a30627a9
commit 2f9429cbf0

View File

@@ -310,6 +310,8 @@ fn classify_error_kind(message: &str) -> &'static str {
"unsupported_config_section"
} else if message.contains("unknown_plugins_action") {
"unknown_plugins_action"
} else if message.contains("is a slash command") || message.starts_with("interactive_only:") {
"interactive_only"
} else {
"unknown"
}