@alfe.ai/openclaw 0.4.1 → 0.4.3

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/plugin2.cjs CHANGED
@@ -3242,20 +3242,13 @@ function buildVoiceTools(client) {
3242
3242
  }),
3243
3243
  defineTool({
3244
3244
  name: "set_voice",
3245
- description: "Change this agent's OWN voice. Pass a `voiceId` from list_voices. Optionally set `enabled` to turn voice on/off. Returns the updated voice config.",
3246
- parameters: Type.Object({
3247
- voiceId: Type.String({ description: "The ElevenLabs voice id to use, from list_voices (e.g. the `id` field)." }),
3248
- enabled: Type.Optional(Type.Boolean({ description: "Enable or disable voice. Omit to leave the current on/off state unchanged." }))
3249
- }),
3245
+ description: "Change this agent's OWN voice. Pass a `voiceId` from list_voices. Returns the updated voice config. (Voice is always on it cannot be turned off per-agent.)",
3246
+ parameters: Type.Object({ voiceId: Type.String({ description: "The ElevenLabs voice id to use, from list_voices (e.g. the `id` field)." }) }),
3250
3247
  handler: async (params) => {
3251
3248
  const voiceId = params.voiceId;
3252
- const enabled = params.enabled;
3253
3249
  return {
3254
3250
  updated: true,
3255
- voiceConfig: (await client.updateSelf({ voiceConfig: {
3256
- voiceId,
3257
- ...enabled === void 0 ? {} : { enabled }
3258
- } })).voiceConfig
3251
+ voiceConfig: (await client.updateSelf({ voiceConfig: { voiceId } })).voiceConfig
3259
3252
  };
3260
3253
  }
3261
3254
  }),
package/dist/plugin2.js CHANGED
@@ -3243,20 +3243,13 @@ function buildVoiceTools(client) {
3243
3243
  }),
3244
3244
  defineTool({
3245
3245
  name: "set_voice",
3246
- description: "Change this agent's OWN voice. Pass a `voiceId` from list_voices. Optionally set `enabled` to turn voice on/off. Returns the updated voice config.",
3247
- parameters: Type.Object({
3248
- voiceId: Type.String({ description: "The ElevenLabs voice id to use, from list_voices (e.g. the `id` field)." }),
3249
- enabled: Type.Optional(Type.Boolean({ description: "Enable or disable voice. Omit to leave the current on/off state unchanged." }))
3250
- }),
3246
+ description: "Change this agent's OWN voice. Pass a `voiceId` from list_voices. Returns the updated voice config. (Voice is always on it cannot be turned off per-agent.)",
3247
+ parameters: Type.Object({ voiceId: Type.String({ description: "The ElevenLabs voice id to use, from list_voices (e.g. the `id` field)." }) }),
3251
3248
  handler: async (params) => {
3252
3249
  const voiceId = params.voiceId;
3253
- const enabled = params.enabled;
3254
3250
  return {
3255
3251
  updated: true,
3256
- voiceConfig: (await client.updateSelf({ voiceConfig: {
3257
- voiceId,
3258
- ...enabled === void 0 ? {} : { enabled }
3259
- } })).voiceConfig
3252
+ voiceConfig: (await client.updateSelf({ voiceConfig: { voiceId } })).voiceConfig
3260
3253
  };
3261
3254
  }
3262
3255
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "OpenClaw plugin for Alfe — connects to local gateway daemon via IPC for integration management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "@auriclabs/logger": "^0.1.1",
27
27
  "@sinclair/typebox": "^0.34.48",
28
28
  "zod": "^4.1.5",
29
- "@alfe.ai/agent-api-client": "^0.5.0",
29
+ "@alfe.ai/agent-api-client": "^0.7.0",
30
30
  "@alfe.ai/config": "^0.3.0"
31
31
  },
32
32
  "peerDependencies": {