Fix macOS icon padding, Quit/Hide menu labels, OSS config dir, Bedrock tool_result pairing

- Icon now follows Apple HIG: artwork at 80% canvas with transparent padding
- Quit Warp -> Quit Galaxy, Hide Warp -> Hide Galaxy in macOS menus
- OSS channel uses ~/.galaxy (no -oss suffix)
- Robust ensure_tool_results_paired: positional adjacency validation for Bedrock API
This commit is contained in:
Ryan Ward
2026-05-13 09:13:03 -05:00
parent 11152f2f40
commit e1c33317d3
6 changed files with 179 additions and 63 deletions
+2 -4
View File
@@ -42,8 +42,7 @@ fn base_warp_config_dir_name() -> String {
match ChannelState::channel() {
// Preview shares the same directory as Stable for backward
// compatibility — existing users already have config in `.warp`.
Channel::Stable | Channel::Preview => WARP_CONFIG_DIR.to_owned(),
Channel::Oss => format!("{WARP_CONFIG_DIR}-oss"),
Channel::Stable | Channel::Preview | Channel::Oss => WARP_CONFIG_DIR.to_owned(),
Channel::Dev => format!("{WARP_CONFIG_DIR}-dev"),
Channel::Integration => format!("{WARP_CONFIG_DIR}-integration"),
Channel::Local => format!("{WARP_CONFIG_DIR}-local"),
@@ -217,9 +216,8 @@ pub fn warp_home_mcp_config_file_path() -> Option<PathBuf> {
#[cfg(target_os = "macos")]
fn macos_config_dir_name() -> String {
match ChannelState::channel() {
Channel::Stable => WARP_CONFIG_DIR.to_owned(),
Channel::Stable | Channel::Oss => WARP_CONFIG_DIR.to_owned(),
Channel::Preview => format!("{WARP_CONFIG_DIR}-preview"),
Channel::Oss => format!("{WARP_CONFIG_DIR}-oss"),
Channel::Dev => format!("{WARP_CONFIG_DIR}-dev"),
Channel::Integration => format!("{WARP_CONFIG_DIR}-integration"),
Channel::Local => format!("{WARP_CONFIG_DIR}-local"),
+2 -2
View File
@@ -190,8 +190,8 @@ fn resolve_standard_action(action: StandardAction) -> StandardMenuItemProperties
match action {
StandardAction::Close => make("Close Window", "performClose:", none, ""),
StandardAction::Quit => make("Quit Warp", "terminate:", cmd, "q"),
StandardAction::Hide => make("Hide Warp", "hide:", cmd, "h"),
StandardAction::Quit => make("Quit Galaxy", "terminate:", cmd, "q"),
StandardAction::Hide => make("Hide Galaxy", "hide:", cmd, "h"),
StandardAction::HideOtherApps => {
make("Hide Others", "hideOtherApplications:", cmd | option, "h")
}