-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
74 lines (74 loc) · 2 KB
/
Copy pathopenclaw.plugin.json
File metadata and controls
74 lines (74 loc) · 2 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
{
"id": "xapiclaw",
"name": "XApiClaw",
"version": "0.2.0",
"description": "Search tweets, replies, users, followers, trends, lists, communities, XChat DMs, Grok, and approved X/Twitter write actions through TwexAPI.",
"activation": {
"onStartup": false,
"onCapabilities": ["tool"]
},
"commandAliases": [
{ "name": "xstatus", "kind": "runtime-slash" },
{ "name": "xtrends", "kind": "runtime-slash" }
],
"skills": ["skills/xapiclaw"],
"contracts": {
"tools": ["explore", "xapiclaw"]
},
"toolMetadata": {
"xapiclaw": {
"optional": true
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"apiKey": {
"type": "string",
"minLength": 1,
"description": "TwexAPI API key. Store as sensitive OpenClaw plugin config."
},
"baseUrl": {
"type": "string",
"default": "https://api.twexapi.io",
"pattern": "^https://",
"description": "HTTPS TwexAPI-compatible API base URL."
},
"pollingInterval": {
"type": "number",
"default": 60,
"minimum": 5,
"description": "Reserved polling interval in seconds."
},
"pollingEnabled": {
"type": "boolean",
"default": false
}
}
},
"uiHints": {
"apiKey": {
"label": "TwexAPI API Key",
"sensitive": true,
"placeholder": "twex_...",
"help": "Generate from the TwexAPI dashboard."
},
"baseUrl": {
"label": "API Base URL",
"placeholder": "https://api.twexapi.io",
"advanced": true,
"help": "HTTPS only. Change only for a TwexAPI-compatible deployment."
},
"pollingInterval": {
"label": "Event Poll Interval (seconds)",
"advanced": true,
"help": "Reserved for future TwexAPI monitor/event endpoints."
},
"pollingEnabled": {
"label": "Enable Event Notifications",
"advanced": true,
"help": "Reserved for future TwexAPI monitor/event endpoints."
}
}
}