File size: 1,116 Bytes
b44dfca
 
 
d653b4e
 
b44dfca
 
 
d653b4e
 
b44dfca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d653b4e
 
 
 
b44dfca
 
 
 
d653b4e
 
b44dfca
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "id": "coding-agent",
  "name": "Coding Agent",
  "description": "Claude Code sub-agent for autonomous coding on HF Spaces — powered by Zhipu GLM via z.ai",
  "version": "2.0.0",
  "defaultConfig": {
    "targetSpace": "",
    "targetDataset": "",
    "hfToken": "",
    "zaiApiKey": ""
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "targetSpace": {
        "type": "string",
        "description": "HuggingFace Space repo ID to manage (e.g. tao-shen/HuggingClaw-Cain)"
      },
      "targetDataset": {
        "type": "string",
        "description": "HuggingFace Dataset repo ID for persistent data (e.g. tao-shen/HuggingClaw-Cain-data)"
      },
      "hfToken": {
        "type": "string",
        "description": "HuggingFace API token (or use HF_TOKEN env var)"
      },
      "zaiApiKey": {
        "type": "string",
        "description": "Z.AI API key for Claude Code backend (or use ZAI_API_KEY / ZHIPU_API_KEY env var)"
      }
    }
  },
  "uiHints": {
    "hfToken": { "sensitive": true },
    "zaiApiKey": { "sensitive": true }
  }
}