monitor-stream
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUse the Monitor tool to stream swarm events in real time instead of polling:
Run via Monitor:
npx @claude-flow/cli@latest swarm watch --streamThis streams NDJSON events for agent spawns, task completions, memory writes, and health checks. Each stdout line triggers a notification.
For one-shot status, use MCP: or .
mcp__claude-flow__swarm_statusmcp__claude-flow__swarm_healthPrefer Monitor over polling in a loop. See ADR-091 for rationale.
swarm status使用Monitor工具实时流式传输swarm事件,而非轮询:
通过Monitor运行:
npx @claude-flow/cli@latest swarm watch --stream这会流式传输代理生成、任务完成、内存写入和健康检查的NDJSON事件。标准输出的每一行都会触发通知。
如需一次性获取状态,请使用MCP: 或 。
mcp__claude-flow__swarm_statusmcp__claude-flow__swarm_health优先使用Monitor而非循环轮询。有关理由,请参阅ADR-091。
swarm status