WFDASH-WEBAPP/docs/agents
Dave e7672ab7c9 feat(mcp): implement structured MCP error handling for upstream fetches
- Introduced structured error handling for MCP upstream fetches, distinguishing between network errors (`-32010`) and upstream errors (`-32011`). This allows the agent to provide more informative feedback based on the type of failure encountered.
- Updated the `fetchUpstreamJson` function to throw `McpUpstreamError` with detailed error data, including hints and next actions for specific tools.
- Enhanced the `TOOL_HINTS` mapping to provide tool-specific guidance for handling errors, improving the agent's ability to respond to various failure scenarios.
- Added comprehensive unit tests to validate the new error handling logic and ensure correct behavior across different error cases.
- Updated documentation in `docs/agents/hermes-skill.md` to include a new section on structured MCP errors, detailing the error codes and their meanings.
2026-08-15 22:32:11 +02:00
..
hermes-skill.md feat(mcp): implement structured MCP error handling for upstream fetches 2026-08-15 22:32:11 +02:00
purchase-order-agent.md feat: add PO agent workflow and inline SKU editing 2026-08-14 12:37:13 +02:00
workflows.md feat(quotes): introduce quotes.submit tool for approval transition 2026-08-15 19:01:52 +02:00