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

推荐订阅源

N
Netflix TechBlog - Medium
罗磊的独立博客
H
Help Net Security
I
Intezer
G
Google Developers Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Troy Hunt's Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
News and Events Feed by Topic
J
Java Code Geeks
S
Security Affairs
T
The Blog of Author Tim Ferriss
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
D
Docker
The GitHub Blog
The GitHub Blog
F
Full Disclosure
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
S
Security @ Cisco Blogs
腾讯CDC
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
T
Threatpost
D
DataBreaches.Net
Recent Announcements
Recent Announcements
博客园 - 三生石上(FineUI控件)
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
L
LINUX DO - 最新话题
Google Online Security Blog
Google Online Security Blog
S
Schneier on Security
S
Securelist
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Help Net Security
Help Net Security
P
Proofpoint News Feed
Project Zero
Project Zero
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 叶小钗

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: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
test: tighten provider discovery contract assertions · openclaw/openclaw@95ed1a0
steipete · 2026-05-11 · via Recent Commits to openclaw:main

@@ -112,6 +112,26 @@ function runCatalog(

112112

});

113113

}

114114115+

function requireRecord(value: unknown, label: string): Record<string, unknown> {

116+

expect(value, label).toBeTypeOf("object");

117+

expect(value, label).not.toBeNull();

118+

return value as Record<string, unknown>;

119+

}

120+121+

function expectProviderFields(result: unknown, fields: Record<string, unknown>) {

122+

const provider = requireRecord(requireRecord(result, "catalog result").provider, "provider");

123+

for (const [key, expected] of Object.entries(fields)) {

124+

expect(provider[key]).toEqual(expected);

125+

}

126+

return provider;

127+

}

128+129+

function providerModelIds(provider: Record<string, unknown>): Array<unknown> {

130+

const models = provider.models;

131+

expect(Array.isArray(models), "provider models").toBe(true);

132+

return (models as Array<{ id?: unknown }>).map((model) => model.id);

133+

}

134+115135

function installDiscoveryHooks(state: DiscoveryState, options: DiscoveryContractOptions) {

116136

beforeAll(async () => {

117137

vi.resetModules();

@@ -295,12 +315,13 @@ export function describeGithubCopilotProviderDiscoveryContract(params: {

295315

models: [],

296316

},

297317

});

298-

expect(resolveCopilotApiTokenMock).toHaveBeenCalledWith({

299-

githubToken: "github-env-token",

300-

env: expect.objectContaining({

301-

GITHUB_TOKEN: "github-env-token",

302-

}),

303-

});

318+

const copilotCall = requireRecord(

319+

resolveCopilotApiTokenMock.mock.calls[0]?.[0],

320+

"copilot token params",

321+

);

322+

expect(copilotCall.githubToken).toBe("github-env-token");

323+

const env = requireRecord(copilotCall.env, "copilot token env");

324+

expect(env.GITHUB_TOKEN).toBe("github-env-token");

304325

});

305326

});

306327

}

