@aiplumber/session-recall 1.9.4 → 1.9.5
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 +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiplumber/session-recall",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
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.9.
|
|
3
|
+
const VERSION = '1.9.5';
|
|
4
4
|
|
|
5
5
|
const fs = require('fs');
|
|
6
6
|
const path = require('path');
|
|
@@ -1857,6 +1857,13 @@ async function cmdLast(arg1, arg2, opts) {
|
|
|
1857
1857
|
console.log(`---`);
|
|
1858
1858
|
console.log(`Tool results: Most are noise. Only fetch with "session-recall tools --show <id>" when you see something you actually need.`);
|
|
1859
1859
|
console.log(`Session file: ${selected[0]?.filePath || 'unknown'}`);
|
|
1860
|
+
|
|
1861
|
+
// Hint if returned tokens are very small - might want compaction phases instead
|
|
1862
|
+
if (returnedK < 5 && !opts.compactionPhases) {
|
|
1863
|
+
console.log(``);
|
|
1864
|
+
console.log(`[HINT] Small context returned. For recovering from a compacted session, try:`);
|
|
1865
|
+
console.log(` session-recall last N --compactions`);
|
|
1866
|
+
}
|
|
1860
1867
|
}
|
|
1861
1868
|
|
|
1862
1869
|
function showHelp() {
|