{"record":{"id":"3561e73f3c0e7b12","repo":"BigPizzaV3/CodexPlusPlus","slug":"dream-skin-3561e7","errorCode":null,"errorMessage":"主题包需要更新版本的 Dream Skin 协议：{}","messagePattern":"主题包需要更新版本的 Dream Skin 协议：(.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/codex-plus-core/src/dream_skin_package.rs","lineNumber":921,"sourceCode":"        _ => IMAGE_LIMIT,\n    }\n}\n\nfn validate_manifest(manifest: &DreamSkinPackageManifest, platform: &str) -> anyhow::Result<()> {\n    if manifest.package_version != 1 || manifest.skin_api_version != 1 {\n        bail!(\"不支持的 Dream Skin 主题协议版本\");\n    }\n    if manifest.theme_id.chars().count() < 3\n        || manifest.theme_id.chars().count() > 64\n        || !valid_theme_id(&manifest.theme_id)\n    {\n        bail!(\"manifest.themeId 无效\");\n    }\n    if !valid_semver(&manifest.version) || !valid_semver(&manifest.min_client_version) {\n        bail!(\"manifest 版本号无效\");\n    }\n    if compare_semver(&manifest.min_client_version, \"1.5.12\").is_gt() {\n        bail!(\n            \"主题包需要更新版本的 Dream Skin 协议：{}\",\n            manifest.min_client_version\n        );\n    }\n    if manifest.platforms.is_empty()\n        || manifest.platforms.len() > 2\n        || has_duplicates(&manifest.platforms)\n        || manifest\n            .platforms\n            .iter()\n            .any(|item| !matches!(item.as_str(), \"macos\" | \"windows\"))\n    {\n        bail!(\"manifest.platforms 无效\");\n    }\n    if !manifest.platforms.iter().any(|item| item == platform) {\n        bail!(\"主题包不支持当前平台：{platform}\");\n    }\n    if manifest.capabilities.is_empty()","sourceCodeStart":903,"sourceCodeEnd":939,"githubUrl":"https://github.com/BigPizzaV3/CodexPlusPlus/blob/f2074595a281bc057525c748175c8eb9805b0673/crates/codex-plus-core/src/dream_skin_package.rs#L903-L939","documentation":"Thrown by validate_manifest when the package's declared min_client_version compares greater than 1.5.12 — the newest Dream Skin protocol this build implements. It is a forward-compatibility guard: the package demands capabilities this client cannot guarantee, so install is refused; the offending input is manifest.min_client_version.","triggerScenarios":"Thrown at crates/codex-plus-core/src/dream_skin_package.rs:921 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["升级 Codex++ 到主题要求的最低客户端版本","把 min_client_version 降到 1.5.12 或以下（仅当主题确实不依赖新特性）"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f2074595a281bc057525c748175c8eb9805b0673","analyzedAt":"2026-08-23T12:52:24.489Z","contentChangedAt":"2026-08-23T12:52:24.489Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}