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

推荐订阅源

G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
V
Visual Studio Blog
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 叶小钗
I
InfoQ
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
P
Proofpoint News Feed
WordPress大学
WordPress大学
小众软件
小众软件
B
Blog
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
量子位
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
test(google-meet): verify twilio setup readiness · opencl...
steipete · 2026-04-25 · via Recent Commits to openclaw:main

@@ -80,6 +80,7 @@ type NodeListResult = {

8080

function setup(

8181

config: Record<string, unknown> = {},

8282

options: {

83+

fullConfig?: Record<string, unknown>;

8384

nodesListResult?: NodeListResult;

8485

nodesInvokeResult?: unknown;

8586

browserActResult?: Record<string, unknown>;

@@ -163,6 +164,7 @@ function setup(

163164

description: "test",

164165

version: "0",

165166

source: "test",

167+

config: options.fullConfig ?? {},

166168

pluginConfig: config,

167169

runtime: {

168170

system: {

@@ -537,6 +539,94 @@ describe("google-meet plugin", () => {

537539

expect(result.details.ok).toBe(true);

538540

});

539541542+

it("reports Twilio delegation readiness when voice-call is enabled", async () => {

543+

vi.stubEnv("TWILIO_ACCOUNT_SID", "AC123");

544+

vi.stubEnv("TWILIO_AUTH_TOKEN", "secret");

545+

vi.stubEnv("TWILIO_FROM_NUMBER", "+15550001234");

546+

const { tools } = setup(

547+

{

548+

defaultTransport: "chrome-node",

549+

chromeNode: { node: "parallels-macos" },

550+

},

551+

{

552+

fullConfig: {

553+

plugins: {

554+

allow: ["google-meet", "voice-call"],

555+

entries: {

556+

"voice-call": {

557+

enabled: true,

558+

config: { provider: "twilio" },

559+

},

560+

},

561+

},

562+

},

563+

},

564+

);

565+

const tool = tools[0] as {

566+

execute: (

567+

id: string,

568+

params: unknown,

569+

) => Promise<{ details: { ok?: boolean; checks?: unknown[] } }>;

570+

};

571+572+

const result = await tool.execute("id", { action: "setup_status" });

573+574+

expect(result.details.ok).toBe(true);

575+

expect(result.details.checks).toEqual(

576+

expect.arrayContaining([

577+

expect.objectContaining({

578+

id: "twilio-voice-call-plugin",

579+

ok: true,

580+

}),

581+

expect.objectContaining({

582+

id: "twilio-voice-call-credentials",

583+

ok: true,

584+

}),

585+

]),

586+

);

587+

});

588+589+

it("reports missing voice-call wiring for Twilio transport", async () => {

590+

vi.stubEnv("TWILIO_ACCOUNT_SID", "");

591+

vi.stubEnv("TWILIO_AUTH_TOKEN", "");

592+

vi.stubEnv("TWILIO_FROM_NUMBER", "");

593+

const { tools } = setup(

594+

{ defaultTransport: "twilio" },

595+

{

596+

fullConfig: {

597+

plugins: {

598+

allow: ["google-meet"],

599+

entries: {

600+

"voice-call": { enabled: false },

601+

},

602+

},

603+

},

604+

},

605+

);

606+

const tool = tools[0] as {

607+

execute: (

608+

id: string,

609+

params: unknown,

610+

) => Promise<{ details: { ok?: boolean; checks?: unknown[] } }>;

611+

};

612+613+

const result = await tool.execute("id", { action: "setup_status" });

614+615+

expect(result.details.ok).toBe(false);

616+

expect(result.details.checks).toEqual(

617+

expect.arrayContaining([

618+

expect.objectContaining({

619+

id: "twilio-voice-call-plugin",

620+

ok: false,

621+

}),

622+

expect.objectContaining({

623+

id: "twilio-voice-call-credentials",

624+

ok: false,

625+

}),

626+

]),

627+

);

628+

});

629+540630

it("launches Chrome after the BlackHole check", async () => {

541631

const originalPlatform = process.platform;

542632

Object.defineProperty(process, "platform", { value: "darwin" });