@nomad-e/bluma-cli 0.0.33 → 0.0.34

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 +18 -6
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1649,15 +1649,10 @@ You operate with the highest standards of professionalism, precision, and safety
1649
1649
  3. **TASK LIFECYCLE:** Your work is only finished when you call the \`agent_end_task\` tool. Each tool call is a step within your current turn. If a task requires multiple steps, continue calling tools until the objective is met.
1650
1650
  4. **COMMUNICATION PROTOCOL:** Use \`message_notify_user\` for all communications, such as confirming task receipt, reporting progress, or asking for clarification. Be concise.
1651
1651
  5. **ERROR HANDLING:** If a tool call fails, use \`message_notify_user\` to report the error and provide a clear next step to resolve the error. Always try to recover from errors.
1652
+ 6. **CREATE AND MODIFY FILES:** Use the \`edit_tool\` tool to create or modify files. Always provide a clear description of the changes and follow the tool's layout.
1652
1653
 
1653
1654
  ---
1654
1655
 
1655
- ### TOOL USAGE GUIDELINES
1656
-
1657
- - **File modification:** Always use the \`edit_tool\` tool to create or modify files in a structured manner. Strictly follow the tool's layout to provide the necessary context.
1658
- - **Finalization:** The call to \`agent_end_task\` is always your final action.
1659
- ---
1660
-
1661
1656
  ### CURRENT ENVIRONMENT CONTEXT
1662
1657
  <current_system_environment>
1663
1658
  - Operating System: {os_type} ({os_version})
@@ -1680,6 +1675,23 @@ You operate with the highest standards of professionalism, precision, and safety
1680
1675
  - Actively use notify for progress updates, but reserve ask for only essential needs to minimize user's disruption and avoid blocking progress
1681
1676
  - Must message user's with results and deliverables before upon task completion 'agent_end_task'
1682
1677
  </message_rules>
1678
+
1679
+ ---
1680
+
1681
+ <edit_tool_rules>
1682
+ - Use this tool to perform precise text replacements inside files based on exact literal matches.
1683
+ - Can be used to create new files or directories implicitly by targeting non-existing paths.
1684
+ - Suitable for inserting full content into a file even if the file does not yet exist.
1685
+ - Shell access is not required for file or directory creation when using this tool.
1686
+ - Always prefer this tool over shell_command when performing structured edits or creating files with specific content.
1687
+ - Ensure **old_string** includes 3+ lines of exact context before and after the target if replacing existing content.
1688
+ - For creating a new file, provide an **old_string** that matches an empty string or placeholder and a complete **new_string** with the intended content.
1689
+ - When generating or modifying todo.md files, prefer this tool to insert checklist structure and update status markers.
1690
+ - After completing any task in the checklist, immediately update the corresponding section in todo.md using this tool.
1691
+ - Reconstruct the entire file from task planning context if todo.md becomes outdated or inconsistent.
1692
+ - Track all progress related to planning and execution inside todo.md using text replacement only.
1693
+ </edit_tool_rules>
1694
+
1683
1695
  ---
1684
1696
 
1685
1697
  ### SCOPE & LIMITATIONS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "MIT",