@alfe.ai/openclaw-voice 0.1.5 → 0.1.7

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
@@ -289,6 +289,7 @@ const plugin = {
289
289
  description: "Voice integration — TTS/STT via the voice service, channel-specific operations via channel services",
290
290
  version: pkg.version,
291
291
  activate(api) {
292
+ (0, _alfe_ai_agent_api_client.installToolErrorCapture)(api, { plugin: "openclaw-voice" });
292
293
  const log = api.logger;
293
294
  for (const tool of voiceTools) api.registerTool(tool);
294
295
  log.info(`Registered ${String(voiceTools.length)} voice tools: ${voiceTools.map((t) => t.name).join(", ")}`);
package/dist/plugin2.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from "node:module";
2
2
  import { Type } from "@sinclair/typebox";
3
3
  import { DEFAULT_SOCKET_PATH, resolveConfig } from "@alfe.ai/config";
4
- import { AgentApiClient } from "@alfe.ai/agent-api-client";
4
+ import { AgentApiClient, installToolErrorCapture } from "@alfe.ai/agent-api-client";
5
5
  import { readFile, writeFile } from "node:fs/promises";
6
6
  import { isAbsolute, resolve } from "node:path";
7
7
  //#region src/audio.ts
@@ -289,6 +289,7 @@ const plugin = {
289
289
  description: "Voice integration — TTS/STT via the voice service, channel-specific operations via channel services",
290
290
  version: pkg.version,
291
291
  activate(api) {
292
+ installToolErrorCapture(api, { plugin: "openclaw-voice" });
292
293
  const log = api.logger;
293
294
  for (const tool of voiceTools) api.registerTool(tool);
294
295
  log.info(`Registered ${String(voiceTools.length)} voice tools: ${voiceTools.map((t) => t.name).join(", ")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-voice",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
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/agent-api-client": "0.7.0",
31
+ "@alfe.ai/agent-api-client": "0.8.0",
32
32
  "@alfe.ai/config": "0.3.0"
33
33
  },
34
34
  "peerDependencies": {