pi-mono/packages
Petr Houška d1e8703375 fix(coding-agent): read and edit handle UTF-16 and non-UTF-8 files without corrupting them
One helper, tools/file-encoding.ts, detects UTF-16 by byte order mark
and decodes text for read (UTF-8 as before otherwise) and losslessly for
edit. Edit writes files back in the encoding they were read with; files
that are not valid UTF-8 are decoded as Latin-1 so ASCII edits splice
exactly their bytes, and non-ASCII edits, fuzzy matches and changes to
the byte after a non-ASCII byte are refused. EditOperations gains an
optional writeFileBytes for these files.

fixes #10349
fixes #5797
2026-11-05 23:46:22 +01:00
..
agent Anthropic message threads (#11545) 2026-11-03 14:07:57 +01:00
ai fix(ai,coding-agent): remove "(legacy)" marker from OpenAI Codex provider name 2026-11-05 22:51:36 +01:00
chord feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
codemode Add [Unreleased] section for next cycle 2026-11-02 11:38:21 +01:00
coding-agent fix(coding-agent): read and edit handle UTF-16 and non-UTF-8 files without corrupting them 2026-11-05 23:46:22 +01:00
durable fix(durable): raise timeout of seeded SqliteStorage batch commit tests 2026-11-05 09:50:00 +01:00
env fix(env): kill what a process program left running when it exits 2026-11-03 14:17:21 +01:00
evals Release v1.5.0 2026-11-02 11:38:21 +01:00
mcp chore(licenses): rename dir (#11834) 2026-11-05 12:42:32 +01:00
schema fix(schema): num no longer takes nan and infinity 2026-11-05 14:20:32 +01:00
telemetry feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
tui fix(tui): prevent cursor marker leaks (#9441) 2026-11-04 11:26:48 +01:00