mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 13:00:45 +08:00
重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
This commit is contained in:
parent
4a23b715a2
commit
dbbe3add6a
14438 changed files with 2693620 additions and 2546 deletions
87
openclaw/extensions/zai/openclaw.plugin.json
Normal file
87
openclaw/extensions/zai/openclaw.plugin.json
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"id": "zai",
|
||||
"enabledByDefault": true,
|
||||
"providers": ["zai"],
|
||||
"providerAuthEnvVars": {
|
||||
"zai": ["ZAI_API_KEY", "Z_AI_API_KEY"]
|
||||
},
|
||||
"providerAuthChoices": [
|
||||
{
|
||||
"provider": "zai",
|
||||
"method": "api-key",
|
||||
"choiceId": "zai-api-key",
|
||||
"choiceLabel": "Z.AI API key",
|
||||
"groupId": "zai",
|
||||
"groupLabel": "Z.AI",
|
||||
"groupHint": "GLM Coding Plan / Global / CN",
|
||||
"optionKey": "zaiApiKey",
|
||||
"cliFlag": "--zai-api-key",
|
||||
"cliOption": "--zai-api-key <key>",
|
||||
"cliDescription": "Z.AI API key"
|
||||
},
|
||||
{
|
||||
"provider": "zai",
|
||||
"method": "coding-global",
|
||||
"choiceId": "zai-coding-global",
|
||||
"choiceLabel": "Coding-Plan-Global",
|
||||
"choiceHint": "GLM Coding Plan Global (api.z.ai)",
|
||||
"groupId": "zai",
|
||||
"groupLabel": "Z.AI",
|
||||
"groupHint": "GLM Coding Plan / Global / CN",
|
||||
"optionKey": "zaiApiKey",
|
||||
"cliFlag": "--zai-api-key",
|
||||
"cliOption": "--zai-api-key <key>",
|
||||
"cliDescription": "Z.AI API key"
|
||||
},
|
||||
{
|
||||
"provider": "zai",
|
||||
"method": "coding-cn",
|
||||
"choiceId": "zai-coding-cn",
|
||||
"choiceLabel": "Coding-Plan-CN",
|
||||
"choiceHint": "GLM Coding Plan CN (open.bigmodel.cn)",
|
||||
"groupId": "zai",
|
||||
"groupLabel": "Z.AI",
|
||||
"groupHint": "GLM Coding Plan / Global / CN",
|
||||
"optionKey": "zaiApiKey",
|
||||
"cliFlag": "--zai-api-key",
|
||||
"cliOption": "--zai-api-key <key>",
|
||||
"cliDescription": "Z.AI API key"
|
||||
},
|
||||
{
|
||||
"provider": "zai",
|
||||
"method": "global",
|
||||
"choiceId": "zai-global",
|
||||
"choiceLabel": "Global",
|
||||
"choiceHint": "Z.AI Global (api.z.ai)",
|
||||
"groupId": "zai",
|
||||
"groupLabel": "Z.AI",
|
||||
"groupHint": "GLM Coding Plan / Global / CN",
|
||||
"optionKey": "zaiApiKey",
|
||||
"cliFlag": "--zai-api-key",
|
||||
"cliOption": "--zai-api-key <key>",
|
||||
"cliDescription": "Z.AI API key"
|
||||
},
|
||||
{
|
||||
"provider": "zai",
|
||||
"method": "cn",
|
||||
"choiceId": "zai-cn",
|
||||
"choiceLabel": "CN",
|
||||
"choiceHint": "Z.AI CN (open.bigmodel.cn)",
|
||||
"groupId": "zai",
|
||||
"groupLabel": "Z.AI",
|
||||
"groupHint": "GLM Coding Plan / Global / CN",
|
||||
"optionKey": "zaiApiKey",
|
||||
"cliFlag": "--zai-api-key",
|
||||
"cliOption": "--zai-api-key <key>",
|
||||
"cliDescription": "Z.AI API key"
|
||||
}
|
||||
],
|
||||
"contracts": {
|
||||
"mediaUnderstandingProviders": ["zai"]
|
||||
},
|
||||
"configSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue