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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
有赞技术团队
有赞技术团队
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
F
Fox-IT International blog
Recorded Future
Recorded Future
T
ThreatConnect
T
The Exploit Database - CXSecurity.com
SecWiki News
SecWiki News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
T
Tenable Blog
L
LINUX DO - 最新话题
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
博客园 - 司徒正美
The Hacker News
The Hacker News
博客园 - 聂微东
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
博客园 - 【当耐特】
O
OpenAI News
Schneier on Security
Schneier on Security
Latest news
Latest news
S
Security @ Cisco Blogs
S
Secure Thoughts
F
Full Disclosure
L
Lohrmann on Cybersecurity
S
SegmentFault 最新的问题
T
Tor Project blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
小众软件
小众软件
T
Threat Research - Cisco Blogs
Simon Willison's Weblog
Simon Willison's Weblog
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
N
News and Events Feed by Topic
E
Exploit-DB.com RSS Feed
J
Java Code Geeks
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Proofpoint News Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
雷峰网
雷峰网

Recent Commits to openclaw:main

perf(utils): preserve message identity in stripInlineDirectiveTagsFro… fix(agents): add openai-responses family to non-visible turn retry gu… · openclaw/openclaw@49e9c3e fix(microsoft-foundry): DeepSeek V4 models incorrectly use openai-com… · openclaw/openclaw@ec43acb fix(skills): show empty state notice in config wizard (#85032) test(codex): avoid forced-tool allowlist flake fix: avoid gateway startup event-loop stalls test(codex): type forced-tool request mock · openclaw/openclaw@f6ab188 test(codex): avoid forced-tool turn flake · openclaw/openclaw@8d1ab83 test(codex): avoid startup cleanup socket flake fix(gateway): pin relative state dir at startup · openclaw/openclaw@2e5be0c fix(whatsapp): persist inbound delivery in plugin state (#85506) · openclaw/openclaw@b47bace test(codex): make sandbox cleanup proof deterministic fix(cron): route topic targets through channel plugins · openclaw/openclaw@9175491 fix(agents): simplify subagent completion handoff ci(release): isolate npm publish concurrency · openclaw/openclaw@9c26b87 ci(release): allow beta publish after npm preflight · openclaw/openclaw@0e37263 fix(release): allow large beta smoke run lists ci(release): retry child workflow polling · openclaw/openclaw@c689f71 ci(release): poll child workflows through actions api · openclaw/openclaw@e5dab55 fix(bootstrap): guard bootstrap name checks against undefined names (… · openclaw/openclaw@25fa46b fix(cli): waitForever must keep the event loop alive (#85694) · openclaw/openclaw@eca9645 fix(cli-output): ignore cumulative usage from result events in stream… · openclaw/openclaw@84229d9 fix(secrets): show irreversible warning after interactive apply confi… · openclaw/openclaw@bb52b54 fix(agents/harness): pass CLI runtime aliases through to PI in select… · openclaw/openclaw@2c3b7ea docs: add bug-sweep changelog entries fix(release): run npm shims on Windows · openclaw/openclaw@1f32a48 fix(ci): repair crabbox hydrate replay (#85706) · openclaw/openclaw@0d7d99b feat(auth): support named model login profiles fix(gateway): restore WebChat image understanding routing · openclaw/openclaw@55a0c9b fix(anthropic): migrate 1M context to GA handling fix(scripts): resolve Crabbox shims on Windows · openclaw/openclaw@5c535df test(ci): harden installer smoke coverage · openclaw/openclaw@68bcd4e fix(status): bound deep docker audit probes (#85476) · openclaw/openclaw@f7c05dc docs: expand meeting notes docs · openclaw/openclaw@a7e0fa0 fix(cli): validate tasks audit limit (#84901) · openclaw/openclaw@44d470f fix(twitch): preserve newer message handler during cleanup (#85425) · openclaw/openclaw@71ddc01 fix(ci): require live docker credentials by resource · openclaw/openclaw@1e21121 fix(diagnostics): drop snake case otel ids (#72645) · openclaw/openclaw@e0bafc5 fix(ci): clear signal and docs guard blockers (#85693) · openclaw/openclaw@3a1d4dd fix(ci): require factory auth for droid live docker · openclaw/openclaw@cc6c372 fix: honor disabled synthetic auth lookup · openclaw/openclaw@a4a1abb fix(scripts): repair live docker auth shellcheck · openclaw/openclaw@4e34ac4 fix(docker): avoid printing gateway token · openclaw/openclaw@5db773f fix(cli): keep logs follow on live gateway state · openclaw/openclaw@6e3b318 fix(e2e): prefer x64 MinGit on Windows · openclaw/openclaw@15d9134 feat: add meeting notes plugin docs: update changelog for memory artifacts (#85060) (thanks @brokema… · openclaw/openclaw@9e55383 fix(memory-lancedb): expose public memory artifacts · openclaw/openclaw@aac1abe fix(memory): preserve sidecar capability hooks · openclaw/openclaw@e6288ca fix(e2e): scrub Windows update config on PowerShell 5.1 · openclaw/openclaw@6657b49 docs: absorb documentation PR sweep · openclaw/openclaw@2c536a8 fix(agents): stabilize Linux fallback tests · openclaw/openclaw@6b04170 fix(codex): preserve native web search action metadata (#85378) · openclaw/openclaw@bcf756c test: refresh Codex prompt snapshots · openclaw/openclaw@492d656 docs: absorb hook and subagent guidance PRs fix(agents): audit tool policy blocks (#85673) · openclaw/openclaw@09dd051 ci: fix plugin npm bundled dependency install · openclaw/openclaw@d485464 feat(diagnostics): classify skill and tool usage (#80370) docs(skills): clarify control ui recording proof (#85568) · openclaw/openclaw@0b476b9 test(agents): repair main failure fixtures · openclaw/openclaw@c29967b feat(diagnostics): trace gateway secret preparation (#83019) · openclaw/openclaw@4f0c902 fix(diagnostics): harden observability exports and smokes (#85371) · openclaw/openclaw@7f05be0 fix(stepfun): drop stale auth choice metadata · openclaw/openclaw@0b2ab6c test(e2e): sample kitchen sink RSS on Windows · openclaw/openclaw@73c1e37 test(plugins): fail gauntlet on load diagnostics fix(build): preserve tsdown heap floor · openclaw/openclaw@9ff1a43 fix(tools): honor config apiKey in media tool preflight (#85570) · openclaw/openclaw@31c269f fix(e2e): support macOS script wrappers fix(ci): scope changed shrinkwrap checks · openclaw/openclaw@743fd4c chore(ui): refresh fa control ui locale chore(ui): refresh nl control ui locale · openclaw/openclaw@908464b chore(ui): refresh vi control ui locale · openclaw/openclaw@62b75f4 chore(ui): refresh th control ui locale · openclaw/openclaw@fc4ba31 chore(ui): refresh id control ui locale · openclaw/openclaw@5b1bdd1 chore(ui): refresh pl control ui locale · openclaw/openclaw@534d4b1 chore(ui): refresh uk control ui locale · openclaw/openclaw@055c3bd chore(ui): refresh ar control ui locale · openclaw/openclaw@89c5a68 chore(ui): refresh it control ui locale · openclaw/openclaw@44ca805 chore(ui): refresh tr control ui locale chore(ui): refresh fr control ui locale · openclaw/openclaw@2240b0e chore(ui): refresh ko control ui locale · openclaw/openclaw@5fa250b chore(ui): refresh ja-JP control ui locale · openclaw/openclaw@f4ea401 chore(ui): refresh es control ui locale · openclaw/openclaw@751dde0 chore(ui): refresh de control ui locale · openclaw/openclaw@72a9b5b chore(ui): refresh pt-BR control ui locale · openclaw/openclaw@501b6e0 chore(ui): refresh zh-CN control ui locale chore(ui): refresh zh-TW control ui locale · openclaw/openclaw@88dee79 Add Slack approval QA checkpoints (#85141) fix(agents): mirror internal ui message tool replies (#85564) perf(whatsapp): narrow runtime setter entry (#85589) · openclaw/openclaw@463929d fix: smooth chat focus mode layout · openclaw/openclaw@bb5abef Fix Telegram missing harness spool poison (#85605) · openclaw/openclaw@b745082 fix(session): surface previous-transcript archive failures on /new ro… · openclaw/openclaw@679a46d Policy: add agent workspace conformance checks (#85096) · openclaw/openclaw@a94f344 fix(installer): fail failed Windows git builds · openclaw/openclaw@2edd6e2 fix(codex): honor node exec policy for native surfaces (#85534) · openclaw/openclaw@e0405ec fix(qa-lab): stabilize codex runtime parity fixtures fix(github): preserve sufficient proof against negative relabel (#85567) · openclaw/openclaw@6b52dff docs: add changelog for context pressure preflight · openclaw/openclaw@5ca734f Fix context pressure preflight for tool-heavy sessions (#85541) · openclaw/openclaw@c08400e
fix(status): show configured cost for aws-sdk models (#85619) · openclaw/openclaw@6e289b4
ItsOtherMaur · 2026-05-23 · via Recent Commits to openclaw:main

@@ -2493,7 +2493,13 @@ describe("runReplyAgent fallback reasoning tags", () => {

24932493

});

2494249424952495

describe("runReplyAgent response usage footer", () => {

2496-

function createRun(params: { responseUsage: "tokens" | "full"; sessionKey: string }) {

2496+

function createRun(params: {

2497+

responseUsage: "tokens" | "full";

2498+

sessionKey: string;

2499+

config?: unknown;

2500+

provider?: string;

2501+

model?: string;

2502+

}) {

24972503

const typing = createMockTypingController();

24982504

const sessionCtx = {

24992505

Provider: "whatsapp",

@@ -2521,10 +2527,10 @@ describe("runReplyAgent response usage footer", () => {

25212527

messageProvider: "whatsapp",

25222528

sessionFile: "/tmp/session.jsonl",

25232529

workspaceDir: "/tmp",

2524-

config: createCliBackendTestConfig(),

2530+

config: params.config ?? createCliBackendTestConfig(),

25252531

skillsSnapshot: {},

2526-

provider: "anthropic",

2527-

model: "claude",

2532+

provider: params.provider ?? "anthropic",

2533+

model: params.model ?? "claude",

25282534

thinkLevel: "low",

25292535

verboseLevel: "off",

25302536

elevatedLevel: "off",

@@ -2582,26 +2588,95 @@ describe("runReplyAgent response usage footer", () => {

25822588

expect(text).toContain(`· session \`${sessionKey}\``);

25832589

});

258425902585-

it("does not append session key when responseUsage=tokens", async () => {

2591+

it("does not append session key or cost when responseUsage=tokens", async () => {

25862592

runEmbeddedPiAgentMock.mockResolvedValueOnce({

25872593

payloads: [{ text: "ok" }],

25882594

meta: {

25892595

agentMeta: {

2590-

provider: "anthropic",

2591-

model: "claude",

2596+

provider: "amazon-bedrock",

2597+

model: "us.anthropic.claude-sonnet-4-6",

25922598

usage: { input: 12, output: 3, cacheRead: 4, cacheWrite: 2 },

25932599

},

25942600

},

25952601

});

2596260225972603

const sessionKey = "agent:main:whatsapp:dm:+1000";

2598-

const res = await createRun({ responseUsage: "tokens", sessionKey });

2604+

const res = await createRun({

2605+

responseUsage: "tokens",

2606+

sessionKey,

2607+

provider: "amazon-bedrock",

2608+

model: "us.anthropic.claude-sonnet-4-6",

2609+

config: {

2610+

models: {

2611+

providers: {

2612+

"amazon-bedrock": {

2613+

auth: "aws-sdk",

2614+

models: [

2615+

{

2616+

id: "us.anthropic.claude-sonnet-4-6",

2617+

cost: { input: 3, output: 15, cacheRead: 0.3, cacheWrite: 3.75 },

2618+

},

2619+

],

2620+

},

2621+

},

2622+

},

2623+

},

2624+

});

25992625

const payload = Array.isArray(res) ? res[0] : res;

26002626

const text = payload?.text ?? "";

26012627

expect(text).toContain("Usage:");

26022628

expect(text).toContain("cache 4 cached / 2 new");

2629+

expect(text).not.toContain("est $");

26032630

expect(text).not.toContain("· session ");

26042631

});

2632+2633+

it("shows configured costs for aws-sdk providers when responseUsage=full", async () => {

2634+

runEmbeddedPiAgentMock.mockResolvedValueOnce({

2635+

payloads: [{ text: "ok" }],

2636+

meta: {

2637+

agentMeta: {

2638+

provider: "amazon-bedrock",

2639+

model: "us.anthropic.claude-sonnet-4-6",

2640+

usage: { input: 1_000, output: 2_000, cacheRead: 500, cacheWrite: 2_000 },

2641+

},

2642+

},

2643+

});

2644+2645+

const sessionKey = "agent:main:whatsapp:dm:+1000";

2646+

const res = await createRun({

2647+

responseUsage: "full",

2648+

sessionKey,

2649+

provider: "amazon-bedrock",

2650+

model: "us.anthropic.claude-sonnet-4-6",

2651+

config: {

2652+

models: {

2653+

providers: {

2654+

"amazon-bedrock": {

2655+

auth: "aws-sdk",

2656+

models: [

2657+

{

2658+

id: "us.anthropic.claude-sonnet-4-6",

2659+

cost: {

2660+

input: 3,

2661+

output: 15,

2662+

cacheRead: 0.3,

2663+

cacheWrite: 3.75,

2664+

},

2665+

},

2666+

],

2667+

},

2668+

},

2669+

},

2670+

},

2671+

});

2672+

const payload = Array.isArray(res) ? res[0] : res;

2673+

const text = payload?.text ?? "";

2674+2675+

expect(text).toContain("Usage: 1.0k in / 2.0k out");

2676+

expect(text).toContain("cache 500 cached / 2.0k new");

2677+

expect(text).toContain("est $0.04");

2678+

expect(text).toContain(`· session \`${sessionKey}\``);

2679+

});

26052680

});

2606268126072682

describe("runReplyAgent transient HTTP retry", () => {