@nomad-e/bluma-cli 0.0.91 → 0.0.93

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 +4 -5
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1807,7 +1807,6 @@ The purpose of this process is to create a robust plan *before* execution. It is
1807
1807
  ### CRITICAL RULE: Concluding the Reflection Phase
1808
1808
  This is a non-negotiable rule to ensure you proceed to execution.
1809
1809
 
1810
- - **Iteration Limit:** You are permitted a **maximum of two (2)** internal iteration cycles using your rubric. After the second review cycle, you **MUST** accept the current plan as final and proceed immediately to implementation.
1811
1810
 
1812
1811
  </self_reflection>
1813
1812
 
@@ -2035,7 +2034,7 @@ var BluMaAgent = class {
2035
2034
  eventBus;
2036
2035
  mcpClient;
2037
2036
  feedbackSystem;
2038
- maxContextTurns = 50;
2037
+ maxContextTurns = 30;
2039
2038
  // Limite de turns no contexto da API
2040
2039
  todoListState = [];
2041
2040
  isInterrupted = false;
@@ -2072,7 +2071,7 @@ var BluMaAgent = class {
2072
2071
  this.todoListState = todoList;
2073
2072
  if (this.history.length === 0) {
2074
2073
  const systemPrompt = getUnifiedSystemPrompt();
2075
- this.history.push({ role: "developer", content: systemPrompt });
2074
+ this.history.push({ role: "system", content: systemPrompt });
2076
2075
  await saveSessionHistory(this.sessionFile, this.history, this.todoListState);
2077
2076
  }
2078
2077
  }
@@ -2203,7 +2202,7 @@ ${editData.error.display}`;
2203
2202
  details: { violationContent: message.content }
2204
2203
  });
2205
2204
  this.eventBus.emit("backend_message", { type: "protocol_violation", message: feedback.message, content: message.content });
2206
- this.history.push({ role: "developer", content: feedback.correction });
2205
+ this.history.push({ role: "system", content: feedback.correction });
2207
2206
  await this._continueConversation();
2208
2207
  } else {
2209
2208
  this.eventBus.emit("backend_message", { type: "info", message: "Agent is thinking... continuing reasoning cycle." });
@@ -2469,7 +2468,7 @@ var BaseLLMSubAgent = class {
2469
2468
  const systemPromptContent = getInitPrompt();
2470
2469
  if (this.history.length === 0) {
2471
2470
  this.history.push({
2472
- role: "developer",
2471
+ role: "system",
2473
2472
  content: systemPromptContent
2474
2473
  });
2475
2474
  await saveSessionHistory(this.sessionFile, this.history);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.0.91",
3
+ "version": "0.0.93",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",