Skip to content

fix(openclaw): route native tool aliases#383

Open
andyzhang88888 wants to merge 5 commits intomksglu:nextfrom
andyzhang88888:codex/openclaw-native-tool-aliases
Open

fix(openclaw): route native tool aliases#383
andyzhang88888 wants to merge 5 commits intomksglu:nextfrom
andyzhang88888:codex/openclaw-native-tool-aliases

Conversation

@andyzhang88888
Copy link
Copy Markdown

Summary

  • add OpenClaw's lowercase native tool names to the shared routing alias table
  • cover exec, read, and search in the OpenClaw platform routing test

Why

OpenClaw emits native tool names in lowercase (exec, read, grep, search). Without aliases, these calls bypass the canonical Bash/Read/Grep routing behavior, so OpenClaw sessions miss the context-mode guidance or curl/wget redirect path.

Test

  • npx vitest run tests/hooks/tool-naming.test.ts tests/hooks/core-routing.test.ts

mksglu and others added 4 commits April 28, 2026 14:24
buildNodeCommand() converts backslashes to forward slashes to prevent
MSYS path mangling on Windows. The test assertion was comparing against
raw pluginRoot (backslashes from mkdtempSync) causing CI failure on
windows-latest while macOS and Ubuntu passed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mksglu mksglu changed the base branch from main to next April 30, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants