﻿---
title: "0.124–0.135：update / doctor / remote-control，移除 --full-auto"
summary: "自更新、诊断和远程控制进顶层命令。0.128 去掉 --full-auto。0.131 短暂出现 --profile-v2，0.134 又收回，只留 --profile。"
from: 0.124.0
to: 0.135.0
tags: ["update", "doctor", "profile", "Hooks"]
canonical: /updates/cli-124-135/
---

# 0.124–0.135：update / doctor / remote-control，移除 --full-auto

自更新、诊断和远程控制进顶层命令。0.128 去掉 --full-auto。0.131 短暂出现 --profile-v2，0.134 又收回，只留 --profile。

这一段把运维命令补齐：`update`、`doctor`、`remote-control`。同时移除了 `--full-auto`，并调整了 profile 参数。

## 命令与参数

| 版本 | 变化 |
| --- | --- |
| `0.124.0` | `hooks` / `codex_hooks`、`guardian_approval`、`browser_use` 等进入特性表；Hooks 标 stable |
| `0.125.0` | `app-server proxy --sock`（Unix socket） |
| `0.128.0` | 增加 `update`。**根命令和 `exec` / `fork` / `resume` 去掉 `--full-auto`**。`login` 短暂出现 `--with-agent-identity` |
| `0.129.0` | `--with-agent-identity` 改成 `--with-access-token`。`exec-server` 增加 `--name` / `--remote` |
| `0.130.0` | 增加 `remote-control` |
| `0.131.0` | 增加 `doctor`（`--json` / `--summary` / `--all`）。根命令增加 `--strict-config`、`--dangerously-bypass-hook-trust`、**`--profile-v2`**。`plugin` 出现 `add` / `list` / `remove` / `marketplace` |
| `0.132.0` | `exec resume` / `exec review` 增加 `--output-schema` |
| `0.133.0` | `remote-control` 增加 `--json`；`exec-server` 用 `--environment-id` 替换 `--executor-id`。`goals` 标 stable |
| `0.134.0` | **去掉 `--profile-v2`，只留 `--profile`**。`mcp add` 增加 `--oauth-client-id` / `--oauth-resource`。`sandbox` 参数收到父命令上，子命令 `sandbox linux/macos/windows` 的帮助变短 |

`0.128.0` 还把 `js_repl` 标成 removed，并拿掉已经 stable 的 `undo` 特性名。`0.131.0` 把 `plugin_hooks` 标 stable，两版后又 removed——钩子能力并进正式 Hooks，不再单独一颗插件钩子开关。

## 主要功能变化

- **`0.124.0`**：Hooks 可写进 `config.toml` 和托管 `requirements.toml`。符合条件的 ChatGPT 套餐默认 Fast 档。TUI 用 `Alt+,` / `Alt+.` 调推理力度。
- **`0.128.0`**：`codex update` 自更新。可配置 TUI keymap。`/goal` 工作流。权限 profile 有内置默认值。可从外部 agent 会话导入。
- **`0.129.0`**：TUI Vim 编辑（`/vim`）。重做的 resume/fork 选择器。`/hooks` 浏览和开关。
- **`0.130.0`**：`codex remote-control` 作为无头、可远程控制的 app-server 入口。
- **`0.131.0`**：`codex doctor` 覆盖运行时、认证、终端、网络、配置。`@` 提及可搜文件、插件和技能。Python SDK 改名为 `openai-codex`。
- **`0.134.0`**：本地会话历史可搜。`--profile` 成为唯一 profile 选择器，旧写法会提示迁移。只读 MCP 工具在声明 `readOnlyHint` 时可并行。
- **`0.135.0`**：`doctor` 报告更完整；`/permissions` 认识命名权限 profile。

## 升级时

把脚本里的 `--full-auto` 删掉，改成显式沙箱和审批。不要把 `--profile-v2` 写进长期文档，它只活了三个小版本。企业配置用 `--strict-config` 拦截未识别键。登录参数以本机 `codex login --help` 为准，不要混用 `--with-agent-identity` 和 `--with-access-token`。


## 来源

- [npm @openai/codex@0.128.0](https://www.npmjs.com/package/@openai/codex/v/0.128.0)
- [openai/codex rust-v0.124.0](https://github.com/openai/codex/releases/tag/rust-v0.124.0)
- [openai/codex rust-v0.135.0](https://github.com/openai/codex/releases/tag/rust-v0.135.0)
- [OpenAI · Codex changelog](https://developers.openai.com/codex/changelog)
