Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -9,8 +9,8 @@ use repo_metadata::RepositoryUpdate;
|
||||
#[cfg(any(not(target_family = "wasm"), test))]
|
||||
use repo_metadata::TargetFile;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use warpui::ModelHandle;
|
||||
use warpui::{Entity, ModelContext, SingletonEntity};
|
||||
use galaxyui::ModelHandle;
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity};
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use watcher::{BulkFilesystemWatcher, BulkFilesystemWatcherEvent};
|
||||
|
||||
@@ -19,7 +19,7 @@ use watcher::{BulkFilesystemWatcher, BulkFilesystemWatcherEvent};
|
||||
const WARP_MANAGED_PATHS_WATCHER_DEBOUNCE_MILLI_SECS: u64 = 500;
|
||||
|
||||
pub(crate) fn warp_data_dir() -> PathBuf {
|
||||
warp_core::paths::data_dir()
|
||||
galaxy_core::paths::data_dir()
|
||||
}
|
||||
|
||||
#[cfg(target_family = "wasm")]
|
||||
@@ -35,7 +35,7 @@ pub(crate) fn ensure_warp_watch_roots_exist() {
|
||||
);
|
||||
}
|
||||
|
||||
let config_local_dir = warp_core::paths::config_local_dir();
|
||||
let config_local_dir = galaxy_core::paths::config_local_dir();
|
||||
if config_local_dir != data_dir {
|
||||
if let Err(err) = fs::create_dir_all(&config_local_dir) {
|
||||
log::warn!(
|
||||
@@ -48,16 +48,16 @@ pub(crate) fn ensure_warp_watch_roots_exist() {
|
||||
|
||||
#[cfg_attr(target_family = "wasm", allow(dead_code))]
|
||||
pub(crate) fn warp_home_config_dir() -> Option<PathBuf> {
|
||||
warp_core::paths::warp_home_config_dir()
|
||||
galaxy_core::paths::warp_home_config_dir()
|
||||
}
|
||||
|
||||
pub(crate) fn warp_home_skills_dir() -> Option<PathBuf> {
|
||||
warp_core::paths::warp_home_skills_dir()
|
||||
galaxy_core::paths::warp_home_skills_dir()
|
||||
}
|
||||
|
||||
#[cfg_attr(target_family = "wasm", allow(dead_code))]
|
||||
pub(crate) fn warp_home_mcp_config_file_path() -> Option<PathBuf> {
|
||||
warp_core::paths::warp_home_mcp_config_file_path()
|
||||
galaxy_core::paths::warp_home_mcp_config_file_path()
|
||||
}
|
||||
|
||||
#[cfg_attr(target_family = "wasm", allow(dead_code))]
|
||||
@@ -241,7 +241,7 @@ impl WarpManagedPathsWatcher {
|
||||
|
||||
if should_register_watcher {
|
||||
let data_dir = warp_data_dir();
|
||||
let config_local_dir = warp_core::paths::config_local_dir();
|
||||
let config_local_dir = galaxy_core::paths::config_local_dir();
|
||||
let should_register_config_local_dir = config_local_dir != data_dir;
|
||||
let worktrees_dir = data_dir.join("worktrees");
|
||||
Self::register_path(
|
||||
|
||||
Reference in New Issue
Block a user