﻿---
title: "0.145–0.151：agents / queue / --approve-for-me，从 --help 移除 untrusted"
summary: "0.147 增加自动审批参数，0.148 增加 exec fork 和 migrate-rollouts，0.149 增加 agents 与 queue。审批策略里的 untrusted 从此不再出现在 --help。"
from: 0.145.0
to: 0.151.0
tags: ["agents", "queue", "审批", "exec"]
canonical: /updates/cli-145-151/
---

# 0.145–0.151：agents / queue / --approve-for-me，从 --help 移除 untrusted

0.147 增加自动审批参数，0.148 增加 exec fork 和 migrate-rollouts，0.149 增加 agents 与 queue。审批策略里的 untrusted 从此不再出现在 --help。

这一段是命令表第二次明显扩张：自动审批、会话迁移、代理仪表盘和队列。审批策略 `untrusted` 也在这里离开 `--help`。

## 命令与参数

| 版本 | 变化 |
| --- | --- |
| `0.146.0` | `app-server` 增加 `--code-mode-host` |
| `0.147.0` | **根命令增加 `--approve-for-me`**（`exec` / `fork` / `resume` 等同样带上）。`exec-server` 增加 `--concurrent-requests`、`--exit-on-stdin-close` |
| `0.148.0` | 增加 `migrate-rollouts`。**`exec` 下增加 `fork`**。`mcp add` / `mcp login` 增加 `--oauth-client-registration` |
| `0.149.0` | 增加 `agents`、`queue`。`exec-server` 增加 `forward`。**根帮助里的 `untrusted` 审批值消失**，只剩 `on-request` 和 `never` |
| `0.149.1` | `exec` 系增加 `--thread-source` |
| `0.150.0`–`0.151.0` | 没有新顶层命令；`memories` / `multi_agent_v2` / `content_item_kinds` 等标 stable |

`features list` 从 96 项涨到 129 项。`0.145.0` 把 `memories` 和 `multi_agent_v2` 标成 stable。

## 主要功能变化

- **`0.145.0`**：实验性分页线程历史。`/import` 扩大到 Cursor 和 Claude Code 的设置、MCP、插件、会话和项目记忆。Bedrock 登录和自定义端点。
- **`0.146.0`**：`/new` / `/clear` 可给会话命名；线程可钉选。Agent Plugins 清单和工作区发布。
- **`0.147.0`**：可安装可移植 Agent Plugins。**CLI `--approve-for-me` 走自动审批（Guardian 一类评审）**。可选 MCP 2026-07-28。
- **`0.148.0`**：TUI `/export` 导出 Markdown。无头环境用 `codex exec fork`。`/status` 可显示估算额度。Hooks 可异步跑、可调 MCP。
- **`0.149.0`**：`codex agents` 仪表盘（搜、开、重命名、停）。TUI `/cd` `/pwd` `/cwd`。`codex queue` 给已有本地或远程会话塞消息。`doctor` 覆盖终端防护、代理、桌面状态。
- **`0.150.0`**：`@` 可提及其他 Codex 任务。`/copy` 变成选择器。新增 `Interrupt` hooks。
- **`0.151.0`**：可选 MCP 服务器的工具发现有宽限期；插件目录会合并各仓库配置。

`untrusted` 从 `0.69.0` 一直出现在根帮助里，直到 `0.149.0`。本站关于页说它退役，指的就是这里。不要再把 `untrusted` 写进 `approval_policy`。

## 升级时

CI 若还靠「信任命令白名单」那套 `untrusted`，要改成 `on-request` 或 `--approve-for-me`（并理解 Guardian 会另耗 token）。给已有会话追加指令用 `codex queue --thread THREAD_ID`，不要再开一条会抢配置的新进程。从 Cursor / Claude 迁配置后，对照 `AGENTS.md` 和 `.agents/skills`，不要假设 `/import` 覆盖全部路径。


## 来源

- [npm @openai/codex@0.149.0](https://www.npmjs.com/package/@openai/codex/v/0.149.0)
- [openai/codex rust-v0.145.0](https://github.com/openai/codex/releases/tag/rust-v0.145.0)
- [openai/codex rust-v0.151.0](https://github.com/openai/codex/releases/tag/rust-v0.151.0)
- [ChatGPT Learn · Codex changelog](https://learn.chatgpt.com/docs/changelog)
