Skip to content

Add rename-surface CLI command - #104

Merged
amirlehmam merged 1 commit into
amirlehmam:masterfrom
dhyantsoni:cli-rename-surface
Jul 18, 2026
Merged

Add rename-surface CLI command#104
amirlehmam merged 1 commit into
amirlehmam:masterfrom
dhyantsoni:cli-rename-surface

Conversation

@dhyantsoni

Copy link
Copy Markdown
Contributor

The CLI can rename workspaces (rename-workspace) but there was no equivalent for tabs. This adds a surface.rename pipe method and a rename-surface CLI command.

wmux rename-surface <surfaceId> <title>
wmux rename-surface <title>            # renames the current surface when run inside a pane

Follows the existing table-driven pipe-bridge pattern used by the other surface commands.

Adds a surface.rename pipe method and a rename-surface CLI command so
tabs can be renamed from the command line. Run inside a pane, it renames
the current surface via WMUX_SURFACE_ID.
Copilot AI review requested due to automatic review settings July 18, 2026 07:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@amirlehmam
amirlehmam merged commit 3fdad72 into amirlehmam:master Jul 18, 2026
@amirlehmam

amirlehmam commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Merged — thanks! This filled a real gap in the CLI (workspaces could be renamed but tabs couldn't), and the WMUX_SURFACE_ID fallback makes wmux rename-surface <title> work naturally from inside a pane, which is exactly how agents will use it. Follows the v2-bridge table pattern cleanly. Shipping in v0.27.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants