@alfe.ai/openclaw-voice 0.2.6 → 0.2.7

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/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  const require_plugin = require("./plugin2.cjs");
2
- module.exports = require_plugin.plugin;
2
+ module.exports = require_plugin.plugin_default;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin.cjs";
2
- export { plugin as default };
1
+ import { t as _default } from "./plugin.cjs";
2
+ export { _default as default };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin.js";
2
- export { plugin as default };
1
+ import { t as _default } from "./plugin.js";
2
+ export { _default as default };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin2.js";
2
- export { plugin as default };
1
+ import { t as plugin_default } from "./plugin2.js";
2
+ export { plugin_default as default };
package/dist/plugin.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  const require_plugin = require("./plugin2.cjs");
2
- module.exports = require_plugin.plugin;
2
+ module.exports = require_plugin.plugin_default;
package/dist/plugin.d.cts CHANGED
@@ -33,7 +33,8 @@ interface OpenClawPluginApi {
33
33
  logger: Logger;
34
34
  registerTool(tool: ToolDef): void;
35
35
  }
36
- declare const plugin: {
36
+ declare const _default: {
37
+ register: (api: OpenClawPluginApi) => void;
37
38
  id: string;
38
39
  name: string;
39
40
  description: string;
@@ -42,4 +43,4 @@ declare const plugin: {
42
43
  deactivate(api: OpenClawPluginApi): void;
43
44
  };
44
45
  //#endregion
45
- export { plugin as t };
46
+ export { _default as t };
package/dist/plugin.d.ts CHANGED
@@ -33,7 +33,8 @@ interface OpenClawPluginApi {
33
33
  logger: Logger;
34
34
  registerTool(tool: ToolDef): void;
35
35
  }
36
- declare const plugin: {
36
+ declare const _default: {
37
+ register: (api: OpenClawPluginApi) => void;
37
38
  id: string;
38
39
  name: string;
39
40
  description: string;
@@ -42,4 +43,4 @@ declare const plugin: {
42
43
  deactivate(api: OpenClawPluginApi): void;
43
44
  };
44
45
  //#endregion
45
- export { plugin as t };
46
+ export { _default as t };
package/dist/plugin.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin2.js";
2
- export { plugin as default };
1
+ import { t as plugin_default } from "./plugin2.js";
2
+ export { plugin_default as default };
package/dist/plugin2.cjs CHANGED
@@ -340,10 +340,14 @@ const plugin = {
340
340
  log.info("Alfe Voice plugin deactivated");
341
341
  }
342
342
  };
343
+ var plugin_default = {
344
+ ...plugin,
345
+ register: plugin.activate.bind(plugin)
346
+ };
343
347
  //#endregion
344
- Object.defineProperty(exports, "plugin", {
348
+ Object.defineProperty(exports, "plugin_default", {
345
349
  enumerable: true,
346
350
  get: function() {
347
- return plugin;
351
+ return plugin_default;
348
352
  }
349
353
  });
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin.cjs";
2
- export { plugin as default };
1
+ import { t as _default } from "./plugin.cjs";
2
+ export { _default as default };
package/dist/plugin2.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin.js";
2
- export { plugin as default };
1
+ import { t as _default } from "./plugin.js";
2
+ export { _default as default };
package/dist/plugin2.js CHANGED
@@ -340,5 +340,9 @@ const plugin = {
340
340
  log.info("Alfe Voice plugin deactivated");
341
341
  }
342
342
  };
343
+ var plugin_default = {
344
+ ...plugin,
345
+ register: plugin.activate.bind(plugin)
346
+ };
343
347
  //#endregion
344
- export { plugin as t };
348
+ export { plugin_default as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-voice",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "OpenClaw tools for Alfe one-shot text-to-speech and speech-to-text",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "dependencies": {
30
30
  "@sinclair/typebox": "^0.34.48",
31
- "@alfe.ai/agent-api-client": "0.19.0",
31
+ "@alfe.ai/agent-api-client": "0.19.1",
32
32
  "@alfe.ai/config": "0.4.1",
33
33
  "@alfe.ai/openclaw-plugin-kit": "0.2.0"
34
34
  },