mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-07 05:42:53 +08:00
根因:openclaw.json 的 mode 属于 gateway 对象内部,不是顶层字段。 OpenClaw zod-schema 对顶层 mode 报 Unrecognized key 错误。 修复: - config.rs init_openclaw_config: mode 移入 gateway 对象 - dev-api.js init_openclaw_config: 同上 - dashboard.js 自愈: config.mode → config.gateway.mode - dashboard.js 自愈: 自动删除旧版错误的顶层 mode 字段 - setup.js 安装流程: config.mode → config.gateway.mode
39 lines
891 B
JSON
39 lines
891 B
JSON
{
|
|
"name": "clawpanel",
|
|
"version": "0.4.6",
|
|
"private": true,
|
|
"description": "ClawPanel - OpenClaw 可视化管理面板,基于 Tauri v2 的跨平台桌面应用",
|
|
"type": "module",
|
|
"author": "qingchencloud",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/qingchencloud/clawpanel",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/qingchencloud/clawpanel.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/qingchencloud/clawpanel/issues"
|
|
},
|
|
"keywords": [
|
|
"openclaw",
|
|
"ai-agent",
|
|
"tauri",
|
|
"desktop-app",
|
|
"management-panel"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.5.0",
|
|
"@tauri-apps/plugin-shell": "^2.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.5.0",
|
|
"vite": "^6.3.5"
|
|
}
|
|
}
|