@openclaw/voice-call 2026.7.2-beta.4 → 2026.7.2-beta.5
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/cli-metadata.js +5 -1
- package/dist/cli-output-mode.js +27 -0
- package/dist/index.js +5 -1
- package/package.json +4 -5
- package/npm-shrinkwrap.json +0 -61
package/dist/cli-metadata.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VOICE_CALL_CLI_DESCRIPTOR } from "./cli-output-mode.js";
|
|
1
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
2
3
|
//#region extensions/voice-call/cli-metadata.ts
|
|
3
4
|
var cli_metadata_default = definePluginEntry({
|
|
@@ -5,7 +6,10 @@ var cli_metadata_default = definePluginEntry({
|
|
|
5
6
|
name: "Voice Call",
|
|
6
7
|
description: "Voice call channel plugin",
|
|
7
8
|
register(api) {
|
|
8
|
-
api.registerCli(() => {}, {
|
|
9
|
+
api.registerCli(() => {}, {
|
|
10
|
+
commands: ["voicecall"],
|
|
11
|
+
descriptors: [VOICE_CALL_CLI_DESCRIPTOR]
|
|
12
|
+
});
|
|
9
13
|
}
|
|
10
14
|
});
|
|
11
15
|
//#endregion
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { getRootOptionAwareCommandPath } from "openclaw/plugin-sdk/cli-argv";
|
|
2
|
+
//#region extensions/voice-call/cli-output-mode.ts
|
|
3
|
+
const MACHINE_OUTPUT_COMMANDS = /* @__PURE__ */ new Set([
|
|
4
|
+
"call",
|
|
5
|
+
"continue",
|
|
6
|
+
"dtmf",
|
|
7
|
+
"end",
|
|
8
|
+
"expose",
|
|
9
|
+
"latency",
|
|
10
|
+
"speak",
|
|
11
|
+
"start",
|
|
12
|
+
"status",
|
|
13
|
+
"tail"
|
|
14
|
+
]);
|
|
15
|
+
/** Voice-call result actions emit JSON, while tail reserves stdout for JSONL. */
|
|
16
|
+
function isVoiceCallMachineOutput(params) {
|
|
17
|
+
const [, command] = getRootOptionAwareCommandPath(params.argv, 2);
|
|
18
|
+
return MACHINE_OUTPUT_COMMANDS.has(command ?? "");
|
|
19
|
+
}
|
|
20
|
+
const VOICE_CALL_CLI_DESCRIPTOR = {
|
|
21
|
+
name: "voicecall",
|
|
22
|
+
description: "Voice call utilities",
|
|
23
|
+
hasSubcommands: true,
|
|
24
|
+
machineOutput: isVoiceCallMachineOutput
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { VOICE_CALL_CLI_DESCRIPTOR };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { definePluginEntry, sleep } from "./runtime-api.js";
|
|
2
2
|
import "./api.js";
|
|
3
|
+
import { VOICE_CALL_CLI_DESCRIPTOR } from "./cli-output-mode.js";
|
|
3
4
|
import { S as validateProviderConfig, b as resolveVoiceCallConfig, c as resolveWebhookExposureStatus, d as setupTailscaleExposureRoute, g as resolveUserPath, l as cleanupTailscaleExposureRoute, t as createVoiceCallRuntime, u as getTailscaleSelfInfo, y as VoiceCallConfigSchema } from "./runtime-entry-CQtitvRd.js";
|
|
4
5
|
import { g as setVoiceCallStateRuntime, t as resolveDefaultVoiceCallStoreDir, u as getCallHistoryFromStore } from "./store-path-nYL-yM0S.js";
|
|
5
6
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -1349,7 +1350,10 @@ var voice_call_default = definePluginEntry({
|
|
|
1349
1350
|
ensureRuntime,
|
|
1350
1351
|
stateRuntime: api.runtime.state,
|
|
1351
1352
|
logger: api.logger
|
|
1352
|
-
}), {
|
|
1353
|
+
}), {
|
|
1354
|
+
commands: ["voicecall"],
|
|
1355
|
+
descriptors: [VOICE_CALL_CLI_DESCRIPTOR]
|
|
1356
|
+
});
|
|
1353
1357
|
api.registerService({
|
|
1354
1358
|
id: "voicecall",
|
|
1355
1359
|
start: () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/voice-call",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.5",
|
|
4
4
|
"description": "OpenClaw voice-call plugin for Twilio, Telnyx, and Plivo phone calls.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"zod": "4.4.3"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"openclaw": ">=2026.7.2-beta.
|
|
16
|
+
"openclaw": ">=2026.7.2-beta.5"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|
|
19
19
|
"openclaw": {
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"minHostVersion": ">=2026.4.10"
|
|
31
31
|
},
|
|
32
32
|
"compat": {
|
|
33
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
33
|
+
"pluginApi": ">=2026.7.2-beta.5"
|
|
34
34
|
},
|
|
35
35
|
"build": {
|
|
36
|
-
"openclawVersion": "2026.7.2-beta.
|
|
36
|
+
"openclawVersion": "2026.7.2-beta.5"
|
|
37
37
|
},
|
|
38
38
|
"release": {
|
|
39
39
|
"publishToClawHub": true,
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"files": [
|
|
47
47
|
"dist/**",
|
|
48
48
|
"openclaw.plugin.json",
|
|
49
|
-
"npm-shrinkwrap.json",
|
|
50
49
|
"README.md",
|
|
51
50
|
"skills/**"
|
|
52
51
|
],
|
package/npm-shrinkwrap.json
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@openclaw/voice-call",
|
|
3
|
-
"version": "2026.7.2-beta.4",
|
|
4
|
-
"lockfileVersion": 3,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"packages": {
|
|
7
|
-
"": {
|
|
8
|
-
"name": "@openclaw/voice-call",
|
|
9
|
-
"version": "2026.7.2-beta.4",
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"typebox": "1.3.6",
|
|
12
|
-
"ws": "8.21.1",
|
|
13
|
-
"zod": "4.4.3"
|
|
14
|
-
},
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"openclaw": ">=2026.7.2-beta.4"
|
|
17
|
-
},
|
|
18
|
-
"peerDependenciesMeta": {
|
|
19
|
-
"openclaw": {
|
|
20
|
-
"optional": true
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"node_modules/typebox": {
|
|
25
|
-
"version": "1.3.6",
|
|
26
|
-
"resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.6.tgz",
|
|
27
|
-
"integrity": "sha512-Sc8RA0NCMEFmApHNU9ZMzqcpQj46She44J8ffpLM/bdhLNUZKq7DJumcLcsFx1gRmDfQPgCgOmFFJ7rcnfWNyA==",
|
|
28
|
-
"license": "MIT"
|
|
29
|
-
},
|
|
30
|
-
"node_modules/ws": {
|
|
31
|
-
"version": "8.21.1",
|
|
32
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.21.1.tgz",
|
|
33
|
-
"integrity": "sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==",
|
|
34
|
-
"license": "MIT",
|
|
35
|
-
"engines": {
|
|
36
|
-
"node": ">=10.0.0"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"bufferutil": "^4.0.1",
|
|
40
|
-
"utf-8-validate": ">=5.0.2"
|
|
41
|
-
},
|
|
42
|
-
"peerDependenciesMeta": {
|
|
43
|
-
"bufferutil": {
|
|
44
|
-
"optional": true
|
|
45
|
-
},
|
|
46
|
-
"utf-8-validate": {
|
|
47
|
-
"optional": true
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"node_modules/zod": {
|
|
52
|
-
"version": "4.4.3",
|
|
53
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
|
|
54
|
-
"integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
|
|
55
|
-
"license": "MIT",
|
|
56
|
-
"funding": {
|
|
57
|
-
"url": "https://github.com/sponsors/colinhacks"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|