@nomad-e/bluma-cli 0.0.90 → 0.0.92

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
@@ -1808,7 +1808,6 @@ The purpose of this process is to create a robust plan *before* execution. It is
1808
1808
  This is a non-negotiable rule to ensure you proceed to execution.
1809
1809
 
1810
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
- - **Primary Objective Overrides Perfection:** Remember, your primary objective is to **complete the user's task and call \`agent_end_turn\`**. The self-reflection process is subordinate to this goal. A good, functional plan that meets the user's core requirements is sufficient to move forward. Do not get stuck seeking a theoretical "perfect" plan.
1812
1811
 
1813
1812
  </self_reflection>
1814
1813
 
@@ -2036,7 +2035,7 @@ var BluMaAgent = class {
2036
2035
  eventBus;
2037
2036
  mcpClient;
2038
2037
  feedbackSystem;
2039
- maxContextTurns = 50;
2038
+ maxContextTurns = 30;
2040
2039
  // Limite de turns no contexto da API
2041
2040
  todoListState = [];
2042
2041
  isInterrupted = false;
@@ -2073,7 +2072,7 @@ var BluMaAgent = class {
2073
2072
  this.todoListState = todoList;
2074
2073
  if (this.history.length === 0) {
2075
2074
  const systemPrompt = getUnifiedSystemPrompt();
2076
- this.history.push({ role: "developer", content: systemPrompt });
2075
+ this.history.push({ role: "system", content: systemPrompt });
2077
2076
  await saveSessionHistory(this.sessionFile, this.history, this.todoListState);
2078
2077
  }
2079
2078
  }
@@ -2204,7 +2203,7 @@ ${editData.error.display}`;
2204
2203
  details: { violationContent: message.content }
2205
2204
  });
2206
2205
  this.eventBus.emit("backend_message", { type: "protocol_violation", message: feedback.message, content: message.content });
2207
- this.history.push({ role: "developer", content: feedback.correction });
2206
+ this.history.push({ role: "system", content: feedback.correction });
2208
2207
  await this._continueConversation();
2209
2208
  } else {
2210
2209
  this.eventBus.emit("backend_message", { type: "info", message: "Agent is thinking... continuing reasoning cycle." });
@@ -2470,7 +2469,7 @@ var BaseLLMSubAgent = class {
2470
2469
  const systemPromptContent = getInitPrompt();
2471
2470
  if (this.history.length === 0) {
2472
2471
  this.history.push({
2473
- role: "developer",
2472
+ role: "system",
2474
2473
  content: systemPromptContent
2475
2474
  });
2476
2475
  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.90",
3
+ "version": "0.0.92",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",