Skip to content

fix: normalize MCP Discord identifiers - #103

Open
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/normalize-discord-identifiers
Open

fix: normalize MCP Discord identifiers#103
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/normalize-discord-identifiers

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Normalize surrounding whitespace in MCP server identifiers before Discord lookup.
  • Normalize surrounding whitespace and leading # display prefixes in MCP channel identifiers.
  • Add regression coverage for resolving display-form server and channel inputs.
  • Document the user-visible lookup fix in the changelog.

Verification

  • npm ci — passed; npm reported 13 existing audit vulnerabilities and a pending node-pty install-script approval warning.
  • npm run build — passed.
  • node --test tests/identifierNormalization.test.mjs — passed (2 tests).
  • npm test — passed (67 tests).
  • Direct node-pty import probe — passed.
  • git diff --check upstream/main...HEAD — passed.

Risk

Low. Numeric Discord identifiers continue through the existing fetch path unchanged after trimming; name fallback now receives the same normalized display input.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

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.

1 participant