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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
The Cloudflare Blog
S
SegmentFault 最新的问题
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
量子位
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
J
Java Code Geeks
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI

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
fix(gateway): expose runtime version in gateway status · ...
galiniliev · 2026-05-20 · via Recent Commits to openclaw:main

@@ -34,6 +34,16 @@ function resolveGatewayStatusProbeDetails(result: GatewayStatusProbeResult) {

3434

return "authProbe" in result ? result.authProbe : result;

3535

}

363637+

function readRuntimeVersionFromStatusPayload(payload: unknown): string | null {

38+

if (!payload || typeof payload !== "object") {

39+

return null;

40+

}

41+

const runtimeVersion = (payload as { runtimeVersion?: unknown }).runtimeVersion;

42+

return typeof runtimeVersion === "string" && runtimeVersion.trim().length > 0

43+

? runtimeVersion.trim()

44+

: null;

45+

}

46+3747

export async function probeGatewayStatus(opts: {

3848

url: string;

3949

token?: string;

@@ -48,6 +58,7 @@ export async function probeGatewayStatus(opts: {

4858

}) {

4959

const kind = (opts.requireRpc ? "read" : "connect") satisfies GatewayStatusProbeKind;

5060

try {

61+

let statusRuntimeVersion: string | null = null;

5162

const result = await withProgress<GatewayStatusProbeResult>(

5263

{

5364

label: "Checking gateway status...",

@@ -71,7 +82,7 @@ export async function probeGatewayStatus(opts: {

7182

};

7283

if (opts.requireRpc) {

7384

const { callGateway } = await import("../../gateway/call.js");

74-

await callGateway({

85+

const statusPayload = await callGateway({

7586

url: opts.url,

7687

token: opts.token,

7788

password: opts.password,

@@ -81,6 +92,7 @@ export async function probeGatewayStatus(opts: {

8192

timeoutMs: opts.timeoutMs,

8293

...(opts.configPath ? { configPath: opts.configPath } : {}),

8394

});

95+

statusRuntimeVersion = readRuntimeVersionFromStatusPayload(statusPayload);

8496

const authProbe = await probeGateway(probeOpts).catch(() => null);

8597

return { ok: true as const, authProbe };

8698

}

@@ -91,6 +103,7 @@ export async function probeGatewayStatus(opts: {

91103

const auth = probeDetails?.auth;

92104

const server = probeDetails?.server;

93105

const serverSummary = server ? { server } : {};

106+

const version = server?.version ?? ("authProbe" in result ? statusRuntimeVersion : null);

94107

if (result.ok) {

95108

return {

96109

ok: true,

@@ -103,6 +116,7 @@ export async function probeGatewayStatus(opts: {

103116

: auth?.capability,

104117

auth,

105118

...serverSummary,

119+

...(version != null ? { version } : {}),

106120

} as const;

107121

}

108122

return {

@@ -111,6 +125,7 @@ export async function probeGatewayStatus(opts: {

111125

capability: auth?.capability,

112126

auth,

113127

...serverSummary,

128+

...(version != null ? { version } : {}),

114129

error: resolveProbeFailureMessage(result),

115130

} as const;

116131

} catch (err) {