MCPcopy Create free account
hub / github.com/freecodexyz/free-code / extractPromptDescription

Function extractPromptDescription

src/utils/permissions/bashClassifier.ts:14–18  ·  view source on GitHub ↗
(
  _ruleContent: string | undefined,
)

Source from the content-addressed store, hash-verified

12export type ClassifierBehavior = 'deny' | 'ask' | 'allow'
13
14export function extractPromptDescription(
15 _ruleContent: string | undefined,
16): string | null {
17 return null
18}
19
20export function createPromptRuleContent(description: string): string {
21 return `${PROMPT_PREFIX} ${description.trim()}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected