-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
224 lines (224 loc) · 7.37 KB
/
openclaw.plugin.json
File metadata and controls
224 lines (224 loc) · 7.37 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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"id": "openclaw-provenance",
"name": "OpenExecution Provenance",
"description": "Behavioral ledger recording — forwards agent lifecycle events to OpenExecution for cross-stream corroboration",
"version": "0.1.2",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"webhookUrl": {
"type": "string",
"description": "OE webhook endpoint URL, e.g. https://api.openexecution.dev/api/v1/webhooks/openclaw/<connectionId>"
},
"webhookSecret": {
"type": "string",
"description": "HMAC-SHA256 secret shared with OE for webhook signature verification"
},
"privacyLevel": {
"type": "string",
"enum": ["full", "metadata", "minimal"],
"default": "full",
"description": "Quick privacy preset. 'full': send everything (default). 'metadata': structure + assistant text only. 'minimal': events only, no content."
},
"displayMode": {
"type": "string",
"enum": ["silent", "minimal", "verbose"],
"default": "minimal",
"description": "Terminal output level. 'silent': no output. 'minimal': init + summary. 'verbose': log every event."
},
"showSessionSummary": {
"type": "boolean",
"default": true,
"description": "Show event/delivery summary when session ends"
},
"showDeliveryStatus": {
"type": "boolean",
"default": false,
"description": "Show delivery confirmation for each batch"
},
"displayPrefix": {
"type": "string",
"default": "oe",
"description": "Prefix for all plugin log messages"
},
"batchIntervalMs": {
"type": "number",
"default": 2000,
"description": "Flush interval for batched events (ms)"
},
"batchMaxSize": {
"type": "number",
"default": 50,
"description": "Max events per batch before forced flush"
},
"timeoutMs": {
"type": "number",
"default": 10000,
"description": "HTTP request timeout (ms)"
},
"retryAttempts": {
"type": "number",
"default": 3,
"description": "Number of retry attempts on delivery failure"
},
"includeToolArgs": {
"type": "boolean",
"description": "Include tool call arguments. Overrides privacyLevel if set."
},
"includeToolResults": {
"type": "boolean",
"description": "Include tool call results. Overrides privacyLevel if set."
},
"includeLlmContent": {
"type": "boolean",
"description": "Include LLM input/output text. Overrides privacyLevel if set."
},
"includeAssistantText": {
"type": "boolean",
"description": "Include assistant message text. Overrides privacyLevel if set."
},
"spoolEnabled": {
"type": "boolean",
"default": true,
"description": "Enable local disk spool for durability"
},
"spoolDir": {
"type": "string",
"description": "Directory for spool files. Default: ~/.openclaw/openclaw-provenance/"
},
"spoolMaxSizeMb": {
"type": "number",
"default": 50,
"description": "Max spool file size before compaction (MB)"
}
},
"required": ["webhookUrl", "webhookSecret"]
},
"uiHints": {
"webhookUrl": {
"label": "Webhook URL",
"placeholder": "https://api.openexecution.dev/api/v1/webhooks/openclaw/<connectionId>",
"help": "Get this from your OpenExecution dashboard → Connections → Setup",
"tags": ["connection"],
"order": 1
},
"webhookSecret": {
"label": "Webhook Secret",
"placeholder": "your-webhook-secret",
"help": "HMAC-SHA256 secret for verifying webhook payloads. Set this in both OpenClaw and OpenExecution.",
"sensitive": true,
"tags": ["connection", "security"],
"order": 2
},
"privacyLevel": {
"label": "Privacy Level",
"help": "Controls how much data is sent to OpenExecution. 'minimal' sends only event metadata (tool names, timing). 'metadata' adds assistant text. 'full' sends everything including tool args and LLM content.",
"tags": ["privacy"],
"order": 3
},
"displayMode": {
"label": "Display Mode",
"help": "Controls what the plugin shows in the terminal. 'minimal' shows init + session summary. 'verbose' logs every event.",
"tags": ["display"],
"order": 4
},
"showSessionSummary": {
"label": "Show Session Summary",
"help": "Print event count and delivery stats when a session ends",
"tags": ["display"],
"order": 5
},
"showDeliveryStatus": {
"label": "Show Delivery Status",
"help": "Print ✓/✗ for each batch delivery to OE",
"tags": ["display"],
"order": 6
},
"displayPrefix": {
"label": "Log Prefix",
"help": "Prefix shown before each plugin log line",
"tags": ["display"],
"advanced": true,
"order": 7
},
"includeToolArgs": {
"label": "Include Tool Arguments",
"help": "Send full tool call arguments to OE. Overrides the privacy level preset.",
"tags": ["privacy"],
"advanced": true,
"order": 10
},
"includeToolResults": {
"label": "Include Tool Results",
"help": "Send full tool call results to OE. Overrides the privacy level preset.",
"tags": ["privacy"],
"advanced": true,
"order": 11
},
"includeLlmContent": {
"label": "Include LLM Content",
"help": "Send full LLM prompts and responses to OE. Overrides the privacy level preset.",
"tags": ["privacy"],
"advanced": true,
"order": 12
},
"includeAssistantText": {
"label": "Include Assistant Text",
"help": "Send assistant message content to OE. Overrides the privacy level preset.",
"tags": ["privacy"],
"advanced": true,
"order": 13
},
"batchIntervalMs": {
"label": "Batch Interval (ms)",
"help": "How often to flush queued events to OE",
"tags": ["performance"],
"advanced": true,
"order": 20
},
"batchMaxSize": {
"label": "Batch Max Size",
"help": "Maximum events per batch before a forced flush",
"tags": ["performance"],
"advanced": true,
"order": 21
},
"timeoutMs": {
"label": "Request Timeout (ms)",
"help": "HTTP request timeout for webhook delivery",
"tags": ["performance"],
"advanced": true,
"order": 22
},
"retryAttempts": {
"label": "Retry Attempts",
"help": "Number of retries on delivery failure (exponential backoff)",
"tags": ["performance"],
"advanced": true,
"order": 23
},
"spoolEnabled": {
"label": "Enable Disk Spool",
"help": "Write events to disk before delivery for crash safety. Ensures no data loss during OE downtime.",
"tags": ["durability"],
"advanced": true,
"order": 30
},
"spoolDir": {
"label": "Spool Directory",
"placeholder": "~/.openclaw/openclaw-provenance/",
"help": "Where to store the write-ahead log",
"tags": ["durability"],
"advanced": true,
"order": 31
},
"spoolMaxSizeMb": {
"label": "Spool Max Size (MB)",
"help": "Spool file is compacted when it exceeds this size",
"tags": ["durability"],
"advanced": true,
"order": 32
}
}
}