2026-05-21
What's New
@benvargas/pi-claude-code-use v1.0.4
Improves Claude Code-style Anthropic OAuth tool execution for managed MCP aliases.
- Rewrites MCP alias
toolCallnames that were registered bypi-claude-code-useback to their canonical flat Pi tool names duringmessage_end - Keeps Anthropic-facing MCP names while executing the original extension tools locally, preserving source extension runtime state
- Gates reverse rewriting to aliases managed by this extension so direct MCP tools from other extensions are left untouched
- Adds regression coverage for foreign MCP aliases, user-defined aliases, mixed-case aliases, and
message_endhandler wiring - Updates README and changelog for
1.0.4 - Refactors built-in alias mapping to derive from companion metadata instead of a duplicate alias table
Contributor
- Thanks to @dsshap for the original implementation and quick follow-up on alias guard behavior
Merged PRs
Commits
- d9370e9 feat(pi-claude-code-use): unalias registered MCP tool calls before execution
Validation
- GitHub Actions CI
CIpassed on main - npm test -- packages/pi-claude-code-use/tests/index.test.ts
- npm run typecheck -- --pretty false
- npm run lint -- --diagnostic-level=error
- Manual smoke test with Exa and Firecrawl extension tools