@alfe.ai/openclaw-console 0.0.4 → 0.0.6

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
@@ -53,7 +53,7 @@ const plugin = {
53
53
  }
54
54
  log.info("Console plugin deactivated");
55
55
  };
56
- if (api.registerService) api.registerService({
56
+ api.registerService({
57
57
  id: "alfe-console-relay",
58
58
  start: () => {
59
59
  startConsoleClient();
@@ -62,7 +62,6 @@ const plugin = {
62
62
  stopConsoleClient();
63
63
  }
64
64
  });
65
- else startConsoleClient();
66
65
  log.info("Console plugin registered");
67
66
  },
68
67
  deactivate(api) {
package/dist/plugin.d.cts CHANGED
@@ -27,7 +27,7 @@ interface PluginApi {
27
27
  logger: PluginLogger;
28
28
  registrationMode?: 'full' | 'setup-only' | 'setup-runtime' | 'cli-metadata';
29
29
  config?: Record<string, unknown>;
30
- registerService?(service: {
30
+ registerService(service: {
31
31
  id: string;
32
32
  start: (ctx: PluginServiceContext) => void | Promise<void>;
33
33
  stop?: (ctx: PluginServiceContext) => void | Promise<void>;
package/dist/plugin.d.ts CHANGED
@@ -27,7 +27,7 @@ interface PluginApi {
27
27
  logger: PluginLogger;
28
28
  registrationMode?: 'full' | 'setup-only' | 'setup-runtime' | 'cli-metadata';
29
29
  config?: Record<string, unknown>;
30
- registerService?(service: {
30
+ registerService(service: {
31
31
  id: string;
32
32
  start: (ctx: PluginServiceContext) => void | Promise<void>;
33
33
  stop?: (ctx: PluginServiceContext) => void | Promise<void>;
package/dist/plugin.js CHANGED
@@ -53,7 +53,7 @@ const plugin = {
53
53
  }
54
54
  log.info("Console plugin deactivated");
55
55
  };
56
- if (api.registerService) api.registerService({
56
+ api.registerService({
57
57
  id: "alfe-console-relay",
58
58
  start: () => {
59
59
  startConsoleClient();
@@ -62,7 +62,6 @@ const plugin = {
62
62
  stopConsoleClient();
63
63
  }
64
64
  });
65
- else startConsoleClient();
66
65
  log.info("Console plugin registered");
67
66
  },
68
67
  deactivate(api) {
@@ -3,6 +3,7 @@
3
3
  "name": "Alfe Console Plugin",
4
4
  "description": "Bridges the Alfe console service to the local OpenClaw control gateway over an outbound WS",
5
5
  "entry": "./dist/plugin.js",
6
+ "activation": { "onStartup": true },
6
7
  "configSchema": {
7
8
  "type": "object",
8
9
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-console",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "OpenClaw plugin: bridges browser console traffic from the Alfe console service to the local OpenClaw control gateway",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin.js",
@@ -27,8 +27,8 @@
27
27
  "openclaw.plugin.json"
28
28
  ],
29
29
  "dependencies": {
30
- "@alfe.ai/config": "^0.0.8",
31
- "@alfe.ai/console-client": "^0.0.4"
30
+ "@alfe.ai/console-client": "^0.0.4",
31
+ "@alfe.ai/config": "^0.0.8"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "openclaw": ">=2026.3.0"