Wrapping up bedrock implementation
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
use std::io::Write;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use typed_path::TypedPath;
|
||||
use galaxy_util::path::{convert_wsl_to_windows_host_path, WSLPathConversionError};
|
||||
use typed_path::TypedPath;
|
||||
|
||||
use crate::terminal::shell::ShellType;
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
use std::sync::mpsc::SyncSender;
|
||||
use std::sync::Arc;
|
||||
|
||||
use parking_lot::FairMutex;
|
||||
use galaxyui::{AppContext, ModelHandle, SingletonEntity};
|
||||
use parking_lot::FairMutex;
|
||||
|
||||
use crate::persistence::StartedCommandMetadata;
|
||||
use crate::terminal::{view::ExecuteCommandEvent, TerminalModel};
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
use std::{borrow::Cow, collections::VecDeque, sync::Arc};
|
||||
|
||||
use async_channel::{Receiver, Sender};
|
||||
use parking_lot::FairMutex;
|
||||
use thiserror::Error;
|
||||
use galaxyui::r#async::block_on;
|
||||
use galaxyui::{Entity, ModelContext, ModelHandle, SingletonEntity};
|
||||
use parking_lot::FairMutex;
|
||||
use thiserror::Error;
|
||||
|
||||
use crate::ai::agent::AIAgentPtyWriteMode;
|
||||
use crate::terminal::input::CommandExecutionSource;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
use crate::auth::auth_state::AuthStateProvider;
|
||||
use crate::remote_server::auth_context::server_api_auth_context;
|
||||
use galaxy_core::SessionId;
|
||||
use galaxyui::{Entity, ModelContext, ModelHandle, SingletonEntity, WeakModelHandle};
|
||||
use instant::Instant;
|
||||
use remote_server::auth::RemoteServerAuthContext;
|
||||
use settings::Setting;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
use galaxy_core::SessionId;
|
||||
use galaxyui::{Entity, ModelContext, ModelHandle, SingletonEntity, WeakModelHandle};
|
||||
|
||||
use crate::terminal::warpify::settings::SshExtensionInstallMode;
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ use crate::terminal::ModelEventDispatcher;
|
||||
use crate::terminal::{TerminalModel, TerminalView};
|
||||
|
||||
use async_channel::Receiver;
|
||||
use galaxyui::{AppContext, ModelHandle, ViewHandle};
|
||||
use parking_lot::FairMutex;
|
||||
use std::sync::mpsc::SyncSender;
|
||||
use std::sync::Arc;
|
||||
use galaxyui::{AppContext, ModelHandle, ViewHandle};
|
||||
|
||||
/// Wires up bi-directional communication between the PtyController and the TerminalView.
|
||||
/// Note that this interaction can't live in the TerminalView because the view must be manager-agnostic.
|
||||
|
||||
Reference in New Issue
Block a user