@masslessai/push-todo 3.5.6 → 3.5.7

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/lib/daemon.js +13 -4
  2. package/package.json +1 -1
package/lib/daemon.js CHANGED
@@ -1006,14 +1006,23 @@ function handleTaskCompletion(displayNumber, exitCode) {
1006
1006
  log(`Task #${displayNumber} could not extract session_id`);
1007
1007
  }
1008
1008
 
1009
+ // Auto-create PR first so we can include it in the summary
1010
+ const prUrl = createPRForTask(displayNumber, summary, projectPath);
1011
+
1012
+ // Build execution summary for Supabase (shown in iOS timeline)
1013
+ const durationStr = duration < 60 ? `${duration}s` : `${Math.floor(duration / 60)}m ${duration % 60}s`;
1014
+ const machineName = getMachineName() || 'Mac';
1015
+ let executionSummary = `Ran for ${durationStr} on ${machineName}.`;
1016
+ if (prUrl) {
1017
+ executionSummary += ` PR: ${prUrl}`;
1018
+ }
1019
+
1009
1020
  updateTaskStatus(displayNumber, 'completed', {
1010
1021
  duration,
1011
- sessionId
1022
+ sessionId,
1023
+ summary: executionSummary
1012
1024
  });
1013
1025
 
1014
- // Auto-create PR
1015
- const prUrl = createPRForTask(displayNumber, summary, projectPath);
1016
-
1017
1026
  if (NOTIFY_ON_COMPLETE) {
1018
1027
  const prNote = prUrl ? ' PR ready for review.' : '';
1019
1028
  sendMacNotification(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masslessai/push-todo",
3
- "version": "3.5.6",
3
+ "version": "3.5.7",
4
4
  "description": "Voice tasks from Push iOS app for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {