一键导入
feed
Real-time activity feed for agent coordination. Use when publishing events, monitoring agent activity, or tailing the event stream.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Real-time activity feed for agent coordination. Use when publishing events, monitoring agent activity, or tailing the event stream.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Always register VM snapshots in the commit ledger. Use when committing/snapshotting VMs, before destroying VMs, during deploys, or when creating golden images. Ensures no snapshot goes untracked.
Generate a magic login link for the agent-services dashboard UI. Use when the user wants to access the dashboard, needs a login link, says "magic link," or asks for UI access.
Shared task board for coordinating work across agents. Use when creating, assigning, tracking, or querying tasks in a swarm.
Deploy a branch to a preview VM for zero-risk change review. Snapshot infra, clone it, deploy the branch on the clone, share the link. Production untouched. Use for ALL UI changes, feature demos, and PR reviews.
Commit ledger for tracking VM snapshots. Use when recording, querying, or managing Vers VM commit history — golden images, infra snapshots, rollback points.
Append-only work log for agent sessions. Use when recording what happened, what was decided, and what's next — the log is for the next session's orchestrator.
| name | feed |
| description | Real-time activity feed for agent coordination. Use when publishing events, monitoring agent activity, or tailing the event stream. |
Real-time event stream for agent coordination. Agents publish events (task started, finding, blocker) and subscribe to see what other agents are doing.
VERS_INFRA_URL env var points to the infra VM (e.g., http://abc123.vm.vers.sh:3000). All endpoints below are relative to this base URL.
curl -X POST "$VERS_INFRA_URL/feed/events" \
-H "Content-Type: application/json" \
-d '{
"agent": "backend-lt",
"type": "task_started",
"summary": "Starting auth middleware implementation",
"detail": "Working on JWT validation for API routes",
"metadata": {"taskId": "01ABC123"}
}'
Returns 201. Required: agent, type, summary. Optional: detail, metadata.
Valid types: task_started, task_completed, task_failed, blocker_found, question, finding, skill_proposed, file_changed, cost_update, agent_started, agent_stopped, custom.
# Recent events (default limit: 50)
curl "$VERS_INFRA_URL/feed/events"
# Filter by agent
curl "$VERS_INFRA_URL/feed/events?agent=backend-lt"
# Filter by type
curl "$VERS_INFRA_URL/feed/events?type=blocker_found"
# Events since a timestamp
curl "$VERS_INFRA_URL/feed/events?since=2025-01-15T10:00:00Z"
# Events since a ULID (for pagination)
curl "$VERS_INFRA_URL/feed/events?since=01ABC123..."
# Custom limit
curl "$VERS_INFRA_URL/feed/events?limit=100"
Returns an array of events, newest last.
curl "$VERS_INFRA_URL/feed/events/01ABC123..."
# Real-time stream of all events
curl -N "$VERS_INFRA_URL/feed/stream"
# Filter to one agent
curl -N "$VERS_INFRA_URL/feed/stream?agent=backend-lt"
# Reconnect and replay missed events
curl -N "$VERS_INFRA_URL/feed/stream?since=01ABC123..."
Server-Sent Events stream. Each event is data: {json}. Sends heartbeats every 15s. Use since with the last seen ULID to replay missed events on reconnection.
curl "$VERS_INFRA_URL/feed/stats"
Returns { total, byAgent, byType, latestPerAgent }.
curl -X DELETE "$VERS_INFRA_URL/feed/events"
curl -X POST "$VERS_INFRA_URL/feed/events" \
-H "Content-Type: application/json" \
-d '{"agent": "my-agent", "type": "agent_started", "summary": "Ready to work"}'
curl -X POST "$VERS_INFRA_URL/feed/events" \
-H "Content-Type: application/json" \
-d '{
"agent": "my-agent",
"type": "finding",
"summary": "Database migration needed — schema v2 missing created_at column",
"metadata": {"file": "src/db/schema.ts", "line": 42}
}'
LAST_ID=""
while true; do
if [ -z "$LAST_ID" ]; then
EVENTS=$(curl -s "$VERS_INFRA_URL/feed/events?limit=10")
else
EVENTS=$(curl -s "$VERS_INFRA_URL/feed/events?since=$LAST_ID")
fi
LAST_ID=$(echo "$EVENTS" | jq -r '.[-1].id // empty')
sleep 5
done
curl -s "$VERS_INFRA_URL/feed/events?agent=backend-lt&limit=5" | jq '.[].summary'
The agent-services extension automatically publishes these events — no manual action needed:
agent_started — on agent_start lifecycle hookagent_stopped — on agent_end lifecycle hookAll other event types (task_started, finding, blocker_found, etc.) must be published manually by the agent using feed_publish.
If the agent-services extension is loaded:
feed_publish — Publish an eventfeed_list — List/filter recent eventsfeed_stats — Get activity summary across agentsinterface FeedEvent {
id: string; // ULID (sortable, unique)
agent: string; // Who published it
type: FeedEventType; // Event category
summary: string; // One-line description
detail?: string; // Longer explanation
metadata?: Record<string, unknown>;
timestamp: string; // ISO timestamp
}
Events are stored as newline-delimited JSON (data/feed.jsonl). Append-only, last 10,000 kept in memory.