@alfe.ai/openclaw-voice 0.0.12 → 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 +2 -1
- package/dist/plugin.js +3 -1
- package/openclaw.plugin.json +0 -1
- package/package.json +1 -1
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:
|
|
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:
|
|
142
|
+
version: pkg.version,
|
|
141
143
|
activate(api) {
|
|
142
144
|
const log = api.logger;
|
|
143
145
|
for (const tool of voiceTools) api.registerTool(tool);
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
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",
|
|
7
6
|
"configSchema": {
|