feat: expand Galaxy agent and remote tooling

Add Wormhole remote helpers, provider and agent improvements, filesystem diagnostics, model metadata support, and schema-aware settings IntelliSense.
This commit is contained in:
2026-08-23 13:55:47 -05:00
parent f17642fc62
commit 7c106eecd5
147 changed files with 2208 additions and 1514 deletions
+25 -4
View File
@@ -170,7 +170,8 @@ impl LspService {
let response = self.send_request::<request::Initialize>(params).await?;
self.server_capabilities = Some(response.capabilities);
self.send_notification::<notification::Initialized>(InitializedParams {})?;
self.send_notification_and_wait::<notification::Initialized>(InitializedParams {})
.await?;
self.subscribe::<notification::Progress>().await;
self.subscribe::<notification::PublishDiagnostics>().await;
@@ -297,6 +298,23 @@ impl LspService {
.send_notification(N::METHOD.to_string(), params)
}
async fn send_notification_and_wait<N: Notification>(&self, params: N::Params) -> Result<()> {
let params = serde_json::to_value(params)?;
self.jsonrpc_service
.send_notification_and_wait(N::METHOD.to_string(), params)
.await
}
pub(crate) async fn send_custom_notification_and_wait(
&self,
method: impl Into<String>,
params: Value,
) -> Result<()> {
self.jsonrpc_service
.send_notification_and_wait(method.into(), params)
.await
}
async fn send_request<R: Request>(&self, params: R::Params) -> Result<R::Result> {
let params = serde_json::to_value(params)?;
let request = self.send_request_internal(R::METHOD.to_string(), params);
@@ -538,7 +556,8 @@ impl<'a> TextDocumentService<'a> {
};
self.service
.send_notification::<notification::DidOpenTextDocument>(did_open_params)
.send_notification_and_wait::<notification::DidOpenTextDocument>(did_open_params)
.await
}
pub async fn did_close(&self, path: &Path) -> Result<()> {
@@ -560,7 +579,8 @@ impl<'a> TextDocumentService<'a> {
};
self.service
.send_notification::<notification::DidCloseTextDocument>(did_close_params)
.send_notification_and_wait::<notification::DidCloseTextDocument>(did_close_params)
.await
}
pub async fn did_change(
@@ -592,7 +612,8 @@ impl<'a> TextDocumentService<'a> {
};
self.service
.send_notification::<notification::DidChangeTextDocument>(did_change_params)
.send_notification_and_wait::<notification::DidChangeTextDocument>(did_change_params)
.await
}
pub async fn definition(