Skip to content

Commit bae29a7

Browse files
thedotmackclaude
andcommitted
Bump version to 7.1.13
Enhanced error handling and logging improvements: - Standardized error messages across hooks and worker service - Platform-aware restart instructions (macOS, Linux, Windows) - Fixed false error logging from happy_path_error misuse - Timezone-aware logging (uses local machine timezone instead of UTC) - Comprehensive test coverage for error handling scenarios 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 52d2f72 commit bae29a7

File tree

7 files changed

+21
-7
lines changed

7 files changed

+21
-7
lines changed

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"plugins": [
1111
{
1212
"name": "claude-mem",
13-
"version": "7.1.12",
13+
"version": "7.1.13",
1414
"source": "./plugin",
1515
"description": "Persistent memory system for Claude Code - context compression across sessions"
1616
}

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future sessions.
88

9-
**Current Version**: 7.1.12
9+
**Current Version**: 7.1.13
1010

1111
## Architecture
1212

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-mem",
3-
"version": "7.1.12",
3+
"version": "7.1.13",
44
"description": "Memory compression system for Claude Code - persist context across sessions",
55
"keywords": [
66
"claude",

plugin/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-mem",
3-
"version": "7.1.12",
3+
"version": "7.1.13",
44
"description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions",
55
"author": {
66
"name": "Alex Newman"

plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-mem-plugin",
3-
"version": "7.1.12",
3+
"version": "7.1.13",
44
"private": true,
55
"description": "Runtime dependencies for claude-mem bundled hooks",
66
"type": "module",

plugin/scripts/worker-service.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/utils/logger.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,20 @@ class Logger {
131131
}
132132
}
133133

134+
/**
135+
* Format timestamp in local timezone (YYYY-MM-DD HH:MM:SS.mmm)
136+
*/
137+
private formatTimestamp(date: Date): string {
138+
const year = date.getFullYear();
139+
const month = String(date.getMonth() + 1).padStart(2, '0');
140+
const day = String(date.getDate()).padStart(2, '0');
141+
const hours = String(date.getHours()).padStart(2, '0');
142+
const minutes = String(date.getMinutes()).padStart(2, '0');
143+
const seconds = String(date.getSeconds()).padStart(2, '0');
144+
const ms = String(date.getMilliseconds()).padStart(3, '0');
145+
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}.${ms}`;
146+
}
147+
134148
/**
135149
* Core logging method
136150
*/
@@ -143,7 +157,7 @@ class Logger {
143157
): void {
144158
if (level < this.getLevel()) return;
145159

146-
const timestamp = new Date().toISOString().replace('T', ' ').substring(0, 23);
160+
const timestamp = this.formatTimestamp(new Date());
147161
const levelStr = LogLevel[level].padEnd(5);
148162
const componentStr = component.padEnd(6);
149163

0 commit comments

Comments
 (0)