fix(omp): expose injected Paseo tools directly#2418
Open
perezd wants to merge 1 commit into
Open
Conversation
perezd
marked this pull request as ready for review
July 24, 2026 23:27
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.
Summary
loadModefield in the typed RPC definitionloadMode: "essential"xd://devicesProblem
Paseo successfully sends its caller-scoped catalog through OMP's
set_host_tools, but omitsloadMode. OMP 17.1.2 defaults non-built-in host-tool names todiscoverable, mounting tools such ascreate_agentandbrowser_list_tabsunderxd://instead of exposing them as direct function tools. The successful RPC response therefore did not produce the direct unprefixed inventory promised by the OMP provider.This was confirmed with the upstream OMP maintainers in can1357/oh-my-pi#6552. Claude's working MCP path registers the complete caller-scoped catalog as direct tools, so the OMP native path now does the same for every catalog entry.
Verification
npx vitest run packages/server/src/server/agent/providers/omp/host-tools.test.ts --bail=1— 3 passednpm run build:server— passednpm run typecheck— passed after rebuilding workspace declarationsnpm run lint— passednpm run format:check— passedxd://and excluded it fromdumpTools;loadMode: "essential"placed it indumpToolsNo
docs/superpowersplans, specs, or workflow collateral are included.