惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
T
The Blog of Author Tim Ferriss
H
Help Net Security
博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
DataBreaches.Net
博客园 - 聂微东
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
B
Blog
Engineering at Meta
Engineering at Meta
V
V2EX
Hugging Face - Blog
Hugging Face - Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: retry delayed Google Meet speech · openclaw/openclaw...
steipete · 2026-05-04 · via Recent Commits to openclaw:main

@@ -327,11 +327,13 @@ function meetStatusScript(params: {

327327

autoJoin: boolean;

328328

captureCaptions: boolean;

329329

guestName: string;

330+

readOnly?: boolean;

330331

}) {

331332

return `() => {

332333

const text = (node) => (node?.innerText || node?.textContent || "").trim();

333334

const allowMicrophone = ${JSON.stringify(params.allowMicrophone)};

334335

const captureCaptions = ${JSON.stringify(params.captureCaptions)};

336+

const readOnly = ${JSON.stringify(Boolean(params.readOnly))};

335337

const buttons = [...document.querySelectorAll('button')];

336338

const buttonLabel = (button) =>

337339

[

@@ -351,7 +353,7 @@ function meetStatusScript(params: {

351353

const input = [...document.querySelectorAll('input')].find((el) =>

352354

/your name/i.test(el.getAttribute('aria-label') || el.placeholder || '')

353355

);

354-

if (${JSON.stringify(params.autoJoin)} && input && !input.value) {

356+

if (!readOnly && ${JSON.stringify(params.autoJoin)} && input && !input.value) {

355357

input.focus();

356358

input.value = ${JSON.stringify(params.guestName)};

357359

input.dispatchEvent(new Event('input', { bubbles: true }));

@@ -363,20 +365,20 @@ function meetStatusScript(params: {

363365

const pageUrl = location.href;

364366

const permissionNeeded = /permission needed|microphone problem|speaker problem|allow.*(microphone|camera)|blocked.*(microphone|camera)|permission.*(microphone|camera|speaker)/i.test(permissionText);

365367

const mic = buttons.find((button) => /turn off microphone|turn on microphone|microphone/i.test(button.getAttribute('aria-label') || text(button)));

366-

if (!allowMicrophone && mic && /turn off microphone/i.test(mic.getAttribute('aria-label') || text(mic))) {

368+

if (!readOnly && !allowMicrophone && mic && /turn off microphone/i.test(mic.getAttribute('aria-label') || text(mic))) {

367369

mic.click();

368370

notes.push("Muted Meet microphone for observe-only mode.");

369371

}

370-

const join = ${JSON.stringify(params.autoJoin)}

372+

const join = !readOnly && ${JSON.stringify(params.autoJoin)}

371373

? findButton(/join now|ask to join/i)

372374

: null;

373375

if (join) join.click();

374376

const microphoneChoice = findButton(/\\buse microphone\\b/i);

375377

const noMicrophoneChoice = findButton(/\\b(continue|join|use) without (microphone|mic)\\b|\\bnot now\\b/i);

376-

if (allowMicrophone && microphoneChoice) {

378+

if (!readOnly && allowMicrophone && microphoneChoice) {

377379

microphoneChoice.click();

378380

notes.push("Accepted Meet microphone prompt with browser automation.");

379-

} else if (!allowMicrophone && noMicrophoneChoice) {

381+

} else if (!readOnly && !allowMicrophone && noMicrophoneChoice) {

380382

noMicrophoneChoice.click();

381383

notes.push("Skipped Meet microphone prompt for observe-only mode.");

382384

}

@@ -431,7 +433,7 @@ function meetStatusScript(params: {

431433

}

432434

};

433435

if (captionState) {

434-

if (inCall && !captionState.enabledAttempted) {

436+

if (!readOnly && inCall && !captionState.enabledAttempted) {

435437

const captionButton = findButton(/turn on captions|show captions|captions/i);

436438

const captionLabel = captionButton ? (captionButton.getAttribute("aria-label") || captionButton.getAttribute("data-tooltip") || text(captionButton)) : "";

437439

if (captionButton) {

@@ -669,6 +671,7 @@ async function inspectRecoverableMeetTab(params: {

669671

callBrowser: BrowserRequestCaller;

670672

config: GoogleMeetConfig;

671673

mode?: "realtime" | "transcribe";

674+

readOnly?: boolean;

672675

timeoutMs: number;

673676

tab: BrowserTab;

674677

targetId: string;

@@ -680,11 +683,13 @@ async function inspectRecoverableMeetTab(params: {

680683

body: { targetId: params.targetId },

681684

timeoutMs: Math.min(params.timeoutMs, 5_000),

682685

});

683-

const permissionNotes = await grantMeetMediaPermissions({

684-

allowMicrophone,

685-

callBrowser: params.callBrowser,

686-

timeoutMs: params.timeoutMs,

687-

});

686+

const permissionNotes = params.readOnly

687+

? []

688+

: await grantMeetMediaPermissions({

689+

allowMicrophone,

690+

callBrowser: params.callBrowser,

691+

timeoutMs: params.timeoutMs,

692+

});

688693

const evaluated = await params.callBrowser({

689694

method: "POST",

690695

path: "/act",

@@ -696,6 +701,7 @@ async function inspectRecoverableMeetTab(params: {

696701

captureCaptions: params.mode === "transcribe",

697702

guestName: params.config.chrome.guestName,

698703

autoJoin: false,

704+

readOnly: params.readOnly,

699705

}),

700706

},

701707

timeoutMs: Math.min(params.timeoutMs, 10_000),

@@ -724,6 +730,7 @@ async function inspectRecoverableMeetTab(params: {

724730

export async function recoverCurrentMeetTab(params: {

725731

config: GoogleMeetConfig;

726732

mode?: "realtime" | "transcribe";

733+

readOnly?: boolean;

727734

url?: string;

728735

}): Promise<{

729736

transport: "chrome";

@@ -760,6 +767,7 @@ export async function recoverCurrentMeetTab(params: {

760767

callBrowser: callLocalBrowserRequest,

761768

config: params.config,

762769

mode: params.mode,

770+

readOnly: params.readOnly,

763771

timeoutMs,

764772

tab,

765773

targetId,

@@ -771,6 +779,7 @@ export async function recoverCurrentMeetTabOnNode(params: {

771779

runtime: PluginRuntime;

772780

config: GoogleMeetConfig;

773781

mode?: "realtime" | "transcribe";

782+

readOnly?: boolean;

774783

url?: string;

775784

}): Promise<{

776785

transport: "chrome-node";

@@ -823,6 +832,7 @@ export async function recoverCurrentMeetTabOnNode(params: {

823832

}),

824833

config: params.config,

825834

mode: params.mode,

835+

readOnly: params.readOnly,

826836

timeoutMs,

827837

tab,

828838

targetId,