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

推荐订阅源

Hacker News: Ask HN
Hacker News: Ask HN
Last Week in AI
Last Week in AI
J
Java Code Geeks
V
Visual Studio Blog
The Cloudflare Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
宝玉的分享
宝玉的分享
博客园 - Franky
博客园 - 【当耐特】
Jina AI
Jina AI
月光博客
月光博客
T
Tailwind CSS Blog
Recent Announcements
Recent Announcements
Apple Machine Learning Research
Apple Machine Learning Research
SecWiki News
SecWiki News
H
Heimdal Security Blog
Y
Y Combinator Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hacker News - Newest:
Hacker News - Newest: "LLM"
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
MongoDB | Blog
MongoDB | Blog
Forbes - Security
Forbes - Security
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
L
LINUX DO - 最新话题
M
MIT News - Artificial intelligence
Schneier on Security
Schneier on Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
O
OpenAI News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Schneier on Security
罗磊的独立博客
Microsoft Azure Blog
Microsoft Azure Blog
爱范儿
爱范儿
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
AI
AI
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Troy Hunt's 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: 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
fix(status): show runtime in CLI sessions (#77776) · openclaw/openclaw@46c99cf
vincentkoc · 2026-05-06 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -109,6 +109,7 @@ Docs: https://docs.openclaw.ai

109109

- WhatsApp responsiveness: stop only verified stale local TUI clients when they degrade the Gateway event loop and delay replies. Thanks @vincentkoc.

110110

- Hooks/session-memory: add collision suffixes to fallback memory filenames so repeated `/new` or `/reset` captures in the same minute do not overwrite the earlier session archive. Thanks @vincentkoc.

111111

- Agents/config: remove the ambiguous legacy `main` agent dir helper from runtime paths; model, auth, gateway, bundled plugin, and test helpers now resolve default/session agent dirs through `agents.list`/agent-scope helpers while plugin SDK keeps a deprecated compatibility export.

112+

- CLI/status: show the selected agent runtime/harness in `openclaw status` session rows so terminal status matches the `/status` runtime line. Thanks @vincentkoc.

112113

- Video generation: wait up to 20 minutes for slow fal/MiniMax queue-backed jobs, stop forwarding unsupported Google Veo generated-audio options, and normalize MiniMax `720P` requests to its supported `768P` resolution with the usual override warning/details instead of failing fallback.

113114

- Video generation: accept provider-specific aspect-ratio and resolution hints at the tool boundary, normalize `720P` to MiniMax's supported `768P`, and stop sending Google `generateAudio` on Gemini video requests so provider fallback can recover from model-specific parameter differences. Thanks @vincentkoc.

114115

- OpenAI/Google Meet: fail realtime voice connection attempts when the socket closes before `session.updated`, avoiding stuck Meet joins waiting on a bridge that never became ready. Thanks @vincentkoc.

Original file line numberDiff line numberDiff line change

@@ -118,6 +118,7 @@ export async function buildStatusCommandReportData(

118118

{ key: "Kind", header: "Kind", minWidth: 6 },

119119

{ key: "Age", header: "Age", minWidth: 9 },

120120

{ key: "Model", header: "Model", minWidth: 14 },

121+

{ key: "Runtime", header: "Runtime", minWidth: 14 },

121122

{ key: "Tokens", header: "Tokens", minWidth: 16 },

122123

...(params.opts.verbose ? [{ key: "Cache", header: "Cache", minWidth: 16, flex: true }] : []),

123124

] satisfies TableColumn[];

Original file line numberDiff line numberDiff line change

@@ -63,6 +63,7 @@ describe("status.command-sections", () => {

6363

updatedAt: 1,

6464

age: 5_000,

6565

model: "gpt-5.4",

66+

runtime: "OpenAI Codex",

6667

totalTokens: null,

6768

totalTokensFresh: false,

6869

remainingTokens: null,

@@ -76,6 +77,7 @@ describe("status.command-sections", () => {

7677

updatedAt: 2,

7778

age: 7_000,

7879

model: "gpt-5.5",

80+

runtime: "OpenClaw Pi Default",

7981

totalTokens: null,

8082

totalTokensFresh: false,

8183

remainingTokens: null,

@@ -98,6 +100,7 @@ describe("status.command-sections", () => {

98100

Kind: "direct",

99101

Age: "5000ms",

100102

Model: "gpt-5.4",

103+

Runtime: "OpenAI Codex",

101104

Tokens: "12k",

102105

Cache: "cache ok",

103106

},

@@ -106,6 +109,7 @@ describe("status.command-sections", () => {

106109

Kind: "cron",

107110

Age: "7000ms",

108111

Model: "gpt-5.5",

112+

Runtime: "OpenClaw Pi Default",

109113

Tokens: "12k",

110114

Cache: "cache ok",

111115

},

@@ -127,6 +131,7 @@ describe("status.command-sections", () => {

127131

Kind: "",

128132

Age: "",

129133

Model: "",

134+

Runtime: "",

130135

Tokens: "",

131136

Cache: "",

132137

},

Original file line numberDiff line numberDiff line change

@@ -326,6 +326,7 @@ export function buildStatusSessionsRows(params: {

326326

Kind: "",

327327

Age: "",

328328

Model: "",

329+

Runtime: "",

329330

Tokens: "",

330331

...(params.verbose ? { Cache: "" } : {}),

331332

},

@@ -336,6 +337,7 @@ export function buildStatusSessionsRows(params: {

336337

Kind: sess.kind,

337338

Age: sess.updatedAt && sess.age != null ? params.formatTimeAgo(sess.age) : "no activity",

338339

Model: sess.model ?? "unknown",

340+

Runtime: sess.runtime ?? "unknown",

339341

Tokens: params.formatTokensCompact(sess),

340342

...(params.verbose

341343

? { Cache: params.formatPromptCacheCompact(sess) || params.muted("—") }

Original file line numberDiff line numberDiff line change

@@ -50,6 +50,73 @@ describe("statusSummaryRuntime.classifySessionKey", () => {

5050

});

5151

});

5252
53+

describe("statusSummaryRuntime.resolveSessionRuntimeLabel", () => {

54+

it("uses the shared /status runtime labels for persisted harness metadata", () => {

55+

expect(

56+

statusSummaryRuntime.resolveSessionRuntimeLabel({

57+

cfg: {} as never,

58+

entry: {

59+

sessionId: "session-1",

60+

updatedAt: 0,

61+

agentRuntimeOverride: "codex",

62+

},

63+

provider: "openai",

64+

model: "gpt-5.5",

65+

sessionKey: "agent:main:main",

66+

}),

67+

).toBe("OpenAI Codex");

68+

});

69+
70+

it("preserves configured default CLI runtimes when sessions lack persisted harness metadata", () => {

71+

expect(

72+

statusSummaryRuntime.resolveSessionRuntimeLabel({

73+

cfg: {

74+

agents: {

75+

defaults: {

76+

agentRuntime: { id: "claude-cli" },

77+

},

78+

},

79+

} as never,

80+

entry: {

81+

sessionId: "session-1",

82+

updatedAt: 0,

83+

},

84+

provider: "anthropic",

85+

model: "claude-sonnet-4-6",

86+

sessionKey: "agent:main:main",

87+

}),

88+

).toBe("Claude CLI");

89+

});

90+
91+

it("preserves configured agent runtimes before harness selection", () => {

92+

expect(

93+

statusSummaryRuntime.resolveSessionRuntimeLabel({

94+

cfg: {

95+

agents: {

96+

defaults: {

97+

agentRuntime: { id: "pi" },

98+

},

99+

list: [

100+

{

101+

id: "research",

102+

agentRuntime: { id: "codex" },

103+

},

104+

],

105+

},

106+

} as never,

107+

entry: {

108+

sessionId: "session-1",

109+

updatedAt: 0,

110+

},

111+

provider: "openai",

112+

model: "gpt-5.5",

113+

agentId: "research",

114+

sessionKey: "agent:research:main",

115+

}),

116+

).toBe("OpenAI Codex");

117+

});

118+

});

119+
53120

describe("statusSummaryRuntime.resolveSessionModelRef", () => {

54121

const cfg = {

55122

agents: {

Original file line numberDiff line numberDiff line change

@@ -1,5 +1,7 @@

1+

import { resolveAgentRuntimeMetadata } from "../agents/agent-runtime-metadata.js";

12

import { resolveConfiguredProviderFallback } from "../agents/configured-provider-fallback.js";

23

import { DEFAULT_CONTEXT_TOKENS, DEFAULT_MODEL, DEFAULT_PROVIDER } from "../agents/defaults.js";

4+

import { selectAgentHarness } from "../agents/harness/selection.js";

35

import { parseModelRef, resolvePersistedSelectedModelRef } from "../agents/model-selection.js";

46

import { normalizeProviderId } from "../agents/provider-id.js";

57

import { resolveAgentModelPrimaryValue } from "../config/model-input.js";

@@ -11,6 +13,7 @@ import {

1113

normalizeOptionalString,

1214

normalizeOptionalLowercaseString,

1315

} from "../shared/string-coerce.js";

16+

import { resolveAgentRuntimeLabel } from "../status/agent-runtime-label.js";

1417
1518

function resolveStatusModelRefFromRaw(params: {

1619

cfg: OpenClawConfig;

@@ -167,6 +170,53 @@ function resolveSessionModelRef(

167170

);

168171

}

169172
173+

function resolveSessionRuntimeLabel(params: {

174+

cfg: OpenClawConfig;

175+

entry?: SessionEntry;

176+

provider: string;

177+

model: string;

178+

agentId?: string;

179+

sessionKey: string;

180+

}): string {

181+

const agentRuntime = resolveAgentRuntimeMetadata(params.cfg, params.agentId ?? "");

182+

const explicitRuntime =

183+

normalizeOptionalLowercaseString(params.entry?.agentRuntimeOverride) ??

184+

normalizeOptionalLowercaseString(params.entry?.agentHarnessId) ??

185+

(agentRuntime.source === "implicit"

186+

? undefined

187+

: normalizeOptionalLowercaseString(agentRuntime.id));

188+

if (explicitRuntime && explicitRuntime !== "auto" && explicitRuntime !== "default") {

189+

return resolveAgentRuntimeLabel({

190+

config: params.cfg,

191+

sessionEntry: params.entry,

192+

resolvedHarness: explicitRuntime,

193+

fallbackProvider: params.provider,

194+

});

195+

}

196+
197+

let resolvedHarness: string | undefined;

198+

try {

199+

const selected = selectAgentHarness({

200+

provider: params.provider,

201+

modelId: params.model,

202+

config: params.cfg,

203+

agentId: params.agentId,

204+

sessionKey: params.sessionKey,

205+

agentHarnessId: params.entry?.agentHarnessId,

206+

});

207+

const id = normalizeOptionalLowercaseString(selected.id);

208+

resolvedHarness = id && id !== "pi" ? id : undefined;

209+

} catch {

210+

resolvedHarness = undefined;

211+

}

212+

return resolveAgentRuntimeLabel({

213+

config: params.cfg,

214+

sessionEntry: params.entry,

215+

resolvedHarness,

216+

fallbackProvider: params.provider,

217+

});

218+

}

219+
170220

function resolveContextTokensForModel(params: {

171221

cfg?: OpenClawConfig;

172222

provider?: string;

@@ -196,5 +246,6 @@ export const statusSummaryRuntime = {

196246

resolveContextTokensForModel,

197247

classifySessionKey,

198248

resolveSessionModelRef,

249+

resolveSessionRuntimeLabel,

199250

resolveConfiguredStatusModelRef,

200251

};

Original file line numberDiff line numberDiff line change

@@ -3,6 +3,7 @@ import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";

33

const statusSummaryMocks = vi.hoisted(() => ({

44

hasConfiguredChannelsForReadOnlyScope: vi.fn(() => true),

55

buildChannelSummary: vi.fn(async () => ["ok"]),

6+

readSessionStoreReadOnly: vi.fn(() => ({})),

67

}));

78
89

vi.mock("../plugins/channel-plugin-ids.js", () => ({

@@ -20,6 +21,7 @@ vi.mock("./status.summary.runtime.js", () => ({

2021

provider: "openai",

2122

model: "gpt-5.5",

2223

})),

24+

resolveSessionRuntimeLabel: vi.fn(() => "OpenClaw Pi Default"),

2325

resolveContextTokensForModel: vi.fn(() => 200_000),

2426

},

2527

}));

@@ -38,6 +40,14 @@ vi.mock("../config/config.js", () => ({

3840

getRuntimeConfig: vi.fn(() => ({})),

3941

}));

4042
43+

vi.mock("../config/sessions/paths.js", () => ({

44+

resolveStorePath: vi.fn(() => "/tmp/sessions.json"),

45+

}));

46+
47+

vi.mock("../config/sessions/store-read.js", () => ({

48+

readSessionStoreReadOnly: statusSummaryMocks.readSessionStoreReadOnly,

49+

}));

50+
4151

vi.mock("../gateway/agent-list.js", () => ({

4252

listGatewayAgentsBasic: vi.fn(() => ({

4353

defaultId: "main",

@@ -132,6 +142,7 @@ describe("getStatusSummary", () => {

132142

vi.clearAllMocks();

133143

statusSummaryMocks.hasConfiguredChannelsForReadOnlyScope.mockReturnValue(true);

134144

statusSummaryMocks.buildChannelSummary.mockResolvedValue(["ok"]);

145+

statusSummaryMocks.readSessionStoreReadOnly.mockReturnValue({});

135146

});

136147
137148

it("includes runtimeVersion in the status payload", async () => {

@@ -175,4 +186,18 @@ describe("getStatusSummary", () => {

175186

expect.objectContaining({ allowAsyncLoad: false }),

176187

);

177188

});

189+
190+

it("includes the selected agent runtime on recent sessions", async () => {

191+

vi.mocked(statusSummaryRuntime.resolveSessionRuntimeLabel).mockReturnValue("OpenAI Codex");

192+

statusSummaryMocks.readSessionStoreReadOnly.mockReturnValue({

193+

"agent:main:main": {

194+

sessionId: "session-1",

195+

updatedAt: Date.now(),

196+

},

197+

});

198+
199+

const summary = await getStatusSummary();

200+
201+

expect(summary.sessions.recent[0]?.runtime).toBe("OpenAI Codex");

202+

});

178203

});

Original file line numberDiff line numberDiff line change

@@ -111,6 +111,7 @@ export async function getStatusSummary(

111111

classifySessionKey,

112112

resolveConfiguredStatusModelRef,

113113

resolveContextTokensForModel,

114+

resolveSessionRuntimeLabel,

114115

resolveSessionModelRef,

115116

} = await loadStatusSummaryRuntimeModule();

116117

const cfg = options.config ?? getRuntimeConfig();

@@ -191,6 +192,8 @@ export async function getStatusSummary(

191192

.map(([key, entry]) => {

192193

const updatedAt = entry?.updatedAt ?? null;

193194

const age = updatedAt ? now - updatedAt : null;

195+

const parsedAgentId = parseAgentSessionKey(key)?.agentId;

196+

const agentId = opts.agentIdOverride ?? parsedAgentId;

194197

const resolvedModel = resolveSessionModelRef(cfg, entry, opts.agentIdOverride);

195198

const model = resolvedModel.model ?? configModel ?? null;

196199

const contextTokens =

@@ -211,8 +214,14 @@ export async function getStatusSummary(

211214

contextTokens && contextTokens > 0 && total !== undefined

212215

? Math.min(999, Math.round((total / contextTokens) * 100))

213216

: null;

214-

const parsedAgentId = parseAgentSessionKey(key)?.agentId;

215-

const agentId = opts.agentIdOverride ?? parsedAgentId;

217+

const runtime = resolveSessionRuntimeLabel({

218+

cfg,

219+

entry,

220+

provider: resolvedModel.provider,

221+

model: model ?? "",

222+

agentId,

223+

sessionKey: key,

224+

});

216225
217226

return {

218227

agentId,

@@ -238,6 +247,7 @@ export async function getStatusSummary(

238247

remainingTokens: remaining,

239248

percentUsed: pct,

240249

model,

250+

runtime,

241251

contextTokens,

242252

flags: buildFlags(entry),

243253

} satisfies SessionStatus;

Original file line numberDiff line numberDiff line change

@@ -116,6 +116,7 @@ const baseStatusSummary = {

116116

updatedAt: 1,

117117

age: 5_000,

118118

model: "gpt-5.5",

119+

runtime: "OpenClaw Pi Default",

119120

totalTokens: 12_000,

120121

totalTokensFresh: true,

121122

remainingTokens: 4_000,

Original file line numberDiff line numberDiff line change

@@ -26,6 +26,7 @@ export type SessionStatus = {

2626

remainingTokens: number | null;

2727

percentUsed: number | null;

2828

model: string | null;

29+

runtime?: string | null;

2930

contextTokens: number | null;

3031

flags: string[];

3132

};