排查 Codex 会话缺少 read_thread

AIGC

今天另一个 Codex 会话要读取我引用的聊天,工具列表里没有 read_thread。看了配置才发现,之前为了省 Token,我把 plugins 整体关了。

当时觉得 computer_use 之类的插件用不上。配置里 codex-app-tools 明明还是 enabled = true,可 features.plugins = false 一关,照样用不了。

移除这个全局禁用项,重启 Codex,read_thread 就出现了。前后还有其他配置变化,所以不能确定这就是唯一原因;目前看它最像。

GPT-6 系列现在性价比还行,没必要为了省一点 Token 把 plugins 一直关着。这次碰到 thread 问题,只好重新打开了 🙃

2026-10-28 在 Codex CLI v0.165 发现已转移到 codex_tui.read_thread 了,那可以关闭这些插件。

[plugins."computer-use@openai-bundled"]
enabled = false
[plugins."browser-use@openai-bundled"]
enabled = false
[plugins."browser@openai-bundled"]
enabled = false
[plugins."documents@openai-primary-runtime"]
enabled = false
[plugins."pdf@openai-primary-runtime"]
enabled = false
[plugins."spreadsheets@openai-primary-runtime"]
enabled = false
[plugins."presentations@openai-primary-runtime"]
enabled = false
[plugins."template-creator@openai-primary-runtime"]
enabled = false
[plugins."codex-app-tools@openai-bundled"]
enabled = false
[plugins."unified-computer-use@openai-bundled"]
enabled = false
[plugins."visualize@openai-bundled"]
enabled = false
[features]
apps = false                  # 关闭 codex_apps MCP
[mcp_servers.node_repl]
enabled = false

Aqara 设备需要特定网关才能在 Homekit 显示

之前把空调伴侣 P3 的温湿度传感器挂在它自己身上,但是当把 Aqara 的设备名称往 HomeKit 同步的时候,会提示找不到温湿度传感器的卡片。

今天为了调整家里,把人体传感器 E1 从空调伴侣 P3 移到了智能摄像机 G2H 上,之前能在 HomeKit 中看到的人体传感器,现在无法绑定了,同步时也提示找不到卡片。

注意到这个现象,我就尝试把它们调换一下,把人体传感器 E1 挂回空调伴侣 P3,把温湿度传感器挂到智能摄像机 G2H 上,这下居然两个都能出现在 HomeKit 上。我之前也尝试过重置设备、重置网络、重新添加,都达不到现在这个效果,那说明设备和网关还是有关联的。