Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
//! Supporting types for persisting cloud objects to SQLite.
|
||||
|
||||
pub use warp_server_client::persistence::{decode_guests, decode_link_sharing};
|
||||
pub use galaxy_server_client::persistence::{decode_guests, decode_link_sharing};
|
||||
|
||||
#[cfg(test)]
|
||||
pub use warp_server_client::persistence::encode_guests;
|
||||
pub use galaxy_server_client::persistence::encode_guests;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "cloud_object_tests.rs"]
|
||||
|
||||
@@ -29,10 +29,10 @@ use ai::project_context::model::ProjectRulePath;
|
||||
use chrono::{DateTime, Local, Utc};
|
||||
use lsp::supported_servers::LSPServerType;
|
||||
use uuid::Uuid;
|
||||
use warp_core::command::ExitCode;
|
||||
use warp_graphql::scalars::time::ServerTimestamp;
|
||||
use galaxy_core::command::ExitCode;
|
||||
use galaxy_graphql::scalars::time::ServerTimestamp;
|
||||
use warp_multi_agent_api as api;
|
||||
use warpui::{AppContext, Entity, SingletonEntity};
|
||||
use galaxyui::{AppContext, Entity, SingletonEntity};
|
||||
|
||||
use crate::ai::blocklist::PersistedAIInput;
|
||||
use crate::ai::mcp::TemplatableMCPServerInstallation;
|
||||
|
||||
@@ -30,9 +30,9 @@ use num_traits::FromPrimitive;
|
||||
use pathfinder_geometry::{rect::RectF, vector::Vector2F};
|
||||
use persistence::model::AMBIENT_AGENT_PANE_KIND;
|
||||
use uuid::Uuid;
|
||||
use warp_graphql::scalars::time::ServerTimestamp;
|
||||
use warpui::platform::FullscreenState;
|
||||
use warpui::{AppContext, SingletonEntity};
|
||||
use galaxy_graphql::scalars::time::ServerTimestamp;
|
||||
use galaxyui::platform::FullscreenState;
|
||||
use galaxyui::{AppContext, SingletonEntity};
|
||||
|
||||
use super::agent::{delete_agent_conversations, upsert_agent_conversation};
|
||||
use super::block_list::{
|
||||
@@ -139,7 +139,7 @@ diesel::define_sql_function! {
|
||||
const CHANNEL_SIZE: usize = 1024;
|
||||
const COMMANDS_COUNT_LIMIT: i64 = 10000;
|
||||
|
||||
use warp_server_client::persistence::{upsert_cloud_object, CloudObjectId};
|
||||
use galaxy_server_client::persistence::{upsert_cloud_object, CloudObjectId};
|
||||
|
||||
const WARP_SQLITE_FILE_NAME: &str = "warp.sqlite";
|
||||
|
||||
@@ -349,7 +349,7 @@ pub(super) fn init_db() -> Result<SqliteConnection> {
|
||||
}
|
||||
|
||||
// Migrate old SQLite files into the secure application container.
|
||||
let old_db_path = warp_core::paths::state_dir().join(WARP_SQLITE_FILE_NAME);
|
||||
let old_db_path = galaxy_core::paths::state_dir().join(WARP_SQLITE_FILE_NAME);
|
||||
if old_db_path != db_path && old_db_path.exists() && !db_path.exists() {
|
||||
match std::fs::rename(&old_db_path, &db_path) {
|
||||
Ok(_) => {
|
||||
@@ -414,8 +414,8 @@ fn setup_database(database_path: &Path) -> Result<SqliteConnection> {
|
||||
/// Integration tests that initialize the database with known data should use
|
||||
/// this function to determine where to create the database file.
|
||||
pub fn database_file_path() -> PathBuf {
|
||||
warp_core::paths::secure_state_dir()
|
||||
.unwrap_or_else(warp_core::paths::state_dir)
|
||||
galaxy_core::paths::secure_state_dir()
|
||||
.unwrap_or_else(galaxy_core::paths::state_dir)
|
||||
.join(WARP_SQLITE_FILE_NAME)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
|
||||
use warp_core::features::FeatureFlag;
|
||||
use warp_graphql::scalars::time::ServerTimestamp;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_graphql::scalars::time::ServerTimestamp;
|
||||
|
||||
use crate::{
|
||||
app_state::{
|
||||
|
||||
Reference in New Issue
Block a user