The charCodeAt approach compared raw byte magic numbers against base64-encoded characters which never matched. Decode first 12 raw bytes and check standard magic byte signatures directly. Fixes API 400 on Windows (JPEG) and macOS (PNG) screenshots. |
||
|---|---|---|
| .. | ||
| deniedApps.ts | ||
| executor.ts | ||
| imageResize.ts | ||
| index.ts | ||
| keyBlocklist.ts | ||
| mcpServer.ts | ||
| pixelCompare.ts | ||
| sentinelApps.ts | ||
| subGates.ts | ||
| toolCalls.ts | ||
| tools.ts | ||
| types.ts | ||