升级本机 Trellis 至 0.6.12(upgrade-trellis-0-6-12)

这个提交包含在:
2026-08-02 16:46:56 +08:00
父节点 45dc86c27a
当前提交 1c557e4926
共修改 19 个文件,包含 335 行新增和 50 行删除
+8
查看文件
@@ -32,6 +32,14 @@ import sys
from pathlib import Path
from typing import Any
# Hook hosts send UTF-8 JSON regardless of the process locale.
_stdin_reconfigure = getattr(sys.stdin, "reconfigure", None)
if callable(_stdin_reconfigure):
try:
_stdin_reconfigure(encoding="utf-8", errors="replace")
except (OSError, ValueError):
pass
# IMPORTANT: Force stdout to use UTF-8 on Windows
# This fixes UnicodeEncodeError when outputting non-ASCII characters
if sys.platform.startswith("win"):