feat(api): GET /api/workspaces/:id/stats endpoint

This commit is contained in:
2026-03-01 15:35:02 -06:00
commit fe87122179
41 changed files with 8471 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
---
name: responsive-gateway
description: 'Always keep the user informed. Show status, progress, and activity at all times.'
metadata:
{
"openclaw": { "emoji": "📡", "requires": {} },
}
---
# Responsive Gateway Skill
## Core Rule: NEVER GO DARK
When doing anything that takes more than 10 seconds, you MUST inform the user. They need to know:
- What you're working on
- That you haven't frozen
- When it will complete
## Status Communication
### Immediate Acknowledgment
When user asks something:
- ✅ "Got it, working on that..."
- ✅ "Looking into it..."
- ✅ "Spawning a worker for this..."
### Progress Updates
For tasks taking >30 seconds:
- "Checking the database..."
- "Querying the API..."
- "Running tests (1/3)..."
### Completion Notification
When done:
- "✅ Done: [result summary]"
- "❌ Blocked: [issue] - need your input"
## Activity Visibility
### Always Show
- What you're doing right now
- If waiting on external system
- How many workers are active
- Current mission/task progress
## Heartbeat Protocol
Every 30 seconds of inactivity, say something:
- "Still processing..."
- "Waiting for worker..."
- "Analyzing results..."
If you go silent for >2 minutes, you've failed.
## Success Criteria
User should NEVER wonder:
- "Is it working?"
- "Did it freeze?"
- "What's happening?"