@masslessai/push-todo 3.7.0 → 3.7.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/lib/utils/format.js +2 -0
- package/lib/watch.js +2 -2
- package/package.json +1 -1
package/lib/utils/format.js
CHANGED
|
@@ -137,6 +137,8 @@ export function formatTaskForDisplay(task) {
|
|
|
137
137
|
lines.push('**Status:** 🔄 Running');
|
|
138
138
|
} else if (execStatus === 'queued') {
|
|
139
139
|
lines.push('**Status:** ⚡ Queued for Mac execution');
|
|
140
|
+
} else if (execStatus === 'session_finished') {
|
|
141
|
+
lines.push('**Status:** 🏁 Session finished');
|
|
140
142
|
} else if (execStatus === 'failed') {
|
|
141
143
|
const error = task.executionError || task.execution_error || 'Unknown error';
|
|
142
144
|
lines.push(`**Status:** ❌ Failed: ${error}`);
|
package/lib/watch.js
CHANGED
|
@@ -50,7 +50,7 @@ function formatTaskLine(task) {
|
|
|
50
50
|
statusIcon = '●';
|
|
51
51
|
statusColor = codes.green;
|
|
52
52
|
break;
|
|
53
|
-
case '
|
|
53
|
+
case 'session_finished':
|
|
54
54
|
statusIcon = '✓';
|
|
55
55
|
statusColor = codes.green;
|
|
56
56
|
break;
|
|
@@ -191,7 +191,7 @@ function formatUI(status) {
|
|
|
191
191
|
lines.push('');
|
|
192
192
|
|
|
193
193
|
for (const task of completedToday.slice(-3)) {
|
|
194
|
-
lines.push(formatTaskLine({ ...task, status: '
|
|
194
|
+
lines.push(formatTaskLine({ ...task, status: 'session_finished' }));
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
if (completedToday.length > 3) {
|