-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
173 lines (173 loc) · 5.64 KB
/
Copy pathopenclaw.plugin.json
File metadata and controls
173 lines (173 loc) · 5.64 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
{
"id": "openclaw-github-trending",
"name": "GitHub Trending",
"version": "1.5.0",
"description": "Fetch GitHub trending repositories and push to Feishu or Email with AI summaries",
"author": "王允",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wy-ruby/openclaw-github-trending"
},
"entry": "dist/index.js",
"engines": {
"openclaw": ">=2026.3.2",
"node": ">=18.0.0"
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"ai": {
"type": "object",
"description": "AI configuration for generating summaries. Falls back to OpenClaw's AI config or environment variables if not provided.",
"properties": {
"provider": {
"type": "string",
"enum": [
"openai",
"anthropic"
],
"default": "openai",
"description": "AI provider (OpenAI-compatible or Anthropic)"
},
"api_key": {
"type": "string",
"description": "AI provider API key. Falls back to OPENAI_API_KEY or ANTHROPIC_API_KEY environment variable."
},
"base_url": {
"type": "string",
"description": "API base URL (for OpenAI-compatible providers). Falls back to OPENAI_BASE_URL or ANTHROPIC_BASE_URL environment variable."
},
"model": {
"type": "string",
"default": "gpt-4o-mini",
"description": "Model name for summarization (e.g., 'gpt-4o-mini', 'claude-3-5-sonnet-20241022'). Falls back to OpenClaw's default model."
}
}
},
"github_token": {
"type": "string",
"description": "GitHub personal access token (optional, increases rate limit)"
},
"max_workers": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 20,
"description": "Concurrent workers for AI summarization (recommended: 3-10)"
},
"channels": {
"type": "object",
"description": "Push channel configurations",
"properties": {
"feishu": {
"type": "object",
"description": "Feishu webhook configuration",
"properties": {
"webhook_url": {
"type": "string",
"description": "Feishu bot webhook URL"
}
}
},
"email": {
"type": "object",
"description": "Email SMTP configuration",
"properties": {
"smtp_host": {
"type": "string",
"default": "smtp.gmail.com",
"description": "SMTP server host"
},
"smtp_port": {
"type": "number",
"default": 587,
"description": "SMTP server port (465 for SSL, 587 for STARTTLS)"
},
"sender": {
"type": "string",
"description": "Sender email address"
},
"password": {
"type": "string",
"description": "Email password or app-specific password"
},
"recipient": {
"type": "string",
"description": "Recipient email address (defaults to sender if not provided)"
},
"from_name": {
"type": "string",
"default": "GitHub Trending",
"description": "Display name for sender"
},
"timeout": {
"type": "number",
"default": 30,
"description": "SMTP connection timeout in seconds"
}
},
"required": [
"sender",
"password"
]
},
"wechat": {
"type": "object",
"description": "WeChat channel configuration (requires @tencent-weixin/openclaw-weixin plugin)",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable WeChat notifications via openclaw-weixin plugin"
},
"receiver_id": {
"type": "string",
"description": "WeChat user ID to receive messages"
},
"channel_name": {
"type": "string",
"description": "WeChat channel name for messages"
}
},
"additionalProperties": false
}
}
},
"history": {
"type": "object",
"description": "History and deduplication settings",
"properties": {
"enabled": {
"type": "boolean",
"default": true,
"description": "Enable history tracking and deduplication"
},
"star_threshold": {
"type": "number",
"default": 100,
"minimum": 0,
"description": "Re-push if stars increased by this amount"
}
}
},
"proxy": {
"type": "object",
"description": "HTTP/HTTPS proxy configuration for accessing GitHub (e.g., http://user:pass@127.0.0.1:7890)",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable proxy for GitHub requests"
},
"url": {
"type": "string",
"description": "Proxy URL (supports http://user:pass@host:port or https://host:port format)"
}
},
"additionalProperties": false
}
}
}
}