Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

275 B
Raw Blame
const HEX_HYPHENATED_ID =
  /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;

/** A hyphenated hex id. First-party bot ids omit the UUID version digit. */
export function isHexHyphenatedId(value: string): boolean {
  return HEX_HYPHENATED_ID.test(value);
}