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

Function normalizeText

apps/web/server/reply-executor.ts:36–38  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

34};
35
36function normalizeText(value: unknown): string {
37 return typeof value === 'string' ? value.trim() : '';
38}
39
40function sanitizeCommentaryText(value: unknown): string {
41 const normalized = normalizeText(value);

Callers 3

sanitizeCommentaryTextFunction · 0.70
extractResponseTextFunction · 0.70
executeWebThreadReplyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected