MCPcopy Create free account
hub / github.com/Roy3838/Observer / stripAgentReferences

Function stripAgentReferences

app/src/utils/agentParser.ts:226–228  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

224 * @returns Text with @references stripped out
225 */
226export function stripAgentReferences(text: string): string {
227 return text.replace(/@\w+(?:#\d+)?/g, '').trim();
228}
229
230/**
231 * Gets recent runs for an agent from IterationStore

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected