@hasnaxyz/hook-checktasks 0.2.5 → 1.0.1
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/dist/cli.js +18 -8
- package/dist/hook.js +18 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -186,21 +186,31 @@ function run() {
|
|
|
186
186
|
const prompt = `
|
|
187
187
|
STOP BLOCKED: You have ${remainingCount} tasks remaining${listInfo} (${allPending.length} pending, ${allInProgress.length} in progress, ${allCompleted.length} completed).
|
|
188
188
|
|
|
189
|
-
|
|
189
|
+
⛔ DO NOT STOP. DO NOT ASK QUESTIONS. DO NOT WAIT FOR USER INPUT.
|
|
190
|
+
|
|
191
|
+
You MUST continue working AUTONOMOUSLY until ALL tasks are completed.
|
|
190
192
|
|
|
191
193
|
Next pending tasks:
|
|
192
194
|
${nextTasks}
|
|
193
195
|
${allPending.length > 3 ? `... and ${allPending.length - 3} more pending tasks` : ""}
|
|
194
196
|
|
|
195
|
-
INSTRUCTIONS:
|
|
197
|
+
MANDATORY INSTRUCTIONS (follow these NOW):
|
|
196
198
|
1. Use TaskList to see all tasks
|
|
197
|
-
2.
|
|
198
|
-
3. Use TaskUpdate to mark it as in_progress
|
|
199
|
-
4. Complete the task
|
|
200
|
-
5. Use TaskUpdate to mark it as completed
|
|
201
|
-
6.
|
|
199
|
+
2. Use TaskGet to read the FIRST pending task's full description
|
|
200
|
+
3. Use TaskUpdate to mark it as in_progress BEFORE starting work
|
|
201
|
+
4. Complete the task (write code, run commands, etc.)
|
|
202
|
+
5. Use TaskUpdate to mark it as completed AFTER finishing
|
|
203
|
+
6. IMMEDIATELY move to the next task - DO NOT STOP
|
|
204
|
+
|
|
205
|
+
CRITICAL RULES:
|
|
206
|
+
- NEVER ask "would you like me to..." - just DO IT
|
|
207
|
+
- NEVER ask for confirmation - just WORK
|
|
208
|
+
- NEVER stop to explain what you'll do - just DO IT
|
|
209
|
+
- If a task is unclear, make reasonable assumptions and proceed
|
|
210
|
+
- If you encounter an error, fix it and continue
|
|
211
|
+
- Keep working until remainingCount = 0
|
|
202
212
|
|
|
203
|
-
|
|
213
|
+
START WORKING NOW. Use TaskList tool in your next response.
|
|
204
214
|
`.trim();
|
|
205
215
|
block(prompt);
|
|
206
216
|
}
|
package/dist/hook.js
CHANGED
|
@@ -182,21 +182,31 @@ function run() {
|
|
|
182
182
|
const prompt = `
|
|
183
183
|
STOP BLOCKED: You have ${remainingCount} tasks remaining${listInfo} (${allPending.length} pending, ${allInProgress.length} in progress, ${allCompleted.length} completed).
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
⛔ DO NOT STOP. DO NOT ASK QUESTIONS. DO NOT WAIT FOR USER INPUT.
|
|
186
|
+
|
|
187
|
+
You MUST continue working AUTONOMOUSLY until ALL tasks are completed.
|
|
186
188
|
|
|
187
189
|
Next pending tasks:
|
|
188
190
|
${nextTasks}
|
|
189
191
|
${allPending.length > 3 ? `... and ${allPending.length - 3} more pending tasks` : ""}
|
|
190
192
|
|
|
191
|
-
INSTRUCTIONS:
|
|
193
|
+
MANDATORY INSTRUCTIONS (follow these NOW):
|
|
192
194
|
1. Use TaskList to see all tasks
|
|
193
|
-
2.
|
|
194
|
-
3. Use TaskUpdate to mark it as in_progress
|
|
195
|
-
4. Complete the task
|
|
196
|
-
5. Use TaskUpdate to mark it as completed
|
|
197
|
-
6.
|
|
195
|
+
2. Use TaskGet to read the FIRST pending task's full description
|
|
196
|
+
3. Use TaskUpdate to mark it as in_progress BEFORE starting work
|
|
197
|
+
4. Complete the task (write code, run commands, etc.)
|
|
198
|
+
5. Use TaskUpdate to mark it as completed AFTER finishing
|
|
199
|
+
6. IMMEDIATELY move to the next task - DO NOT STOP
|
|
200
|
+
|
|
201
|
+
CRITICAL RULES:
|
|
202
|
+
- NEVER ask "would you like me to..." - just DO IT
|
|
203
|
+
- NEVER ask for confirmation - just WORK
|
|
204
|
+
- NEVER stop to explain what you'll do - just DO IT
|
|
205
|
+
- If a task is unclear, make reasonable assumptions and proceed
|
|
206
|
+
- If you encounter an error, fix it and continue
|
|
207
|
+
- Keep working until remainingCount = 0
|
|
198
208
|
|
|
199
|
-
|
|
209
|
+
START WORKING NOW. Use TaskList tool in your next response.
|
|
200
210
|
`.trim();
|
|
201
211
|
block(prompt);
|
|
202
212
|
}
|