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

推荐订阅源

G
Google Developers Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
Vercel News
Vercel News
Recent Announcements
Recent Announcements
博客园 - Franky
小众软件
小众软件
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
宝玉的分享
宝玉的分享
I
InfoQ
博客园 - 聂微东
Jina AI
Jina AI
J
Java Code Geeks
V
V2EX
U
Unit 42
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
T
The Blog of Author Tim Ferriss
量子位

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: enumerate agents list details · openclaw/openclaw@3...
shakkernerd · 2026-05-12 · via Recent Commits to openclaw:main

@@ -61,13 +61,15 @@ describe("agents_list tool", () => {

6161

const details = result.details as AgentListDetails;

62626363

expect(details.requester).toBe("main");

64-

expect(details.agents).toHaveLength(1);

65-

expect(details.agents?.[0]?.id).toBe("codex");

66-

expect(details.agents?.[0]?.name).toBe("Codex");

67-

expect(details.agents?.[0]?.configured).toBe(true);

68-

expect(details.agents?.[0]?.model).toBe("openai/gpt-5.5");

69-

expect(details.agents?.[0]?.agentRuntime?.id).toBe("codex");

70-

expect(details.agents?.[0]?.agentRuntime?.source).toBe("model");

64+

expect(details.agents).toStrictEqual([

65+

expect.objectContaining({

66+

id: "codex",

67+

name: "Codex",

68+

configured: true,

69+

model: "openai/gpt-5.5",

70+

agentRuntime: { id: "codex", source: "model" },

71+

}),

72+

]);

7173

});

72747375

it("returns requester as the only target when no subagent allowlist is configured", async () => {

@@ -85,9 +87,12 @@ describe("agents_list tool", () => {

85878688

expect(details.requester).toBe("main");

8789

expect(details.allowAny).toBe(false);

88-

expect(details.agents).toHaveLength(1);

89-

expect(details.agents?.[0]?.id).toBe("main");

90-

expect(details.agents?.[0]?.configured).toBe(true);

90+

expect(details.agents).toStrictEqual([

91+

expect.objectContaining({

92+

id: "main",

93+

configured: true,

94+

}),

95+

]);

9196

});

92979398

it("ignores legacy env-forced plugin runtime selections", async () => {

@@ -107,10 +112,12 @@ describe("agents_list tool", () => {

107112

);

108113

const details = result.details as AgentListDetails;

109114110-

expect(details.agents).toHaveLength(1);

111-

expect(details.agents?.[0]?.id).toBe("main");

112-

expect(details.agents?.[0]?.agentRuntime?.id).toBe("codex");

113-

expect(details.agents?.[0]?.agentRuntime?.source).toBe("implicit");

115+

expect(details.agents).toStrictEqual([

116+

expect.objectContaining({

117+

id: "main",

118+

agentRuntime: { id: "codex", source: "implicit" },

119+

}),

120+

]);

114121

});

115122116123

it("ignores legacy per-agent runtime overrides", async () => {

@@ -133,9 +140,11 @@ describe("agents_list tool", () => {

133140

);

134141

const details = result.details as AgentListDetails;

135142136-

expect(details.agents).toHaveLength(1);

137-

expect(details.agents?.[0]?.id).toBe("strict");

138-

expect(details.agents?.[0]?.agentRuntime?.id).toBe("codex");

139-

expect(details.agents?.[0]?.agentRuntime?.source).toBe("implicit");

143+

expect(details.agents).toStrictEqual([

144+

expect.objectContaining({

145+

id: "strict",

146+

agentRuntime: { id: "codex", source: "implicit" },

147+

}),

148+

]);

140149

});

141150

});