跳到正文
Sam Altman· @sama · X·· 2026-05-15AI 评分74
AI 导读

OpenAI宣布Codex推出两项新功能,旨在提升围绕代码的自动化与定制体验。一是“Hooks”,允许用户通过脚本在任务关键节点自定义Codex的工作流程,例如运行验证器、扫描提示中的敏感信息、记录对话至内部系统,或根据代码库和目录创建记忆与定制行为。二是“编程访问令牌”,为Business和Enterprise团队提供范围限定的凭证,可从ChatGPT工作区设置生成,适用于CI/CD管道、发布工作流和内部自动化任务。该令牌支持设置过期时间或即时撤销,并能将使用情况关联回对应工作区。

正文 · 原文

also all this:

引用OpenAI Developers@OpenAIDevs
Codex is getting easier to automate and customize around your code. 🪝 Hooks customize the Codex loop with scripts that run at key points in a task: • Run validators before or after work • Scan prompts for secrets • Log conversations to internal systems • Create memories or customize behavior by repo or directory ⚙️ Programmatic access tokens provide scoped credentials for Business and Enterprise teams: • Create tokens from ChatGPT workspace settings • Use them in CI, release workflows, and internal automations • Set expirations or revoke access when needed • Keep usage tied back to the workspace
在 X 查看被引用的帖子

来源:Sam Altman · x.com