Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//! any component in the app (e.g., `UpdateEnvironmentForm`) to react to
|
||||
//! auth state changes without relying on window activation timing.
|
||||
|
||||
use warpui::{Entity, ModelContext, SingletonEntity};
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity};
|
||||
|
||||
/// Events emitted by the GitHub auth notifier.
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
@@ -27,8 +27,8 @@ use crate::{
|
||||
};
|
||||
use futures::channel::oneshot;
|
||||
use futures::FutureExt;
|
||||
use warp_graphql::queries::get_scheduled_agent_history::ScheduledAgentHistory;
|
||||
use warpui::{AppContext, Entity, ModelContext, SingletonEntity};
|
||||
use galaxy_graphql::queries::get_scheduled_agent_history::ScheduledAgentHistory;
|
||||
use galaxyui::{AppContext, Entity, ModelContext, SingletonEntity};
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
/// A ScheduledAmbientAgent represents configuration for ambient agents that run on a cron schedule.
|
||||
@@ -213,7 +213,7 @@ impl ScheduledAgentManager {
|
||||
&self,
|
||||
schedule_id: SyncId,
|
||||
app: &AppContext,
|
||||
) -> impl warpui::r#async::Spawnable<Output = anyhow::Result<Option<ScheduledAgentHistory>>>
|
||||
) -> impl galaxyui::r#async::Spawnable<Output = anyhow::Result<Option<ScheduledAgentHistory>>>
|
||||
{
|
||||
let ai_client = ServerApiProvider::as_ref(app).get_ai_client();
|
||||
|
||||
|
||||
@@ -117,12 +117,12 @@ pub fn spawn_task(
|
||||
// We use a timeout to ensure we don't wait indefinitely for session info.
|
||||
// If no timeout is provided, we use a future that never completes.
|
||||
let mut timeout_timer = match timeout {
|
||||
Some(d) => warpui::r#async::Timer::after(d),
|
||||
None => warpui::r#async::Timer::never(),
|
||||
Some(d) => galaxyui::r#async::Timer::after(d),
|
||||
None => galaxyui::r#async::Timer::never(),
|
||||
}.fuse();
|
||||
let mut last_state = None;
|
||||
loop {
|
||||
let mut poll_timer = warpui::r#async::Timer::after(TASK_STATUS_POLL_INTERVAL).fuse();
|
||||
let mut poll_timer = galaxyui::r#async::Timer::after(TASK_STATUS_POLL_INTERVAL).fuse();
|
||||
|
||||
select! {
|
||||
_ = timeout_timer => {
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
use anyhow::anyhow;
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
use warp_cli::agent::Harness;
|
||||
use warp_core::report_error;
|
||||
use warp_core::ui::theme::WarpTheme;
|
||||
use warpui::color::ColorU;
|
||||
use galaxy_cli::agent::Harness;
|
||||
use galaxy_core::report_error;
|
||||
use galaxy_core::ui::theme::WarpTheme;
|
||||
use galaxyui::color::ColorU;
|
||||
|
||||
use crate::ai::artifacts::{deserialize_artifacts, Artifact};
|
||||
use crate::server::server_api::ServerApiProvider;
|
||||
use crate::ui_components::icons::Icon;
|
||||
use crate::view_components::DismissibleToast;
|
||||
use crate::workspace::ToastStack;
|
||||
use warpui::{SingletonEntity, View, ViewContext};
|
||||
use galaxyui::{SingletonEntity, View, ViewContext};
|
||||
|
||||
use super::AmbientAgentTaskId;
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ use crate::server::ids::ServerId;
|
||||
use serde::Serialize;
|
||||
use serde_json::{json, Value};
|
||||
use strum_macros::{EnumDiscriminants, EnumIter};
|
||||
use warp_core::features::FeatureFlag;
|
||||
use warp_core::telemetry::{EnablementState, TelemetryEvent, TelemetryEventDesc};
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_core::telemetry::{EnablementState, TelemetryEvent, TelemetryEventDesc};
|
||||
|
||||
/// The entry point through which Cloud Mode was entered.
|
||||
#[derive(Clone, Copy, Debug, Serialize)]
|
||||
@@ -124,7 +124,7 @@ impl TelemetryEvent for CloudAgentTelemetryEvent {
|
||||
}
|
||||
|
||||
fn event_descs() -> impl Iterator<Item = Box<dyn TelemetryEventDesc>> {
|
||||
warp_core::telemetry::enum_events::<Self>()
|
||||
galaxy_core::telemetry::enum_events::<Self>()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,4 +178,4 @@ impl TelemetryEventDesc for CloudAgentTelemetryEventDiscriminants {
|
||||
}
|
||||
}
|
||||
|
||||
warp_core::register_telemetry_event!(CloudAgentTelemetryEvent);
|
||||
galaxy_core::register_telemetry_event!(CloudAgentTelemetryEvent);
|
||||
|
||||
Reference in New Issue
Block a user