@aiplumber/session-recall 1.8.5 → 1.8.6
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/package.json +1 -1
- package/session-recall +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiplumber/session-recall",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.6",
|
|
4
4
|
"description": "Pull context from previous Claude Code sessions. Sessions end, context resets - this tool lets you continue where you left off.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"session-recall": "./session-recall"
|
package/session-recall
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const VERSION = '1.8.
|
|
3
|
+
const VERSION = '1.8.6';
|
|
4
4
|
|
|
5
5
|
const fs = require('fs');
|
|
6
6
|
const path = require('path');
|
|
@@ -49,10 +49,10 @@ function readJsonl(filePath) {
|
|
|
49
49
|
const stats = fs.statSync(filePath);
|
|
50
50
|
const sizeMB = stats.size / (1024 * 1024);
|
|
51
51
|
|
|
52
|
-
if (sizeMB > LARGE_FILE_DANGER_MB) {
|
|
52
|
+
if (sizeMB > LARGE_FILE_DANGER_MB && !process.env.SESSION_RECALL_FORCE) {
|
|
53
53
|
console.error(`[session-recall] ERROR: File is ${sizeMB.toFixed(0)}MB - too large, will crash.`);
|
|
54
54
|
console.error(`Tip: Use 'session-recall last 1 --compactions' for just current phase`);
|
|
55
|
-
console.error(`Or: NODE_OPTIONS="--max-old-space-size=8192" session-recall ...`);
|
|
55
|
+
console.error(`Or: SESSION_RECALL_FORCE=1 NODE_OPTIONS="--max-old-space-size=8192" session-recall ...`);
|
|
56
56
|
process.exit(1);
|
|
57
57
|
} else if (sizeMB > LARGE_FILE_WARNING_MB) {
|
|
58
58
|
console.error(`[session-recall] WARNING: ${sizeMB.toFixed(0)}MB file - may be slow`);
|