Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

fix(mcp): accept case-insensitive status in task listing (#20) (#27)

Husseineed61cbe3ee0
diff --git a/src/mcp.rs b/src/mcp.rs
index 4fffcc2..a1749ee 100644
--- a/src/mcp.rs
+++ b/src/mcp.rs
@@ -380,8 +380,8 @@ impl Kanzo {
Ok(self
.run_for(&ext, move |ctx, store| {
let project = ctx.scope(store, args.project.as_deref())?;
- let status = args.status.as_deref().map(str::trim).filter(|s| !s.is_empty());
- let only = match status {
+ let status = args.status.map(|s| s.trim().to_ascii_lowercase()).filter(|s| !s.is_empty());
+ let only = match status.as_deref() {
Some("all") | None => None,
Some(s) => {
store.check_status(s)?;