← Agent 目录

Codex

可用 原生 Niu 探测(unixwin fork) Windows 难度 零配置

unixwin 维护的 Codex fork 内置 ShellType::Niu,装好即被选中。

该 agent 无需脚本。

步骤

  1. 安装 fork 版 Codex 与 niubash,无需任何配置:探测按序检查 C:\Program Files\Niubash\niu.exe、x86 路径、%LOCALAPPDATA%\Programs\Niubash\niu.exe 及 PATH 上的 niu
  2. exec 白名单已放行 niu.exe 的 -C / -c / -lc / --repl-command

验证

universal.verifyCmd,期望 MSYS_NT-…

回滚

换回官方 Codex 即恢复默认 shell 表

注意事项

来源