Wrapping up bedrock implementation
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
//! This calls out to the `CallJsFunctionService` IPC service, which is served by the plugin host
|
||||
//! process where JS plugins are loaded and executed.
|
||||
use async_trait::async_trait;
|
||||
use ipc::ServiceCaller;
|
||||
use std::sync::Arc;
|
||||
use galaxy_completer::completer::{JsExecutionContext, JsExecutionError};
|
||||
use galaxy_js::{JsFunctionId, SerializedJsValue};
|
||||
use ipc::ServiceCaller;
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::plugin::service::{
|
||||
CallJsFunctionRequest, CallJsFunctionResponse, CallJsFunctionService,
|
||||
|
||||
@@ -8,9 +8,6 @@ use std::sync::Arc;
|
||||
|
||||
use anyhow::Result;
|
||||
use async_trait::async_trait;
|
||||
use lazy_static::lazy_static;
|
||||
use smol_str::SmolStr;
|
||||
use typed_path::{TypedPath, TypedPathBuf};
|
||||
use galaxy_completer::completer::{
|
||||
CommandExitStatus, CommandOutput, CompletionContext, EngineDirEntry, EngineFileType,
|
||||
GeneratorContext, PathCompletionContext, PathSeparators, TopLevelCommandCaseSensitivity,
|
||||
@@ -19,6 +16,9 @@ use galaxy_completer::signatures::CommandRegistry;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_util::path::{EscapeChar, ShellFamily};
|
||||
use galaxyui::{AppContext, SingletonEntity};
|
||||
use lazy_static::lazy_static;
|
||||
use smol_str::SmolStr;
|
||||
use typed_path::{TypedPath, TypedPathBuf};
|
||||
|
||||
use crate::safe_warn;
|
||||
use crate::terminal::model::session::{ExecuteCommandOptions, Session, SessionType};
|
||||
|
||||
@@ -2,14 +2,14 @@ use std::collections::{HashMap, HashSet};
|
||||
use std::iter::FromIterator;
|
||||
use std::sync::Arc;
|
||||
|
||||
use itertools::Itertools;
|
||||
use typed_path::TypedPathBuf;
|
||||
#[cfg(windows)]
|
||||
use typed_path::{UnixComponent, WindowsComponent, WindowsPrefix};
|
||||
use galaxy_completer::completer::PathCompletionContext;
|
||||
use galaxy_completer::completer::{CompletionContext, EngineDirEntry};
|
||||
use galaxy_completer::signatures::CommandRegistry;
|
||||
use galaxyui::App;
|
||||
use itertools::Itertools;
|
||||
use typed_path::TypedPathBuf;
|
||||
#[cfg(windows)]
|
||||
use typed_path::{UnixComponent, WindowsComponent, WindowsPrefix};
|
||||
|
||||
use crate::completer::SessionContext;
|
||||
use crate::terminal::model::session::Session;
|
||||
|
||||
Reference in New Issue
Block a user