mcptools: filter bead list output to reduce context usage

This commit is contained in:
Levi Neely 2026-03-11 09:03:46 +01:00
parent b579c8bde2
commit e563330226
2 changed files with 2 additions and 2 deletions

View File

@ -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 "[]"

View File

@ -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 "[]"