MCPcopy Create free account
hub / github.com/codeaashu/claude-code / extractTaggedBullets

Function extractTaggedBullets

src/utils/permissions/yoloClassifier.ts:108–118  ·  view source on GitHub ↗
(tagName: string)

Source from the content-addressed store, hash-verified

106}
107
108function extractTaggedBullets(tagName: string): string[] {
109 const match = EXTERNAL_PERMISSIONS_TEMPLATE.match(
110 new RegExp(`<${tagName}>([\\s\\S]*?)</${tagName}>`),
111 )
112 if (!match) return []
113 return (match[1] ?? '')
114 .split('\n')
115 .map(line => line.trim())
116 .filter(line => line.startsWith('- '))
117 .map(line => line.slice(2))
118}
119
120/**
121 * Returns the full external classifier system prompt with default rules (no user

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected