Skip to content

v0.8.7

Choose a tag to compare

@Lyin01 Lyin01 released this 03 Jul 12:40
· 205 commits to main since this release

v0.8.7

新特性

  • Windows 终端中文乱码自动修复 🎉
    安装时自动为 npm 生成的 lm.ps1 启动器注入 UTF-8 编码设置:在 GBK/ANSI 代码页(如 zh-CN 的 936)下,lm 的输出被管道、重定向或变量捕获时不再变成乱码;同时修复 PowerShell 5.1 默认 $OutputEncoding 为 US-ASCII 导致管道输入中文被破坏的问题。补丁幂等、只识别已知的 npm shim 模板、任何异常都不会影响安装流程。(scripts/postinstall/win-encoding.mjs

一并带上 0.8.6 的改动(此前未发布)

  • fix(cli): print 模式思考输出降暗显示
  • fix(cli): print 模式支持 -y/--auto,并补充 -r 文档
  • chore: 启动错误文案整理