@prefactor/openclaw 0.0.0
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/LICENSE +14 -0
- package/README.md +56 -0
- package/dist/index.cjs +5242 -0
- package/dist/index.js +5225 -0
- package/openclaw.plugin.json +86 -0
- package/package.json +47 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Copyright (c) 2026 Prefactor Pty Ltd
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
4
|
+
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
|
5
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
6
|
+
persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
|
+
|
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
|
|
9
|
+
Software.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
12
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
13
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
14
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# @prefactor/openclaw
|
|
2
|
+
|
|
3
|
+
OpenClaw lifecycle event monitoring and instrumentation for Prefactor.
|
|
4
|
+
|
|
5
|
+
## Configuration
|
|
6
|
+
|
|
7
|
+
Enable the plugin in `~/.openclaw/.openclaw.json`:
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"plugins": {
|
|
12
|
+
"entries": {
|
|
13
|
+
"prefactor": {
|
|
14
|
+
"enabled": false,
|
|
15
|
+
"config": {
|
|
16
|
+
"agentId": "$PREFACTOR_AGENT_ID",
|
|
17
|
+
"apiKey": "$PREFACTOR_API_KEY",
|
|
18
|
+
"apiUrl": "$PREFACTOR_API_URL",
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Plugin Management
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# Install the plugin
|
|
30
|
+
openclaw plugins install @prefactor/openclaw
|
|
31
|
+
|
|
32
|
+
# Upgrade to latest version
|
|
33
|
+
openclaw plugins update @prefactor/openclaw
|
|
34
|
+
|
|
35
|
+
# List all plugins
|
|
36
|
+
openclaw plugins list
|
|
37
|
+
|
|
38
|
+
# Check plugin info (shows current version)
|
|
39
|
+
openclaw plugins info prefactor
|
|
40
|
+
|
|
41
|
+
# Enable/disable
|
|
42
|
+
openclaw plugins enable prefactor
|
|
43
|
+
openclaw plugins disable prefactor
|
|
44
|
+
|
|
45
|
+
# Uninstall
|
|
46
|
+
openclaw plugins uninstall @prefactor/openclaw
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Overview
|
|
50
|
+
|
|
51
|
+
This plugin provides lifecycle event monitoring and instrumentation for Prefactor SDK within OpenClaw environments. It automatically traces agent operations and sends telemetry to your Prefactor backend.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
This plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|