@nomad-e/bluma-cli 0.0.91 → 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 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2035,7 +2035,7 @@ var BluMaAgent = class {
2035
2035
  eventBus;
2036
2036
  mcpClient;
2037
2037
  feedbackSystem;
2038
- maxContextTurns = 50;
2038
+ maxContextTurns = 30;
2039
2039
  // Limite de turns no contexto da API
2040
2040
  todoListState = [];
2041
2041
  isInterrupted = false;
@@ -2072,7 +2072,7 @@ var BluMaAgent = class {
2072
2072
  this.todoListState = todoList;
2073
2073
  if (this.history.length === 0) {
2074
2074
  const systemPrompt = getUnifiedSystemPrompt();
2075
- this.history.push({ role: "developer", content: systemPrompt });
2075
+ this.history.push({ role: "system", content: systemPrompt });
2076
2076
  await saveSessionHistory(this.sessionFile, this.history, this.todoListState);
2077
2077
  }
2078
2078
  }
@@ -2203,7 +2203,7 @@ ${editData.error.display}`;
2203
2203
  details: { violationContent: message.content }
2204
2204
  });
2205
2205
  this.eventBus.emit("backend_message", { type: "protocol_violation", message: feedback.message, content: message.content });
2206
- this.history.push({ role: "developer", content: feedback.correction });
2206
+ this.history.push({ role: "system", content: feedback.correction });
2207
2207
  await this._continueConversation();
2208
2208
  } else {
2209
2209
  this.eventBus.emit("backend_message", { type: "info", message: "Agent is thinking... continuing reasoning cycle." });
@@ -2469,7 +2469,7 @@ var BaseLLMSubAgent = class {
2469
2469
  const systemPromptContent = getInitPrompt();
2470
2470
  if (this.history.length === 0) {
2471
2471
  this.history.push({
2472
- role: "developer",
2472
+ role: "system",
2473
2473
  content: systemPromptContent
2474
2474
  });
2475
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.91",
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",