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.
- package/hooks/check-update.js +1 -1
- package/hooks/statusline.js +11 -1
- package/package.json +1 -1
package/hooks/check-update.js
CHANGED
|
@@ -49,7 +49,7 @@ async function main() {
|
|
|
49
49
|
fs.writeFileSync(cachePath, JSON.stringify({
|
|
50
50
|
installed,
|
|
51
51
|
latest,
|
|
52
|
-
updateAvailable: latest
|
|
52
|
+
updateAvailable: latest.localeCompare(installed, undefined, { numeric: true }) > 0,
|
|
53
53
|
checkedAt: Date.now()
|
|
54
54
|
}));
|
|
55
55
|
} catch {
|
package/hooks/statusline.js
CHANGED
|
@@ -119,7 +119,17 @@ async function main() {
|
|
|
119
119
|
// Debug payload dump
|
|
120
120
|
if (process.env.CLAUDE_PULSIFY_DEBUG) {
|
|
121
121
|
try {
|
|
122
|
-
|
|
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
|
}
|