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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user