Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f0c3bf18b0 | |||
| 3eaae66bc4 |
@@ -0,0 +1,35 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
|
||||||
|
## [3.6.2] - 2025-09-10
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Visual feedback to changelog command showing current version, next version, and number of overviews being processed
|
||||||
|
- Generate changelog for specific versions using `--generate` flag with npm publish time boundaries
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Changelog regeneration automatically removes old entries from JSONL file when using `--generate` or `--historical` flags
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Changelog command now uses npm publish timestamps exclusively for accurate version time ranges
|
||||||
|
- Resolved timestamp filtering issues with Chroma database by leveraging semantic search with embedded dates
|
||||||
|
|
||||||
|
|
||||||
|
## [3.6.1] - 2025-09-10
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Refactored pre-compact hook to work independently without status line updates
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- Removed status line integration and ccstatusline configuration support
|
||||||
|
|
||||||
|
|
||||||
|
## [3.5.5] - 2025-09-10
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Standardized GitHub release naming to lowercase 'claude-mem vX.X.X' format for consistent branding
|
||||||
|
|
||||||
Vendored
+412
-290
File diff suppressed because one or more lines are too long
@@ -17,10 +17,12 @@ import {
|
|||||||
debugLog
|
debugLog
|
||||||
} from './shared/hook-helpers.js';
|
} from './shared/hook-helpers.js';
|
||||||
|
|
||||||
// Set up stdin immediately before any async operations
|
|
||||||
|
// Set up stdin immediately
|
||||||
process.stdin.setEncoding('utf8');
|
process.stdin.setEncoding('utf8');
|
||||||
process.stdin.resume(); // Explicitly enter flowing mode to prevent data loss
|
process.stdin.resume(); // Explicitly enter flowing mode to prevent data loss
|
||||||
|
|
||||||
|
|
||||||
// Read input from stdin
|
// Read input from stdin
|
||||||
let input = '';
|
let input = '';
|
||||||
process.stdin.on('data', chunk => {
|
process.stdin.on('data', chunk => {
|
||||||
@@ -28,6 +30,7 @@ process.stdin.on('data', chunk => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
process.stdin.on('end', async () => {
|
process.stdin.on('end', async () => {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Load CLI command inside try-catch to handle config errors properly
|
// Load CLI command inside try-catch to handle config errors properly
|
||||||
const cliCommand = loadCliCommand();
|
const cliCommand = loadCliCommand();
|
||||||
|
|||||||
@@ -40,6 +40,14 @@ export function getLogsDir() {
|
|||||||
return process.env.CLAUDE_MEM_LOGS_DIR || join(getDataDir(), 'logs');
|
return process.env.CLAUDE_MEM_LOGS_DIR || join(getDataDir(), 'logs');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the compact flag file path
|
||||||
|
* @returns {string} Compact flag file path
|
||||||
|
*/
|
||||||
|
export function getCompactFlagPath() {
|
||||||
|
return join(getDataDir(), '.compact-running');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets all common paths used by hooks
|
* Gets all common paths used by hooks
|
||||||
* @returns {Object} Object containing all common paths
|
* @returns {Object} Object containing all common paths
|
||||||
@@ -49,6 +57,7 @@ export function getPaths() {
|
|||||||
dataDir: getDataDir(),
|
dataDir: getDataDir(),
|
||||||
settingsPath: getSettingsPath(),
|
settingsPath: getSettingsPath(),
|
||||||
archivesDir: getArchivesDir(),
|
archivesDir: getArchivesDir(),
|
||||||
logsDir: getLogsDir()
|
logsDir: getLogsDir(),
|
||||||
|
compactFlagPath: getCompactFlagPath()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+3
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claude-mem",
|
"name": "claude-mem",
|
||||||
"version": "3.6.0",
|
"version": "3.6.2",
|
||||||
"description": "Memory compression system for Claude Code - persist context across sessions",
|
"description": "Memory compression system for Claude Code - persist context across sessions",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"claude",
|
"claude",
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
"dist",
|
"dist",
|
||||||
"hooks",
|
"hooks",
|
||||||
"commands",
|
"commands",
|
||||||
".mcp.json"
|
".mcp.json",
|
||||||
|
"CHANGELOG.md"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user