@masslessai/push-todo 3.10.7 → 3.10.8

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.
@@ -138,7 +138,11 @@ export function startDaemon() {
138
138
  const child = spawn(process.execPath, [daemonScript], {
139
139
  detached: true,
140
140
  stdio: ['ignore', 'ignore', 'ignore'],
141
- env: { ...process.env, PUSH_DAEMON: '1' }
141
+ env: (() => {
142
+ const env = { ...process.env, PUSH_DAEMON: '1' };
143
+ delete env.CLAUDECODE; // Strip to avoid leaking into Claude child processes
144
+ return env;
145
+ })()
142
146
  });
143
147
 
144
148
  writeFileSync(PID_FILE, String(child.pid));
package/lib/daemon.js CHANGED
@@ -1797,10 +1797,12 @@ function checkAndApplyUpdate() {
1797
1797
 
1798
1798
  // Spawn new daemon from updated code, then exit
1799
1799
  const daemonScript = join(__dirname, 'daemon.js');
1800
+ const selfUpdateEnv = { ...process.env, PUSH_DAEMON: '1' };
1801
+ delete selfUpdateEnv.CLAUDECODE; // Strip to avoid leaking into Claude child processes
1800
1802
  const child = spawn(process.execPath, [daemonScript], {
1801
1803
  detached: true,
1802
1804
  stdio: ['ignore', 'ignore', 'ignore'],
1803
- env: { ...process.env, PUSH_DAEMON: '1' }
1805
+ env: selfUpdateEnv
1804
1806
  });
1805
1807
  writeFileSync(PID_FILE, String(child.pid));
1806
1808
  child.unref();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masslessai/push-todo",
3
- "version": "3.10.7",
3
+ "version": "3.10.8",
4
4
  "description": "Voice tasks from Push iOS app for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {