@openclaw/google-meet 2026.7.2-beta.2 → 2026.7.2-beta.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/{chrome-create-DM1XJCOH.js → chrome-create-DkWXFsK2.js} +73 -122
- package/dist/{cli-SodPSOFX.js → cli-CksOXL4n.js} +665 -601
- package/dist/{config-BeoHH_z5.js → config-BcaS1BDr.js} +28 -81
- package/dist/{create-CWcFI0ub.js → create-CNAkrEju.js} +20 -2
- package/dist/index.js +1632 -4282
- package/node_modules/typebox/build/compile/validator.d.mts +1 -4
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +5 -2
- package/node_modules/typebox/build/guard/string.mjs +16 -4
- package/node_modules/typebox/build/schema/engine/_functions.mjs +34 -15
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +5 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +8 -0
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +29 -32
- package/npm-shrinkwrap.json +7 -7
- package/openclaw.plugin.json +3 -2
- package/package.json +5 -5
|
@@ -2,6 +2,7 @@ import { t as googleApiError } from "./google-api-errors-CDUYkIcK.js";
|
|
|
2
2
|
import { asRecord, normalizeOptionalLowercaseString, normalizeOptionalString, normalizeOptionalTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { readProviderJsonResponse } from "openclaw/plugin-sdk/provider-http";
|
|
4
4
|
import { fetchWithSsrFGuard } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
5
|
+
import { buildMeetingSoxAudioCommands } from "openclaw/plugin-sdk/meeting-runtime";
|
|
5
6
|
import { addTimerTimeoutGraceMs, resolvePositiveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
6
7
|
import { REALTIME_VOICE_AGENT_CONSULT_TOOL_NAME, resolveRealtimeVoiceAgentConsultToolPolicy } from "openclaw/plugin-sdk/realtime-voice";
|
|
7
8
|
//#region extensions/google-meet/src/meet-url.ts
|
|
@@ -180,85 +181,31 @@ const SOX_DEFAULT_BUFFER_BYTES = 8192;
|
|
|
180
181
|
const SOX_MIN_BUFFER_BYTES = 17;
|
|
181
182
|
const DEFAULT_GOOGLE_MEET_AUDIO_BUFFER_BYTES = SOX_DEFAULT_BUFFER_BYTES / 2;
|
|
182
183
|
const PLAIN_DECIMAL_NUMBER_RE = /^\d+(?:\.\d+)?$/;
|
|
183
|
-
function
|
|
184
|
-
return
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"-L",
|
|
209
|
-
"-"
|
|
210
|
-
];
|
|
211
|
-
const DEFAULT_GOOGLE_MEET_AUDIO_OUTPUT_COMMAND_BASE = [
|
|
212
|
-
"sox",
|
|
213
|
-
"-q",
|
|
214
|
-
"-t",
|
|
215
|
-
"raw",
|
|
216
|
-
"-r",
|
|
217
|
-
"24000",
|
|
218
|
-
"-c",
|
|
219
|
-
"1",
|
|
220
|
-
"-e",
|
|
221
|
-
"signed-integer",
|
|
222
|
-
"-b",
|
|
223
|
-
"16",
|
|
224
|
-
"-L",
|
|
225
|
-
"-",
|
|
226
|
-
"-t",
|
|
227
|
-
"coreaudio",
|
|
228
|
-
"BlackHole 2ch"
|
|
229
|
-
];
|
|
230
|
-
const LEGACY_GOOGLE_MEET_AUDIO_INPUT_COMMAND_BASE = [
|
|
231
|
-
"rec",
|
|
232
|
-
"-q",
|
|
233
|
-
"-t",
|
|
234
|
-
"raw",
|
|
235
|
-
"-r",
|
|
236
|
-
"8000",
|
|
237
|
-
"-c",
|
|
238
|
-
"1",
|
|
239
|
-
"-e",
|
|
240
|
-
"mu-law",
|
|
241
|
-
"-b",
|
|
242
|
-
"8",
|
|
243
|
-
"-"
|
|
244
|
-
];
|
|
245
|
-
const LEGACY_GOOGLE_MEET_AUDIO_OUTPUT_COMMAND_BASE = [
|
|
246
|
-
"play",
|
|
247
|
-
"-q",
|
|
248
|
-
"-t",
|
|
249
|
-
"raw",
|
|
250
|
-
"-r",
|
|
251
|
-
"8000",
|
|
252
|
-
"-c",
|
|
253
|
-
"1",
|
|
254
|
-
"-e",
|
|
255
|
-
"mu-law",
|
|
256
|
-
"-b",
|
|
257
|
-
"8",
|
|
258
|
-
"-"
|
|
259
|
-
];
|
|
260
|
-
const DEFAULT_GOOGLE_MEET_AUDIO_INPUT_COMMAND = withSoxBuffer(DEFAULT_GOOGLE_MEET_AUDIO_INPUT_COMMAND_BASE, DEFAULT_GOOGLE_MEET_AUDIO_BUFFER_BYTES);
|
|
261
|
-
const DEFAULT_GOOGLE_MEET_AUDIO_OUTPUT_COMMAND = withSoxBuffer(DEFAULT_GOOGLE_MEET_AUDIO_OUTPUT_COMMAND_BASE, DEFAULT_GOOGLE_MEET_AUDIO_BUFFER_BYTES);
|
|
184
|
+
function buildGoogleMeetSoxAudioCommands(format, bufferBytes) {
|
|
185
|
+
return format === "g711-ulaw-8khz" ? buildMeetingSoxAudioCommands({
|
|
186
|
+
bufferBytes,
|
|
187
|
+
format: {
|
|
188
|
+
sampleRate: 8e3,
|
|
189
|
+
channels: 1,
|
|
190
|
+
encoding: "mu-law",
|
|
191
|
+
bits: 8
|
|
192
|
+
}
|
|
193
|
+
}) : buildMeetingSoxAudioCommands({
|
|
194
|
+
bufferBytes,
|
|
195
|
+
device: "BlackHole 2ch",
|
|
196
|
+
deviceType: "coreaudio",
|
|
197
|
+
format: {
|
|
198
|
+
sampleRate: 24e3,
|
|
199
|
+
channels: 1,
|
|
200
|
+
encoding: "signed-integer",
|
|
201
|
+
bits: 16,
|
|
202
|
+
endian: "little"
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
const DEFAULT_GOOGLE_MEET_SOX_COMMANDS = buildGoogleMeetSoxAudioCommands("pcm16-24khz", DEFAULT_GOOGLE_MEET_AUDIO_BUFFER_BYTES);
|
|
207
|
+
const DEFAULT_GOOGLE_MEET_AUDIO_INPUT_COMMAND = DEFAULT_GOOGLE_MEET_SOX_COMMANDS.inputCommand;
|
|
208
|
+
const DEFAULT_GOOGLE_MEET_AUDIO_OUTPUT_COMMAND = DEFAULT_GOOGLE_MEET_SOX_COMMANDS.outputCommand;
|
|
262
209
|
const DEFAULT_GOOGLE_MEET_CHROME_AUDIO_FORMAT = "pcm16-24khz";
|
|
263
210
|
const DEFAULT_GOOGLE_MEET_BARGE_IN_RMS_THRESHOLD = 650;
|
|
264
211
|
const DEFAULT_GOOGLE_MEET_BARGE_IN_PEAK_THRESHOLD = 2500;
|
|
@@ -405,10 +352,10 @@ function resolveAudioBufferBytes(value, fallback) {
|
|
|
405
352
|
return Math.max(SOX_MIN_BUFFER_BYTES, Math.trunc(number));
|
|
406
353
|
}
|
|
407
354
|
function defaultAudioInputCommand(format, bufferBytes) {
|
|
408
|
-
return
|
|
355
|
+
return buildGoogleMeetSoxAudioCommands(format, bufferBytes).inputCommand;
|
|
409
356
|
}
|
|
410
357
|
function defaultAudioOutputCommand(format, bufferBytes) {
|
|
411
|
-
return
|
|
358
|
+
return buildGoogleMeetSoxAudioCommands(format, bufferBytes).outputCommand;
|
|
412
359
|
}
|
|
413
360
|
function resolveGoogleMeetConfig(input) {
|
|
414
361
|
return resolveGoogleMeetConfigWithEnv(input);
|
|
@@ -1,7 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as createGoogleMeetSpace, t as createMeetWithBrowserProxyOnNode } from "./chrome-create-DkWXFsK2.js";
|
|
2
2
|
import { resolveGoogleMeetAccessToken } from "./oauth-DOfMKlGp.js";
|
|
3
3
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
|
+
//#region \0rolldown/runtime.js
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __exportAll = (all, no_symbols) => {
|
|
7
|
+
let target = {};
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
4
16
|
//#region extensions/google-meet/src/create.ts
|
|
17
|
+
var create_exports = /* @__PURE__ */ __exportAll({
|
|
18
|
+
createAndJoinMeetFromParams: () => createAndJoinMeetFromParams,
|
|
19
|
+
createMeetFromParams: () => createMeetFromParams,
|
|
20
|
+
hasCreateSpaceConfigInput: () => hasCreateSpaceConfigInput,
|
|
21
|
+
resolveCreateSpaceConfig: () => resolveCreateSpaceConfig
|
|
22
|
+
});
|
|
5
23
|
function normalizeTransport(value) {
|
|
6
24
|
return value === "chrome" || value === "chrome-node" || value === "twilio" ? value : void 0;
|
|
7
25
|
}
|
|
@@ -106,4 +124,4 @@ async function createAndJoinMeetFromParams(params) {
|
|
|
106
124
|
};
|
|
107
125
|
}
|
|
108
126
|
//#endregion
|
|
109
|
-
export {
|
|
127
|
+
export { hasCreateSpaceConfigInput as n, resolveCreateSpaceConfig as r, create_exports as t };
|