@nomad-e/bluma-cli 0.0.48 → 0.0.49

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 -14
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1855,19 +1855,7 @@ function getUnifiedSystemPrompt() {
1855
1855
  formattedPrompt = formattedPrompt.replace(new RegExp(placeholder, "g"), finalEnv[key]);
1856
1856
  }
1857
1857
  const isGitRepo = checkIfGitRepository(finalEnv.workdir);
1858
- const AUTONOMY_PROMPT = `
1859
- ---
1860
-
1861
- ### AUTONOMY MANDATE
1862
-
1863
- You are explicitly authorized to operate with full autonomy. You will self-direct to complete the user's objective. Follow these rules strictly:
1864
- 1. **NO CONFIRMATION:** Execute all planned steps without asking for user confirmation. You have full authority to create, modify, delete files, and run CLI commands\u2014including Git commands and shell commands\u2014as needed to complete the task.
1865
- 2. **DECOMPOSE AND EXECUTE:** For complex tasks, create a short, internal plan. Execute each step of the plan sequentially. Report progress via \`message_notify_user\`.
1866
- 3. **ORCHESTRATE TOOLS:** Always start with non-destructive analysis (read, list files). When you call \`edit_tool\`, your arguments must be as precise as possible.
1867
- 4. **SELF-VALIDATE AND RECOVER:** After each action, validate the outcome. If it fails, you are responsible for recovering. Reread files for updated context, adjust your plan, and retry.
1868
-
1869
- ---
1870
-
1858
+ const GIT_PROMPT = `
1871
1859
  ### GIT REPOSITORY
1872
1860
  - You is Inside Git Repository: ${isGitRepo ? "Yes" : "No"}
1873
1861
 
@@ -1894,7 +1882,7 @@ ${isGitRepo ? `
1894
1882
 
1895
1883
  `;
1896
1884
  return `${formattedPrompt}
1897
- ${AUTONOMY_PROMPT}`;
1885
+ ${GIT_PROMPT}`;
1898
1886
  }
1899
1887
  function checkIfGitRepository(dirPath) {
1900
1888
  const gitPath = path8.join(dirPath, ".git");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",