fluxflow-cli 1.13.1 → 1.13.2
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/dist/fluxflow.js +3 -3
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -1002,7 +1002,7 @@ ${isMemoryEnabled ? `-- User-specific long-term/permanent memory (USE BASED ON C
|
|
|
1002
1002
|
|
|
1003
1003
|
-- Memory Relevance Decay Tool --
|
|
1004
1004
|
- Score Adjustment: [tool:functions.addMemScore(id="<memory id>")]
|
|
1005
|
-
You MUST call this tool when a specific saved memory in the '-- CURRENT SAVED USER MEMORIES --' list was
|
|
1005
|
+
You MUST call this tool when a specific saved memory in the '-- CURRENT SAVED USER MEMORIES --' list was relevant, referenced, or helpful in the agent's response or user prompt IN CURRENT MESSAGE. You can stack multiple calls.
|
|
1006
1006
|
|
|
1007
1007
|
Explicit Triggers for permanent memory:
|
|
1008
1008
|
- User explicitly asks to 'remember' something.
|
|
@@ -4027,9 +4027,9 @@ ${originalTextProcessed.length > USER_CONTEXT_LENGTH ? "... (truncated) ...\n\n"
|
|
|
4027
4027
|
try {
|
|
4028
4028
|
const tempStorage = readEncryptedJson(TEMP_MEM_FILE, {});
|
|
4029
4029
|
const totalMemoriesCount = Object.values(tempStorage).flat().length;
|
|
4030
|
-
if (totalMemoriesCount <=
|
|
4030
|
+
if (totalMemoriesCount <= 2) return;
|
|
4031
4031
|
const chatsToSummarize = Object.keys(tempStorage).filter((id) => {
|
|
4032
|
-
return id !== currentChatId && Array.isArray(tempStorage[id]) && tempStorage[id].length >
|
|
4032
|
+
return id !== currentChatId && Array.isArray(tempStorage[id]) && tempStorage[id].length > 2;
|
|
4033
4033
|
});
|
|
4034
4034
|
if (chatsToSummarize.length === 0) return;
|
|
4035
4035
|
let prompt = `You are a silent background process for the FluxFlow CLI Agent.
|