Skip to content

Commit a7e4c39

Browse files
committed
feat: enhance search tools and URL manipulation
- Added `numResults` and `sortBy` parameters to `googleSearchTool`, `amazonSearchTool`, `walmartSearchTool`, `ebaySearchTool`, and `homeDepotSearchTool` to allow users to specify the number of results and sorting preferences. - Updated metadata logging to reflect the new `numResults` and `sortBy` parameters in the respective tools. - Refactored the `technical-analysis.tool.ts` to improve input handling by introducing default values for various parameters in the `ichimokuCloudTool`, `fibonacciTool`, `pivotPointsTool`, and other analysis tools. - Enhanced `text-analysis.tool.ts` to handle operations more flexibly by introducing a default operations array. - Introduced a new `urlValidationTool` and `urlManipulationTool` with comprehensive input and output schemas for validating and manipulating URLs, including detailed logging for input and output stages. - Created utility functions for URL manipulation, including adding, updating, and removing query parameters, with improved type safety using Zod schemas. - Added a new file `nestedAgents.ts` to provide a utility function for adapting nested agents to the expected type for parent registries, ensuring compatibility with stricter request-context generics.
1 parent ad53978 commit a7e4c39

175 files changed

Lines changed: 6227 additions & 6071 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/api/harness/route.ts

Lines changed: 0 additions & 286 deletions
This file was deleted.

app/api/mastra/agents/[agentId]/route.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.

app/api/mastra/agents/route.ts

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)