diff --git a/mcptools/list_beads.sh b/mcptools/list_beads.sh index 314a59a..424c4db 100755 --- a/mcptools/list_beads.sh +++ b/mcptools/list_beads.sh @@ -14,4 +14,4 @@ if [ $# -lt 1 ]; then exit 1 fi -9p read "agent/beads/$1/list" 2>/dev/null || echo "[]" +9p read "agent/beads/$1/list" 2>/dev/null | jq '[.[] | {id, priority, title, status}]' || echo "[]" diff --git a/mcptools/list_ready_beads.sh b/mcptools/list_ready_beads.sh index 7dd3b52..2758c8d 100755 --- a/mcptools/list_ready_beads.sh +++ b/mcptools/list_ready_beads.sh @@ -14,4 +14,4 @@ if [ $# -lt 1 ]; then exit 1 fi -9p read "agent/beads/$1/ready" 2>/dev/null || echo "[]" +9p read "agent/beads/$1/ready" 2>/dev/null | jq '[.[] | {id, priority, title, status}]' || echo "[]"