()
| 29 | } |
| 30 | |
| 31 | function formatStatus(): string { |
| 32 | const current = getSystemPromptInjection() |
| 33 | const lines = [ |
| 34 | 'Prompt cache breaker state', |
| 35 | `- build feature BREAK_CACHE_COMMAND: ${isFeatureEnabled() ? 'enabled' : 'disabled'}`, |
| 36 | `- current injection: ${current ? current : '<none>'}`, |
| 37 | '', |
| 38 | 'Notes:', |
| 39 | '- This command mutates an ant-only system prompt injection value.', |
| 40 | '- Changing the value forces a system prompt hash change on the next request.', |
| 41 | '- If BREAK_CACHE_COMMAND is disabled in the build, the injection is stored but not sent to the API.', |
| 42 | ] |
| 43 | return lines.join('\n') |
| 44 | } |
| 45 | |
| 46 | function usage(): string { |
| 47 | return [ |
no test coverage detected