claskit 1.0.0 → 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.
Files changed (2) hide show
  1. package/bin/claskit.js +7 -6
  2. package/package.json +1 -1
package/bin/claskit.js CHANGED
@@ -351,6 +351,13 @@ async function launchReal(tasks) {
351
351
 
352
352
  async function scheduleRun(tasks) {
353
353
  const selected = await pickTasks(tasks);
354
+
355
+ const confirmed = await confirmLaunch(selected.length);
356
+ if (!confirmed) {
357
+ console.log(`\n${C.dim}Aborted.${C.reset}`);
358
+ exit(0);
359
+ }
360
+
354
361
  const input = await ask(` Enter time ${C.dim}(HH:MM, 24h)${C.reset}: `);
355
362
  if (!/^([01]\d|2[0-3]):[0-5]\d$/.test(input)) {
356
363
  console.log(`${C.red}Invalid format. Use HH:MM (e.g. 22:30)${C.reset}`);
@@ -368,12 +375,6 @@ async function scheduleRun(tasks) {
368
375
  console.log(` ${C.dim}Press Ctrl+C to cancel${C.reset}\n`);
369
376
 
370
377
  await countdown(waitSecs, `Launching at ${input}`);
371
-
372
- const confirmed = await confirmLaunch(selected.length);
373
- if (!confirmed) {
374
- console.log(`\n${C.dim}Aborted.${C.reset}`);
375
- exit(0);
376
- }
377
378
  launchClaude(buildPrompt(selected), 'autonomous mode');
378
379
  }
379
380
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claskit",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Autonomous Claude Code task runner for spec-driven development",
5
5
  "author": {
6
6
  "name": "phucbm",