Function: normalizeTag()
normalizeTag(
input):string|null
Defined in: packages/agentos/src/cognition/library/tags.ts:107
Typing made a tag: NFKC, lower case and NFC, each run of other characters one hyphen and none at either end, and each
sigma written by its place in its run, so the separator typed never changes a letter (ΟΣ.Α and ΟΣ-Α both give
ος-α). Null when nothing is left or more than 40 code points are: a tag is refused, never cut.
Parameters
input
string
Returns
string | null