Codex Agent c66bced0fa fix: limit \r\n escape preprocessing to anchor/find params only
normalizeContentLineEndings 在 8e637db7 引入的 \r\n escape 预处理对
所有调用路径生效,导致 workspaceWrite 写入 C 源码时破坏 \r\n 字符串常量。

修复:增加 unescapeEscapeSequences 参数(默认 false),仅在
workspaceReplace find、workspaceInsertAfter anchor、diagnosticDetails
三个 anchor 匹配路径启用 escape 预处理。

- workspaceWrite content: 不启用(保留原始 \r\n)
- workspaceReplace replace text: 不启用
- workspaceInsertAfter insertText: 不启用
- applyUpdateHunks output: 不启用(已是规范化内容)

Fixes #1027
2026-06-07 13:37:31 +08:00
S
Description
UniDesk controlled mirror for pikasTech/HWLAB
32 MiB
Languages
TypeScript 63.3%
JavaScript 21.9%
Vue 7.4%
Go 3.2%
Python 1.9%
Other 2.2%