@jarvis-agent/core 0.1.3 → 0.1.5

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/index.esm.js CHANGED
@@ -34417,6 +34417,7 @@ class Agent {
34417
34417
  if (hasWatch) {
34418
34418
  tools.push(new WatchTriggerTool());
34419
34419
  }
34420
+ tools.push(new HumanInteractTool());
34420
34421
  let toolNames = this.tools.map((tool) => tool.name);
34421
34422
  return tools.filter((tool) => toolNames.indexOf(tool.name) == -1);
34422
34423
  }
@@ -34552,8 +34553,9 @@ class BaseFileAgent extends Agent {
34552
34553
  const prompt = work_path
34553
34554
  ? `Your working directory is: ${work_path}
34554
34555
  - When viewing file lists and outputting file paths, always include the working directory
34556
+ - When outputting files, there is no need to verify if the working path exists; the working path will be automatically created when writing files
34555
34557
  - Output file names must be in English
34556
- - At the end, only summarize task completion without listing file paths or verifying if output files or addresses exist
34558
+ - IMPORTANT: In your final summary, describe ONLY what was accomplished. NEVER include file paths, file names, or file locations. Do not verify or mention file existence
34557
34559
  - For data-related content, combine with visualization tools for display
34558
34560
  - For visualizations, generate charts first before page generation to minimize repetitive work`
34559
34561
  : "";