SJinn Task Status
Use this skill when the user has a SJinn task ID and wants to check progress, inspect failure details, or retrieve generated output URLs.
Prerequisites
Before querying, quickly verify the CLI and login:
sjinn --version
sjinn auth whoami
If either command fails, use sjinn-setup first.
Workflow
- Ask for the task ID if it is missing.
- Query status with JSON output:
sjinn status <task_id> --json
- Interpret the numeric or textual status in user-friendly language.
- If output URLs are present, return them clearly.
- If the task is still pending or processing, tell the user it is not finished yet.
- If the task failed, summarize the error field from the CLI output.
Status Guide
pending: The task has been accepted and is waiting or running.completed: The task finished successfully and should include output URLs.failed: The task failed; report the error.cancelled: The task was cancelled or stopped.deleted: The task was deleted by the user.
Command
sjinn status <task_id> --json