@alfe.ai/openclaw-voice 0.0.12 → 0.0.14

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
@@ -17,6 +17,7 @@ let _alfe_ai_config = require("@alfe.ai/config");
17
17
  * - voice_transfer tool — placeholder (requires Twilio service)
18
18
  * - voice_dtmf tool �� placeholder (requires Twilio service)
19
19
  */
20
+ const pkg = (0, require("node:module").createRequire)(require("url").pathToFileURL(__filename).href)("../package.json");
20
21
  const VOICE_CAPABILITIES = [
21
22
  "voice.call",
22
23
  "voice.answer",
@@ -137,7 +138,7 @@ const plugin = {
137
138
  id: "@alfe.ai/openclaw-voice",
138
139
  name: "Alfe Voice Plugin",
139
140
  description: "Voice integration — TTS/STT via the voice service, channel-specific operations via channel services",
140
- version: "0.2.0",
141
+ version: pkg.version,
141
142
  activate(api) {
142
143
  const log = api.logger;
143
144
  for (const tool of voiceTools) api.registerTool(tool);
package/dist/plugin.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createRequire } from "node:module";
1
2
  import { Type } from "@sinclair/typebox";
2
3
  import { DEFAULT_SOCKET_PATH, resolveConfig } from "@alfe.ai/config";
3
4
  //#region src/plugin.ts
@@ -17,6 +18,7 @@ import { DEFAULT_SOCKET_PATH, resolveConfig } from "@alfe.ai/config";
17
18
  * - voice_transfer tool — placeholder (requires Twilio service)
18
19
  * - voice_dtmf tool �� placeholder (requires Twilio service)
19
20
  */
21
+ const pkg = createRequire(import.meta.url)("../package.json");
20
22
  const VOICE_CAPABILITIES = [
21
23
  "voice.call",
22
24
  "voice.answer",
@@ -137,7 +139,7 @@ const plugin = {
137
139
  id: "@alfe.ai/openclaw-voice",
138
140
  name: "Alfe Voice Plugin",
139
141
  description: "Voice integration — TTS/STT via the voice service, channel-specific operations via channel services",
140
- version: "0.2.0",
142
+ version: pkg.version,
141
143
  activate(api) {
142
144
  const log = api.logger;
143
145
  for (const tool of voiceTools) api.registerTool(tool);
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "id": "@alfe.ai/openclaw-voice",
3
3
  "name": "Alfe Voice Plugin",
4
- "version": "0.1.0",
5
4
  "description": "Pure relay plugin — connects to Fly voice server via WebSocket. All audio processing (STT, TTS, ack) runs on Fly.",
6
5
  "entry": "./dist/plugin.js",
6
+ "activation": { "onStartup": true },
7
+ "contracts": {
8
+ "tools": ["voice_dtmf", "voice_hangup", "voice_transfer"]
9
+ },
7
10
  "configSchema": {
8
11
  "type": "object",
9
12
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-voice",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "OpenClaw voice plugin for Alfe — Discord audio, Twilio, Recall.ai",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",