-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
159 lines (159 loc) · 6.43 KB
/
openclaw.plugin.json
File metadata and controls
159 lines (159 loc) · 6.43 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
{
"id": "skill-evolution",
"name": "Skill Evolution",
"description": "Evolves OpenClaw skills from real usage feedback via session overlays, deterministic review, and safe merge with rollback protection.",
"version": "0.1.0",
"configSchema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"workspaceDir": {
"type": "string",
"description": "Absolute path to the OpenClaw workspace directory. Feedback, overlays, patches and skills are stored relative to this path. When omitted, the plugin attempts to read agents.defaults.workspace from openclaw.json, then falls back to process.cwd()."
},
"merge": {
"type": "object",
"properties": {
"requireHumanMerge": { "type": "boolean", "default": true },
"maxRollbackVersions": { "type": "integer", "minimum": 1, "default": 5 }
}
},
"sessionOverlay": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true },
"storageDir": { "type": "string", "default": ".skill-overlays" },
"injectMode": { "type": "string", "enum": ["system-context", "tool-description"], "default": "system-context" },
"clearOnSessionEnd": { "type": "boolean", "default": true }
}
},
"triggers": {
"type": "object",
"properties": {
"onToolError": { "type": "boolean", "default": true },
"onUserCorrection": { "type": "boolean", "default": true },
"onSessionEndReview": { "type": "boolean", "default": true },
"onPositiveFeedback": { "type": "boolean", "default": true }
}
},
"llm": {
"type": "object",
"properties": {
"inheritPrimaryConfig": { "type": "boolean", "default": true },
"modelOverride": { "type": ["string", "null"], "default": null },
"thinkingOverride": { "type": ["boolean", "null"], "default": null },
"provider": { "type": ["string", "null"], "default": null }
}
},
"review": {
"type": "object",
"properties": {
"minEvidenceCount": { "type": "integer", "minimum": 0, "default": 2 },
"allowAutoMergeOnLowRiskOnly": { "type": "boolean", "default": false }
}
},
"reviewMode": {
"type": "string",
"enum": ["off", "queue-only", "assisted", "auto-low-risk"],
"default": "queue-only"
},
"notify": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": false },
"mode": { "type": "string", "enum": ["off", "per-session", "digest"], "default": "off" },
"channel": { "type": "string", "default": "same-thread" }
}
},
"agents": {
"type": "object",
"description": "Deprecated: use agent + sessions instead",
"properties": {
"review": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true },
"agentId": { "type": "string", "default": "skill-evolution-review" },
"spawnMode": { "type": "string", "enum": ["run", "session"], "default": "session" },
"thread": { "type": "boolean", "default": true },
"model": { "type": ["string", "null"], "default": null },
"thinking": { "type": ["string", "null"], "default": null },
"runTimeoutSeconds": { "type": "integer", "minimum": 1, "default": 180 }
}
},
"notify": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": false },
"agentId": { "type": "string", "default": "skill-evolution-notify" },
"spawnMode": { "type": "string", "enum": ["run", "session"], "default": "run" },
"thread": { "type": "boolean", "default": false },
"model": { "type": ["string", "null"], "default": null },
"thinking": { "type": ["string", "null"], "default": null }
}
}
}
},
"agent": {
"type": "object",
"description": "Single top-level agent config (replaces agents.review/notify)",
"properties": {
"enabled": { "type": "boolean", "default": true },
"id": { "type": "string", "default": "skill-evolution" },
"model": { "type": ["string", "null"], "default": null }
}
},
"sessions": {
"type": "object",
"description": "Internal session config for review and notify workflows",
"properties": {
"review": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true },
"reuse": { "type": "boolean", "default": true },
"thread": { "type": "boolean", "default": true },
"timeoutSeconds": { "type": "integer", "minimum": 1, "default": 180 }
}
},
"notify": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": true },
"reuse": { "type": "boolean", "default": true },
"thread": { "type": "boolean", "default": true },
"timeoutSeconds": { "type": "integer", "minimum": 1, "default": 60 }
}
}
}
},
"queue": {
"type": "object",
"properties": {
"storageDir": { "type": "string", "default": ".skill-patches" },
"metadataFile": { "type": "string", "default": ".skill-patches/index.json" },
"dedupeWindowMinutes": { "type": "integer", "minimum": 0, "default": 60 },
"maxPendingPerSkill": { "type": "integer", "minimum": 1, "default": 20 }
}
},
"notifications": {
"type": "object",
"properties": {
"debounceSeconds": { "type": "integer", "minimum": 0, "default": 300 },
"digestCron": { "type": "string", "default": "" },
"minRiskToInterrupt": { "type": "string", "enum": ["low", "medium", "high"], "default": "medium" }
}
},
"risk": {
"type": "object",
"properties": {
"autoApplyMaxRisk": { "type": "string", "enum": ["low", "medium", "high"], "default": "low" },
"notifyMinRisk": { "type": "string", "enum": ["low", "medium", "high"], "default": "low" }
}
}
}
}
}