Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though

This commit is contained in:
Ryan Ward
2026-05-07 11:29:34 -05:00
parent f4e2475c60
commit a41cbd8cc7
2433 changed files with 14208 additions and 9409 deletions
+4 -4
View File
@@ -5,8 +5,8 @@ use super::plugin::PluginHandle;
cfg_if::cfg_if! {
if #[cfg(feature = "completions_v2")] {
use rquickjs::{prelude::MutFn, Value};
use warp_completer::signatures::CommandSignature;
use warp_js::FromWarpJs;
use galaxy_completer::signatures::CommandSignature;
use galaxy_js::FromWarpJs;
}
}
@@ -59,7 +59,7 @@ fn completions<'js>(plugin: PluginHandle, ctx: Ctx<'js>) -> rquickjs::Result<Obj
MutFn::from(move |val: Value<'js>| {
if val.is_array() {
let mut plugin = plugin.get_mut();
match Vec::<CommandSignature>::from_warp_js(
match Vec::<CommandSignature>::from_galaxy_js(
ctx,
val,
plugin.js_function_registry_mut(),
@@ -71,7 +71,7 @@ fn completions<'js>(plugin: PluginHandle, ctx: Ctx<'js>) -> rquickjs::Result<Obj
}
} else if val.is_object() {
let mut plugin = plugin.get_mut();
match CommandSignature::from_warp_js(
match CommandSignature::from_galaxy_js(
ctx,
val,
plugin.js_function_registry_mut(),
+1 -1
View File
@@ -1,6 +1,6 @@
use std::sync::Arc;
use warpui::r#async::{block_on, executor::Background};
use galaxyui::r#async::{block_on, executor::Background};
use crate::plugin::service::{LogService, LogServiceRequest};
+2 -2
View File
@@ -14,7 +14,7 @@ use std::{
};
use anyhow::{anyhow, Context, Result};
use warpui::r#async::executor::Background;
use galaxyui::r#async::executor::Background;
use crate::plugin::host::runners::PluginRunners;
@@ -31,7 +31,7 @@ use super::{
use logging::initialize_logging;
pub fn run() -> Result<()> {
warpui::r#async::block_on(async move {
galaxyui::r#async::block_on(async move {
let executor = Arc::new(Background::default());
// Initialize a client connection to the warp app process.
+3 -3
View File
@@ -6,11 +6,11 @@ use std::{
use anyhow::anyhow;
use rquickjs::Context;
use warp_js::{JsFunctionId, JsFunctionRegistry, SerializedJsValue};
use galaxy_js::{JsFunctionId, JsFunctionRegistry, SerializedJsValue};
cfg_if::cfg_if! {
if #[cfg(feature = "completions_v2")] {
use warp_completer::signatures::CommandSignature;
use galaxy_completer::signatures::CommandSignature;
use crate::plugin::service::{
RegisterCommandSignatureRequest, RegisterCommandSignatureService,
@@ -96,7 +96,7 @@ impl Plugin {
/// Registers the given command signatures.
#[cfg(feature = "completions_v2")]
pub(super) fn register_command_signatures(&mut self, signatures: Vec<CommandSignature>) {
if let Err(e) = warpui::r#async::block_on(
if let Err(e) = galaxyui::r#async::block_on(
self.app_services
.register_command_signatures_caller
.call(RegisterCommandSignatureRequest { signatures }),
+1 -1
View File
@@ -1,7 +1,7 @@
use anyhow::{Context as AnyhowContext, Result};
use async_channel::Receiver;
use rquickjs::{Context, Function, Runtime};
use warp_js::JsFunctionId;
use galaxy_js::JsFunctionId;
use super::{
js_api,
+2 -2
View File
@@ -6,8 +6,8 @@ use std::{
use async_channel::Receiver;
use futures::channel::oneshot;
use parking_lot::Mutex;
use warp_js::JsFunctionId;
use warpui::r#async::executor::Background;
use galaxy_js::JsFunctionId;
use galaxyui::r#async::executor::Background;
use super::{
plugin::{AppServiceCallers, PluginRequest, PluginResponse},