@kernelius/openclaw-plugin 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +31 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -153,6 +153,36 @@ Example:
153
153
  }
154
154
  ```
155
155
 
156
+ ## Actions
157
+
158
+ ### Send Message
159
+ Send a comment to an issue or PR:
160
+ ```javascript
161
+ {
162
+ action: "send",
163
+ to: "repo:owner/name:issue:42",
164
+ message: "Your comment text"
165
+ }
166
+ ```
167
+
168
+ ### React
169
+ Add an emoji reaction to issues, PRs, or comments:
170
+ ```javascript
171
+ {
172
+ action: "react",
173
+ messageId: "issue_comment:abc123", // or issue:, pr:, pr_comment:
174
+ emoji: "+1" // Valid: +1, -1, laugh, hooray, confused, heart, rocket, eyes
175
+ }
176
+ ```
177
+
178
+ **messageId formats:**
179
+ - `issue:<id>` - React to an issue
180
+ - `pr:<id>` - React to a pull request
181
+ - `issue_comment:<id>` - React to an issue comment
182
+ - `pr_comment:<id>` - React to a PR comment
183
+
184
+ Inbound webhook messages include `messageId` automatically, allowing agents to react to incoming comments.
185
+
156
186
  ## Webhook Events
157
187
 
158
188
  The plugin handles these Forge webhook events:
@@ -168,6 +198,7 @@ The plugin handles these Forge webhook events:
168
198
  | `pr.updated` | PR title/body changed |
169
199
  | `pr.merged` | Pull request merged |
170
200
  | `pr.closed` | PR closed without merging |
201
+ | `pr.reopened` | PR reopened |
171
202
  | `pr.review_requested` | Review requested on PR |
172
203
  | `pr.reviewed` | Review submitted |
173
204
  | `pr.commented` | Comment on PR |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernelius/openclaw-plugin",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "OpenClaw channel plugin for Kernelius Forge - enables agents to work with repositories, issues, and pull requests",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",