devez-vibe 1.3.25 → 1.3.27
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/bin/dvz.exe +0 -0
- package/bridge/claude-agent-sdk-bridge.mjs +16 -12
- package/package.json +2 -2
package/bin/dvz.exe
CHANGED
|
Binary file
|
|
@@ -2122,18 +2122,22 @@ function historyState(messages) {
|
|
|
2122
2122
|
const userText = message.type === "user"
|
|
2123
2123
|
? stripInternalTags(stripHandoff(blocks.filter((block) => block.type === "text").map((block) => block.text || "").join("\n")))
|
|
2124
2124
|
: "";
|
|
2125
|
-
if (userText
|
|
2126
|
-
&& !blocks.some((block) => block.type === "tool_result")
|
|
2127
|
-
&& !isInternalHistoryText(message, userText)) {
|
|
2128
|
-
turn = {
|
|
2129
|
-
id: `claude-turn-${message.uuid}`,
|
|
2130
|
-
status: "completed",
|
|
2131
|
-
items: [{ id: `claude-user-${message.uuid}`, type: "userMessage", content: [{ type: "text", text: userText }] }],
|
|
2132
|
-
};
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2125
|
+
if (userText
|
|
2126
|
+
&& !blocks.some((block) => block.type === "tool_result")
|
|
2127
|
+
&& !isInternalHistoryText(message, userText)) {
|
|
2128
|
+
turn = {
|
|
2129
|
+
id: `claude-turn-${message.uuid}`,
|
|
2130
|
+
status: "completed",
|
|
2131
|
+
items: [{ id: `claude-user-${message.uuid}`, type: "userMessage", content: [{ type: "text", text: userText }] }],
|
|
2132
|
+
};
|
|
2133
|
+
const startedAt = messageTime(message);
|
|
2134
|
+
if (startedAt != null) turn.startedAt = Math.floor(startedAt / 1000);
|
|
2135
|
+
turns.push(turn);
|
|
2136
|
+
}
|
|
2137
|
+
if (!turn) continue;
|
|
2138
|
+
const completedAt = messageTime(message);
|
|
2139
|
+
if (completedAt != null) turn.completedAt = Math.floor(completedAt / 1000);
|
|
2140
|
+
if (message.type === "assistant") {
|
|
2137
2141
|
if (message.message?.model === "<synthetic>") {
|
|
2138
2142
|
turn.synthetic = true;
|
|
2139
2143
|
continue;
|
package/package.json
CHANGED