🟢 Approval recommended
No active review issues block the change restoring deferred discovery of optional T3 tools in the Pi integration.
No open issues 🎉
What changed in this PR
This PR restores deferred discovery of optional T3 tools in OmO’s Pi integration by recognizing its builtin tool-search identifier alongside Pi’s existing identifier. Custom search replacements remain excluded.
Changes:
- Accept both exact builtin identifiers without changing tool names or exposure defaults.
- Extend discovery and permission tests to cover both identifiers.
- Make the test bridge’s tool-search source path configurable.
| File | Description |
|---|---|
packages/​provider-pi/​src/​server/​mcpExtensionSource.ts | Recognizes OmO’s <builtin:tool-search> identifier. |
packages/​provider-pi/​src/​server/​mcpExtensionSource.test.ts | Covers discovery and permission handling for both builtin identifiers. |
packages/​provider-pi/​src/​server/​mcpBridge.testkit.ts | Adds a configurable tool-search path for test fixtures. |
Review effort: Balanced