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

Function normalizeText

packages/mission-control/src/api.ts:1440–1446  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1438}
1439
1440function normalizeText(value: unknown): string | null {
1441 if (typeof value !== 'string') {
1442 return null;
1443 }
1444 const trimmed = value.trim();
1445 return trimmed.length > 0 ? trimmed : null;
1446}
1447
1448function withMeta<TData>(
1449 meta: MissionControlBoundaryMetadata,

Callers 15

handleCreateMissionMethod · 0.70
handleRetryMissionMethod · 0.70
handleSubmitApprovalMethod · 0.70
handleResumeMissionMethod · 0.70
handleStopMissionMethod · 0.70
resolveHostSessionIdFunction · 0.70
resolveProviderThreadIdFunction · 0.70
buildMissionArtifactRefsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected