@nomad-e/bluma-cli 0.1.78 → 0.1.79
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/main.js +5 -5
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -15628,7 +15628,7 @@ var BluMaAgent = class _BluMaAgent {
|
|
|
15628
15628
|
emptyAssistantReplySteps = 0;
|
|
15629
15629
|
/** Reintentos consecutivos por tool call inválido. */
|
|
15630
15630
|
invalidToolCallRetrySteps = 0;
|
|
15631
|
-
/**
|
|
15631
|
+
/** Último snapshot de reasoning visto no streaming. */
|
|
15632
15632
|
lastReasoningChunkRef = "";
|
|
15633
15633
|
constructor(sessionId, eventBus, llm, mcpClient, feedbackSystem) {
|
|
15634
15634
|
this.sessionId = sessionId;
|
|
@@ -16346,10 +16346,10 @@ ${editData.error.display}`;
|
|
|
16346
16346
|
this.eventBus.emit("stream_start", {});
|
|
16347
16347
|
hasEmittedStart = true;
|
|
16348
16348
|
}
|
|
16349
|
-
const
|
|
16350
|
-
|
|
16351
|
-
|
|
16352
|
-
this.eventBus.emit("stream_reasoning_chunk", { delta:
|
|
16349
|
+
const reasoningDelta = extractStreamingDelta(this.lastReasoningChunkRef, chunk.reasoning);
|
|
16350
|
+
this.lastReasoningChunkRef = chunk.reasoning;
|
|
16351
|
+
if (reasoningDelta) {
|
|
16352
|
+
this.eventBus.emit("stream_reasoning_chunk", { delta: reasoningDelta });
|
|
16353
16353
|
}
|
|
16354
16354
|
}
|
|
16355
16355
|
if (chunk.delta) {
|