Skip to content

2026-05-21

Choose a tag to compare

@ben-vargas ben-vargas released this 21 May 18:59
· 4 commits to main since this release
d9370e9

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 toolCall names that were registered by pi-claude-code-use back to their canonical flat Pi tool names during message_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_end handler 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

  • #16 feat(pi-claude-code-use): unalias tool calls on message_end by @dsshap

Commits

  • d9370e9 feat(pi-claude-code-use): unalias registered MCP tool calls before execution

Validation

  • GitHub Actions CI CI passed 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