Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -18,17 +18,17 @@ use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
#[cfg(feature = "local_fs")]
|
||||
use std::time::Duration;
|
||||
use warp_completer::completer::{
|
||||
use galaxy_completer::completer::{
|
||||
self, expand_command_aliases, AliasExpansionResult, CompleterOptions,
|
||||
CompletionsFallbackStrategy, MatchStrategy,
|
||||
};
|
||||
use warp_completer::meta::Spanned;
|
||||
use warp_completer::parsers::hir::{Command, Expression, FlagType};
|
||||
use warp_completer::parsers::ParsedExpression;
|
||||
use warp_core::features::FeatureFlag;
|
||||
use galaxy_completer::meta::Spanned;
|
||||
use galaxy_completer::parsers::hir::{Command, Expression, FlagType};
|
||||
use galaxy_completer::parsers::ParsedExpression;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
#[cfg(feature = "local_fs")]
|
||||
use warpui::r#async::FutureExt;
|
||||
use warpui::{AppContext, Entity, ModelContext, ModelHandle, SingletonEntity};
|
||||
use galaxyui::r#async::FutureExt;
|
||||
use galaxyui::{AppContext, Entity, ModelContext, ModelHandle, SingletonEntity};
|
||||
|
||||
use super::generate_ai_input_suggestions::{
|
||||
create_generate_ai_input_suggestions_request, get_context_messages,
|
||||
@@ -39,7 +39,7 @@ cfg_if::cfg_if! {
|
||||
if #[cfg(feature = "local_fs")] {
|
||||
use diesel::SqliteConnection;
|
||||
use std::path::PathBuf;
|
||||
use warp_completer::parsers::hir::ArgType;
|
||||
use galaxy_completer::parsers::hir::ArgType;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ const NUM_ADDITIONAL_PREV_COMMAND_CONTEXT_LLM: usize = 2;
|
||||
#[cfg(feature = "local_fs")]
|
||||
const ARG_GENERATOR_VALIDATION_TIMEOUT: Duration = Duration::from_millis(150);
|
||||
|
||||
pub fn is_next_command_enabled(app: &warpui::AppContext) -> bool {
|
||||
pub fn is_next_command_enabled(app: &galaxyui::AppContext) -> bool {
|
||||
AISettings::as_ref(app).is_intelligent_autosuggestions_enabled(app)
|
||||
&& UserWorkspaces::as_ref(app).is_next_command_enabled()
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ use crate::terminal::model::session::{
|
||||
command_executor::testing::TestCommandExecutor, SessionInfo,
|
||||
};
|
||||
use typed_path::TypedPathBuf;
|
||||
use warp_completer::signatures::CommandRegistry;
|
||||
use warp_completer::{meta::SpannedItem, parsers::ParsedToken};
|
||||
use warpui::App;
|
||||
use galaxy_completer::signatures::CommandRegistry;
|
||||
use galaxy_completer::{meta::SpannedItem, parsers::ParsedToken};
|
||||
use galaxyui::App;
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use std::sync::LazyLock;
|
||||
|
||||
use warpui::{keymap::Keystroke, AppContext};
|
||||
use galaxyui::{keymap::Keystroke, AppContext};
|
||||
|
||||
use crate::{terminal::TerminalModel, util::bindings::keybinding_name_to_keystroke};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user