@masslessai/push-todo 3.4.7 → 3.4.9

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/SKILL.md CHANGED
@@ -32,9 +32,11 @@ When this command is invoked:
32
32
  push-todo
33
33
  ```
34
34
 
35
- 4. Present the tasks and ask which one to work on
35
+ 4. **Present ALL tasks** - Do NOT summarize or truncate the list. Show every active task in a table format. Users want to see their complete task list, not a curated subset. If there are 35 tasks, show all 35.
36
36
 
37
- 5. When user selects a task, mark it as started and begin working
37
+ 5. Ask which task the user wants to work on
38
+
39
+ 6. When user selects a task, mark it as started and begin working
38
40
 
39
41
  ## Review Mode
40
42
 
package/lib/daemon.js CHANGED
@@ -341,13 +341,30 @@ async function apiRequest(endpoint, options = {}, retry = true) {
341
341
  async function fetchQueuedTasks() {
342
342
  try {
343
343
  const machineId = getMachineId();
344
+ const machineName = getMachineName();
344
345
  const params = new URLSearchParams();
345
346
  params.set('execution_status', 'queued');
346
347
  if (machineId) {
347
348
  params.set('machine_id', machineId);
348
349
  }
349
350
 
350
- const response = await apiRequest(`synced-todos?${params}`);
351
+ // Get registered git_remotes for heartbeat tracking
352
+ // This enables iOS app to check if daemon is online for specific projects
353
+ const projects = getListedProjects();
354
+ const gitRemotes = Object.keys(projects);
355
+
356
+ // Add heartbeat headers for daemon status tracking
357
+ // See: /docs/20260204_daemon_heartbeat_status_indicator_implementation_plan.md
358
+ const heartbeatHeaders = {};
359
+ if (machineId && gitRemotes.length > 0) {
360
+ heartbeatHeaders['X-Machine-Id'] = machineId;
361
+ heartbeatHeaders['X-Machine-Name'] = machineName || 'Unknown Mac';
362
+ heartbeatHeaders['X-Git-Remotes'] = gitRemotes.join(',');
363
+ }
364
+
365
+ const response = await apiRequest(`synced-todos?${params}`, {
366
+ headers: heartbeatHeaders
367
+ });
351
368
 
352
369
  if (!response.ok) {
353
370
  if (response.status === 404) return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masslessai/push-todo",
3
- "version": "3.4.7",
3
+ "version": "3.4.9",
4
4
  "description": "Voice tasks from Push iOS app for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {