-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathopencode-im.example.jsonc
More file actions
56 lines (47 loc) · 1.63 KB
/
opencode-im.example.jsonc
File metadata and controls
56 lines (47 loc) · 1.63 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
{
// Feishu application configuration
"feishu": {
// Feishu Open Platform App ID (env: FEISHU_APP_ID)
"appId": "${FEISHU_APP_ID}",
// Feishu Open Platform App Secret (env: FEISHU_APP_SECRET)
"appSecret": "${FEISHU_APP_SECRET}",
// Event subscription verification token (env: FEISHU_VERIFICATION_TOKEN)
"verificationToken": "${FEISHU_VERIFICATION_TOKEN}",
// Webhook server listening port (default: 3001)
"webhookPort": 3001,
// Encryption key for events (optional)
"encryptKey": "${FEISHU_ENCRYPT_KEY}"
},
// DingTalk application configuration
// "dingtalk": {
// // DingTalk Open Platform App Key (env: DINGTALK_APP_KEY)
// "appKey": "${DINGTALK_APP_KEY}",
//
// // DingTalk Open Platform App Secret (env: DINGTALK_APP_SECRET)
// "appSecret": "${DINGTALK_APP_SECRET}",
//
// // DingTalk Agent ID (optional, env: DINGTALK_AGENT_ID)
// "agentId": "${DINGTALK_AGENT_ID}"
// },
// Default opencode agent name. This should match an agent configured in your opencode setup.
// Common values: "build", "claude", "code" — check your opencode config for available agents.
"defaultAgent": "build",
// Data directory for SQLite database
"dataDir": "./data",
// Progress card update debounce configuration
"progress": {
"debounceMs": 500,
"maxDebounceMs": 3000
}
// Optional: cron jobs configuration
// "cron": {
// "jobs": [
// {
// "name": "daily-standup",
// "schedule": "0 9 * * 1-5",
// "prompt": "Good morning! Please provide a daily standup summary.",
// "chatId": "oc_xxxxxxxxxxxxxxxx"
// }
// ]
// }
}