OpenAI的Codex桌面应用(已更名为ChatGPT)在缓存文件夹中包含了1.7GB的依赖,包括完整的Python、Node.js安装,以及Poppler、git和LibreOffice等原生二进制文件。
正文
2026年9月1日,我在使用OmniDiskSweeper浏览~/.cache/文件夹时,发现了一个有趣的现象。OpenAI的Codex桌面应用(现已更名为ChatGPT)在该目录下占用1.7GB空间,存储于名为codex-primary-runtime的文件夹中。该文件夹包含完整的Python和Node.js安装包,以及Poppler、git和LibreOffice(2010年从OpenOffice.org分支出来的开源办公套件)的原生二进制文件。此外,~/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime/plugins/documents文件夹中的技能文件,指示了Codex如何定位和使用这些二进制程序。
评论
根据评论内容,主要围绕OpenAI Codex应用捆绑LibreOffice展开讨论,观点如下:
1. 技术合理性(支持方) - 评论9指出:"I think it was a quick and dirty way for them to interface with docx and xlsx files?"(我认为这是他们快速处理docx和xlsx文件的权宜之计) - 评论10解释:"the reason is reading files, especially old xls files... I couldn't find anything else that I could just drop it and feel confident it'll just read anything I give it."(原因在于读取文件,特别是旧版xls文件...我找不到其他能如此可靠读取任何文件的方案)
2. 性能与体积批评(反对方) - 评论2批评:"They are all so heavy and dog slow... 2gb is crazy town, these things could be around 100mb"(这些应用都太臃肿缓慢...2GB太疯狂,本应控制在100MB左右) - 评论15对比:"First Claude installed 10GB VM without asking, but OpenAI ships LibreOffice. What's next?"(先是Claude未经同意安装10GB虚拟机,现在OpenAI捆绑LibreOffice,下一步会是什么?)
3. 许可合规性质疑 - 评论11提出:"I didn't find any reference in the Open source licences section... Is this a MPL 2.0 violation?"(在开源许可部分未找到相关引用,是否违反MPL 2.0协议?)
4. 替代方案建议 - 评论7建议:"There's no security benefit to doing this versus demand-downloading hashed-locked components on need."(按需下载哈希锁定的组件同样安全) - 评论14质疑:"I wonder why they didn't try to discover if the user already has those binaries"(为何不先检测用户是否已有这些二进制文件)
5. 行业影响 - 评论17预测:"There is a serious threat to Microsoft here, if everyone starts using AI for generating and updating Office docs."(如果人人都用AI生成和更新Office文档,微软将面临严重威胁)