Complete agent monitoring and Galaxy Control integration
- expose command-monitor conversations and preserve visible agent transcripts - add bounded polling and a dedicated shell interrupt tool - improve direct-provider images, skills, tool history, and usage handling - package and brand Galaxy Control across releases, installers, persistence, and docs
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
use super::Channel;
|
||||
|
||||
#[test]
|
||||
fn local_control_channel_names_do_not_expose_legacy_branding() {
|
||||
assert_eq!(Channel::Stable.local_control_channel_name(), "stable");
|
||||
assert_eq!(Channel::Preview.local_control_channel_name(), "preview");
|
||||
assert_eq!(Channel::Dev.local_control_channel_name(), "dev");
|
||||
assert_eq!(Channel::Local.local_control_channel_name(), "local");
|
||||
assert_eq!(
|
||||
Channel::Integration.local_control_channel_name(),
|
||||
"integration"
|
||||
);
|
||||
assert_eq!(Channel::Oss.local_control_channel_name(), "oss");
|
||||
}
|
||||
@@ -18,7 +18,7 @@ pub enum Channel {
|
||||
/// The internal-only HEAD build.
|
||||
Local,
|
||||
|
||||
/// The open-source build of Warp.
|
||||
/// The open-source build of Galaxy.
|
||||
Oss,
|
||||
|
||||
/// The integration test build.
|
||||
@@ -59,15 +59,30 @@ impl Channel {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the Warp Control CLI command name corresponding to this channel.
|
||||
pub fn warpctrl_command_name(&self) -> &'static str {
|
||||
/// Returns the Galaxy Control CLI command name corresponding to this channel.
|
||||
pub fn galaxyctrl_command_name(&self) -> &'static str {
|
||||
match self {
|
||||
Channel::Stable => "warpctrl",
|
||||
Channel::Dev => "warpctrl-dev",
|
||||
Channel::Preview => "warpctrl-preview",
|
||||
Channel::Local => "warpctrl-local",
|
||||
Channel::Integration => "warpctrl-integration",
|
||||
Channel::Oss => "warpctrl-oss",
|
||||
Channel::Stable => "galaxyctrl",
|
||||
Channel::Dev => "galaxyctrl-dev",
|
||||
Channel::Preview => "galaxyctrl-preview",
|
||||
Channel::Local => "galaxyctrl-local",
|
||||
Channel::Integration => "galaxyctrl-integration",
|
||||
Channel::Oss => "galaxyctrl-oss",
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the stable channel identifier exposed through Galaxy Control.
|
||||
///
|
||||
/// This intentionally avoids the legacy `warp-oss` display value retained
|
||||
/// for compatibility with existing on-disk paths and update infrastructure.
|
||||
pub fn local_control_channel_name(&self) -> &'static str {
|
||||
match self {
|
||||
Channel::Stable => "stable",
|
||||
Channel::Preview => "preview",
|
||||
Channel::Dev => "dev",
|
||||
Channel::Local => "local",
|
||||
Channel::Integration => "integration",
|
||||
Channel::Oss => "oss",
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -84,3 +99,7 @@ impl fmt::Display for Channel {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "channel_tests.rs"]
|
||||
mod tests;
|
||||
|
||||
@@ -66,6 +66,7 @@ pub enum Icon {
|
||||
WarpDrive,
|
||||
Warp,
|
||||
WarpLogoLight,
|
||||
GalaxyLogo,
|
||||
ArrowLeft,
|
||||
ArrowBlockLeft,
|
||||
ArrowBlockUp,
|
||||
@@ -404,6 +405,7 @@ impl From<Icon> for &'static str {
|
||||
Icon::WarpDrive => "bundled/svg/warp.svg",
|
||||
Icon::Warp => "bundled/svg/warp-drive.svg",
|
||||
Icon::WarpLogoLight => "bundled/svg/warp-logo-light.svg",
|
||||
Icon::GalaxyLogo => "bundled/svg/galaxy-logo.svg",
|
||||
Icon::ArrowLeft => "bundled/svg/arrow-left.svg",
|
||||
Icon::ArrowBlockLeft => "bundled/svg/arrow-block-left.svg",
|
||||
Icon::ArrowBlockUp => "bundled/svg/arrow-block-up.svg",
|
||||
|
||||
Reference in New Issue
Block a user