@nomad-e/bluma-cli 0.0.64 → 0.0.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.
- package/dist/main.js +27 -27
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1787,47 +1787,47 @@ CRITICAL: Your laptop (**reasoning_nootebook**) is your ORGANIZED MIND
|
|
|
1787
1787
|
|
|
1788
1788
|
<edit_rules>
|
|
1789
1789
|
1. INITIAL ANALYSIS:
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1790
|
+
1.1. Read the target file completely to understand its structure, logic, and dependencies.
|
|
1791
|
+
1.2. Identify related files, modules, or components that might be impacted.
|
|
1792
|
+
1.3. If applicable, read related files before making any decision.
|
|
1793
1793
|
|
|
1794
1794
|
2. CHANGE LOCATION:
|
|
1795
|
-
|
|
1796
|
-
|
|
1795
|
+
2.1. Identify the exact location in the file where the change will be made.
|
|
1796
|
+
2.2. Confirm that the selected location is the most appropriate and does not break existing logic.
|
|
1797
1797
|
|
|
1798
1798
|
3. IMPACT ASSESSMENT:
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1799
|
+
3.1. Determine whether the change will impact other components, modules, or files.
|
|
1800
|
+
3.2. If impacts exist, list all affected files explicitly.
|
|
1801
|
+
3.3. For each impacted file, plan any required adjustments.
|
|
1802
1802
|
|
|
1803
1803
|
4. IMPORT MANAGEMENT:
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1804
|
+
4.1. Before applying the change, verify if new imports are required or if existing imports must be updated.
|
|
1805
|
+
4.2. Remove unused imports.
|
|
1806
|
+
4.3. Never add duplicate imports.
|
|
1807
1807
|
|
|
1808
1808
|
5. CODE DUPLICATION:
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1809
|
+
5.1. Never copy-paste existing code blocks without modification.
|
|
1810
|
+
5.2. Always replace or extend existing logic where possible.
|
|
1811
|
+
5.3. Add new lines or blocks only when logically necessary.
|
|
1812
1812
|
|
|
1813
1813
|
6. PACKAGE DEPENDENCIES:
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1814
|
+
6.1. If the new functionality requires additional packages, identify them precisely.
|
|
1815
|
+
6.2. Install the required packages using the correct package manager before finalizing the change.
|
|
1816
|
+
6.3. Verify that package versions are compatible with the project.
|
|
1817
1817
|
|
|
1818
1818
|
7. EXECUTION PLAN:
|
|
1819
|
-
|
|
1820
|
-
|
|
1819
|
+
7.1. Use the **to_do** to plan before making any changes.
|
|
1820
|
+
7.2. Execute the plan in a controlled sequence, making small, verifiable edits.
|
|
1821
1821
|
|
|
1822
1822
|
8. VALIDATION:
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1823
|
+
8.1. After each change, validate the syntax of the modified files.
|
|
1824
|
+
8.2. Run existing automated tests, if available, to ensure no regressions were introduced.
|
|
1825
|
+
8.3. If tests fail, analyze the cause, fix it, and retest before proceeding.
|
|
1826
1826
|
|
|
1827
1827
|
9. FINAL REVIEW:
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1828
|
+
9.1. Re-read all modified files to confirm the intended changes were applied correctly.
|
|
1829
|
+
9.2. Ensure the logic is consistent, imports are clean, and no unused code exists.
|
|
1830
|
+
9.3. Confirm that the change aligns with the original objective.
|
|
1831
1831
|
</edit_rules>
|
|
1832
1832
|
|
|
1833
1833
|
---
|
|
@@ -2149,10 +2149,10 @@ ${editData.error.display}`;
|
|
|
2149
2149
|
const response = await this.llm.chatCompletion({
|
|
2150
2150
|
model: this.deploymentName,
|
|
2151
2151
|
messages: contextWindow,
|
|
2152
|
-
temperature: 0
|
|
2152
|
+
temperature: 0,
|
|
2153
2153
|
tools: this.mcpClient.getAvailableTools(),
|
|
2154
2154
|
tool_choice: "required",
|
|
2155
|
-
|
|
2155
|
+
reasoning: { effort: "high" },
|
|
2156
2156
|
parallel_tool_calls: false
|
|
2157
2157
|
// max_tokens: 512, // Limite de tokens para evitar respostas muito longas
|
|
2158
2158
|
});
|