@openclaw/voice-call 2026.7.1 → 2026.7.2-beta.2

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.
Files changed (31) hide show
  1. package/README.md +1 -2
  2. package/dist/doctor-contract-api.js +34 -12
  3. package/dist/{guarded-json-api-CLVDU_h1.js → guarded-json-api-BKOgUU1q.js} +32 -41
  4. package/dist/index.js +12 -28
  5. package/dist/{plivo-D5wI4-pi.js → plivo-ByAIoPFp.js} +2 -2
  6. package/dist/{realtime-handler-Bz-MNWtD.js → realtime-handler-DJk-eYyf.js} +31 -20
  7. package/dist/{response-generator-D3YO-WtN.js → response-generator-Cdj8EuLg.js} +20 -4
  8. package/dist/{runtime-entry-DwMgbq2p.js → runtime-entry-DSgyqIwE.js} +820 -274
  9. package/dist/runtime-entry.js +1 -1
  10. package/dist/setup-api.js +86 -2
  11. package/dist/{store-DtewuuOb.js → store-path-nYL-yM0S.js} +12 -5
  12. package/dist/{telnyx-DksS6q0n.js → telnyx-DMbLYwj4.js} +1 -1
  13. package/dist/{twilio-BYcsdUkj.js → twilio-BTKKlkLT.js} +7 -10
  14. package/dist/twilio-region-4fkgz3UG.js +25 -0
  15. package/npm-shrinkwrap.json +3 -13
  16. package/openclaw.plugin.json +1 -0
  17. package/package.json +4 -6
  18. package/dist/config-CDSeuGp3.js +0 -674
  19. package/dist/config-compat-D8fcjOHp.js +0 -156
  20. package/node_modules/commander/LICENSE +0 -22
  21. package/node_modules/commander/Readme.md +0 -1172
  22. package/node_modules/commander/index.js +0 -21
  23. package/node_modules/commander/lib/argument.js +0 -147
  24. package/node_modules/commander/lib/command.js +0 -2790
  25. package/node_modules/commander/lib/error.js +0 -36
  26. package/node_modules/commander/lib/help.js +0 -731
  27. package/node_modules/commander/lib/option.js +0 -377
  28. package/node_modules/commander/lib/suggestSimilar.js +0 -99
  29. package/node_modules/commander/package-support.json +0 -19
  30. package/node_modules/commander/package.json +0 -64
  31. package/node_modules/commander/typings/index.d.ts +0 -1113
@@ -1,21 +0,0 @@
1
- import { Argument } from './lib/argument.js';
2
- import { Command } from './lib/command.js';
3
- import { CommanderError, InvalidArgumentError } from './lib/error.js';
4
- import { Help } from './lib/help.js';
5
- import { Option } from './lib/option.js';
6
-
7
- export const program = new Command();
8
-
9
- export const createCommand = (name) => new Command(name);
10
- export const createOption = (flags, description) =>
11
- new Option(flags, description);
12
- export const createArgument = (name, description) =>
13
- new Argument(name, description);
14
-
15
- /**
16
- * Expose classes
17
- */
18
-
19
- export { Command, Option, Argument, Help };
20
- export { CommanderError, InvalidArgumentError };
21
- export { InvalidArgumentError as InvalidOptionArgumentError }; // Deprecated
@@ -1,147 +0,0 @@
1
- import { InvalidArgumentError } from './error.js';
2
-
3
- export class Argument {
4
- /**
5
- * Initialize a new command argument with the given name and description.
6
- * The default is that the argument is required, and you can explicitly
7
- * indicate this with <> around the name. Put [] around the name for an optional argument.
8
- *
9
- * @param {string} name
10
- * @param {string} [description]
11
- */
12
-
13
- constructor(name, description) {
14
- this.description = description || '';
15
- this.variadic = false;
16
- this.parseArg = undefined;
17
- this.defaultValue = undefined;
18
- this.defaultValueDescription = undefined;
19
- this.argChoices = undefined;
20
-
21
- switch (name[0]) {
22
- case '<': // e.g. <required>
23
- this.required = true;
24
- this._name = name.slice(1, -1);
25
- break;
26
- case '[': // e.g. [optional]
27
- this.required = false;
28
- this._name = name.slice(1, -1);
29
- break;
30
- default:
31
- this.required = true;
32
- this._name = name;
33
- break;
34
- }
35
-
36
- if (this._name.endsWith('...')) {
37
- this.variadic = true;
38
- this._name = this._name.slice(0, -3);
39
- }
40
- }
41
-
42
- /**
43
- * Return argument name.
44
- *
45
- * @return {string}
46
- */
47
-
48
- name() {
49
- return this._name;
50
- }
51
-
52
- /**
53
- * @package
54
- */
55
-
56
- _collectValue(value, previous) {
57
- if (previous === this.defaultValue || !Array.isArray(previous)) {
58
- return [value];
59
- }
60
-
61
- previous.push(value);
62
- return previous;
63
- }
64
-
65
- /**
66
- * Set the default value, and optionally supply the description to be displayed in the help.
67
- *
68
- * @param {*} value
69
- * @param {string} [description]
70
- * @return {Argument}
71
- */
72
-
73
- default(value, description) {
74
- this.defaultValue = value;
75
- this.defaultValueDescription = description;
76
- return this;
77
- }
78
-
79
- /**
80
- * Set the custom handler for processing CLI command arguments into argument values.
81
- *
82
- * @param {Function} [fn]
83
- * @return {Argument}
84
- */
85
-
86
- argParser(fn) {
87
- this.parseArg = fn;
88
- return this;
89
- }
90
-
91
- /**
92
- * Only allow argument value to be one of choices.
93
- *
94
- * @param {string[]} values
95
- * @return {Argument}
96
- */
97
-
98
- choices(values) {
99
- this.argChoices = values.slice();
100
- this.parseArg = (arg, previous) => {
101
- if (!this.argChoices.includes(arg)) {
102
- throw new InvalidArgumentError(
103
- `Allowed choices are ${this.argChoices.join(', ')}.`,
104
- );
105
- }
106
- if (this.variadic) {
107
- return this._collectValue(arg, previous);
108
- }
109
- return arg;
110
- };
111
- return this;
112
- }
113
-
114
- /**
115
- * Make argument required.
116
- *
117
- * @returns {Argument}
118
- */
119
- argRequired() {
120
- this.required = true;
121
- return this;
122
- }
123
-
124
- /**
125
- * Make argument optional.
126
- *
127
- * @returns {Argument}
128
- */
129
- argOptional() {
130
- this.required = false;
131
- return this;
132
- }
133
- }
134
-
135
- /**
136
- * Takes an argument and returns its human readable equivalent for help usage.
137
- *
138
- * @param {Argument} arg
139
- * @return {string}
140
- * @private
141
- */
142
-
143
- export function humanReadableArgName(arg) {
144
- const nameOutput = arg.name() + (arg.variadic === true ? '...' : '');
145
-
146
- return arg.required ? '<' + nameOutput + '>' : '[' + nameOutput + ']';
147
- }