@nomad-e/bluma-cli 0.0.67 → 0.0.69
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 +4 -4
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2064,7 +2064,7 @@ var BluMaAgent = class {
|
|
|
2064
2064
|
this.history = history;
|
|
2065
2065
|
if (this.history.length === 0) {
|
|
2066
2066
|
const systemPrompt = getUnifiedSystemPrompt();
|
|
2067
|
-
this.history.push({ role: "
|
|
2067
|
+
this.history.push({ role: "developer", content: systemPrompt });
|
|
2068
2068
|
await saveSessionHistory(this.sessionFile, this.history);
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
@@ -2127,7 +2127,7 @@ var BluMaAgent = class {
|
|
|
2127
2127
|
this.eventBus.emit("backend_message", { type: "done", status: "completed" });
|
|
2128
2128
|
}
|
|
2129
2129
|
} else {
|
|
2130
|
-
toolResultContent = "The
|
|
2130
|
+
toolResultContent = "The system rejected this action. Verify that the command you are executing contributes to the tasks intent and try again.";
|
|
2131
2131
|
}
|
|
2132
2132
|
this.history.push({ role: "tool", tool_call_id: toolCall.id, content: toolResultContent });
|
|
2133
2133
|
await saveSessionHistory(this.sessionFile, this.history);
|
|
@@ -2195,7 +2195,7 @@ ${editData.error.display}`;
|
|
|
2195
2195
|
details: { violationContent: message.content }
|
|
2196
2196
|
});
|
|
2197
2197
|
this.eventBus.emit("backend_message", { type: "protocol_violation", message: feedback.message, content: message.content });
|
|
2198
|
-
this.history.push({ role: "
|
|
2198
|
+
this.history.push({ role: "developer", content: feedback.correction });
|
|
2199
2199
|
await this._continueConversation();
|
|
2200
2200
|
} else {
|
|
2201
2201
|
this.eventBus.emit("backend_message", { type: "info", message: "Agent is thinking... continuing reasoning cycle." });
|
|
@@ -2461,7 +2461,7 @@ var BaseLLMSubAgent = class {
|
|
|
2461
2461
|
const systemPromptContent = getInitPrompt();
|
|
2462
2462
|
if (this.history.length === 0) {
|
|
2463
2463
|
this.history.push({
|
|
2464
|
-
role: "
|
|
2464
|
+
role: "developer",
|
|
2465
2465
|
content: systemPromptContent
|
|
2466
2466
|
});
|
|
2467
2467
|
await saveSessionHistory(this.sessionFile, this.history);
|