@coffeexdev/openclaw-sentinel 0.1.1 → 0.1.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 CHANGED
@@ -35,6 +35,10 @@ Formal JSON Schema for sentinel config/watchers is available at:
35
35
 
36
36
  You can validate a watcher config document (for example `.sentinel.json`) against this schema in CI or local tooling.
37
37
 
38
+ ## Documentation
39
+
40
+ - [Usage Guide](docs/USAGE.md)
41
+
38
42
  ## Install
39
43
 
40
44
  ```bash
@@ -65,8 +69,8 @@ sentinel.register({
65
69
  {
66
70
  "action": "create",
67
71
  "watcher": {
68
- "id": "sentinel-poker-alert",
69
- "skillId": "skills.sentinel-poker",
72
+ "id": "sentinel-alert",
73
+ "skillId": "skills.general-monitor"
70
74
  "enabled": true,
71
75
  "strategy": "http-poll",
72
76
  "endpoint": "https://api.github.com/events",
@@ -75,7 +79,7 @@ sentinel.register({
75
79
  "conditions": [{ "path": "type", "op": "eq", "value": "PushEvent" }],
76
80
  "fire": {
77
81
  "webhookPath": "/internal/sentinel/fire",
78
- "eventName": "sentinel-poker_push",
82
+ "eventName": "sentinel_push",
79
83
  "payloadTemplate": {
80
84
  "watcher": "${watcher.id}",
81
85
  "event": "${event.name}",
@@ -104,7 +108,7 @@ Set `"fireOnce": true` to automatically disable a watcher after its first matche
104
108
 
105
109
  ## Example scenarios
106
110
 
107
- ### Sentinel Poker feed monitoring
111
+ ### Feed monitoring example
108
112
 
109
113
  Watch API changes and fire internal webhook events for orchestration.
110
114
 
@@ -0,0 +1,11 @@
1
+ {
2
+ "id": "openclaw-sentinel",
3
+ "configSchema": {
4
+ "type": "object",
5
+ "additionalProperties": true,
6
+ "properties": {}
7
+ },
8
+ "install": {
9
+ "npmSpec": "@coffeexdev/openclaw-sentinel"
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffeexdev/openclaw-sentinel",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Secure declarative gateway-native watcher plugin for OpenClaw",
5
5
  "keywords": [
6
6
  "openclaw",
@@ -20,7 +20,8 @@
20
20
  "files": [
21
21
  "dist",
22
22
  "README.md",
23
- "LICENSE"
23
+ "LICENSE",
24
+ "openclaw.plugin.json"
24
25
  ],
25
26
  "type": "module",
26
27
  "main": "dist/index.js",