mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 09:10:55 +00:00
Explicitly convert string chunks to Buffer.from(chunk, 'utf8') before writing to process.stdout. This fixes UTF-8 mojibake (â instead of ◆/│) seen in some Bun + terminal combinations (e.g. Ghostty on macOS) where process.stdout.write(string) doesn't encode as UTF-8 by default. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| commands-logic.ts | ||
| commands.ts | ||
| index.ts | ||
| manifest.ts | ||
| security.ts | ||
| unicode-detect.ts | ||
| update-check.ts | ||