-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathchat-bridge.json
More file actions
49 lines (49 loc) · 992 Bytes
/
chat-bridge.json
File metadata and controls
49 lines (49 loc) · 992 Bytes
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
{
"botName": "oc",
"trigger": "!oc",
"rateLimitSeconds": 5,
"streamTools": [
"bash"
],
"sessionStorePath": "./.opencode/chat-sessions.json",
"defaultAgent": null,
"modes": {
"!s": "serious",
"!d": "sarcastic",
"!a": "agent",
"!p": "plan"
},
"matrix": {
"enabled": true,
"homeserver": "https://matrix.org",
"userId": "{env:MATRIX_USER_ID}",
"accessToken": "{env:MATRIX_ACCESS_TOKEN}",
"password": "{env:MATRIX_PASSWORD}",
"deviceId": "OPENCODE_BRIDGE_001",
"encryption": {
"enabled": false,
"storePath": "./matrix-store/"
},
"autoJoin": true,
"triggerPatterns": [
"!oc "
],
"ignoreRooms": [],
"ignoreUsers": [],
"formatHtml": true
},
"whatsapp": {
"enabled": true,
"authFolder": "./.whatsapp-auth",
"allowedUsers": []
},
"web": {
"enabled": true,
"port": 3420,
"host": "0.0.0.0",
"allowedOrigins": [
"*"
],
"publicUrl": ""
}
}