技能 编程开发 实时集群事件流监控

实时集群事件流监控

v20260716
monitor-stream
利用Monitor工具实时流式传输集群(Swarm)事件,取代传统的周期性轮询。它提供对智能体生成、任务完成、内存写入和健康检查等关键活动的实时可观测性,适用于持续监控和调试分布式系统。
获取技能
163 次下载
概览

Use the Monitor tool to stream swarm events in real time instead of polling:

Run via Monitor: npx @claude-flow/cli@latest swarm watch --stream

This 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: mcp__plugin_ruflo-core_ruflo__swarm_status or mcp__plugin_ruflo-core_ruflo__swarm_health.

Prefer Monitor over polling swarm status in a loop. See ADR-091 for rationale.

信息
Category 编程开发
Name monitor-stream
版本 v20260716
大小 750B
更新时间 2026-07-18
语言