@almadar/agent 3.3.0 → 3.5.1

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.
@@ -5611,7 +5611,7 @@ IMPORTANT:
5611
5611
  if (githubTools && verbose) {
5612
5612
  console.log(`[SkillAgent] GitHub tools enabled`);
5613
5613
  }
5614
- let tools = [
5614
+ let tools = options.extraToolsOnly ? [...options.extraTools || [], finishTaskTool] : [
5615
5615
  executeTool,
5616
5616
  finishTaskTool,
5617
5617
  validateSchemaTool,
@@ -5629,7 +5629,9 @@ IMPORTANT:
5629
5629
  ...githubTools || [],
5630
5630
  // Add orchestrated tools when enabled
5631
5631
  ...orchestratedGenerationTool ? [orchestratedGenerationTool] : [],
5632
- ...orchestratedFixingTool ? [orchestratedFixingTool] : []
5632
+ ...orchestratedFixingTool ? [orchestratedFixingTool] : [],
5633
+ // Add extra tools if provided
5634
+ ...options.extraTools || []
5633
5635
  ];
5634
5636
  if (options.toolWrapper) {
5635
5637
  tools = tools.map(options.toolWrapper);