File size: 1,817 Bytes
b19d31a
 
 
 
 
86c6299
 
 
b19d31a
 
 
 
 
d2e3735
b19d31a
98cdf74
7cd8723
b19d31a
 
 
86c6299
 
 
b19d31a
 
 
 
 
0d9d280
b19d31a
 
 
3f7c1c9
 
981cddc
 
3f7c1c9
 
b19d31a
 
 
 
 
9d3acbc
 
 
 
 
 
86c6299
 
 
 
 
 
9d3acbc
b19d31a
9d3acbc
b19d31a
 
 
 
 
 
9d3acbc
 
 
 
 
 
b19d31a
 
 
86c6299
 
 
 
 
 
 
 
 
 
b19d31a
 
 
 
3f7c1c9
b19d31a
 
 
 
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
  "gateway": {
    "mode": "local",
    "bind": "lan",
    "port": 7860,
    "auth": {
      "token": "huggingclaw"
    },
    "trustedProxies": [
      "0.0.0.0/0"
    ],
    "controlUi": {
      "allowInsecureAuth": true,
      "dangerouslyDisableDeviceAuth": true,
      "allowedOrigins": [
        "https://huggingface.co",
        "https://*.hf.space"
      ]
    }
  },
  "session": {
    "scope": "global"
  },
  "models": {
    "mode": "merge",
    "providers": {
      "openrouter": {
        "baseUrl": "https://openrouter.ai/api/v1",
        "apiKey": "__OPENROUTER_API_KEY__",
        "api": "openai-completions",
        "models": [
          {
            "id": "openai/gpt-oss-20b:free",
            "name": "GPT-OSS-20B (Free)"
          },
          {
            "id": "deepseek/deepseek-chat:free",
            "name": "DeepSeek V3 (Free)"
          }
        ]
      }
    }
  },
  "acp": {
    "enabled": true,
    "backend": "acpx",
    "defaultAgent": "claude",
    "allowedAgents": ["claude"],
    "maxConcurrentSessions": 4,
    "dispatch": {
      "enabled": true
    },
    "runtime": {
      "ttlMinutes": 120
    }
  },
  "plugins": {
    "allow": ["telegram", "whatsapp", "acpx"],
    "entries": {
      "telegram": {
        "enabled": true
      },
      "whatsapp": {
        "enabled": true
      },
      "acpx": {
        "enabled": true,
        "config": {
          "permissionMode": "approve-all"
        }
      }
    }
  },
  "channels": {
    "telegram": {
      "dmPolicy": "open",
      "allowFrom": ["*"],
      "configWrites": true,
      "streaming": {
        "mode": "partial"
      }
    }
  },
  "agents": {
    "defaults": {
      "workspace": "~/.openclaw/workspace",
      "model": {
        "primary": "openrouter/openai/gpt-oss-20b:free"
      }
    }
  }
}