@alfe.ai/openclaw-voice 0.0.7 → 0.0.9
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 +4 -0
- package/dist/plugin.js +4 -0
- package/package.json +2 -2
package/dist/plugin.cjs
CHANGED
|
@@ -140,6 +140,10 @@ const plugin = {
|
|
|
140
140
|
version: "0.2.0",
|
|
141
141
|
activate(api) {
|
|
142
142
|
const log = api.logger;
|
|
143
|
+
if (!("runtime" in api)) {
|
|
144
|
+
log.debug("Management command context — skipping voice resource init");
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
143
147
|
for (const tool of voiceTools) api.registerTool(tool);
|
|
144
148
|
log.info(`Registered ${String(voiceTools.length)} voice tools: ${voiceTools.map((t) => t.name).join(", ")}`);
|
|
145
149
|
if (!globalThis.__voiceGatewayActivated) {
|
package/dist/plugin.js
CHANGED
|
@@ -140,6 +140,10 @@ const plugin = {
|
|
|
140
140
|
version: "0.2.0",
|
|
141
141
|
activate(api) {
|
|
142
142
|
const log = api.logger;
|
|
143
|
+
if (!("runtime" in api)) {
|
|
144
|
+
log.debug("Management command context — skipping voice resource init");
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
143
147
|
for (const tool of voiceTools) api.registerTool(tool);
|
|
144
148
|
log.info(`Registered ${String(voiceTools.length)} voice tools: ${voiceTools.map((t) => t.name).join(", ")}`);
|
|
145
149
|
if (!globalThis.__voiceGatewayActivated) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw-voice",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "OpenClaw voice plugin for Alfe — Discord audio, Twilio, Recall.ai",
|
|
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/config": "0.0.
|
|
31
|
+
"@alfe.ai/config": "0.0.8"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsdown",
|