Skip to content

Commit 98d9591

Browse files
committed
Release v3.6.6
Published from npm package build Source: https://github.com/thedotmack/claude-mem-source
1 parent d01c2af commit 98d9591

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77

8+
## [3.6.6] - 2025-09-14
9+
10+
### Fixed
11+
- Resolved compaction errors when processing large conversation histories by reducing chunk size limits to stay within Claude's context window
12+
13+
814
## [3.6.5] - 2025-09-14
915

1016
### Changed

dist/claude-mem.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "3.6.5",
3+
"version": "3.6.6",
44
"description": "Memory compression system for Claude Code - persist context across sessions",
55
"keywords": [
66
"claude",

src/core/compression/ChunkManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export interface ChunkedMessage {
3434
}
3535

3636
export class ChunkManager {
37-
private static readonly DEFAULT_MAX_TOKENS = 28000;
38-
private static readonly DEFAULT_MAX_BYTES = 98000;
37+
private static readonly DEFAULT_MAX_TOKENS = 22400; // Reduced by 20% from 28000
38+
private static readonly DEFAULT_MAX_BYTES = 78400; // Reduced by 20% from 98000
3939
private static readonly DEFAULT_CONTEXT_OVERLAP = 2;
4040
private static readonly CHARS_PER_TOKEN_ESTIMATE = 3.5;
4141

0 commit comments

Comments
 (0)