@@ -420,33 +441,29 @@ export function describeMinimaxProviderDiscoveryContract(

420441

installDiscoveryHooks(state, { providerIds: ["minimax"], loadMinimax: load });

421442422443

it("keeps API catalog provider-owned", async () => {

423-

await expect(

424-

state.runProviderCatalog({

425-

provider: state.minimaxProvider!,

426-

config: {},

427-

env: {

428-

MINIMAX_API_KEY: "minimax-key",

429-

} as NodeJS.ProcessEnv,

430-

resolveProviderApiKey: () => ({ apiKey: "minimax-key" }),

431-

resolveProviderAuth: () => ({

432-

apiKey: "minimax-key",

433-

discoveryApiKey: undefined,

434-

mode: "api_key",

435-

source: "env",

436-

}),

437-

}),

438-

).resolves.toMatchObject({

439-

provider: {

440-

baseUrl: "https://api.minimax.io/anthropic",

441-

api: "anthropic-messages",

442-

authHeader: true,

444+

const result = await state.runProviderCatalog({

445+

provider: state.minimaxProvider!,

446+

config: {},

447+

env: {

448+

MINIMAX_API_KEY: "minimax-key",

449+

} as NodeJS.ProcessEnv,

450+

resolveProviderApiKey: () => ({ apiKey: "minimax-key" }),

451+

resolveProviderAuth: () => ({

443452

apiKey: "minimax-key",

444-

models: expect.arrayContaining([

445-

expect.objectContaining({ id: "MiniMax-M2.7" }),

446-

expect.objectContaining({ id: "MiniMax-M2.7-highspeed" }),

447-

]),

448-

},

453+

discoveryApiKey: undefined,

454+

mode: "api_key",

455+

source: "env",

456+

}),

457+

});

458+

const provider = expectProviderFields(result, {

459+

baseUrl: "https://api.minimax.io/anthropic",

460+

api: "anthropic-messages",

461+

authHeader: true,

462+

apiKey: "minimax-key",

449463

});

464+

const ids = providerModelIds(provider);

465+

expect(ids).toContain("MiniMax-M2.7");

466+

expect(ids).toContain("MiniMax-M2.7-highspeed");

450467

});

451468452469

it("keeps portal oauth marker fallback provider-owned", async () => {

@@ -463,60 +480,54 @@ export function describeMinimaxProviderDiscoveryContract(

463480

},

464481

});

465482466-

await expect(

467-

runCatalog(state, {

468-

provider: state.minimaxPortalProvider!,

469-

config: {},

470-

env: {} as NodeJS.ProcessEnv,

471-

resolveProviderApiKey: () => ({ apiKey: undefined }),

472-

resolveProviderAuth: () => ({

473-

apiKey: "minimax-oauth",

474-

discoveryApiKey: "access-token",

475-

mode: "oauth",

476-

source: "profile",

477-

profileId: "minimax-portal:default",

478-

}),

479-

}),

480-

).resolves.toMatchObject({

481-

provider: {

482-

baseUrl: "https://api.minimax.io/anthropic",

483-

api: "anthropic-messages",

484-

authHeader: true,

483+

const result = await runCatalog(state, {

484+

provider: state.minimaxPortalProvider!,

485+

config: {},

486+

env: {} as NodeJS.ProcessEnv,

487+

resolveProviderApiKey: () => ({ apiKey: undefined }),

488+

resolveProviderAuth: () => ({

485489

apiKey: "minimax-oauth",

486-

models: expect.arrayContaining([expect.objectContaining({ id: "MiniMax-M2.7" })]),

487-

},

490+

discoveryApiKey: "access-token",

491+

mode: "oauth",

492+

source: "profile",

493+

profileId: "minimax-portal:default",

494+

}),

488495

});

496+

const provider = expectProviderFields(result, {

497+

baseUrl: "https://api.minimax.io/anthropic",

498+

api: "anthropic-messages",

499+

authHeader: true,

500+

apiKey: "minimax-oauth",

501+

});

502+

expect(providerModelIds(provider)).toContain("MiniMax-M2.7");

489503

});

490504491505

it("keeps portal explicit base URL override provider-owned", async () => {

492-

await expect(

493-

state.runProviderCatalog({

494-

provider: state.minimaxPortalProvider!,

495-

config: {

496-

models: {

497-

providers: {

498-

"minimax-portal": {

499-

baseUrl: "https://portal-proxy.example.com/anthropic",

500-

apiKey: "explicit-key",

501-

models: [],

502-

},

506+

const result = await state.runProviderCatalog({

507+

provider: state.minimaxPortalProvider!,

508+

config: {

509+

models: {

510+

providers: {

511+

"minimax-portal": {

512+

baseUrl: "https://portal-proxy.example.com/anthropic",

513+

apiKey: "explicit-key",

514+

models: [],

503515

},

504516

},

505517

},

506-

env: {} as NodeJS.ProcessEnv,

507-

resolveProviderApiKey: () => ({ apiKey: undefined }),

508-

resolveProviderAuth: () => ({

509-

apiKey: undefined,

510-

discoveryApiKey: undefined,

511-

mode: "none",

512-

source: "none",

513-

}),

514-

}),

515-

).resolves.toMatchObject({

516-

provider: {

517-

baseUrl: "https://portal-proxy.example.com/anthropic",

518-

apiKey: "explicit-key",

519518

},

519+

env: {} as NodeJS.ProcessEnv,

520+

resolveProviderApiKey: () => ({ apiKey: undefined }),

521+

resolveProviderAuth: () => ({

522+

apiKey: undefined,

523+

discoveryApiKey: undefined,

524+

mode: "none",

525+

source: "none",

526+

}),

527+

});

528+

expectProviderFields(result, {

529+

baseUrl: "https://portal-proxy.example.com/anthropic",

530+

apiKey: "explicit-key",

520531

});

521532

});

522533

});

@@ -531,42 +542,38 @@ export function describeModelStudioProviderDiscoveryContract(

531542

installDiscoveryHooks(state, { providerIds: ["modelstudio"], loadModelStudio: load });

532543533544

it("keeps catalog provider-owned", async () => {

534-

await expect(

535-

state.runProviderCatalog({

536-

provider: state.modelStudioProvider!,

537-

config: {

538-

models: {

539-

providers: {

540-

modelstudio: {

541-

baseUrl: "https://coding.dashscope.aliyuncs.com/v1",

542-

models: [],

543-

},

545+

const result = await state.runProviderCatalog({

546+

provider: state.modelStudioProvider!,

547+

config: {

548+

models: {

549+

providers: {

550+

modelstudio: {

551+

baseUrl: "https://coding.dashscope.aliyuncs.com/v1",

552+

models: [],

544553

},

545554

},

546555

},

547-

env: {

548-

MODELSTUDIO_API_KEY: "modelstudio-key",

549-

} as NodeJS.ProcessEnv,

550-

resolveProviderApiKey: () => ({ apiKey: "modelstudio-key" }),

551-

resolveProviderAuth: () => ({

552-

apiKey: "modelstudio-key",

553-

discoveryApiKey: undefined,

554-

mode: "api_key",

555-

source: "env",

556-

}),

557-

}),

558-

).resolves.toMatchObject({

559-

provider: {

560-

baseUrl: "https://coding.dashscope.aliyuncs.com/v1",

561-

api: "openai-completions",

562-

apiKey: "modelstudio-key",

563-

models: expect.arrayContaining([

564-

expect.objectContaining({ id: "qwen3.5-plus" }),

565-

expect.objectContaining({ id: "qwen3-max-2026-01-23" }),

566-

expect.objectContaining({ id: "MiniMax-M2.5" }),

567-

]),

568556

},

557+

env: {

558+

MODELSTUDIO_API_KEY: "modelstudio-key",

559+

} as NodeJS.ProcessEnv,

560+

resolveProviderApiKey: () => ({ apiKey: "modelstudio-key" }),

561+

resolveProviderAuth: () => ({

562+

apiKey: "modelstudio-key",

563+

discoveryApiKey: undefined,

564+

mode: "api_key",

565+

source: "env",

566+

}),

567+

});

568+

const provider = expectProviderFields(result, {

569+

baseUrl: "https://coding.dashscope.aliyuncs.com/v1",

570+

api: "openai-completions",

571+

apiKey: "modelstudio-key",

569572

});

573+

const ids = providerModelIds(provider);

574+

expect(ids).toContain("qwen3.5-plus");

575+

expect(ids).toContain("qwen3-max-2026-01-23");

576+

expect(ids).toContain("MiniMax-M2.5");

570577

});

571578

});

572579

}

@@ -619,29 +626,26 @@ export function describeCloudflareAiGatewayProviderDiscoveryContract(

619626

},

620627

});

621628622-

await expect(

623-

runCatalog(state, {

624-

provider: state.cloudflareAiGatewayProvider!,

625-

config: {},

626-

env: {

627-

CLOUDFLARE_AI_GATEWAY_API_KEY: "secret-value",

628-

} as NodeJS.ProcessEnv,

629-

resolveProviderApiKey: () => ({ apiKey: undefined }),

630-

resolveProviderAuth: () => ({

631-

apiKey: undefined,

632-

discoveryApiKey: undefined,

633-

mode: "none",

634-

source: "none",

635-

}),

629+

const result = await runCatalog(state, {

630+

provider: state.cloudflareAiGatewayProvider!,

631+

config: {},

632+

env: {

633+

CLOUDFLARE_AI_GATEWAY_API_KEY: "secret-value",

634+

} as NodeJS.ProcessEnv,

635+

resolveProviderApiKey: () => ({ apiKey: undefined }),

636+

resolveProviderAuth: () => ({

637+

apiKey: undefined,

638+

discoveryApiKey: undefined,

639+

mode: "none",

640+

source: "none",

636641

}),

637-

).resolves.toEqual({

638-

provider: {

639-

baseUrl: "https://gateway.ai.cloudflare.com/v1/acc-123/gw-456/anthropic",

640-

api: "anthropic-messages",

641-

apiKey: "CLOUDFLARE_AI_GATEWAY_API_KEY",

642-

models: [expect.objectContaining({ id: "claude-sonnet-4-6" })],

643-

},

644642

});

643+

const provider = expectProviderFields(result, {

644+

baseUrl: "https://gateway.ai.cloudflare.com/v1/acc-123/gw-456/anthropic",

645+

api: "anthropic-messages",

646+

apiKey: "CLOUDFLARE_AI_GATEWAY_API_KEY",

647+

});

648+

expect(providerModelIds(provider)).toEqual(["claude-sonnet-4-6"]);

645649

});

646650

});

647651

}