@meistrari/remy-cli 1.22.0 → 1.22.1-rc.0
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/remy.js +4 -2
- package/package.json +1 -1
package/dist/remy.js
CHANGED
|
@@ -34560,7 +34560,7 @@ function formatSessionJson({
|
|
|
34560
34560
|
`;
|
|
34561
34561
|
}
|
|
34562
34562
|
// src/version.ts
|
|
34563
|
-
var remyCliVersion = "1.22.0";
|
|
34563
|
+
var remyCliVersion = "1.22.1-rc.0";
|
|
34564
34564
|
|
|
34565
34565
|
// src/self-update.ts
|
|
34566
34566
|
import { spawn } from "child_process";
|
|
@@ -35523,7 +35523,9 @@ function projectAgentMessageEnded({ state, event, occurredAt, retainedEventId, e
|
|
|
35523
35523
|
return state;
|
|
35524
35524
|
const role2 = event.payload.role;
|
|
35525
35525
|
const author = role2 === "assistant" ? { label: "Remy", role: "remy" } : role2 === "system" ? { label: "System", role: "system" } : { label: event.payload.commandId ? state.commandAuthorLabels[event.payload.commandId] ?? "Human" : "Human", role: "human" };
|
|
35526
|
-
|
|
35526
|
+
if (author.role === "remy" && text.trim() === "")
|
|
35527
|
+
return { ...state, previews: { ...state.previews, assistantText: "" } };
|
|
35528
|
+
const displayedText = text || "[Empty message]";
|
|
35527
35529
|
return {
|
|
35528
35530
|
...state,
|
|
35529
35531
|
...author.role === "remy" ? { previews: { ...state.previews, assistantText: "" } } : {},
|