(filePath: string, options?: ReadOptions)
| 31 | } |
| 32 | |
| 33 | async read(filePath: string, options?: ReadOptions): Promise<FileResult> { |
| 34 | const instructions = this.getBinaryInstructions(filePath); |
| 35 | |
| 36 | return { |
| 37 | content: instructions, |
| 38 | mimeType: 'text/plain', |
| 39 | metadata: { |
| 40 | isBinary: true |
| 41 | } |
| 42 | }; |
| 43 | } |
| 44 | |
| 45 | async write(path: string, content: any): Promise<void> { |
| 46 | throw new Error('Cannot write binary files directly. Use start_process with appropriate tools (Python, Node.js libraries, command-line utilities).'); |
nothing calls this directly
no test coverage detected