@prefactor/openclaw 0.0.5 → 0.0.7
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 +39 -5
- package/dist/index.cjs +106 -4080
- package/dist/index.js +102 -4085
- package/openclaw.plugin.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
OpenClaw lifecycle event monitoring and instrumentation for Prefactor.
|
|
4
4
|
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This plugin provides lifecycle event monitoring and instrumentation for OpenClaw agents. It automatically collects agent runtime operations and sends them to Prefactor.
|
|
8
|
+
|
|
9
|
+
## Getting Started
|
|
10
|
+
|
|
11
|
+
To get started with `@prefactor/openclaw`, follow these steps:
|
|
12
|
+
|
|
13
|
+
1. Install the plugin:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
openclaw plugins install @prefactor/openclaw
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**Note**: As of OpenClaw 2026.2.9 (33c75cb) installing the plugin will raise the following error:
|
|
20
|
+
|
|
21
|
+
> [openclaw] Failed to start CLI: Error: Config validation failed: plugins.entries.openclaw: plugin not found: openclaw
|
|
22
|
+
|
|
23
|
+
For now this is related to the following bug: https://github.com/openclaw/openclaw/pull/7090
|
|
24
|
+
|
|
25
|
+
You should continue with the following steps.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
2. Enable the plugin:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
openclaw plugins enable prefactor
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
3. Get your Prefactor agent credentials from the Prefactor dashboard.
|
|
35
|
+
|
|
36
|
+
4. Configure the plugin to use your agent credentials with following commands:
|
|
37
|
+
```bash
|
|
38
|
+
openclaw config set plugins.entries.prefactor.config.agentId "${PREFACTOR_AGENT_ID}"
|
|
39
|
+
openclaw config set plugins.entries.prefactor.config.apiToken "${PREFACTOR_API_TOKEN}"
|
|
40
|
+
openclaw config set plugins.entries.prefactor.config.apiUrl "${PREFACTOR_API_URL}"
|
|
41
|
+
```
|
|
42
|
+
|
|
5
43
|
## Configuration
|
|
6
44
|
|
|
7
45
|
Enable the plugin in `~/.openclaw/.openclaw.json`:
|
|
@@ -15,7 +53,7 @@ Enable the plugin in `~/.openclaw/.openclaw.json`:
|
|
|
15
53
|
"config": {
|
|
16
54
|
"agentId": "${PREFACTOR_AGENT_ID}",
|
|
17
55
|
"apiToken": "${PREFACTOR_API_TOKEN}",
|
|
18
|
-
"apiUrl": "${PREFACTOR_API_URL}"
|
|
56
|
+
"apiUrl": "${PREFACTOR_API_URL}"
|
|
19
57
|
}
|
|
20
58
|
}
|
|
21
59
|
}
|
|
@@ -48,10 +86,6 @@ openclaw config set plugins.entries.prefactor.config.apiToken "${PREFACTOR_API_T
|
|
|
48
86
|
openclaw config set plugins.entries.prefactor.config.apiUrl "${PREFACTOR_API_URL}"
|
|
49
87
|
```
|
|
50
88
|
|
|
51
|
-
## Overview
|
|
52
|
-
|
|
53
|
-
This plugin provides lifecycle event monitoring and instrumentation for OpenClaw agents. It automatically collects agent runtime operations and sends them to Prefactor.
|
|
54
|
-
|
|
55
89
|
|
|
56
90
|
## License
|
|
57
91
|
|