mcptools: filter bead list output to reduce context usage
This commit is contained in:
parent
b579c8bde2
commit
e563330226
|
|
@ -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 "[]"
|
||||
|
|
|
|||
|
|
@ -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 "[]"
|
||||
|
|
|
|||
Reference in New Issue