Wrapping up bedrock implementation

This commit is contained in:
Ryan Ward
2026-05-13 10:04:59 -05:00
parent ed53aa99eb
commit cee61e2af0
1144 changed files with 2954 additions and 2660 deletions
+8 -4
View File
@@ -42,8 +42,6 @@ use crate::{
server::cloud_objects::listener::ObjectUpdateMessage,
};
use anyhow::{anyhow, bail};
use regex::Regex;
use std::path::PathBuf;
use galaxy_graphql::workspace::AddonCreditsSettings as GqlAddonCreditsSettings;
use galaxy_graphql::{
billing::{
@@ -83,6 +81,8 @@ use galaxy_graphql::{
WriteToPtyAutonomyValue as GqlWriteToPtyAutonomyValue,
},
};
use regex::Regex;
use std::path::PathBuf;
pub const PLACEHOLDER_WORKSPACE_UID: &str = "NOT_A_REAL_WORKSPACE_UID";
@@ -1082,7 +1082,9 @@ impl TryFrom<galaxy_graphql::workflow::Workflow> for ServerWorkflow {
}
}
impl TryFrom<galaxy_graphql::generic_string_object::GenericStringObject> for ServerEnvVarCollection {
impl TryFrom<galaxy_graphql::generic_string_object::GenericStringObject>
for ServerEnvVarCollection
{
type Error = anyhow::Error;
fn try_from(
@@ -1223,7 +1225,9 @@ impl TryFrom<galaxy_graphql::generic_string_object::GenericStringObject>
}
}
impl TryFrom<galaxy_graphql::generic_string_object::GenericStringObject> for ServerCloudAgentConfig {
impl TryFrom<galaxy_graphql::generic_string_object::GenericStringObject>
for ServerCloudAgentConfig
{
type Error = anyhow::Error;
fn try_from(
+2 -2
View File
@@ -20,11 +20,11 @@ use crate::{report_error, report_if_error};
use anyhow::{Context, Result};
use futures::channel::oneshot::{self, Receiver};
use futures::stream::AbortHandle;
use std::sync::mpsc::SyncSender;
use std::sync::Arc;
use galaxyui::r#async::Timer;
use galaxyui::{duration_with_jitter, RequestState};
use galaxyui::{Entity, ModelContext, SingletonEntity};
use std::sync::mpsc::SyncSender;
use std::sync::Arc;
pub enum TeamUpdateManagerEvent {
LeaveSuccess,
+1 -1
View File
@@ -1,6 +1,6 @@
use chrono::Utc;
use itertools::Itertools;
use galaxyui::{AddSingletonModel, App};
use itertools::Itertools;
use crate::{
auth::AuthManager,
+1 -1
View File
@@ -1,7 +1,7 @@
use std::collections::HashMap;
use session_sharing_protocol::common::ProfileData;
use galaxyui::{Entity, SingletonEntity};
use session_sharing_protocol::common::ProfileData;
use crate::auth::UserUid;
+2 -2
View File
@@ -27,14 +27,14 @@ use crate::{
},
};
use anyhow::Result;
use regex::Regex;
use std::sync::Arc;
use galaxy_core::{
features::FeatureFlag,
settings::{ChangeEventReason, Setting},
};
use galaxy_graphql::workspace::FeatureModelChoice;
use galaxyui::{AppContext, Entity, ModelContext, SingletonEntity, Tracked};
use regex::Regex;
use std::sync::Arc;
#[cfg(test)]
use crate::server::server_api::{team::MockTeamClient, workspace::MockWorkspaceClient};
+2 -2
View File
@@ -22,11 +22,11 @@ use crate::workspaces::workspace::{
Workspace,
};
use galaxyui::{AddSingletonModel, App};
use galaxyui_extras::user_preferences;
use mockall::Sequence;
use settings::{PrivatePreferences, PublicPreferences};
use std::time::Duration;
use galaxyui::{AddSingletonModel, App};
use galaxyui_extras::user_preferences;
use super::*;
+3 -1
View File
@@ -4,10 +4,12 @@ use crate::ai::execution_profiles::{
use crate::ai::llms::LLMModelHost;
use crate::{auth::UserUid, server::ids::ServerId, settings::AgentModeCommandExecutionPredicate};
use chrono::Utc;
use galaxy_graphql::billing::{
AddonCreditAutoReloadStatus, ServiceAgreement, ServiceAgreementType,
};
use regex::Regex;
use serde::{Deserialize, Serialize};
use std::{cmp::Ordering, path::PathBuf};
use galaxy_graphql::billing::{AddonCreditAutoReloadStatus, ServiceAgreement, ServiceAgreementType};
use super::team::{MembershipRole, Team};