feat: Update /status route to match status mode JSON output

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-10 22:59:03 -03:00
parent ed8bf0f7fc
commit 7ed3291e97
2 changed files with 90 additions and 44 deletions

View File

@@ -287,31 +287,8 @@ struct StatusInfo {
meta_plugins: Vec<MetaPluginInfo>,
}
#[derive(Serialize, Deserialize)]
struct PathInfo {
data: String,
database: String,
}
#[derive(Serialize, Deserialize)]
struct CompressionInfo {
#[serde(rename = "type")]
compression_type: String,
found: bool,
default: bool,
binary: String,
compress: String,
decompress: String,
}
#[derive(Serialize, Deserialize)]
struct MetaPluginInfo {
meta_name: String,
found: bool,
enabled: bool,
binary: String,
args: String,
}
pub fn mode_status(
_cmd: &mut Command,