@nomad-e/bluma-cli 0.1.65 → 0.1.66

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 +17 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -12687,10 +12687,20 @@ const result = await deployApp({
12687
12687
 
12688
12688
  **What it does:**
12689
12689
  1. Validates project (checks \\\`package.json\\\` and \\\`next\\\` dependency)
12690
- 2. Creates ZIP (excludes \\\`node_modules\\\`, \\\`.next\\\`, \\\`.env\\\`, \\\`.git\\\`)
12690
+ 2. Creates ZIP **excluding heavy/unnecessary files**:
12691
+ - \\\`node_modules\\\` (NUNCA incluir - o Severino faz install no deploy)
12692
+ - \\\`.next\\\` (build artifacts, regenerado no servidor)
12693
+ - \\\`.env\\\`, \\\`.env.local\\\` (seguran\xE7a)
12694
+ - \\\`.git\\\`, \\\`.DS_Store\\\`, \\\`*.log\\\`
12691
12695
  3. Uploads to \\\`POST {severinoUrl}/api/v1/deploy\\\`
12692
12696
  4. Returns \\\`appId\\\` and live URL
12693
12697
 
12698
+ **\u26A0\uFE0F CRITICAL: NUNCA zipar \\\`node_modules\\\`**
12699
+ - O ZIP deve conter **apenas c\xF3digo fonte e configs**
12700
+ - \\\`node_modules\\\` \xE9 recriado no servidor com \\\`npm install\\\`
12701
+ - Incluir \\\`node_modules\\\` = ZIP de 200MB+ = deploy falha
12702
+ - A tool \\\`deploy_app\\\` j\xE1 exclui automaticamente, mas se fizeres ZIP manual: **exclui \\\`node_modules\\\`**
12703
+
12694
12704
  **Important:** The deploy is **asynchronous** - status starts as \\\`'building'\\\`. The app will be ready in ~30-60 seconds.
12695
12705
 
12696
12706
  ---
@@ -14907,7 +14917,8 @@ ${editData.error.display}`;
14907
14917
  });
14908
14918
  await this.notifyFactorTurnEndIfNeeded("empty_reply_exhausted");
14909
14919
  this.eventBus.emit("backend_message", { type: "done", status: "failed" });
14910
- process.exit(1);
14920
+ this.emptyAssistantReplySteps = 0;
14921
+ this.directTextProtocolSteps = 0;
14911
14922
  return;
14912
14923
  }
14913
14924
  await this._continueConversation();
@@ -15041,7 +15052,8 @@ ${editData.error.display}`;
15041
15052
  });
15042
15053
  await this.notifyFactorTurnEndIfNeeded("protocol_direct_text_exhausted");
15043
15054
  this.emitTurnCompleted();
15044
- process.exit(1);
15055
+ this.emptyAssistantReplySteps = 0;
15056
+ this.directTextProtocolSteps = 0;
15045
15057
  return;
15046
15058
  }
15047
15059
  const feedback = this.feedbackSystem.generateFeedback({
@@ -15129,7 +15141,8 @@ ${editData.error.display}`;
15129
15141
  });
15130
15142
  await this.notifyFactorTurnEndIfNeeded("protocol_direct_text_exhausted");
15131
15143
  this.emitTurnCompleted();
15132
- process.exit(1);
15144
+ this.emptyAssistantReplySteps = 0;
15145
+ this.directTextProtocolSteps = 0;
15133
15146
  return;
15134
15147
  }
15135
15148
  const feedback = this.feedbackSystem.generateFeedback({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.1.65",
3
+ "version": "0.1.66",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",