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

推荐订阅源

V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
B
Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志
Engineering at Meta
Engineering at Meta
IT之家
IT之家
V
Visual Studio Blog
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
A
About on SuperTechFans
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
N
News and Events Feed by Topic
A
Arctic Wolf
WordPress大学
WordPress大学
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Darknet – Hacking Tools, Hacker News & Cyber Security
F
Fortinet All Blogs
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Y
Y Combinator Blog
T
Threat Research - Cisco Blogs
Latest news
Latest news
Simon Willison's Weblog
Simon Willison's Weblog
Cyberwarzone
Cyberwarzone
S
Schneier on Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
L
Lohrmann on Cybersecurity
Stack Overflow Blog
Stack Overflow Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy International News Feed
J
Java Code Geeks
Spread Privacy
Spread Privacy
宝玉的分享
宝玉的分享
I
Intezer
L
LangChain Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
G
GRAHAM CLULEY
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News and Events Feed by Topic
AWS News Blog
AWS News Blog
Attack and Defense Labs
Attack and Defense Labs
Security Archives - TechRepublic
Security Archives - TechRepublic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO

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 test: merge chat context notice checks · openclaw/openclaw@5c2f4af 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: 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: reduce auth choice fixture churn · openclaw/openclaw@857b9cd
steipete · 2026-04-17 · via Recent Commits to openclaw:main

@@ -910,9 +910,8 @@ describe("applyAuthChoice", () => {

910910

token: "hf-test-token",

911911

},

912912

];

913+

await setupTempState();

913914

