(files: readonly AgentFile[])
| 186 | } |
| 187 | |
| 188 | function renderAgentFiles(files: readonly AgentFile[]): string { |
| 189 | if (files.length === 0) return ''; |
| 190 | return files.map((file) => `${annotationFor(file.path)}${file.content}`).join('\n\n'); |
| 191 | } |
| 192 | |
| 193 | function byteLength(text: string): number { |
| 194 | return Buffer.byteLength(text, 'utf8'); |
no test coverage detected