openclaw-workflowskill 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/lib/adapters.ts +3 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,11 @@ Requires [OpenClaw](https://openclaw.ai).
|
|
|
26
26
|
|
|
27
27
|
### 1. Set your profile to Coding
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
```bash
|
|
30
|
+
openclaw config set tools.profile coding
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The `coding` profile grants the agent filesystem access, which is required to read and write workflow files. For more granular access configuration, refer to the [OpenClaw documentation](https://docs.openclaw.ai/).
|
|
30
34
|
|
|
31
35
|
### 2. Install the plugin
|
|
32
36
|
|
|
@@ -41,7 +45,7 @@ openclaw config set plugins.allow '["openclaw-workflowskill"]'
|
|
|
41
45
|
openclaw config set tools.alsoAllow '["openclaw-workflowskill"]'
|
|
42
46
|
```
|
|
43
47
|
|
|
44
|
-
The first command allowlists the plugin
|
|
48
|
+
The first command allowlists the plugin so the gateway loads it. The second makes its tools available in every session — including cron jobs — so agents can invoke `workflowskill_run` to execute workflows autonomously.
|
|
45
49
|
|
|
46
50
|
### 4. Restart the gateway
|
|
47
51
|
|
|
@@ -49,6 +53,8 @@ The first command allowlists the plugin for loading. The second makes its tools
|
|
|
49
53
|
openclaw gateway restart
|
|
50
54
|
```
|
|
51
55
|
|
|
56
|
+
The gateway loads plugins and config at startup. A restart is required to pick up the plugin installation and config changes from the previous steps.
|
|
57
|
+
|
|
52
58
|
### 5. Verify
|
|
53
59
|
|
|
54
60
|
```bash
|
package/lib/adapters.ts
CHANGED
|
@@ -10,12 +10,11 @@ export interface GatewayConfig {
|
|
|
10
10
|
timeoutMs?: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
//
|
|
13
|
+
// Only workflowskill_run is truly recursive — a workflow step calling it
|
|
14
|
+
// would launch another workflow with the same adapter, risking infinite loops.
|
|
15
|
+
// The other plugin tools (validate, runs, llm) are leaf operations and safe.
|
|
14
16
|
const SELF_REFERENCING_TOOLS = new Set([
|
|
15
|
-
'workflowskill_validate',
|
|
16
17
|
'workflowskill_run',
|
|
17
|
-
'workflowskill_runs',
|
|
18
|
-
'workflowskill_llm',
|
|
19
18
|
]);
|
|
20
19
|
|
|
21
20
|
/** ToolAdapter that delegates to the Gateway HTTP API via POST /tools/invoke. */
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "openclaw-workflowskill",
|
|
3
3
|
"name": "WorkflowSkill",
|
|
4
4
|
"description": "Author, validate, run, and review WorkflowSkill YAML workflows",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.4",
|
|
6
6
|
"skills": ["skills/workflowskill-author"],
|
|
7
7
|
"configSchema": {
|
|
8
8
|
"type": "object",
|