mirror of
https://github.com/ultraworkers/claw-code.git
synced 2026-05-30 11:45:20 +08: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:
parent
a7a30627a9
commit
2f9429cbf0
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user