Track toolkit 0.5.0 / 0.3.0 (structured output + native errors) [blocked on publish]#3
Merged
Merged
Conversation
Bump compatibility pins to agentmail-toolkit TypeScript 0.5.0 / Python 0.3.0 and document the toolkit's new contract in the agentmail-toolkit skill: every tool declares an output schema, MCP calls return validated structuredContent, and adapters signal failures through their framework's native error channel (throw / isError) instead of returning an error string. BLOCKED on the 0.5.0 / 0.3.0 npm + PyPI publish: check_compatibility.py gates on the registry 'latest', so CI stays red until those versions go live. Merge after publishing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The blocking PR gate (validate.yml) type-checks the TypeScript examples against a hardcoded toolkit version, separate from compatibility.json. Bump it to 0.5.0 so the plugin's examples are actually validated against the new toolkit (and the throw-on-error change is exercised). This also makes the gate correctly RED until 0.5.0 is published, since installing an unpublished version 404s. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the plugin to the new AgentMail Toolkit contract (TypeScript 0.5.0 / Python 0.3.0).
Changes
compatibility.json: toolkit TS 0.4.2 → 0.5.0, Python 0.2.7 → 0.3.0.skills/agentmail-toolkit/SKILL.md: the MCP tool object now includes an output schema; successful MCP calls return validatedstructuredContent+ text; failed calls throw / returnisErrorinstead of returning an error string (the one breaking behavioral change plugin authors must know). Added a "Results and errors" section, version-gated to toolkit TS ≥ 0.5.0 / Python ≥ 0.3.0.CHANGELOG.md: Unreleased entry.scripts/check_compatibility.pygatescompatibility.jsonagainst each registry'slatest. npm currently servesagentmail-toolkit@0.4.2and PyPI0.2.7, so the compatibility CI check is intentionally red until0.5.0/0.3.0are published. That gate is the verification.Merge sequence: publish
agentmail-toolkit@0.5.0(npm) +0.3.0(PyPI) → re-run CI (goes green) → mark ready → merge.Scope confirmed complete: version literals live only in
compatibility.json; README and other skills carry no toolkit version/behavior. Theagentmail-mcpskill already points at the hosted endpoint (unchanged here).🤖 Generated with Claude Code