You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no wsh CLI command to rename a tab programmatically. The UpdateTabNameCommand RPC exists server-side (wshserver.go) but is not exposed through wsh.
wsh setmeta -b tab name="foo" sets metadata on the tab object but does not update the displayed tab title, since the tab name is a first-class struct field (tab.Name) updated via wstore.UpdateTabName(), not metadata.
The only way to rename a tab currently is via the right-click context menu.
Proposed Solution
# Rename current tab
wsh tab rename "my-project"# Rename by tab ID
wsh tab rename --id <tab_id>"my-project"
Benefits
Automation: Scripts can label tabs based on what's running (e.g. project name, environment)
External tool integration: AI assistants, tmux-like workflows, notification scripts can set meaningful tab names
Feature description
Problem / Use Case
There is no
wshCLI command to rename a tab programmatically. TheUpdateTabNameCommandRPC exists server-side (wshserver.go) but is not exposed throughwsh.wsh setmeta -b tab name="foo"sets metadata on the tab object but does not update the displayed tab title, since the tab name is a first-class struct field (tab.Name) updated viawstore.UpdateTabName(), not metadata.The only way to rename a tab currently is via the right-click context menu.
Proposed Solution
Benefits
Additional Context
WAVETERM_TABIDenv var is already available in each terminal blockUpdateTabNameCommandinpkg/wshrpc/wshserver/wshserver.gohandles the rename logicwstore.UpdateTabNameinpkg/wstore/wstore.gopersists the changeAnything else?
No response