Wave 3.1:老板十项返工(kimi 换代 kimi-code/授权检测/可更新判定/模型列表+测试连通/系统环境诊断/外链/命令复制/官方图标主色)

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-08-25 22:52:33 +08:00
co-authored by multica-agent
parent 0cec468ae6
commit b19efef0f3
30 changed files with 1594 additions and 124 deletions
+48 -1
View File
@@ -82,6 +82,7 @@
"properties": {
"homepage": { "type": "string", "format": "uri" },
"docs": { "type": "string", "format": "uri" },
"icon": { "type": "string", "format": "uri", "description": "官方图标地址(识别/许可说明与本地打包来源,不热链)" },
"allowed_hosts": {
"type": "array",
"items": { "type": "string" },
@@ -136,7 +137,17 @@
"type": "string",
"enum": ["npm_update", "self_update_cmd", "channel_reinstall", "winget_upgrade", "pypi_upgrade", "manual"]
},
"command": { "type": "array", "items": { "type": "string" } }
"command": { "type": "array", "items": { "type": "string" } },
"source": {
"type": "object",
"additionalProperties": false,
"required": ["kind"],
"properties": {
"kind": { "type": "string", "enum": ["npm", "pypi", "github"] },
"package": { "type": "string", "description": "npm / pypi 包名" },
"repo": { "type": "string", "description": "GitHub 仓库 owner/repo" }
}
}
}
},
"uninstall": {
@@ -166,6 +177,22 @@
"notes_zh": { "type": "string" }
}
}
},
"credential_files": {
"type": "array",
"items": { "type": "string" },
"description": "登录态/OAuth 凭据文件或目录(存在任一即视为已授权,如 kimi-code ~/.kimi-code/credentials"
},
"test": {
"type": "object",
"additionalProperties": false,
"required": ["url"],
"properties": {
"url": { "type": "string", "format": "uri", "description": "测试连通端点 URL" },
"key_header": { "type": "string", "description": "API Key 注入头名(如 x-api-key / Authorization" },
"bearer": { "type": "boolean", "default": false, "description": "Authorization 头是否带 Bearer 前缀" },
"extra_headers": { "type": "array", "items": { "type": "string" }, "description": "额外请求头" }
}
}
}
},
@@ -286,6 +313,26 @@
"updated_at": { "type": "string", "format": "date" },
"risks_zh": { "type": "array", "items": { "type": "string" } }
}
},
"models": {
"type": "object",
"additionalProperties": false,
"description": "该 CLI 可加载的模型(模型列表来源:CLI 自带列举命令或适配器按官方文档维护的清单)",
"properties": {
"command": { "type": "array", "items": { "type": "string" }, "description": "CLI 自带的模型列举命令(如 agent --list-models" },
"list": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["id"],
"properties": {
"id": { "type": "string" },
"label_zh": { "type": "string" }
}
}
}
}
}
},
"definitions": {