Commit b305c7f
FINAL FIX: Redirect prompt_use_existing_key() messages to stderr
Bug: prompt_use_existing_key() was echoing messages to stdout:
- 'SUCCESS: Detected existing $key_type API key from another USPTO MCP installation'
- 'INFO: Key (masked): $masked_key'
These messages were captured and written to API key files.
Fix: Redirect all 4 echo statements to stderr (>&2).
This completes the stdout pollution fix across all key detection functions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 767df79 commit b305c7f
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments