chore: update dependencies and add API utility functions
- Updated several dependencies in package.json to their latest beta versions: - "@mastra/client-js" from "^1.0.0-beta.13" to "^1.0.0-beta.14" - "@mastra/core" from "^1.0.0-beta.13" to "^1.0.0-beta.14" - "@mastra/deployer" from "^1.0.0-beta.13" to "^1.0.0-beta.14" - "@mastra/memory" from "^1.0.0-beta.5" to "^1.0.0-beta.6" - "@mastra/observability" from "^1.0.0-beta.5" to "^1.0.0-beta.6" - "@mastra/otel-exporter" from "^1.0.0-beta.6" to "^1.0.0-beta.7" - "@mastra/rag" from "^2.0.0-beta.3" to "^2.0.0-beta.4" - "@mastra/react" from "^0.1.0-beta.13" to "^0.1.0-beta.14" - "@next/bundle-analyzer" from "^16.0.10" to "^16.1.0" - "@next/mdx" from "^16.0.10" to "^16.1.0" - "ai-sdk-ollama" from "^2.0.1" to "^2.1.0" - "ai-sdk-provider-gemini-cli" from "^1.5.0" to "^1.5.1" - "lucide-react" from "^0.561.0" to "^0.562.0" - "next" from "^16.0.10" to "^16.1.0" - "react-resizable-panels" from "^4.0.7" to "^4.0.9" - "recharts" from "^2.15.4" to "^3.6.0" - "vscode-languageserver" from "^10.0.0-next.15" to "^10.0.0-next.16" - "mastra" from "^1.0.0-beta.10" to "^1.0.0-beta.11" - Added a new file `lib/api.ts` containing utility functions for interacting with the Mastra API: - Functions for listing agents, getting MCP servers, executing tools, managing memory threads, and checking API health. - Implemented error handling and fallback mechanisms to ensure robustness.
S
ssdeanx committed
0d93d8be12b2d776c5f951784568f1e8cf3b8b86
Parent: 8f151fc