mirror of
https://github.com/instructkr/claw-code.git
synced 2026-11-17 00:00:00 +08:00
fix+test(#749): compact interactive-only hint now non-null; extend compact JSON test for hint contract
This commit is contained in:
1 parent
3975f2b3ab
commit
2dfb7af66e
3 files changed
+14
-1
No files matched your search
@@ -1422,7 +1422,8 @@ fn bare_slash_command_guidance(command_name: &str) -> Option<String> {
|
||||
}
|
||||
|
||||
fn compact_interactive_only_error() -> String {
|
||||
"interactive_only: `claw compact` is an interactive/session command. Start `claw` and run `/compact`, or use `claw --resume SESSION.jsonl /compact` to compact an existing session."
|
||||
// #749: newline before remediation so split_error_hint populates hint field
|
||||
"interactive_only: `claw compact` is an interactive/session command.\nStart `claw` and run `/compact`, or use `claw --resume SESSION.jsonl /compact` to compact an existing session."
|
||||
.to_string()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user