fluxflow-cli 1.17.3 → 1.17.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.
Files changed (2) hide show
  1. package/dist/fluxflow.js +8 -5
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -6211,14 +6211,17 @@ function RevertModal({ prompts, onSelect, onClose }) {
6211
6211
  function formatPromptPreview(prompt) {
6212
6212
  if (!prompt) return "";
6213
6213
  const firstLine = prompt.split("\n")[0] || "";
6214
- const words = firstLine.split(/\s+/).filter(Boolean);
6215
- if (words.length > 15) {
6216
- return words.slice(0, 15).join(" ") + "...";
6214
+ const formatted = firstLine.replace(/@\[(.*?)\]/g, (match, p1) => {
6215
+ const parts = p1.replace(/\\/g, "/").split("/");
6216
+ return `[${parts[parts.length - 1]}]`;
6217
+ });
6218
+ if (formatted.length > 69) {
6219
+ return formatted.slice(0, 67) + "...";
6217
6220
  }
6218
6221
  if (prompt.includes("\n")) {
6219
- return firstLine + "...";
6222
+ return formatted + "...";
6220
6223
  }
6221
- return firstLine;
6224
+ return formatted;
6222
6225
  }
6223
6226
  function formatDate2(timestamp) {
6224
6227
  if (!timestamp) return "N/A";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.17.3",
3
+ "version": "1.17.5",
4
4
  "date": "2026-05-29",
5
5
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
6
6
  "keywords": [