🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
/** Escape text for the XML-like blocks wake prompts are written in; newlines stay on one line. */
export const escapeXmlText = (text: string) =>
text
.replaceAll('&', '&')
.replaceAll('<', '<')
.replaceAll('>', '>')
.replaceAll(/\r?\n/g, ' ');
export const escapeXmlAttribute = (text: string) => escapeXmlText(text).replaceAll('"', '"');