@nomad-e/bluma-cli 0.1.23 → 0.1.24

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 +2 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -3803,7 +3803,7 @@ async function loadOrcreateSession(sessionId) {
3803
3803
  await fs10.access(sessionFile);
3804
3804
  const fileContent = await fs10.readFile(sessionFile, "utf-8");
3805
3805
  const sessionData = JSON.parse(fileContent);
3806
- return [sessionFile, [], []];
3806
+ return [sessionFile, sessionData.conversation_history || [], []];
3807
3807
  } catch (error) {
3808
3808
  const newSessionData = {
3809
3809
  session_id: sessionId,
@@ -7763,7 +7763,7 @@ async function runAgentMode() {
7763
7763
  }
7764
7764
  }
7765
7765
  const eventBus = new EventEmitter2();
7766
- const sessionId = envelope.message_id || uuidv43();
7766
+ const sessionId = envelope.session_id || envelope.message_id || uuidv43();
7767
7767
  let lastAssistantMessage = null;
7768
7768
  let reasoningBuffer = null;
7769
7769
  let lastAttachments = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",