Commit a7e4c39
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
- app
- api
- harness
- mastra
- agents
- [agentId]
- logs
- [runId]
- memory
- status
- working-memory
- observability/scores
- threads
- [threadId]
- clone
- messages
- tools
- [toolId]
- traces
- [traceId]
- vectors
- [vectorName]
- query
- workflows
- [workflowId]
- run
- chat/harness
- lib
- hooks
- memory-bank
- src
- components/ai-elements
- mastra
- a2a
- agents
- evals
- scorers
- tests
- mcp
- networks
- public/workspace/workspace/skills/ai-elements/scripts
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments