feat: v0.9.0 — Usage analytics, Communication config, 晴辰云 branding, multi-agent channels, 7 bug fixes

This commit is contained in:
晴天
2026-03-14 07:09:50 +08:00
parent 8bd8b82351
commit 205d349917
28 changed files with 1163 additions and 63 deletions

View File

@@ -34,7 +34,8 @@ async fn agent_workspace(agent_id: &str) -> Result<PathBuf, String> {
let stdout = String::from_utf8_lossy(&output.stdout);
let agents: serde_json::Value =
serde_json::from_str(&stdout).map_err(|e| format!("解析 JSON 失败: {e}"))?;
crate::commands::skills::extract_json_pub(&stdout)
.ok_or_else(|| "解析 JSON 失败: 输出中未找到有效 JSON".to_string())?;
if let Some(arr) = agents.as_array() {
for a in arr {