MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / normalizePluginAliasValue

Function normalizePluginAliasValue

src/core/bridge_coordinator.ts:20439–20444  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

20437}
20438
20439function normalizePluginAliasValue(value: unknown): string {
20440 return String(value ?? '')
20441 .trim()
20442 .replace(/^\/+/u, '')
20443 .toLowerCase();
20444}
20445
20446function normalizeAppLookupToken(value: unknown): string {
20447 return String(value ?? '')

Calls

no outgoing calls

Tested by

no test coverage detected