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

实时流式集群事件监控

v20260707
monitor-stream
该工具用于实时流式传输和监控集群(swarm)的运行事件,提供高性能的可观测性。它取代了传统的定时轮询模式,实时捕获代理生成、任务完成、内存写入和健康检查等关键事件,帮助开发者和工程师即时掌握系统的运行状态和健康状况。
获取技能
172 次下载
概览

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__claude-flow__swarm_status or mcp__claude-flow__swarm_health.

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

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