for (const scenario of scenarios) {

914-

await setupTempState();

915-916915

const text = vi.fn().mockResolvedValue(scenario.token);

917916

const { prompter, runtime } = createApiKeyPromptHarness({ text });

918917

@@ -980,8 +979,8 @@ describe("applyAuthChoice", () => {

980979

expectedDetectCall: { apiKey: "zai-detected-key" },

981980

},

982981

];

982+

await setupTempState();

983983

for (const scenario of scenarios) {

984-

await setupTempState();

985984

detectZaiEndpoint.mockReset();

986985

detectZaiEndpoint.mockResolvedValue(null);

987986

if (scenario.detectResult) {

@@ -1073,8 +1072,8 @@ describe("applyAuthChoice", () => {

10731072

expectedModelPrefix: "litellm/",

10741073

},

10751074

];

1075+

await setupTempState();

10761076

for (const scenario of scenarios) {

1077-

await setupTempState();

10781077

delete process.env.HF_TOKEN;

10791078

delete process.env.HUGGINGFACE_HUB_TOKEN;

10801079

@@ -1116,84 +1115,97 @@ describe("applyAuthChoice", () => {

11161115

}

11171116

});

111811171119-

it.each([

1120-

{

1121-

authChoice: "moonshot-api-key",

1122-

tokenProvider: "moonshot",

1123-

profileId: "moonshot:default",

1124-

provider: "moonshot",

1125-

modelPrefix: "moonshot/",

1126-

},

1127-

{

1128-

authChoice: "mistral-api-key",

1129-

tokenProvider: "mistral",

1130-

profileId: "mistral:default",

1131-

provider: "mistral",

1132-

modelPrefix: "mistral/",

1133-

},

1134-

{

1135-

authChoice: "kimi-code-api-key",

1136-

tokenProvider: "kimi-code",

1137-

profileId: "kimi:default",

1138-

provider: "kimi",

1139-

modelPrefix: "kimi/",

1140-

},

1141-

{

1142-

authChoice: "xiaomi-api-key",

1143-

tokenProvider: "xiaomi",

1144-

profileId: "xiaomi:default",

1145-

provider: "xiaomi",

1146-

modelPrefix: "xiaomi/",

1147-

},

1148-

{

1149-

authChoice: "venice-api-key",

1150-

tokenProvider: "venice",

1151-

profileId: "venice:default",

1152-

provider: "venice",

1153-

modelPrefix: "venice/",

1154-

},

1155-

{

1156-

authChoice: "opencode-zen",

1157-

tokenProvider: "opencode",

1158-

profileId: "opencode:default",

1159-

provider: "opencode",

1160-

modelPrefix: "opencode/",

1161-

extraProfiles: ["opencode-go:default"],

1162-

},

1163-

{

1164-

authChoice: "opencode-go",

1165-

tokenProvider: "opencode-go",

1166-

profileId: "opencode-go:default",

1167-

provider: "opencode-go",

1168-

modelPrefix: "opencode-go/",

1169-

extraProfiles: ["opencode:default"],

1170-

},

1171-

{

1172-

authChoice: "together-api-key",

1173-

tokenProvider: "together",

1174-

profileId: "together:default",

1175-

provider: "together",

1176-

modelPrefix: "together/",

1177-

},

1178-

{

1179-

authChoice: "qianfan-api-key",

1180-

tokenProvider: "qianfan",

1181-

profileId: "qianfan:default",

1182-

provider: "qianfan",

1183-

modelPrefix: "qianfan/",

1184-

},

1185-

{

1186-

authChoice: "synthetic-api-key",

1187-

tokenProvider: "synthetic",

1188-

profileId: "synthetic:default",

1189-

provider: "synthetic",

1190-

modelPrefix: "synthetic/",

1191-

},

1192-

] as const)(

1193-

"uses opts token for $authChoice without prompting",

1194-

async ({ authChoice, tokenProvider, profileId, provider, modelPrefix, extraProfiles }) => {

1195-

await setupTempState();

1196-1118+

it("uses opts token for direct provider choices without prompting", async () => {

1119+

await setupTempState();

1120+

const scenarios: Array<{

1121+

authChoice: AuthChoice;

1122+

tokenProvider: string;

1123+

profileId: string;

1124+

provider: string;

1125+

modelPrefix: string;

1126+

extraProfiles?: string[];

1127+

}> = [

1128+

{

1129+

authChoice: "moonshot-api-key",

1130+

tokenProvider: "moonshot",

1131+

profileId: "moonshot:default",

1132+

provider: "moonshot",

1133+

modelPrefix: "moonshot/",

1134+

},

1135+

{

1136+

authChoice: "mistral-api-key",

1137+

tokenProvider: "mistral",

1138+

profileId: "mistral:default",

1139+

provider: "mistral",

1140+

modelPrefix: "mistral/",

1141+

},

1142+

{

1143+

authChoice: "kimi-code-api-key",

1144+

tokenProvider: "kimi-code",

1145+

profileId: "kimi:default",

1146+

provider: "kimi",

1147+

modelPrefix: "kimi/",

1148+

},

1149+

{

1150+

authChoice: "xiaomi-api-key",

1151+

tokenProvider: "xiaomi",

1152+

profileId: "xiaomi:default",

1153+

provider: "xiaomi",

1154+

modelPrefix: "xiaomi/",

1155+

},

1156+

{

1157+

authChoice: "venice-api-key",

1158+

tokenProvider: "venice",

1159+

profileId: "venice:default",

1160+

provider: "venice",

1161+

modelPrefix: "venice/",

1162+

},

1163+

{

1164+

authChoice: "opencode-zen",

1165+

tokenProvider: "opencode",

1166+

profileId: "opencode:default",

1167+

provider: "opencode",

1168+

modelPrefix: "opencode/",

1169+

extraProfiles: ["opencode-go:default"],

1170+

},

1171+

{

1172+

authChoice: "opencode-go",

1173+

tokenProvider: "opencode-go",

1174+

profileId: "opencode-go:default",

1175+

provider: "opencode-go",

1176+

modelPrefix: "opencode-go/",

1177+

extraProfiles: ["opencode:default"],

1178+

},

1179+

{

1180+

authChoice: "together-api-key",

1181+

tokenProvider: "together",

1182+

profileId: "together:default",

1183+

provider: "together",

1184+

modelPrefix: "together/",

1185+

},

1186+

{

1187+

authChoice: "qianfan-api-key",

1188+

tokenProvider: "qianfan",

1189+

profileId: "qianfan:default",

1190+

provider: "qianfan",

1191+

modelPrefix: "qianfan/",

1192+

},

1193+

{

1194+

authChoice: "synthetic-api-key",

1195+

tokenProvider: "synthetic",

1196+

profileId: "synthetic:default",

1197+

provider: "synthetic",

1198+

modelPrefix: "synthetic/",

1199+

},

1200+

];

1201+

for (const {

1202+

authChoice,

1203+

tokenProvider,

1204+

profileId,

1205+

provider,

1206+

modelPrefix,

1207+

extraProfiles,

1208+

} of scenarios) {

11971209

const text = vi.fn();

11981210

const confirm = vi.fn(async () => false);

11991211

const { prompter, runtime } = createApiKeyPromptHarness({ text, confirm });

@@ -1226,8 +1238,8 @@ describe("applyAuthChoice", () => {

12261238

for (const extraProfile of extraProfiles ?? []) {

12271239

expect((await readAuthProfile(extraProfile))?.key).toBe(token);

12281240

}

1229-

},

1230-

);

1241+

}

1242+

});

1231124312321244

it("uses opts token for Gemini and keeps global default model when setDefaultModel=false", async () => {

12331245

await setupTempState();

@@ -1355,8 +1367,8 @@ describe("applyAuthChoice", () => {

13551367

expectedModel: "vercel-ai-gateway/anthropic/claude-opus-4.6",

13561368

},

13571369

];

1370+

await setupTempState();

13581371

for (const scenario of scenarios) {

1359-

await setupTempState();

13601372

delete process.env.SYNTHETIC_API_KEY;

13611373

delete process.env.OPENROUTER_API_KEY;

13621374

delete process.env.AI_GATEWAY_API_KEY;

@@ -1557,9 +1569,8 @@ describe("applyAuthChoice", () => {

15571569

expectProviderConfigUndefined: "opencode-go",

15581570

},

15591571

];

1572+

await setupTempState();

15601573

for (const scenario of scenarios) {

1561-

await setupTempState();

1562-15631574

const text = vi.fn().mockResolvedValue(scenario.token);

15641575

const { prompter, runtime } = createApiKeyPromptHarness({ text });

15651576

@@ -1673,40 +1684,29 @@ describe("applyAuthChoice", () => {

16731684

});

1674168516751686

it("does not persist literal 'undefined' when API key prompts return undefined", async () => {

1676-

const scenarios = [

1677-

{

1678-

authChoice: "synthetic-api-key" as const,

1679-

envKey: "SYNTHETIC_API_KEY",

1680-

profileId: "synthetic:default",

1681-

provider: "synthetic",

1682-

},

1683-

];

1684-1685-

for (const scenario of scenarios) {

1686-

await setupTempState();

1687-

delete process.env[scenario.envKey];

1687+

await setupTempState();

1688+

delete process.env.SYNTHETIC_API_KEY;

168816891689-

const text = vi.fn(async () => undefined as unknown as string);

1690-

const prompter = createPrompter({ text });

1691-

const runtime = createExitThrowingRuntime();

1690+

const text = vi.fn(async () => undefined as unknown as string);

1691+

const prompter = createPrompter({ text });

1692+

const runtime = createExitThrowingRuntime();

169216931693-

const result = await applyAuthChoice({

1694-

authChoice: scenario.authChoice,

1695-

config: {},

1696-

prompter,

1697-

runtime,

1698-

setDefaultModel: false,

1699-

});

1694+

const result = await applyAuthChoice({

1695+

authChoice: "synthetic-api-key",

1696+

config: {},

1697+

prompter,

1698+

runtime,

1699+

setDefaultModel: false,

1700+

});

170017011701-

expect(result.config.auth?.profiles?.[scenario.profileId]).toMatchObject({

1702-

provider: scenario.provider,

1703-

mode: "api_key",

1704-

});

1702+

expect(result.config.auth?.profiles?.["synthetic:default"]).toMatchObject({

1703+

provider: "synthetic",

1704+

mode: "api_key",

1705+

});

170517061706-

const profile = await readAuthProfile(scenario.profileId);

1707-

expect(profile?.key).toBe("");

1708-

expect(profile?.key).not.toBe("undefined");

1709-

}

1707+

const profile = await readAuthProfile("synthetic:default");

1708+

expect(profile?.key).toBe("");

1709+

expect(profile?.key).not.toBe("undefined");

17101710

});

1711171117121712

it("ignores legacy LiteLLM oauth profiles when selecting litellm-api-key", async () => {

@@ -1832,8 +1832,8 @@ describe("applyAuthChoice", () => {

18321832

},

18331833

},

18341834

];

1835+

await setupTempState();

18351836

for (const scenario of scenarios) {

1836-

await setupTempState();

18371837

delete process.env.CLOUDFLARE_AI_GATEWAY_API_KEY;

18381838

if (scenario.envGatewayKey) {

18391839

process.env.CLOUDFLARE_AI_GATEWAY_API_KEY = scenario.envGatewayKey;

@@ -1981,9 +1981,8 @@ describe("applyAuthChoice", () => {

19811981

apiKey: "minimax-oauth", // pragma: allowlist secret

19821982

},

19831983

];

1984+

await setupTempState();

19841985

for (const scenario of scenarios) {

1985-

await setupTempState();

1986-19871986

resolvePluginProviders.mockReturnValue([

19881987

{

19891988

id: scenario.providerId,