@vibetasks/cli 0.5.7 → 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.
- package/dist/bin/vibetasks.js +10 -2
- package/package.json +1 -1
package/dist/bin/vibetasks.js
CHANGED
|
@@ -294,7 +294,7 @@ async function loginWithBrowser() {
|
|
|
294
294
|
</p>
|
|
295
295
|
<div class="success-badge">Ready to use</div>
|
|
296
296
|
<div class="button-group">
|
|
297
|
-
<a href="${baseUrl}/settings?tab=ai" class="button button-primary">
|
|
297
|
+
<a href="${baseUrl}/settings?tab=ai" class="button button-primary">Set up AI integration</a>
|
|
298
298
|
<button onclick="window.close()" class="button button-secondary">Close Window</button>
|
|
299
299
|
</div>
|
|
300
300
|
</div>
|
|
@@ -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
|
-
|
|
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