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

推荐订阅源

美团技术团队
J
Java Code Geeks
有赞技术团队
有赞技术团队
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
G
Google Developers Blog
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
腾讯CDC
V
Visual Studio Blog
博客园 - 【当耐特】
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
L
LangChain 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
feat: harden Google Meet realtime join · openclaw/opencla...
steipete · 2026-04-24 · via Recent Commits to openclaw:main

@@ -171,6 +171,10 @@ describe("google-meet plugin", () => {

171171

chrome: {

172172

audioBackend: "blackhole-2ch",

173173

launch: true,

174+

guestName: "OpenClaw Agent",

175+

reuseExistingTab: true,

176+

autoJoin: true,

177+

waitForInCallMs: 20000,

174178

audioInputCommand: [

175179

"rec",

176180

"-q",

@@ -285,7 +289,16 @@ describe("google-meet plugin", () => {

285289

properties: {

286290

action: {

287291

type: "string",

288-

enum: ["join", "status", "setup_status", "resolve_space", "preflight", "leave", "speak"],

292+

enum: [

293+

"join",

294+

"status",

295+

"setup_status",

296+

"resolve_space",

297+

"preflight",

298+

"leave",

299+

"speak",

300+

"test_speech",

301+

],

289302

},

290303

transport: { type: "string", enum: ["chrome", "chrome-node", "twilio"] },

291304

mode: { type: "string", enum: ["realtime", "transcribe"] },

@@ -554,6 +567,10 @@ describe("google-meet plugin", () => {

554567

action: "start",

555568

url: "https://meet.google.com/abc-defg-hij",

556569

mode: "transcribe",

570+

guestName: "OpenClaw Agent",

571+

reuseExistingTab: true,

572+

autoJoin: true,

573+

waitForInCallMs: 20000,

557574

}),

558575

}),

559576

);

@@ -568,6 +585,81 @@ describe("google-meet plugin", () => {

568585

});

569586

});

570587588+

it("reuses an active Meet session for the same URL and transport", async () => {

589+

const { methods, nodesInvoke } = setup(

590+

{

591+

defaultTransport: "chrome-node",

592+

defaultMode: "transcribe",

593+

},

594+

{

595+

nodesInvokeResult: {

596+

payload: {

597+

launched: true,

598+

browser: { inCall: true, micMuted: false },

599+

},

600+

},

601+

},

602+

);

603+

const handler = methods.get("googlemeet.join") as

604+

| ((ctx: {

605+

params: Record<string, unknown>;

606+

respond: ReturnType<typeof vi.fn>;

607+

}) => Promise<void>)

608+

| undefined;

609+

const first = vi.fn();

610+

const second = vi.fn();

611+612+

await handler?.({

613+

params: { url: "https://meet.google.com/abc-defg-hij" },

614+

respond: first,

615+

});

616+

await handler?.({

617+

params: { url: "https://meet.google.com/abc-defg-hij" },

618+

respond: second,

619+

});

620+621+

expect(nodesInvoke).toHaveBeenCalledTimes(1);

622+

expect(second.mock.calls[0]?.[1]).toMatchObject({

623+

session: {

624+

chrome: { health: { inCall: true, micMuted: false } },

625+

notes: expect.arrayContaining(["Reused existing active Meet session."]),

626+

},

627+

});

628+

});

629+630+

it("exposes a test-speech action that joins the requested meeting", async () => {

631+

const { tools, nodesInvoke } = setup(

632+

{

633+

defaultTransport: "chrome-node",

634+

},

635+

{

636+

nodesInvokeResult: {

637+

payload: {

638+

launched: true,

639+

browser: { inCall: true },

640+

},

641+

},

642+

},

643+

);

644+

const tool = tools[0] as {

645+

execute: (id: string, params: unknown) => Promise<{ details: { createdSession?: boolean } }>;

646+

};

647+648+

const result = await tool.execute("id", {

649+

action: "test_speech",

650+

url: "https://meet.google.com/abc-defg-hij",

651+

message: "Say exactly: hello.",

652+

});

653+654+

expect(nodesInvoke).toHaveBeenCalledWith(

655+

expect.objectContaining({

656+

command: "googlemeet.chrome",

657+

params: expect.objectContaining({ action: "start" }),

658+

}),

659+

);

660+

expect(result.details).toMatchObject({ createdSession: true });

661+

});

662+571663

it("explains when chrome-node has no capable paired node", async () => {

572664

const { tools } = setup(

573665

{

@@ -781,7 +873,7 @@ describe("google-meet plugin", () => {

781873

expect(sendAudio).toHaveBeenCalledWith(Buffer.from([1, 2, 3]));

782874

expect(outputStdinWrites).toEqual([Buffer.from([4, 5])]);

783875

expect(bridge.acknowledgeMark).toHaveBeenCalled();

784-

expect(bridge.triggerGreeting).toHaveBeenCalledWith("Say exactly: I'm here and listening.");

876+

expect(bridge.triggerGreeting).not.toHaveBeenCalled();

785877

handle.speak("Say exactly: hello from the meeting.");

786878

expect(bridge.triggerGreeting).toHaveBeenLastCalledWith("Say exactly: hello from the meeting.");

787879

expect(callbacks).toMatchObject({

@@ -922,7 +1014,7 @@ describe("google-meet plugin", () => {

9221014

text: "Use the launch update.",

9231015

});

9241016

});

925-

expect(bridge.triggerGreeting).toHaveBeenCalledWith("Say exactly: I'm here and listening.");

1017+

expect(bridge.triggerGreeting).not.toHaveBeenCalled();

9261018

handle.speak("Say exactly: hello from the node.");

9271019

expect(bridge.triggerGreeting).toHaveBeenLastCalledWith("Say exactly: hello from the node.");

9281020

expect(callbacks).toMatchObject({