@prefactor/openclaw 0.0.0 → 0.0.3
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 +6 -4
- package/dist/index.cjs +5 -3
- package/dist/index.js +5 -3
- package/openclaw.plugin.json +1 -8
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Enable the plugin in `~/.openclaw/.openclaw.json`:
|
|
|
11
11
|
"plugins": {
|
|
12
12
|
"entries": {
|
|
13
13
|
"prefactor": {
|
|
14
|
-
"enabled":
|
|
14
|
+
"enabled": true,
|
|
15
15
|
"config": {
|
|
16
16
|
"agentId": "$PREFACTOR_AGENT_ID",
|
|
17
17
|
"apiKey": "$PREFACTOR_API_KEY",
|
|
@@ -42,13 +42,15 @@ openclaw plugins info prefactor
|
|
|
42
42
|
openclaw plugins enable prefactor
|
|
43
43
|
openclaw plugins disable prefactor
|
|
44
44
|
|
|
45
|
-
#
|
|
46
|
-
openclaw
|
|
45
|
+
# Configuration
|
|
46
|
+
openclaw config set plugins.entries.prefactor.config.agentId "<your_agent_id>"
|
|
47
|
+
openclaw config set plugins.entries.prefactor.config.apiKey "<your_api_key>"
|
|
48
|
+
openclaw config set plugins.entries.prefactor.config.apiUrl "<prefacor_api_url>"
|
|
47
49
|
```
|
|
48
50
|
|
|
49
51
|
## Overview
|
|
50
52
|
|
|
51
|
-
This plugin provides lifecycle event monitoring and instrumentation for
|
|
53
|
+
This plugin provides lifecycle event monitoring and instrumentation for OpenClaw agents. It automatically collects agent runtime operations and sends them to Prefactor.
|
|
52
54
|
|
|
53
55
|
|
|
54
56
|
## License
|
package/dist/index.cjs
CHANGED
|
@@ -4945,7 +4945,7 @@ function createSessionStateManager(agent, logger, config) {
|
|
|
4945
4945
|
// packages/openclaw/package.json
|
|
4946
4946
|
var package_default = {
|
|
4947
4947
|
name: "@prefactor/openclaw",
|
|
4948
|
-
version: "0.0.
|
|
4948
|
+
version: "0.0.3",
|
|
4949
4949
|
description: "OpenClaw lifecycle event monitoring and instrumentation for Prefactor",
|
|
4950
4950
|
type: "module",
|
|
4951
4951
|
main: "./dist/index.cjs",
|
|
@@ -4960,7 +4960,8 @@ var package_default = {
|
|
|
4960
4960
|
"dist/index.js",
|
|
4961
4961
|
"dist/index.cjs",
|
|
4962
4962
|
"openclaw.plugin.json",
|
|
4963
|
-
"README.md"
|
|
4963
|
+
"README.md",
|
|
4964
|
+
"LICENSE"
|
|
4964
4965
|
],
|
|
4965
4966
|
license: "MIT",
|
|
4966
4967
|
repository: {
|
|
@@ -4975,6 +4976,7 @@ var package_default = {
|
|
|
4975
4976
|
"monitoring"
|
|
4976
4977
|
],
|
|
4977
4978
|
dependencies: {
|
|
4979
|
+
"@prefactor/core": "workspace:*",
|
|
4978
4980
|
zod: "^3.23.0"
|
|
4979
4981
|
},
|
|
4980
4982
|
devDependencies: {
|
|
@@ -5239,4 +5241,4 @@ Timestamp: ${new Date(startTime).toISOString()}`
|
|
|
5239
5241
|
});
|
|
5240
5242
|
}
|
|
5241
5243
|
|
|
5242
|
-
//# debugId=
|
|
5244
|
+
//# debugId=4694534263C2DB4B64756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -4925,7 +4925,7 @@ function createSessionStateManager(agent, logger, config) {
|
|
|
4925
4925
|
// packages/openclaw/package.json
|
|
4926
4926
|
var package_default = {
|
|
4927
4927
|
name: "@prefactor/openclaw",
|
|
4928
|
-
version: "0.0.
|
|
4928
|
+
version: "0.0.3",
|
|
4929
4929
|
description: "OpenClaw lifecycle event monitoring and instrumentation for Prefactor",
|
|
4930
4930
|
type: "module",
|
|
4931
4931
|
main: "./dist/index.cjs",
|
|
@@ -4940,7 +4940,8 @@ var package_default = {
|
|
|
4940
4940
|
"dist/index.js",
|
|
4941
4941
|
"dist/index.cjs",
|
|
4942
4942
|
"openclaw.plugin.json",
|
|
4943
|
-
"README.md"
|
|
4943
|
+
"README.md",
|
|
4944
|
+
"LICENSE"
|
|
4944
4945
|
],
|
|
4945
4946
|
license: "MIT",
|
|
4946
4947
|
repository: {
|
|
@@ -4955,6 +4956,7 @@ var package_default = {
|
|
|
4955
4956
|
"monitoring"
|
|
4956
4957
|
],
|
|
4957
4958
|
dependencies: {
|
|
4959
|
+
"@prefactor/core": "workspace:*",
|
|
4958
4960
|
zod: "^3.23.0"
|
|
4959
4961
|
},
|
|
4960
4962
|
devDependencies: {
|
|
@@ -5222,4 +5224,4 @@ export {
|
|
|
5222
5224
|
register as default
|
|
5223
5225
|
};
|
|
5224
5226
|
|
|
5225
|
-
//# debugId=
|
|
5227
|
+
//# debugId=8B9E14C244A7ABE564756E2164756E21
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "prefactor",
|
|
3
3
|
"name": "@prefactor/openclaw",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"description": "Comprehensive lifecycle event monitoring and instrumentation for OpenClaw",
|
|
6
6
|
"runtime": "node",
|
|
7
7
|
"entry": "./index.ts",
|
|
@@ -30,10 +30,6 @@
|
|
|
30
30
|
"enum": ["debug", "info", "warn", "error"],
|
|
31
31
|
"default": "info"
|
|
32
32
|
},
|
|
33
|
-
"enableMetrics": {
|
|
34
|
-
"type": "boolean",
|
|
35
|
-
"default": true
|
|
36
|
-
},
|
|
37
33
|
"userInteractionTimeoutMinutes": {
|
|
38
34
|
"type": "number",
|
|
39
35
|
"description": "Timeout for user interaction spans in minutes (default: 5)",
|
|
@@ -73,9 +69,6 @@
|
|
|
73
69
|
"label": "Log Level",
|
|
74
70
|
"placeholder": "info"
|
|
75
71
|
},
|
|
76
|
-
"enableMetrics": {
|
|
77
|
-
"label": "Enable Metrics Collection"
|
|
78
|
-
},
|
|
79
72
|
"userInteractionTimeoutMinutes": {
|
|
80
73
|
"label": "User Interaction Timeout (minutes)"
|
|
81
74
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefactor/openclaw",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "OpenClaw lifecycle event monitoring and instrumentation for Prefactor",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"monitoring"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@prefactor/core": "0.2.5",
|
|
34
35
|
"zod": "^3.23.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|