feat: upgrade fast-agent-mcp to 0.7.22, add Fable 5 / Opus 4.8 Mantle wire names #4

Merged
r merged 1 commits from feat/fast-agent-0.7.22 into main 2026-07-25 10:47:00 +00:00
Owner

What

  • Bump fast-agent-mcp pin from 0.7.15 → 0.7.22 (last 0.7.x release before the 0.8 API break).
  • Add claude-opus-4-8 and claude-fable-5 to MANTLE_WIRE_NAMES so both resolve to their anthropic.<name> Bedrock Mantle wire ids.
  • Version bump 0.5.2 → 0.6.0 (matches the precedent set by the 0.7.15 upgrade → 0.5.0).

Why

Fable 5 / Opus 4.8 support requires ≥0.7.17 (native ModelDatabase entries, 1M context). 0.7.21/0.7.22 additionally bring the current SEP-2640 Skills-over-MCP schema, improved Stream Connect timeout handling, built-in auto-compaction, and a dependency security refresh (cryptography 48.0.1, aiohttp 3.14.1, starlette 1.3.1, Anthropic SDK 0.109.1).

Compatibility verification

Pallas patches fast-agent internals, so each fragile surface was diffed v0.7.15 → v0.7.22:

  • MCPAgentClientSession.send_request / .call_tool, MCPAggregator._execute_on_server / ._create_session_factory / .call_tool — all present, byte-identical signatures.
  • ToolRunnerHooks — unchanged (formatting only).
  • AnthropicConverter._deserialize_assistant_raw_blocks / _append_server_tool_channel_blocks (Shim 2 targets) — both present.
  • ModelDatabase._PROVIDER_WIRE_MODEL_NAMES / normalize_model_name (Shim 1 targets) — unchanged.
  • LlmStopReason dropped its custom __eq__; Pallas only uses .value extraction and enum assignment — no impact.

Testing

  • 58/58 tests pass against 0.7.22 (~/env/pallas, PYTHONPATH pinned to the working tree).
  • Import smoke: _fastagent_patch, server, multimodal_server, mcp_subagent_relay all import cleanly (patches install at import time).
  • Wire-name shim verified live: all four models register, claude-fable-5 / claude-opus-4-8 known to ModelDatabase with 1M context windows.

Notes

  • Shim 2 (strip caller from replayed tool_use blocks) targets an Anthropic SDK 0.100.x leak; SDK is now 0.109.1 so it may be obsolete, but it is idempotent and harmless — left in place, candidate for follow-up removal after a live Mantle session confirms.
  • Dev-venv drift observed: ~/env/pallas had fast-agent 0.7.20 (vs pinned 0.7.15) and a stale non-editable pallas-mcp 0.5.0. The venv now has 0.7.22.

🤖 Generated with Claude Code

## What - Bump `fast-agent-mcp` pin from **0.7.15 → 0.7.22** (last 0.7.x release before the 0.8 API break). - Add `claude-opus-4-8` and `claude-fable-5` to `MANTLE_WIRE_NAMES` so both resolve to their `anthropic.<name>` Bedrock Mantle wire ids. - Version bump 0.5.2 → 0.6.0 (matches the precedent set by the 0.7.15 upgrade → 0.5.0). ## Why Fable 5 / Opus 4.8 support requires ≥0.7.17 (native `ModelDatabase` entries, 1M context). 0.7.21/0.7.22 additionally bring the current SEP-2640 Skills-over-MCP schema, improved Stream Connect timeout handling, built-in auto-compaction, and a dependency security refresh (cryptography 48.0.1, aiohttp 3.14.1, starlette 1.3.1, Anthropic SDK 0.109.1). ## Compatibility verification Pallas patches fast-agent internals, so each fragile surface was diffed v0.7.15 → v0.7.22: - `MCPAgentClientSession.send_request` / `.call_tool`, `MCPAggregator._execute_on_server` / `._create_session_factory` / `.call_tool` — all present, byte-identical signatures. - `ToolRunnerHooks` — unchanged (formatting only). - `AnthropicConverter._deserialize_assistant_raw_blocks` / `_append_server_tool_channel_blocks` (Shim 2 targets) — both present. - `ModelDatabase._PROVIDER_WIRE_MODEL_NAMES` / `normalize_model_name` (Shim 1 targets) — unchanged. - `LlmStopReason` dropped its custom `__eq__`; Pallas only uses `.value` extraction and enum assignment — no impact. ## Testing - 58/58 tests pass against 0.7.22 (`~/env/pallas`, PYTHONPATH pinned to the working tree). - Import smoke: `_fastagent_patch`, `server`, `multimodal_server`, `mcp_subagent_relay` all import cleanly (patches install at import time). - Wire-name shim verified live: all four models register, `claude-fable-5` / `claude-opus-4-8` known to ModelDatabase with 1M context windows. ## Notes - Shim 2 (strip `caller` from replayed `tool_use` blocks) targets an Anthropic SDK 0.100.x leak; SDK is now 0.109.1 so it may be obsolete, but it is idempotent and harmless — left in place, candidate for follow-up removal after a live Mantle session confirms. - Dev-venv drift observed: `~/env/pallas` had fast-agent 0.7.20 (vs pinned 0.7.15) and a stale non-editable `pallas-mcp` 0.5.0. The venv now has 0.7.22. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
r added 1 commit 2026-07-25 10:34:32 +00:00
Bumps the runtime from 0.7.15 to 0.7.22 (last 0.7.x release). All five
monkey-patched surfaces (MCPAgentClientSession.send_request/call_tool,
MCPAggregator._execute_on_server/_create_session_factory/call_tool),
ToolRunnerHooks, and both AnthropicConverter private methods patched by
mantle_shims were verified unchanged in signature at 0.7.22.

Adds claude-opus-4-8 and claude-fable-5 to MANTLE_WIRE_NAMES; both are
natively known to fast-agent's ModelDatabase as of 0.7.17+ (1M context).

58/58 tests pass; server/patch modules import cleanly on 0.7.22.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
r merged commit 54d639c13a into main 2026-07-25 10:47:00 +00:00
r deleted branch feat/fast-agent-0.7.22 2026-07-25 10:47:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: r/pallas#4