@vibetasks/cli 0.5.8 → 0.6.0

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.
@@ -977,7 +977,15 @@ ${filterMessages[filter] || "No tasks found"}.
977
977
  const subtasks = task.subtasks_json || task.subtasks || [];
978
978
  const doneCount = subtasks.filter((s) => s.done).length;
979
979
  const totalCount = subtasks.length;
980
- const progress = totalCount > 0 ? chalk4.cyan(`${doneCount}/${totalCount}`) : chalk4.gray("-");
980
+ let progress = chalk4.gray("-");
981
+ if (totalCount > 0) {
982
+ const percentage = doneCount / totalCount * 100;
983
+ const barLength = 5;
984
+ const filled = Math.round(doneCount / totalCount * barLength);
985
+ const bar = "\u2588".repeat(filled) + "\u2591".repeat(barLength - filled);
986
+ const barColor = percentage === 100 ? chalk4.green : percentage >= 50 ? chalk4.cyan : chalk4.yellow;
987
+ progress = `${barColor(bar)} ${chalk4.cyan(`${doneCount}/${totalCount}`)}`;
988
+ }
981
989
  if (options.shortIds) {
982
990
  table.push([shortId, status, titleWithAI, progress, dueDate]);
983
991
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibetasks/cli",
3
- "version": "0.5.8",
3
+ "version": "0.6.0",
4
4
  "description": "VibeTasks CLI - Lightning-fast task management from your terminal. Works with Claude Code, Cursor, and all AI coding tools.",
5
5
  "author": "Vyas",
6
6
  "license": "MIT",