20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
---
|
|
description: Show status of coordinator-spawned tasks from EEMS.
|
|
---
|
|
|
|
The user invoked `/status` with argument: `$ARGUMENTS`
|
|
|
|
Behavior depends on `$ARGUMENTS`:
|
|
|
|
- **Empty** → list all recent task status rows. Call `memory_recall` with `query="task. status state"` and `limit=15`. Render a compact table with columns: `session` (last 8 chars of the id), `state`, `coordinator`, `language` (or `-`), `last_update` (HH:MM only). One row per matched memory. Append a one-line total.
|
|
|
|
- **`ses_*` pattern** (starts with `ses_`) → that's a specific session id. Call `memory_recall` with `query="task.<full-id>.status"` and `limit=1`. Paste the returned content verbatim.
|
|
|
|
- **Any other token** → treat as a state filter. Call `memory_recall` with `query="task. state: <token>"` and `limit=15`. Render the same compact table as the empty case.
|
|
|
|
If no matches: report `no tasks found` (or `no tasks in state '<token>'` for the filter case) on one line and stop.
|
|
|
|
Rules:
|
|
- No narration ("I'll now..."). Just call the tool and render.
|
|
- Don't summarize the row content for the specific-id case — verbatim paste.
|