@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.
Files changed (2) hide show
  1. package/dist/main.js +5 -5
  2. 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
- /** Deduplicação de reasoning chunks no streaming — evita repetição. */
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 reasoningKey = chunk.reasoning.trim().replace(/\s+/g, " ");
16350
- if (reasoningKey !== this.lastReasoningChunkRef) {
16351
- this.lastReasoningChunkRef = reasoningKey;
16352
- this.eventBus.emit("stream_reasoning_chunk", { delta: chunk.reasoning });
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.1.78",
3
+ "version": "0.1.79",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",