Add support for custom tool metrics, implement some for analyzer tools (#423) Now that analysis server starts up lazily, we want to capture how much of any given call went towards that initialization versus actual work in the tool call. This also will capture how much extra time is added in order to apply quick fixes. Details: - Adds elapsed time and boolean for whether the server was started to the `withAnalysisServer` callback - Adds a new `customMetrics` extension on `CallToolResult` which uses an expando to store additional analytics information for a given tool call. - Adds support to `CallToolMetrics` to merge this extra information into the analytics data (flat merge).
A general repository for AI / GenAI packages and explorations.
| Package | Description | Issues | Version |
|---|---|---|---|
| dart_mcp | A package for making MCP servers and clients. | ||
| dart_mcp_server | An MCP server for Dart projects, exposing various developer tools to AI models. | n/a |