claude-code-pulsify 1.0.0 → 1.0.2

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.
@@ -49,7 +49,7 @@ async function main() {
49
49
  fs.writeFileSync(cachePath, JSON.stringify({
50
50
  installed,
51
51
  latest,
52
- updateAvailable: latest !== installed,
52
+ updateAvailable: latest.localeCompare(installed, undefined, { numeric: true }) > 0,
53
53
  checkedAt: Date.now()
54
54
  }));
55
55
  } catch {
@@ -119,7 +119,17 @@ async function main() {
119
119
  // Debug payload dump
120
120
  if (process.env.CLAUDE_PULSIFY_DEBUG) {
121
121
  try {
122
- fs.writeFileSync('/tmp/claude-pulsify-debug.json', JSON.stringify(data, null, 2), 'utf8')
122
+ const debugData = {
123
+ ...data,
124
+ _debug: {
125
+ process_cwd: process.cwd(),
126
+ env_PWD: process.env.PWD || null,
127
+ env_HOME: process.env.HOME || null,
128
+ argv: process.argv,
129
+ timestamp: new Date().toISOString(),
130
+ },
131
+ }
132
+ fs.writeFileSync('/tmp/claude-pulsify-debug.json', JSON.stringify(debugData, null, 2), 'utf8')
123
133
  } catch {
124
134
  // Silently ignore write errors
125
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-pulsify",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Context-aware statusline and context monitor for Claude Code",
5
5
  "bin": {
6
6
  "claude-code-pulsify": "bin/install.js"