Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docs-deploy-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
# Vercel reloads config from the linked project's web root.
cp web/vercel.docs-channel.json web/vercel.json
bunx vercel@56.3.1 deploy --prod --yes \
--archive=tgz \
--build-env "CMUX_DOCS_CHANNEL=$DOCS_CHANNEL" \
--env "CMUX_DOCS_CHANNEL=$DOCS_CHANNEL"
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
public enum CommandPaletteRequestKind: String, Sendable, CaseIterable {
/// Opens the command list palette.
case commands
/// Opens the agent inbox quick view.
case agentInbox
/// Opens the workspace switcher palette.
case switcher
/// Opens the rename-tab prompt.
Expand All @@ -30,6 +32,8 @@ public enum CommandPaletteRequestKind: String, Sendable, CaseIterable {
switch self {
case .commands:
return "cmux.commandPaletteRequested"
case .agentInbox:
return "cmux.agentInboxRequested"
case .switcher:
return "cmux.commandPaletteSwitcherRequested"
case .renameTab:
Expand All @@ -50,7 +54,7 @@ public enum CommandPaletteRequestKind: String, Sendable, CaseIterable {
/// change rather than a call-site edit.
public var marksPending: Bool {
switch self {
case .commands, .switcher, .renameTab, .renameWorkspace, .editWorkspaceDescription, .rename:
case .commands, .agentInbox, .switcher, .renameTab, .renameWorkspace, .editWorkspaceDescription, .rename:
return true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Testing
@Suite struct CommandPaletteRequestKindTests {
@Test func notificationNamesMatchLegacyLiterals() {
#expect(CommandPaletteRequestKind.commands.notificationName == "cmux.commandPaletteRequested")
#expect(CommandPaletteRequestKind.agentInbox.notificationName == "cmux.agentInboxRequested")
#expect(CommandPaletteRequestKind.switcher.notificationName == "cmux.commandPaletteSwitcherRequested")
#expect(CommandPaletteRequestKind.renameTab.notificationName == "cmux.commandPaletteRenameTabRequested")
#expect(CommandPaletteRequestKind.renameWorkspace.notificationName == "cmux.commandPaletteRenameWorkspaceRequested")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2107,6 +2107,7 @@ enum CmuxEmbeddedConfigSchema {
"reopenPreviousSession",
"goToWorkspace",
"commandPalette",
"agentInbox",
"commandPaletteNext",
"commandPalettePrevious",
"sendFeedback",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ extension ShortcutAction {
case .reopenPreviousSession: return ShortcutStroke(key: "o", command: true, shift: true)
case .goToWorkspace: return ShortcutStroke(key: "p", command: true)
case .commandPalette: return ShortcutStroke(key: "p", command: true, shift: true)
case .agentInbox: return ShortcutStroke(key: "i", command: true, shift: true)
case .commandPaletteNext: return ShortcutStroke(key: "n", control: true)
case .commandPalettePrevious: return ShortcutStroke(key: "p", control: true)
case .sendFeedback: return nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ extension ShortcutAction {
case .openFolder: return "Open Folder"
case .reopenPreviousSession: return "Restore Previous App Launch"
case .goToWorkspace: return "Go to Workspace…"
case .commandPalette: return "Command Palette…"
case .commandPalette: return String(localized: "menu.file.commandPalette", defaultValue: "Command Palette…")
case .agentInbox: return String(localized: "shortcut.agentInbox.label", defaultValue: "Show Agent Inbox")
Comment thread
teamleaderleo marked this conversation as resolved.
Resolved
case .commandPaletteNext: return "Command Palette: Next"
case .commandPalettePrevious: return "Command Palette: Previous"
case .sendFeedback: return "Send Feedback"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extension ShortcutAction {
.newWindow, .closeWindow, .toggleFullScreen, .quit:
return .app
case .toggleSidebar, .newTab, .newBrowserWorkspace, .newCloudWorkspace, .newCloudMachine, .saveLayoutTemplate, .openFolder, .reopenPreviousSession, .goToWorkspace,
.commandPalette, .commandPaletteNext, .commandPalettePrevious, .sendFeedback,
.commandPalette, .agentInbox, .commandPaletteNext, .commandPalettePrevious, .sendFeedback,
.showNotifications, .jumpToUnread, .toggleUnread, .markOldestUnreadAndJumpNext,
.markAllNotificationsRead, .clearAllNotifications,
.focusRightSidebar, .switchRightSidebarToFiles, .switchRightSidebarToFind,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public enum ShortcutAction: String, CaseIterable, Sendable, Hashable, SettingCod
case reopenPreviousSession
case goToWorkspace
case commandPalette
case agentInbox
case commandPaletteNext
case commandPalettePrevious
case sendFeedback
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public enum ShortcutKeymapPreset: String, CaseIterable, Sendable {
return [
.closeOtherTabsInPane: .stroke("cmd+opt+w"),
.renameTab: .stroke("cmd+shift+i"),
.agentInbox: .unbound,
Comment thread
teamleaderleo marked this conversation as resolved.
Resolved
]
case .tmux:
let prefix = "ctrl+b"
Expand Down
Loading
Loading