MCPcopy Create free account
hub / github.com/IAmUnbounded/devctx / extractCompletedItems

Function extractCompletedItems

devctx/src/core/parser.ts:607–614  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

605}
606
607function extractCompletedItems(content: string): string[] {
608 const items: string[] = [];
609 const matches = content.matchAll(/-\s+\[x\]\s+(.+)$/gm);
610 for (const m of matches) {
611 items.push(m[1].trim());
612 }
613 return items.slice(0, 8);
614}

Callers 1

extractFromAntigravityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected