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

OpenAI Devs 介绍 Codex 新增 Hooks 与编程访问 token 两项能力。Hooks 用脚本在任务关键节点定制 Codex 循环,可执行校验、扫描提示词中的密钥、记录对话,或按仓库和目录定制行为。编程访问 token 面向 Business 和 Enterprise 团队,可从 ChatGPT 工作区设置创建,用于 CI、发布流程和内部自动化,并支持设置有效期或撤销访问。

正文

also all this:

引用OpenAI Developers (@OpenAIDevs)@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 Video
在 X 查看被引用的帖子

来源:@sama · x.com