-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
109 lines (109 loc) · 3.19 KB
/
openclaw.plugin.json
File metadata and controls
109 lines (109 loc) · 3.19 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"id": "openclaw-freerouter",
"name": "FreeRouter",
"version": "2.0.0",
"description": "Smart LLM router — classify requests and route to the best model using your own API keys. 14-dimension weighted scoring, <1ms classification, configurable tiers.",
"providers": ["freerouter"],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"port": {
"type": "number",
"description": "HTTP proxy port (0 = disabled, in-process only)",
"default": 18801
},
"host": {
"type": "string",
"description": "HTTP proxy bind address",
"default": "127.0.0.1"
},
"tiers": {
"type": "object",
"description": "Model assignments per classification tier",
"additionalProperties": false,
"properties": {
"SIMPLE": { "$ref": "#/$defs/tierConfig" },
"MEDIUM": { "$ref": "#/$defs/tierConfig" },
"COMPLEX": { "$ref": "#/$defs/tierConfig" },
"REASONING": { "$ref": "#/$defs/tierConfig" }
}
},
"thinking": {
"type": "object",
"description": "Thinking/reasoning config per tier",
"additionalProperties": false,
"properties": {
"adaptive": {
"type": "array",
"items": { "type": "string" },
"description": "Model patterns that support adaptive thinking (e.g. ['claude-opus-4-6'])"
},
"enabled": {
"type": "object",
"properties": {
"models": {
"type": "array",
"items": { "type": "string" },
"description": "Model patterns that get thinking enabled"
},
"budget": {
"type": "number",
"description": "Thinking token budget",
"default": 4096
}
}
}
}
},
"scoring": {
"type": "object",
"description": "Override scoring weights, boundaries, or keyword lists",
"additionalProperties": true
},
"defaultTier": {
"type": "string",
"enum": ["SIMPLE", "MEDIUM", "COMPLEX", "REASONING"],
"description": "Default tier when classification is ambiguous",
"default": "MEDIUM"
},
"logLevel": {
"type": "string",
"enum": ["debug", "info", "warn", "error"],
"default": "info"
}
},
"$defs": {
"tierConfig": {
"type": "object",
"properties": {
"primary": {
"type": "string",
"description": "Primary model (e.g. 'anthropic/claude-opus-4-6')"
},
"fallback": {
"type": "array",
"items": { "type": "string" },
"description": "Fallback models if primary fails"
}
},
"required": ["primary"]
}
}
},
"uiHints": {
"port": {
"label": "Proxy Port",
"placeholder": "18801 (0 to disable HTTP proxy)"
},
"tiers": {
"label": "Tier → Model Mapping"
},
"defaultTier": {
"label": "Default Tier (ambiguous requests)"
},
"logLevel": {
"label": "Log Level"
}
}
}