Skip to content
4 changes: 2 additions & 2 deletions CLI/CMUXCLI+ThemeSupport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ extension CMUXCLI {

func isRightSidebarCLIMode(_ value: String) -> Bool {
switch value.lowercased() {
case "files", "find", "vault", "sessions", "feed", "dock":
case "files", "find", "history", "sessions", "vault", "feed", "dock":
return true
default:
return false
Expand All @@ -441,7 +441,7 @@ extension CMUXCLI {

func normalizedRightSidebarCLIArgument(_ value: String) -> String {
switch value.lowercased() {
case "files", "find", "vault", "sessions", "feed", "dock":
case "files", "find", "history", "sessions", "vault", "feed", "dock":
return value.lowercased()
default:
return value
Expand Down
10 changes: 5 additions & 5 deletions CLI/cmux.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16981,10 +16981,10 @@ struct CMUXCLI {
show Show the right sidebar
hide Hide the right sidebar
focus Focus the current right sidebar mode
set <files|find|vault|sessions|feed|dock>
set <files|find|history|sessions|vault|feed|dock>
Show, switch mode, and focus
mode Print {"visible":bool,"mode":string}
files|find|vault|sessions|feed|dock
files|find|history|sessions|vault|feed|dock
Alias for show + set + focus

Flags:
Expand Down Expand Up @@ -17718,7 +17718,7 @@ struct CMUXCLI {

case "set":
guard parsed.positional.count == 2 else {
throw CLIError(message: String(localized: "cli.rightSidebar.error.setRequiresMode", defaultValue: "right-sidebar set requires a mode: files, find, vault, sessions, feed, or dock"))
throw CLIError(message: String(localized: "cli.rightSidebar.error.setRequiresMode", defaultValue: "right-sidebar set requires a mode: files, find, history, sessions, vault, feed, or dock"))
}
let mode = parsed.positional[1].trimmingCharacters(in: .whitespacesAndNewlines)
guard isRightSidebarCLIMode(mode) else {
Expand All @@ -17730,7 +17730,7 @@ struct CMUXCLI {
}
return args

case "files", "find", "vault", "sessions", "feed", "dock":
case "files", "find", "history", "sessions", "vault", "feed", "dock":
guard parsed.positional.count == 1 else {
throw CLIError(message: String(localized: "cli.rightSidebar.error.unexpectedArguments", defaultValue: "right-sidebar \(action) received unexpected arguments"))
}
Expand Down Expand Up @@ -35598,7 +35598,7 @@ export default CMUXSessionRestore;
open-notification --id <uuid>
jump-to-unread
clear-notifications [--workspace <id|ref|index>] [--window <id|ref|index>]
right-sidebar <toggle|show|hide|focus|set|mode|files|find|vault|sessions|feed|dock> [--workspace <id|ref|index>] [--window <id|ref|index>] [--no-focus]
right-sidebar <toggle|show|hide|focus|set|mode|files|find|history|sessions|vault|feed|dock> [--workspace <id|ref|index>] [--window <id|ref|index>] [--no-focus]
sidebar <validate|reload|select|open> [name]
set-status <key> <value> [--workspace <id|ref|index>] [--window <id|ref|index>] [--icon <name>] [--color <#hex>] [--priority <n>]
clear-status <key> [--workspace <id|ref|index>] [--window <id|ref|index>]
Expand Down
Loading