MCPcopy Create free account
hub / github.com/MemTensor/MemOS / parseDescription

Method parseDescription

packages/memos-core/src/skill/generator.ts:536–542  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

534 }
535
536 private parseDescription(content: string): string {
537 const match = content.match(/description:\s*"([^"]+)"/);
538 if (match) return match[1];
539 const match2 = content.match(/description:\s*'([^']+)'/);
540 if (match2) return match2[1];
541 return "";
542 }
543}

Callers 1

generateMethod · 0.95

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected