@alfe.ai/openclaw-webhooks 0.0.11 → 0.0.13

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/dist/plugin.cjs CHANGED
@@ -13,6 +13,7 @@ let _alfe_ai_config = require("@alfe.ai/config");
13
13
  * - Registers gateway RPC methods for webhook management
14
14
  * - Exposes agent-callable tools for self-service CRUD
15
15
  */
16
+ const pkg = (0, require("node:module").createRequire)(require("url").pathToFileURL(__filename).href)("../package.json");
16
17
  const WEBHOOKS_CAPABILITIES = ["webhooks.receive", "webhooks.manage"];
17
18
  let daemonIpcClient = null;
18
19
  let webhooksClient = null;
@@ -49,7 +50,7 @@ const plugin = {
49
50
  id: "@alfe.ai/openclaw-webhooks",
50
51
  name: "Alfe Webhooks Plugin",
51
52
  description: "Receive and manage HTTP webhooks from external services",
52
- version: "0.1.0",
53
+ version: pkg.version,
53
54
  activate(api) {
54
55
  const log = api.logger;
55
56
  const pluginConfig = (api.config ?? {}).plugins?.entries?.["@alfe.ai/openclaw-webhooks"]?.config ?? {};
package/dist/plugin.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createRequire } from "node:module";
1
2
  import { WebhooksServiceClient } from "@alfe.ai/webhooks";
2
3
  import { DEFAULT_SOCKET_PATH, resolveConfig } from "@alfe.ai/config";
3
4
  //#region src/plugin.ts
@@ -13,6 +14,7 @@ import { DEFAULT_SOCKET_PATH, resolveConfig } from "@alfe.ai/config";
13
14
  * - Registers gateway RPC methods for webhook management
14
15
  * - Exposes agent-callable tools for self-service CRUD
15
16
  */
17
+ const pkg = createRequire(import.meta.url)("../package.json");
16
18
  const WEBHOOKS_CAPABILITIES = ["webhooks.receive", "webhooks.manage"];
17
19
  let daemonIpcClient = null;
18
20
  let webhooksClient = null;
@@ -49,7 +51,7 @@ const plugin = {
49
51
  id: "@alfe.ai/openclaw-webhooks",
50
52
  name: "Alfe Webhooks Plugin",
51
53
  description: "Receive and manage HTTP webhooks from external services",
52
- version: "0.1.0",
54
+ version: pkg.version,
53
55
  activate(api) {
54
56
  const log = api.logger;
55
57
  const pluginConfig = (api.config ?? {}).plugins?.entries?.["@alfe.ai/openclaw-webhooks"]?.config ?? {};
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "id": "@alfe.ai/openclaw-webhooks",
3
3
  "name": "Webhooks",
4
- "version": "0.0.1",
5
4
  "description": "Receive and manage external webhooks",
6
5
  "entry": "./dist/plugin.js",
6
+ "activation": { "onStartup": true },
7
7
  "configSchema": {
8
8
  "type": "object",
9
9
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-webhooks",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "OpenClaw webhooks plugin for Alfe — receive and manage external webhooks",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin.js",