wip: request (and store) debug data in the connection (#6698)

Add in new Debug stubs to the connection
This commit is contained in:
Paul Tagliamonte
2025-05-07 12:10:40 -04:00
committed by GitHub
parent f8a33a63ac
commit 2b3dfaf023
5 changed files with 67 additions and 1 deletions

View File

@ -4,7 +4,7 @@ use std::{collections::HashMap, sync::Arc};
use anyhow::Result;
use indexmap::IndexMap;
use kcmc::websocket::{WebSocketRequest, WebSocketResponse};
use kcmc::websocket::{OkWebSocketResponseData, WebSocketRequest, WebSocketResponse};
use kittycad_modeling_cmds as kcmc;
use tokio::sync::RwLock;
use uuid::Uuid;
@ -313,6 +313,14 @@ impl crate::engine::EngineManager for EngineConnection {
Ok(())
}
async fn fetch_debug(&self) -> Result<(), KclError> {
unimplemented!();
}
async fn get_debug(&self) -> Option<OkWebSocketResponseData> {
None
}
async fn inner_fire_modeling_cmd(
&self,
id: uuid::Uuid,