mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-10 01:29:41 +00:00
* fix: add mssing support for ATIF v1.7 Co-Authored-By: bmcdonough <18721778+bmcdonough@users.noreply.github.com> * fix(devin): drop unused MCP-coupled types, dead guard, harden metrics fallback - Remove the @modelcontextprotocol/sdk JsonSchemaType import and the unused ToolDefinition/FunctionDefinition types it served; type Agent.tool_definitions as unknown since the parser never reads it (no dependency warranted). - Remove isImageContentPart: unused, and its `"image" in part` check could never be true (image parts carry `source`/`type`, not `image`). - Use the `type` discriminant in isTextContentPart instead of property presence. - getMetricsFromStep: fall back to legacy metadata.metrics when step.metrics is present but empty, so a partial metrics object cannot silently zero usage. - Tests: cover the empty step.metrics fallback and image-only message normalization. --------- Co-authored-by: bmcdonough <18721778+bmcdonough@users.noreply.github.com> Co-authored-by: AgentSeal <hello@agentseal.org> |
||
|---|---|---|
| .. | ||
| design | ||
| providers | ||
| architecture.md | ||