mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-30 04:40:18 +08:00
feat: ClawPanel v0.1.0 项目骨架
- Tauri v2 + Vanilla JS + Vite 技术栈 - 9 个页面: 仪表盘/服务管理/日志/模型配置/Agent配置/Gateway/MCP工具/记忆文件/部署 - Rust 后端: 配置读写/服务管理(launchd)/日志读取/记忆文件管理 - 暗色主题 + 玻璃拟态 UI - Mock 数据支持纯浏览器开发调试
This commit is contained in:
1
src-tauri/src/models/mod.rs
Normal file
1
src-tauri/src/models/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod types;
|
||||
16
src-tauri/src/models/types.rs
Normal file
16
src-tauri/src/models/types.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct ServiceStatus {
|
||||
pub label: String,
|
||||
pub pid: Option<u32>,
|
||||
pub running: bool,
|
||||
pub description: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct VersionInfo {
|
||||
pub current: Option<String>,
|
||||
pub latest: Option<String>,
|
||||
pub update_available: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user