@jarvis-agent/core 0.1.2 → 0.1.3

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
@@ -34550,7 +34550,12 @@ class BaseFileAgent extends Agent {
34550
34550
  constructor(work_path, llms, ext_tools, mcpClient, planDescription) {
34551
34551
  const _tools_ = [];
34552
34552
  const prompt = work_path
34553
- ? `Your default working path is: ${work_path}`
34553
+ ? `Your working directory is: ${work_path}
34554
+ - When viewing file lists and outputting file paths, always include the working directory
34555
+ - 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
34557
+ - For data-related content, combine with visualization tools for display
34558
+ - For visualizations, generate charts first before page generation to minimize repetitive work`
34554
34559
  : "";
34555
34560
  super({
34556
34561
  name: AGENT_NAME$3,
@@ -34559,7 +34564,11 @@ class BaseFileAgent extends Agent {
34559
34564
  llms: llms,
34560
34565
  mcpClient: mcpClient,
34561
34566
  planDescription: planDescription ||
34562
- "File operation agent, handling file-related tasks such as creating, finding, reading, modifying files, etc, only text file writing is supported.",
34567
+ `File operation agent, handles file-related tasks such as creating, finding, reading, modifying files, etc. Only supports text file output
34568
+ - Output file names must be in English
34569
+ - When users request poster or summary file output, only output txt or html files, no need to verify existence or accessibility at the end
34570
+ - For data-related content, combine with visualization tools for display
34571
+ - For visualizations, generate charts first before page generation to minimize repetitive work`,
34563
34572
  });
34564
34573
  let init_tools = this.buildInitTools();
34565
34574
  if (ext_tools && ext_tools.length > 0) {