fluxflow-cli 3.3.4 → 3.3.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/dist/fluxflow.js +12 -3
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -6479,7 +6479,7 @@ var init_janitor_tools = __esm({
|
|
|
6479
6479
|
Your tool syntax is: '[tool:functions.ToolName(args...)]'
|
|
6480
6480
|
|
|
6481
6481
|
-- CHAT MANAGEMENT TOOLS (MUST CALL THESE 2 TOOLS ALWAYS) --
|
|
6482
|
-
[tool:functions.Chat(title="<short creative title of FULL conversation in 3
|
|
6482
|
+
[tool:functions.Chat(title="<short creative title of FULL conversation in 3 or 4 words>")]. Consider full chat context to generate title NOT just latest message.
|
|
6483
6483
|
[tool:functions.Memory(action="temp", content="<summary of the user prompt & model responses ONLY FROM LATEST PROMPT UNDER 40 WORDS>. [Talked on: <date> <hour>]")]. Time format: YYYY-MM-DD HH am/pm
|
|
6484
6484
|
|
|
6485
6485
|
${isMemoryEnabled ? `-- User-specific long-term/permanent memory (USE BASED ON CONVERSATION CONTEXT, DO NOT RE-SAVE MEMORY WHICH IS ALREADY SAVED) --
|
|
@@ -11825,8 +11825,17 @@ ${originalTextProcessed.length > USER_CONTEXT_LENGTH ? "... (truncated) ...\n\n"
|
|
|
11825
11825
|
}
|
|
11826
11826
|
}
|
|
11827
11827
|
if (process.stdout.isTTY) {
|
|
11828
|
-
|
|
11829
|
-
|
|
11828
|
+
try {
|
|
11829
|
+
const historyIndex = await loadHistory();
|
|
11830
|
+
const chatData = historyIndex[chatId];
|
|
11831
|
+
const chatName = chatData?.name || "";
|
|
11832
|
+
const title = chatName && !chatName.startsWith("flow-") && !chatName.startsWith("Session ") ? chatName : "FluxFlow | Idle";
|
|
11833
|
+
process.stdout.write(`\x1B]0;${title}\x07`);
|
|
11834
|
+
process.stdout.write(`\x1B]633;P;TerminalTitle=${title}\x07`);
|
|
11835
|
+
} catch (e) {
|
|
11836
|
+
process.stdout.write("\x1B]0;FluxFlow | Idle\x07");
|
|
11837
|
+
process.stdout.write("\x1B]633;P;TerminalTitle=FluxFlow | Idle\x07");
|
|
11838
|
+
}
|
|
11830
11839
|
}
|
|
11831
11840
|
};
|
|
11832
11841
|
getActiveToolContext = (text) => {
|