跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.trytrellis.app/llms.txt

Use this file to discover all available pages before exploring further.

修复

Template manifest ownership

trellis inittrellis updatetrellis uninstall 不再把用户自有的平台运行时文件当作 Trellis 模板。
  • initializeHashes()startRecordingWrites() 输出中跟踪 platform/root 文件,不再扫描 .codex/.claude/ 和其他平台目录。
  • pruneOrphanManifestKeys()updateuninstall 规划前,从 .trellis/.template-hashes.json 移除 stale orphan entries。
  • trellis inittrellis uninstall 拒绝在 $HOME 运行,除非设置 TRELLIS_ALLOW_HOMEDIR=1

Windows hook encoding

Hook templates 在 Windows 上强制 stdin、stdout 和 stderr 使用 UTF-8。
  • hooks.jsonpython -X utf8 运行 Codex inject-workflow-state.py
  • shared-hooks/inject-workflow-state.pyshared-hooks/session-start.pycodex/hooks/session-start.pycopilot/hooks/session-start.py 将 streams 重新配置为 UTF-8,并用 replacement errors 处理异常字符。

升级方式

npm install -g @mindfoldhq/trellis@latest
trellis update