Kaiber
Generate, edit, and beat-sync AI video with leading models in one workspace.
agent-monitor
Detailed monitoring of Pi agents in WezTerm. Shows full task, recent activity, and last tool output for each agent.
Full skill instructions
Get detailed status of each Pi agent.
echo "🧠 DETAILED AGENT STATUS - $(date '+%H:%M:%S')"
echo ""
PANES=$(bb wezterm list 2>/dev/null)
if [ $? -ne 0 ] || [ -z "$PANES" ]; then
echo "⚠️ WezTerm not accessible"
exit 0
fi
echo "$PANES" | jq -r '.data[] | "\(.pane_id)|\(.title)|\(.cwd)"' | while IFS='|' read -r PANE_ID TITLE CWD; do
CWD_CLEAN=$(echo "$CWD" | sed 's|file://||')
PROJECT=$(echo "$CWD_CLEAN" | xargs basename 2>/dev/null || echo "unknown")
[[ "$TITLE" != *"π"* ]] && continue
SESSION_PATH=$(echo "$CWD_CLEAN" | sed 's|/|-|g' | sed 's|^-||')
SESSION=$(ls -t "$HOME/.pi/agent/sessions/--${SESSION_PATH}--"/*.jsonl 2>/dev/null | head -1)
[ -z "$SESSION" ] && continue
STOP=$(tail -1 "$SESSION" | jq -r '.message.stopReason // "null"')
ROLE=$(tail -1 "$SESSION" | jq -r '.message.role // "unknown"')
[ "$STOP" = "stop" ] && [ "$ROLE" = "assistant" ] && STATUS="✅ IDLE" || STATUS="🔄 WORKING"
echo "═══════════════════════════════════════════════════════════════"
echo "## Pane $PANE_ID - $PROJECT - $STATUS"
echo ""
echo "**Last user request:**"
tail -100 "$SESSION" | jq -r 'select(.type=="message" and .message.role=="user") | .message.content | if type=="array" then .[0].text else . end' 2>/dev/null | tail -1
echo ""
echo "**Recent activity (last 5 messages):**"
tail -50 "$SESSION" | jq -r 'select(.type=="message") | "\(.message.role): \(.message.content | if type=="array" then ([.[] | if .type=="text" then .text[:150] elif .type=="toolCall" then "[\(.name)]" else .type end] | join(" ")) else .[:150] end)"' 2>/dev/null | tail -5
echo ""
echo "**Last tool output (truncated):**"
tail -20 "$SESSION" | jq -r 'select(.type=="message" and .message.role=="toolResult") | .message.content | if type=="array" then .[0].text else . end' 2>/dev/null | tail -1 | head -c 300
echo ""
echo ""
done
echo "═══════════════════════════════════════════════════════════════"
For each agent shows:
Analyze each agent and decide:
# Send task
bb wezterm send <pane_id> "your task"
# Check full session
tail -100 <session_file> | jq '.message'
# Interrupt
bb wezterm send <pane_id> "stop, summarize progress"
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience