Merge pull request #586 from clawdbot/temp/landpr-492

fix(commands): wire /usage alias to /status
This commit is contained in:
Peter Steinberger
2026-01-09 16:14:11 +00:00
committed by GitHub
10 changed files with 34 additions and 5 deletions
@@ -144,6 +144,12 @@ describe("directive parsing", () => {
expect(res.cleaned).toBe("thats not /tmp/hello");
});
it("preserves spacing when stripping usage directives before paths", () => {
const res = extractStatusDirective("thats not /usage:/tmp/hello");
expect(res.hasDirective).toBe(true);
expect(res.cleaned).toBe("thats not /tmp/hello");
});
it("parses queue options and modes", () => {
const res = extractQueueDirective(
"please /queue steer+backlog debounce:2s cap:5 drop:summarize now",