@masslessai/push-todo 4.2.7 → 4.2.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.
@@ -18,8 +18,8 @@ const PUSH_DIR = join(homedir(), '.push');
18
18
  const VERSIONS_CACHE_FILE = join(PUSH_DIR, 'agent_versions.json');
19
19
  const LAST_AGENT_UPDATE_FILE = join(PUSH_DIR, 'last_agent_update_check');
20
20
  const CHECK_INTERVAL = 3600000; // 1 hour
21
- const AGENT_UPDATE_CHECK_INTERVAL = 3600000; // 1 hour
22
- const AGENT_VERSION_AGE_GATE = 3600000; // 1 hour — only install versions >1hr old
21
+ const AGENT_UPDATE_CHECK_INTERVAL = 1800000; // 30 minutes
22
+ const AGENT_VERSION_AGE_GATE = 1800000; // 30 minutes — only install versions >30min old
23
23
 
24
24
  // ==================== Agent Definitions ====================
25
25
 
package/lib/daemon.js CHANGED
@@ -394,6 +394,18 @@ function detectCapabilities() {
394
394
 
395
395
  caps.project_skills = discoverProjectSkills();
396
396
 
397
+ // Agent CLI versions (claude-code, openai-codex, openclaw)
398
+ const agentVersions = getAgentVersions();
399
+ const versions = {};
400
+ for (const [type, info] of Object.entries(agentVersions)) {
401
+ if (info.installed && info.version) {
402
+ versions[type] = info.version;
403
+ }
404
+ }
405
+ if (Object.keys(versions).length > 0) {
406
+ caps.agent_versions = versions;
407
+ }
408
+
397
409
  return caps;
398
410
  }
399
411
 
@@ -2,8 +2,8 @@
2
2
  * Self-update module for Push daemon.
3
3
  *
4
4
  * Checks npm registry for newer versions and auto-updates.
5
- * Safety: Only updates to versions published >1 hour ago.
6
- * Throttle: Checks at most once per hour.
5
+ * Safety: Only updates to versions published >30 minutes ago.
6
+ * Throttle: Checks at most once per 30 minutes.
7
7
  * Config: PUSH_AUTO_UPDATE (default true)
8
8
  */
9
9
 
@@ -14,7 +14,7 @@ import { join } from 'path';
14
14
 
15
15
  const PUSH_DIR = join(homedir(), '.push');
16
16
  const LAST_UPDATE_CHECK_FILE = join(PUSH_DIR, 'last_update_check');
17
- const UPDATE_CHECK_INTERVAL = 3600000; // 1 hour
17
+ const UPDATE_CHECK_INTERVAL = 1800000; // 30 minutes
18
18
 
19
19
  /**
20
20
  * Compare semver strings (strips pre-release/build metadata before comparing).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masslessai/push-todo",
3
- "version": "4.2.7",
3
+ "version": "4.2.9",
4
4
  "description": "Voice tasks from Push iOS app for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {