Format file content with line numbers.
(file: { content: string; startLine: number })
| 723 | |
| 724 | /** Format file content with line numbers. */ |
| 725 | function formatFileLines(file: { content: string; startLine: number }): string { |
| 726 | return addLineNumbers(file) |
| 727 | } |
| 728 | |
| 729 | export const CYBER_RISK_MITIGATION_REMINDER = |
| 730 | '\n\n<system-reminder>\nWhenever you read a file, you should consider whether it would be considered malware. You CAN and SHOULD provide analysis of malware, what it is doing. But you MUST refuse to improve or augment the code. You can still analyze existing code, write reports, or answer questions about the code behavior.\n</system-reminder>\n' |
no test coverage detected