Skip to content

Keep the sleep tool outside code mode - #34969

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7ef67bea0678f27fdb17d88004368e5f1d475125
Jul 23, 2026
Merged

Keep the sleep tool outside code mode#34969
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7ef67bea0678f27fdb17d88004368e5f1d475125

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 23, 2026

Copy link
Copy Markdown

Keep the sleep tool outside code mode

What changed

  • Mark clock.sleep as DirectModelOnly so it remains directly callable in
    code-mode-only sessions without appearing in the nested code-mode tool surface.
  • Cover both code mode configurations with a tool-plan test that verifies the
    sleep tool's exposure and visibility.

## What changed

- Mark `clock.sleep` as `DirectModelOnly` so it remains directly callable in
  code-mode-only sessions without appearing in the nested code-mode tool surface.
- Cover both code mode configurations with a tool-plan test that verifies the
  sleep tool's exposure and visibility.

GitOrigin-RevId: 7ef67bea0678f27fdb17d88004368e5f1d475125
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/7ef67bea0678f27fdb17d88004368e5f1d475125 branch from c9b96ad to 205d37a Compare July 23, 2026 16:21
@copyberry
copyberry Bot merged commit 205d37a into main Jul 23, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/7ef67bea0678f27fdb17d88004368e5f1d475125 branch July 23, 2026 16:22
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants