@alfe.ai/openclaw 0.4.2 → 0.4.4
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 +4 -10
- package/dist/plugin2.js +5 -11
- package/package.json +2 -2
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.
|
|
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
|
}),
|
|
@@ -3342,6 +3335,7 @@ const plugin = {
|
|
|
3342
3335
|
description: "Connects OpenClaw to the local Alfe gateway daemon",
|
|
3343
3336
|
version: pkg.version,
|
|
3344
3337
|
activate(api) {
|
|
3338
|
+
(0, _alfe_ai_agent_api_client.installToolErrorCapture)(api, { plugin: "openclaw" });
|
|
3345
3339
|
const log = api.logger;
|
|
3346
3340
|
let cfg = null;
|
|
3347
3341
|
try {
|
package/dist/plugin2.js
CHANGED
|
@@ -3,7 +3,7 @@ import { extname, join } from "node:path";
|
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { resolveConfig } from "@alfe.ai/config";
|
|
6
|
-
import { AgentApiClient } from "@alfe.ai/agent-api-client";
|
|
6
|
+
import { AgentApiClient, installToolErrorCapture } from "@alfe.ai/agent-api-client";
|
|
7
7
|
import { createConnection } from "node:net";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { EventEmitter } from "node:events";
|
|
@@ -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.
|
|
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
|
}),
|
|
@@ -3343,6 +3336,7 @@ const plugin = {
|
|
|
3343
3336
|
description: "Connects OpenClaw to the local Alfe gateway daemon",
|
|
3344
3337
|
version: pkg.version,
|
|
3345
3338
|
activate(api) {
|
|
3339
|
+
installToolErrorCapture(api, { plugin: "openclaw" });
|
|
3346
3340
|
const log = api.logger;
|
|
3347
3341
|
let cfg = null;
|
|
3348
3342
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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.
|
|
29
|
+
"@alfe.ai/agent-api-client": "^0.8.0",
|
|
30
30
|
"@alfe.ai/config": "^0.3.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|