Skip to content

[Feature]: Show Codex Image View results as inline previews on mobile #6161

Description

@bakinrob

Problem or use case

I use T3 Code on my iPhone to direct Codex while making videos. When Codex successfully uses the view_image / “Image view” tool to inspect a frame or storyboard image, the mobile UI shows only the absolute local path from the host computer, such as /Users/.../fragment-0001.jpg.

Codex can inspect the image, but I cannot see it on my phone. That makes it difficult to confirm whether the video is going in the right direction without returning to the host computer. The regular Codex interface displays the inspected images inline.

Proposed solution

For completed image-view tool calls on mobile:

  • Show an inline thumbnail of the inspected image.
  • Let the user tap it for a larger/full-screen preview.
  • Show the filename as secondary information.
  • When several images are inspected, optionally provide simple gallery/swipe navigation.
  • Fall back to the current path-only display when a preview is unavailable.

Security considerations

The mobile client should not receive unrestricted filesystem access. The server could expose only the specific image associated with the authorized tool call through an authenticated, scoped resource endpoint.

Acceptance criteria

  • A successful Codex Image View call displays its image inline in the mobile conversation.
  • Tapping the thumbnail opens a larger preview.
  • It works when the T3 Code client is on a phone and the file is on the connected host computer.
  • Missing or unsupported files fail gracefully.
  • The preview mechanism cannot be used to browse arbitrary local paths.

Environment

Observed in the T3 Code mobile interface on iPhone while controlling Codex on a Mac.

I have screenshots showing the current path-only behavior and can add them if useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions