@masslessai/push-todo 3.10.2 → 3.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +7 -5
- package/lib/fetch.js +10 -2
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -32,11 +32,13 @@ When this command is invoked:
|
|
|
32
32
|
push-todo
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
4. **
|
|
35
|
+
4. **If no tasks are returned** (output says "No active tasks"): This is **normal and expected** — it means no tasks have been assigned to this project's action yet. Do NOT treat this as an error. Simply tell the user: "No tasks for this project yet. Create tasks in the Push iOS app and assign them to this action." Do NOT spawn diagnostic agents or troubleshoot — empty task lists are the expected state for new or unused actions.
|
|
36
36
|
|
|
37
|
-
5.
|
|
37
|
+
5. **Present ALL tasks** - Do NOT summarize or truncate the list. Show every active task in a table format. Users want to see their complete task list, not a curated subset. If there are 35 tasks, show all 35.
|
|
38
38
|
|
|
39
|
-
6.
|
|
39
|
+
6. Ask which task the user wants to work on
|
|
40
|
+
|
|
41
|
+
7. **Check if the daemon is currently working on this task:**
|
|
40
42
|
- If the task output shows `**Status:** 🔄 Running`:
|
|
41
43
|
- The daemon is actively working on this task RIGHT NOW
|
|
42
44
|
- Follow the [Live Session Status](#live-session-status) procedure to show progress
|
|
@@ -46,13 +48,13 @@ When this command is invoked:
|
|
|
46
48
|
- Tell the user: "This task is queued and will be picked up by the daemon shortly."
|
|
47
49
|
- Do NOT start working on this task
|
|
48
50
|
|
|
49
|
-
|
|
51
|
+
8. **Check for resumable daemon sessions:**
|
|
50
52
|
- If the task output contains `**Session:** Resumable`, the daemon already ran Claude Code on this task
|
|
51
53
|
- Do NOT start working from scratch — automatically load the daemon's session context
|
|
52
54
|
- Follow the [Auto-Resume from Session Transcript](#auto-resume-from-session-transcript) procedure below
|
|
53
55
|
- Only if the session transcript cannot be found should you begin working from scratch
|
|
54
56
|
|
|
55
|
-
|
|
57
|
+
9. If no resumable session exists, begin working on the task normally
|
|
56
58
|
|
|
57
59
|
## Review Mode
|
|
58
60
|
|
package/lib/fetch.js
CHANGED
|
@@ -109,8 +109,16 @@ export async function listTasks(options = {}) {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
if (decryptedTasks.length === 0) {
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
let scope;
|
|
113
|
+
if (gitRemote) {
|
|
114
|
+
scope = `for ${cyan(gitRemote)}`;
|
|
115
|
+
} else if (actionId || actionType) {
|
|
116
|
+
// Path-based project (e.g., OpenClaw workspace) — scoped to a specific action
|
|
117
|
+
scope = `for this project (${cyan(actionType || 'unknown')})`;
|
|
118
|
+
} else {
|
|
119
|
+
scope = 'across all projects';
|
|
120
|
+
}
|
|
121
|
+
console.log(`No active tasks ${scope}. This is normal if no tasks have been assigned to this action yet.`);
|
|
114
122
|
return;
|
|
115
123
|
}
|
|
116
124
|
|