diff --git a/src/utils/contents.js b/src/utils/contents.js index f1d5ddef..3c167ff7 100644 --- a/src/utils/contents.js +++ b/src/utils/contents.js @@ -79,6 +79,11 @@ const PROMPT_DEFINITIONS = { title: 'Claude Code Compact System Prompt Agent SDK2', text: "You are Claude Code, Anthropic's official CLI for Claude, running within the Claude Agent SDK." }, + claudeOtherSystemPrompt5: { + category: 'system', + title: 'Claude CLI Billing Header', + text: 'x-anthropic-billing-header: cc_version=2.1.15.c5a; cc_entrypoint=cli' + }, claudeOtherSystemPromptCompact: { category: 'system', title: 'Claude Code Compact System Prompt', diff --git a/src/validators/clients/claudeCodeValidator.js b/src/validators/clients/claudeCodeValidator.js index 4788f178..8647ce48 100644 --- a/src/validators/clients/claudeCodeValidator.js +++ b/src/validators/clients/claudeCodeValidator.js @@ -59,7 +59,7 @@ class ClaudeCodeValidator { typeof customThreshold === 'number' && Number.isFinite(customThreshold) ? customThreshold : SYSTEM_PROMPT_THRESHOLD - + for (const entry of systemEntries) { const rawText = typeof entry?.text === 'string' ? entry.text : '' const { bestScore, templateId, maskedRaw } = bestSimilarityByTemplates(rawText)