Release v3.6.5
Published from npm package build Source: https://github.com/thedotmack/claude-mem-source
This commit is contained in:
@@ -5,6 +5,15 @@ 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/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
|
|
||||||
|
## [3.6.5] - 2025-09-14
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Session groups now display in chronological order (most recent first)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Improved CLI path detection for cross-platform compatibility
|
||||||
|
|
||||||
|
|
||||||
## [3.6.4] - 2025-09-13
|
## [3.6.4] - 2025-09-13
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
Vendored
+74
-74
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claude-mem",
|
"name": "claude-mem",
|
||||||
"version": "3.6.4",
|
"version": "3.6.5",
|
||||||
"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",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { OptionValues } from 'commander';
|
import { OptionValues } from 'commander';
|
||||||
import { readFileSync, writeFileSync, existsSync, chmodSync, mkdirSync, copyFileSync, statSync, readdirSync } from 'fs';
|
import { readFileSync, writeFileSync, existsSync, chmodSync, mkdirSync, copyFileSync, statSync, readdirSync } from 'fs';
|
||||||
import { join, resolve, dirname } from 'path';
|
import { join, resolve, dirname } from 'path';
|
||||||
import { homedir } from 'os';
|
import { homedir, platform } from 'os';
|
||||||
import { execSync } from 'child_process';
|
import { execSync } from 'child_process';
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
import * as p from '@clack/prompts';
|
import * as p from '@clack/prompts';
|
||||||
@@ -95,7 +95,8 @@ async function validatePrerequisites(): Promise<boolean> {
|
|||||||
name: 'Claude Code CLI',
|
name: 'Claude Code CLI',
|
||||||
check: async () => {
|
check: async () => {
|
||||||
try {
|
try {
|
||||||
execSync('which claude', { stdio: 'ignore' });
|
const command = platform() === 'win32' ? 'where claude' : 'which claude';
|
||||||
|
execSync(command, { stdio: 'ignore' });
|
||||||
return { success: true, message: '' };
|
return { success: true, message: '' };
|
||||||
} catch {
|
} catch {
|
||||||
return { success: false, message: 'Claude Code CLI not found. Please install: https://docs.anthropic.com/claude/docs/claude-code' };
|
return { success: false, message: 'Claude Code CLI not found. Please install: https://docs.anthropic.com/claude/docs/claude-code' };
|
||||||
@@ -184,7 +185,8 @@ async function validatePrerequisites(): Promise<boolean> {
|
|||||||
// <Block> Claude binary path detection
|
// <Block> Claude binary path detection
|
||||||
function detectClaudePath(): string | null {
|
function detectClaudePath(): string | null {
|
||||||
try {
|
try {
|
||||||
const path = execSync('which claude', {
|
const command = platform() === 'win32' ? 'where claude' : 'which claude';
|
||||||
|
const path = execSync(command, {
|
||||||
encoding: 'utf8',
|
encoding: 'utf8',
|
||||||
stdio: ['ignore', 'pipe', 'ignore']
|
stdio: ['ignore', 'pipe', 'ignore']
|
||||||
}).trim();
|
}).trim();
|
||||||
|
|||||||
@@ -613,6 +613,14 @@ export function outputSessionStartContent(params: {
|
|||||||
// Overview section at bottom with session grouping
|
// Overview section at bottom with session grouping
|
||||||
if (overviews.length > 0) {
|
if (overviews.length > 0) {
|
||||||
const sessionGroups = groupOverviewsBySession(overviews);
|
const sessionGroups = groupOverviewsBySession(overviews);
|
||||||
|
|
||||||
|
// Sort groups by timestamp, newest first
|
||||||
|
sessionGroups.sort((a, b) => {
|
||||||
|
const timeA = a.earliestTimestamp?.getTime() || 0;
|
||||||
|
const timeB = b.earliestTimestamp?.getTime() || 0;
|
||||||
|
return timeB - timeA; // Descending order (newest first)
|
||||||
|
});
|
||||||
|
|
||||||
console.log('');
|
console.log('');
|
||||||
|
|
||||||
console.log(wrapText('🧠 Overviews', width));
|
console.log(wrapText('🧠 Overviews', width));
|
||||||
|
|||||||
Reference in New Issue
Block a user