mirror of
https://github.com/instructkr/claude-code.git
synced 2026-06-01 18:26:45 +00:00
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:
@@ -310,6 +310,8 @@ fn classify_error_kind(message: &str) -> &'static str {
|
|||||||
"unsupported_config_section"
|
"unsupported_config_section"
|
||||||
} else if message.contains("unknown_plugins_action") {
|
} else if message.contains("unknown_plugins_action") {
|
||||||
"unknown_plugins_action"
|
"unknown_plugins_action"
|
||||||
|
} else if message.contains("is a slash command") || message.starts_with("interactive_only:") {
|
||||||
|
"interactive_only"
|
||||||
} else {
|
} else {
|
||||||
"unknown"
|
"unknown"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user