-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
194 lines (194 loc) · 5.85 KB
/
openclaw.plugin.json
File metadata and controls
194 lines (194 loc) · 5.85 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"id": "deepgram-discord-voice",
"name": "Deepgram Discord Voice",
"description": "Low-latency Discord voice conversations using Deepgram streaming STT + TTS",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"streamingSTT": {
"type": "boolean",
"default": true,
"description": "Use streaming STT over WebSocket (recommended for lowest latency)"
},
"streamingTTS": {
"type": "boolean",
"default": true,
"description": "Use low-latency TTS (HTTP streamed Ogg/Opus output)"
},
"ttsVoice": {
"type": "string",
"default": "aura-2-thalia-en",
"description": "Deepgram Aura voice model (e.g., aura-2-thalia-en)"
},
"vadSensitivity": {
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"default": "medium"
},
"bargeIn": {
"type": "boolean",
"default": true,
"description": "Stop speaking when user starts talking"
},
"model": {
"type": "string",
"description": "LLM model for voice responses (e.g., anthropic/claude-3-5-haiku-latest)"
},
"thinkLevel": {
"type": "string",
"enum": [
"off",
"low",
"medium",
"high"
],
"default": "off",
"description": "Thinking level for voice responses (lower = faster)"
},
"allowedUsers": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"requirePresence": {
"type": "array",
"items": {
"type": "string"
},
"description": "Discord user IDs that must be present in the voice channel before the bot will join. Security feature to prevent joining empty/unauthorized channels."
},
"silenceThresholdMs": {
"type": "number",
"default": 1000
},
"minAudioMs": {
"type": "number",
"default": 300
},
"maxRecordingMs": {
"type": "number",
"default": 30000
},
"heartbeatIntervalMs": {
"type": "number",
"default": 30000,
"description": "Connection health check interval in ms"
},
"autoJoinChannel": {
"type": "string",
"description": "Voice channel ID to auto-join on startup"
},
"deepgram": {
"type": "object",
"additionalProperties": false,
"properties": {
"apiKey": {
"type": "string"
},
"sttModel": {
"type": "string",
"default": "nova-2"
},
"language": {
"type": "string",
"description": "BCP-47 language tag (optional). Example: en-US, es"
}
}
},
"primaryUser": {
"type": "string",
"description": "Discord user ID or name allowed by default (best: user ID). If set, only this user can talk unless switched."
},
"allowVoiceSwitch": {
"type": "boolean",
"default": true,
"description": "Allow voice commands (from primary user) to switch who the bot listens to"
},
"wakeWord": {
"type": "string",
"default": "openclaw",
"description": "Wake word for voice commands like 'openclaw allow John'"
},
"streamingLLM": {
"type": "boolean",
"default": true,
"description": "Use streaming LLM pipeline (direct Anthropic API) for lower voice latency"
},
"anthropicApiKey": {
"type": "string",
"description": "Anthropic API key (optional, auto-resolved from env/credentials)"
},
"conversationHistoryLength": {
"type": "number",
"default": 10,
"description": "Number of conversation messages to keep per guild"
}
}
},
"uiHints": {
"enabled": {
"label": "Enable Discord Voice",
"help": "Enable real-time voice conversations in Discord voice channels"
},
"streamingSTT": {
"label": "Streaming STT",
"help": "Use Deepgram WebSocket STT for lowest latency"
},
"streamingTTS": {
"label": "Low-latency TTS",
"help": "Stream Deepgram TTS audio as it is generated"
},
"ttsVoice": {
"label": "Deepgram TTS Voice Model",
"help": "Example: aura-2-thalia-en (see Deepgram Voices and Languages)"
},
"vadSensitivity": {
"label": "VAD Sensitivity",
"help": "Voice activity detection sensitivity (low/medium/high)"
},
"bargeIn": {},
"allowedUsers": {
"label": "Allowed Users",
"help": "Discord user IDs allowed to use voice (empty = all allowed)"
},
"requirePresence": {
"label": "Require User Presence",
"help": "Discord user IDs that must be in the voice channel before the bot joins. The bot will refuse to join if any listed user is absent. Useful for security — prevents the bot from joining channels without an authorized user present."
},
"deepgram.apiKey": {
"label": "Deepgram API Key",
"sensitive": true
},
"deepgram.sttModel": {
"label": "Deepgram STT Model",
"help": "Example: nova-2, nova-3, etc."
},
"deepgram.language": {
"label": "Language (optional)",
"help": "BCP-47 tag like en-US, es, es-EC"
},
"primaryUser": {
"label": "Primary Speaker",
"help": "Discord user ID (recommended) or name. Default speaker the bot listens to."
},
"allowVoiceSwitch": {
"label": "Allow Voice Speaker Switching",
"help": "Primary speaker can say voice commands to let someone else speak"
},
"wakeWord": {
"label": "Wake Word",
"help": "Example: openclaw. Use: 'openclaw allow <name>' or 'openclaw only me'."
}
}
}