From e563330226a3bf81382b4f2c4c863d34a638de95 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Wed, 11 Mar 2026 09:03:46 +0100 Subject: [PATCH] mcptools: filter bead list output to reduce context usage --- mcptools/list_beads.sh | 2 +- mcptools/list_ready_beads.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 "[]"