Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: agentclientprotocol/codex-acp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.6.0
Choose a base ref
...
head repository: agentclientprotocol/codex-acp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.7.0
Choose a head ref
  • 9 commits
  • 52 files changed
  • 6 contributors

Commits on Nov 9, 2026

  1. chore: update ACP SDK to 2.5.0 and refresh npm dependencies (#750)

    Updates `@agentclientprotocol/sdk` from `~2.4.0` to `~2.5.0` and
    includes the npm dependency refresh within the existing manifest ranges,
    including Vitest 5.1.0, vscode-jsonrpc 9.0.3, Zod 4.6.7, and transitive
    dependencies.
    
    SDK 2.5.0 promotes lifecycle system prompts to stable; existing ACP v1
    and v2 support needs no implementation changes.
    
    Validation:
    - `npm run typecheck`
    - `npm run build`
    - `npm test` — 2,480 passed, 39 skipped
    - `npm run test:integration` — 19 passed
    - Real Codex smoke test via `npm run codex-test` — completed with
    `end_turn`
    benbrandt authored Nov 9, 2026
    Configuration menu
    Copy the full SHA
    455ec59 View commit details
    Browse the repository at this point in the history
  2. fix: Map priority mode to fast (#327)

    ## Summary
    
    Closes #285.
    
    Codex still normalizes configured `fast` and `priority` service tiers to
    `priority` in 0.166.0. Recognize both values when initializing Fast mode
    so the adapter does not mark it off and clear the configured tier on the
    first prompt.
    
    - Share the tier check across session creation, resume, history load,
    and fork, for both ACP v1 and v2.
    - Preserve the app-server string tier in session metadata instead of
    casting it to the narrower outbound `ServiceTier` enum. Continue sending
    the supported `fast` value for Fast-mode turns.
    - Cover `fast`, `priority`, `flex`, null, and unknown tiers; verify
    first-prompt behavior in v1 and lifecycle response snapshots over the v2
    router, including resume with and without history replay.
    
    Refreshed against current `main` by merging it into this branch without
    rewriting the original commit.
    
    ## Validation
    
    - `npm run typecheck` — passed.
    - `npm test` — 2,504 passed; 39 skipped (159 test files passed, 7
    skipped).
    - `npm run build` — passed.
    - Focused Fast-mode and v2 lifecycle suites — 75 passed.
    - Regression check: temporarily restoring the old fast-only predicate
    makes all five priority cases fail; restoring the fix makes both focused
    suites pass.
    - Live Codex 0.166.0 smoke test: configured `priority`, observed
    `priority` in the app-server response, verified Fast mode enabled for
    new/resume/load/fork, and completed a real prompt sent with
    `serviceTier: "fast"`.
    
    The dedicated integration and E2E suites were not run; the live smoke
    test above was run separately.
    benbrandt authored Nov 9, 2026
    Configuration menu
    Copy the full SHA
    52cc518 View commit details
    Browse the repository at this point in the history
  3. feat: send structured plans as items plan_update when the client supp…

    …orts it (#752)
    
    ## Summary
    
    Implements the remaining piece of the [plan operations
    RFD](https://agentclientprotocol.com/rfds/plan-operations) for v1
    clients.
    
    Markdown plans (plan mode) were already sent as `markdown` `plan_update`
    on v1 when the client advertises `clientCapabilities.plan`. On v2, every
    plan was already a `plan_update`. However, the `update_plan` checklist
    (`turn/plan/updated`) still went to v1 clients as the legacy `plan`
    update, even when they advertised `plan`. So a single client got two
    different plan updates.
    
    Now:
    - v1 with `clientCapabilities.plan`: the checklist is an `items`
    `plan_update` with the fixed `planId` `codex-structured-plan` (the same
    id v2 uses).
    - v1 without the capability: the legacy `plan` update, unchanged.
    - v2: unchanged. The v2 conversion of the legacy `plan` shape stays as a
    safety net.
    
    `STRUCTURED_PLAN_ID` moves from `AcpV2SessionUpdate.ts` to
    `CodexPlanStream.ts`, next to the rest of the plan code, and
    `structuredPlanUpdate()` picks the shape.
    
    ## Not done
    
    - `plan_removed`: Codex has no event that ends a plan (`update_plan`
    always sends the whole list and isn't reset between turns).
    - `file` plans: Codex streams plan text; it doesn't write a plan file.
    - The `explanation` from `turn/plan/updated` is still dropped, because
    the RFD adds no field for it.
    
    ## Client impact
    
    JetBrains AIR advertises `plan`, so its checklist now arrives as an
    `items` `plan_update`. See the AIR scenario snapshot change.
    
    ## Docs
    
    New `docs/plans.md` describes the whole plan contract (both plan kinds,
    with and without the capability, and what is not sent). The README and
    the AIR table in `docs/air-extensions.md` link to it.
    
    ## Tests
    
    - `plan-events.test.ts`: the checklist test is now an `it.each` covering
    v1 with and without `plan`.
    - The AIR `plan-deltas-and-turn-plan` scenario snapshot is updated.
    - `tsc` passes; the plan, v2 plan, replay and scenario tests pass.
    benbrandt authored Nov 9, 2026
    Configuration menu
    Copy the full SHA
    ab7a968 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2026

  1. feat: show the retry cause as details of the AIR retry warning (#755)

    ## Summary
    
    When the Codex app-server reports an `error` with `willRetry: true`,
    codex-acp publishes an AIR `sessionFailure` warning. The warning had
    only the title, such as `Reconnecting... 2/5`. Codex puts the cause of
    the retry in `TurnError.additionalDetails`, for example `stream
    disconnected before completion: idle timeout waiting for websocket`.
    codex-acp dropped it, so a user saw the same title for minutes and did
    not know why.
    
    ## Changes
    
    - `recordRetryWarning` passes the trimmed `additionalDetails` as
    `details` of the warning. With `null` or a blank value, the warning has
    no `details` key.
    - `recordSessionFailure` takes an optional `details`. Each revision
    builds the record again, so a later revision without a cause does not
    keep the old one.
    - Both paths of a retry warning use it: `createErrorEvent` and
    `handleSessionScopedNotification`.
    - The title, the actions, the id and the revision do not change.
    - Terminal failures (`willRetry: false`) still do not send
    `additionalDetails`. The earlier tests asserted that a retry warning
    also must not send it. This change removes that rule for retry warnings
    only. The legacy, non-typed path already sends the full error,
    `additionalDetails` included.
    
    ## Why the cause is safe to send for a retry
    
    PR #383 kept `additionalDetails` out of every typed failure. This PR
    changes that rule for retry warnings only. Terminal failures still send
    no `details`.
    
    - The cause goes to the same user whose Codex session retries. A user
    who uses Codex directly sees the same text.
    - The legacy, non-typed path already sends the full error to every other
    client, `additionalDetails` included.
    - For an HTTP retry, the text can hold the response body, the provider
    URL and a request id. These belong to the user's own account and
    gateway. They help the user see why the turn waits.
    
    ## Tests
    
    - `auth-error-events.test.ts`: the cause is in `details` for a retry of
    the current turn, of another turn, of an HTTP 429, and for a late retry
    after the turn. No `details` key for `null` and for a blank value.
    - `typed-session-failure-wire.test.ts`: the raw wire JSON for one id
    across 4 revisions. A new cause replaces the old one, and a revision
    without a cause has no `details`.
    - `npm run typecheck`: clean.
    - `npm run test`: 2507 passed. 2 tests in
    `standard-subagent-live.test.ts` fail. They fail on `main` without this
    change too.
    nikita-ashihmin authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    e981b3c View commit details
    Browse the repository at this point in the history
  2. build(deps): bump amannn/action-semantic-pull-request from 6.1.1 to 6…

    ….1.2 in the github-actions group (#756)
    
    Bumps the github-actions group with 1 update:
    [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request).
    
    Updates `amannn/action-semantic-pull-request` from 6.1.1 to 6.1.2
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/amannn/action-semantic-pull-request/releases">amannn/action-semantic-pull-request's
    releases</a>.</em></p>
    <blockquote>
    <h2>v6.1.2</h2>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.1...v6.1.2">6.1.2</a>
    (2026-11-05)</h2>
    <h3>Bug Fixes</h3>
    <ul>
    <li>Release accumulated dependency updates (closes <a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/321">#321</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/fc7da0cece3e8512e50240b0619a03bdd946db1c">fc7da0c</a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md">amannn/action-semantic-pull-request's
    changelog</a>.</em></p>
    <blockquote>
    <h1>Changelog</h1>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.1...v6.1.2">6.1.2</a>
    (2026-11-05)</h2>
    <h3>Bug Fixes</h3>
    <ul>
    <li>Release accumulated dependency updates (closes <a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/321">#321</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/fc7da0cece3e8512e50240b0619a03bdd946db1c">fc7da0c</a>)</li>
    </ul>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.0...v6.1.1">6.1.1</a>
    (2025-08-22)</h2>
    <h3>Bug Fixes</h3>
    <ul>
    <li>Parse <code>headerPatternCorrespondence</code> properly (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/295">#295</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/800da4c97f618e44f972ff9bc21ab5daecc97773">800da4c</a>)</li>
    </ul>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.1...v6.1.0">6.1.0</a>
    (2025-08-19)</h2>
    <h3>Features</h3>
    <ul>
    <li>Support providing regexps for types (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/292">#292</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/a30288bf13b78cca17c3abdc144db5977476fc8b">a30288b</a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li>Remove trailing whitespace from &quot;unknown release type&quot;
    error message (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/291">#291</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/afa4edb1c465fb22230da8ff4776a163ab5facdf">afa4edb</a>)</li>
    </ul>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.0...v6.0.1">6.0.1</a>
    (2025-08-13)</h2>
    <h3>Bug Fixes</h3>
    <ul>
    <li>Actually execute action (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/289">#289</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/58e4ab40f59be79f2c432bf003e34a31174e977a">58e4ab4</a>)</li>
    </ul>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.3...v6.0.0">6.0.0</a>
    (2025-08-13)</h2>
    <h3>⚠ BREAKING CHANGES</h3>
    <ul>
    <li>Upgrade action to use Node.js 24 and ESM (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>)</li>
    </ul>
    <h3>Features</h3>
    <ul>
    <li>Upgrade action to use Node.js 24 and ESM (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/bc0c9a79abfe07c0f08c498dd4a040bd22fe9b79">bc0c9a7</a>)</li>
    </ul>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.2...v5.5.3">5.5.3</a>
    (2024-06-28)</h2>
    <h3>Bug Fixes</h3>
    <ul>
    <li>Bump <code>braces</code> dependency (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/269">#269</a>.
    by <a href="https://github.com/EelcoLos"><code>@​EelcoLos</code></a>)
    (<a
    href="https://github.com/amannn/action-semantic-pull-request/commit/2d952a1bf90a6a7ab8f0293dc86f5fdf9acb1915">2d952a1</a>)</li>
    </ul>
    <h2><a
    href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.1...v5.5.2">5.5.2</a>
    (2024-04-24)</h2>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/2252a14e810aa9b85c2d560bd7070c802206ecf6"><code>2252a14</code></a>
    chore: Release 6.1.2 [skip ci]</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/af97545064011dec7152387145e1bb8dd259f809"><code>af97545</code></a>
    ci: pin conventional-changelog-conventionalcommits to v9 (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/323">#323</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/fc7da0cece3e8512e50240b0619a03bdd946db1c"><code>fc7da0c</code></a>
    fix: Release accumulated dependency updates (closes <a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/321">#321</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/4e8becf171763c78261f71cd41a7095dde4f74e3"><code>4e8becf</code></a>
    ci: bump the npm-packages group with 10 updates (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/319">#319</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/b3fa6edcb1bd159881fdadfd9cf7cebc3eabde58"><code>b3fa6ed</code></a>
    ci: bump actions/setup-node from 6 to 7 in the github-action-workflows
    group ...</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/2c9480cf285c2ac02b52e26013f7d627b14a4f95"><code>2c9480c</code></a>
    chore: bump the npm-packages group with 12 updates (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/315">#315</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/58e675f6ba2532cb5fb934767586102c209a72b9"><code>58e675f</code></a>
    ci: bump the github-action-workflows group with 2 updates (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/313">#313</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/45b9ed7cf24087a2f7785bf55be97394ba87e1c2"><code>45b9ed7</code></a>
    chore: bump the npm-packages group with 12 updates (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/308">#308</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/9d28649546d6d97df6888cfb28bb1ad7b73e300f"><code>9d28649</code></a>
    ci: Bump the github-action-workflows group with 2 updates (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/309">#309</a>)</li>
    <li><a
    href="https://github.com/amannn/action-semantic-pull-request/commit/ac7e3fc035c47465748bbcb1a822c1583cf79bbc"><code>ac7e3fc</code></a>
    docs: Fix snippet (<a
    href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/306">#306</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/amannn/action-semantic-pull-request/compare/48f256284bd46cdaab1048c3721360e808335d50...2252a14e810aa9b85c2d560bd7070c802206ecf6">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=amannn/action-semantic-pull-request&package-manager=github_actions&previous-version=6.1.1&new-version=6.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore <dependency name> major version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's major version (unless you unignore this specific
    dependency's major version or upgrade to it yourself)
    - `@dependabot ignore <dependency name> minor version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's minor version (unless you unignore this specific
    dependency's minor version or upgrade to it yourself)
    - `@dependabot ignore <dependency name>` will close this group update PR
    and stop Dependabot creating any more for the specific dependency
    (unless you unignore this specific dependency or upgrade to it yourself)
    - `@dependabot unignore <dependency name>` will remove all of the ignore
    conditions of the specified dependency
    - `@dependabot unignore <dependency name> <ignore condition>` will
    remove the ignore condition of the specified dependency and ignore
    conditions
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    6fa035a View commit details
    Browse the repository at this point in the history
  3. test: use the running Node executable in supervisor fixtures (#741)

    I maintain the
    [nixpkg](https://github.com/NixOS/nixpkgs/blob/1a04a224938e97a7a4d4d5bfb36a4099f9c6ab21/pkgs/by-name/co/codex-acp/package.nix#L65)
    of codex-acp, and I'm trying to
    [upgrade](NixOS/nixpkgs#582790) from v2.1.1 to
    v2.5.0. Linux x86-64 builds are currently failing for a few reasons,
    which I plan to file PRs to fix here upstream.
    
    From Codex:
    
    > The supervisor tests generate executable scripts with `#!/usr/bin/env
    node`.
    > These fail to start in the Nix Linux build sandbox, where
    `/usr/bin/env`
    > is absent, causing three output-draining tests to fail.
    > 
    > Use `process.execPath` in the generated shebangs so fixtures run with
    the
    > same Node executable as the test runner.
    
    Related to #742
    tpansino authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    9b2a785 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2026

  1. feat: report delegated tasks as session messages and reference childr…

    …en from tool calls (#760)
    
    Brings the standard subagent contract in line with the ACP [Subagent
    Sessions RFD](https://agentclientprotocol.com/rfds/subagents), which is
    moving to Preview in agentclientprotocol/agent-client-protocol#2800. The
    AIR legacy contract is unchanged, and its fixtures are untouched.
    
    ## Changes
    
    - **Delegated tasks are `session_message` views**, live and on replay,
    for v1 and v2.
    - A `userMessage` item in a child's thread becomes the incoming view on
    the child. It was dropped before, and counted as a history gap on
    replay.
    - A completed `spawnAgent`, `sendInput`, `sendMessage`, or
    `followupTask` with a prompt becomes the outgoing view on the sender.
    Failed or interrupted calls report nothing.
    - The two views are linked with `senderMessageId` and
    `recipientMessageId` when the same text is seen for the same recipient
    on both sides.
    - **`description` no longer holds the task prompt.** It is the thread's
    `agentRole`, and is omitted when Codex reports none.
    - **Collaboration tool calls carry `session` content** for each
    already-announced receiver. `spawnAgent` stays hidden, because the
    announcement and the task message report the delegation.
    - **No Agent-side capability for standard Clients.**
    `sessionCapabilities.subagents` is sent only to AIR, whose contract
    documents it. The RFD defines no Agent-side capability.
    - **SDK `~2.6.0`**, which types `session` content. It also adds
    `configOptions` to v2 `session/new` and `session/resume`. The adapter
    does not advertise initial config options, so it does not apply them.
    - **Docs.** `docs/subagent-sessions.md` now describes the standard
    contract, the AIR legacy contract, and the fallback separately. The
    README, `readme-dev.md`, and `docs/air-extensions.md` are corrected.
    
    ## Workarounds and limits
    
    - **Linking by text.** Codex exposes no ID shared by the sender's collab
    item and the receiver's `userMessage` item, so views are matched by
    recipient and equal text. If Codex rewrites the prompt on delivery, the
    views stay unlinked.
    - **Sender-less incoming views.** `userMessage` items have no sender
    field, so an unlinked incoming view carries only `recipientSessionId`.
    The adapter does not assume the parent, since another session can also
    send input.
    - `description` is the raw role token, for example `default`.
    - The unlinked-view lists are not pruned during a session.
    
    ## Testing
    
    - `npm run typecheck`: clean.
    - `npm test`: 159 files passed, 7 skipped. 2512 tests passed, 39
    skipped.
    - New live and replay delegation snapshots for v1 and v2. Not run
    against real Codex.
    benbrandt authored Nov 12, 2026
    Configuration menu
    Copy the full SHA
    6567651 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2026

  1. fix: report hooks that block or stop Codex (#767)

    A Codex hook that blocks or stops the prompt ended the turn with a bare
    `end_turn`: no answer, no error, no reason. codex-acp ignored
    `hook/completed`, which carries the hook's status and output.
    
    ## Changes
    
    - **`hook/completed` with status `blocked` or `stopped` becomes a
    warning**, sent the same way as other Codex warnings: a session
    `notice`, an AIR `sessionFailure` advisory, or agent text.
    - The title names the event and what it blocked, for example
    `UserPromptSubmit hook blocked the prompt` or `PreToolUse hook blocked
    the tool call`.
      - The reason is the hook's output, without `context` entries.
      - Hooks that complete or fail without blocking send nothing.
    - **Advisory ids no longer repeat across prompts.** The id counter lived
    in the per-prompt event handler, so the first advisory of every prompt
    had the same id and revision. It is now shared, in `SessionFailureIds`.
    - `readme-dev.md` documents hook notices.
    
    ## Testing
    
    - Reproduced against real Codex with a blocking `UserPromptSubmit` hook.
    After the fix, each prompt shows the reason with a distinct id.
    - Tests cover all three warning paths, ACP v2, and distinct ids across
    prompts.
    
    The wording for events other than `UserPromptSubmit` was not checked
    against real Codex.
    EugeneTheDev authored Nov 16, 2026
    Configuration menu
    Copy the full SHA
    bcf0e92 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 2.7.0 (#751)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [2.7.0](v2.6.0...v2.7.0)
    (2026-11-16)
    
    
    ### Features
    
    * report delegated tasks as session messages and reference children from
    tool calls
    ([#760](#760))
    ([6567651](6567651))
    * send structured plans as items plan_update when the client supports it
    ([#752](#752))
    ([ab7a968](ab7a968))
    * show the retry cause as details of the AIR retry warning
    ([#755](#755))
    ([e981b3c](e981b3c))
    
    
    ### Bug Fixes
    
    * Map priority mode to fast
    ([#327](#327))
    ([52cc518](52cc518))
    * report hooks that block or stop Codex
    ([#767](#767))
    ([bcf0e92](bcf0e92))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    Co-authored-by: acp-release-bot[bot] <246668977+acp-release-bot[bot]@users.noreply.github.com>
    acp-release-bot[bot] authored Nov 16, 2026
    Configuration menu
    Copy the full SHA
    7c98a16 View commit details
    Browse the repository at this point in the history
Loading