Skip to content

Enable TUI task tools for embedded app-server sessions - #58240

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/31f37df69b4e86045953cad418a95c04cd1f35ec
Oct 30, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/31f37df69b4e86045953cad418a95c04cd1f35ec

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Enable TUI task tools for embedded app-server sessions

Why

Embedded app-server sessions disabled task tools and exposed only worktree tools through MCP, preventing tasks from using tools such as set_thread_title.

What changed

  • Expose task tools and available worktree tools together under the codex_tui MCP namespace, replacing the embedded session's codex_worktrees namespace.
  • Allow embedded sessions to dispatch codex_tui dynamic tools when MCP is not configured, while retaining the MCP requirement for delegation tools.
  • Persist local task-tool reference capabilities for embedded sessions as well.

Testing

Update coverage for embedded dynamic-tool namespace dispatch and task-tool availability after starting and resuming threads. Extend the model-driven worktree test to rename another task through set_thread_title and snapshot the combined MCP tool set.

## Why

Embedded app-server sessions disabled task tools and exposed only worktree tools through MCP, preventing tasks from using tools such as `set_thread_title`.

## What changed

- Expose task tools and available worktree tools together under the `codex_tui` MCP namespace, replacing the embedded session's `codex_worktrees` namespace.
- Allow embedded sessions to dispatch `codex_tui` dynamic tools when MCP is not configured, while retaining the MCP requirement for delegation tools.
- Persist local task-tool reference capabilities for embedded sessions as well.

## Testing

Update coverage for embedded dynamic-tool namespace dispatch and task-tool availability after starting and resuming threads. Extend the model-driven worktree test to rename another task through `set_thread_title` and snapshot the combined MCP tool set.

GitOrigin-RevId: 31f37df69b4e86045953cad418a95c04cd1f35ec
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/31f37df69b4e86045953cad418a95c04cd1f35ec branch from deaeddd to 536ae05 Compare October 30, 2026 04:01
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-30T04:01:45.093508Z deaeddd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 536ae05 into main Oct 30, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/31f37df69b4e86045953cad418a95c04cd1f35ec branch October 30, 2026 04:01
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 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.

1 participant