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

推荐订阅源

博客园 - 司徒正美
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
WordPress大学
WordPress大学
罗磊的独立博客
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
H
Help Net Security
S
SegmentFault 最新的问题
C
Check Point Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
腾讯CDC
Engineering at Meta
Engineering at Meta
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
D
DataBreaches.Net
雷峰网
雷峰网
GbyAI
GbyAI
宝玉的分享
宝玉的分享

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
chore(deadcode): remove stale embedded-runner reexports ·...
vincentkoc · 2026-06-22 · via Recent Commits to openclaw:main

@@ -28,10 +28,7 @@ import {

2828

shouldWarnOnOrphanedUserRepair,

2929

} from "./attempt.prompt-helpers.js";

3030

import { composeSystemPromptWithHookContext } from "./attempt.thread-helpers.js";

31-

import {

32-

decodeHtmlEntitiesInObject,

33-

wrapStreamFnRepairMalformedToolCallArguments,

34-

} from "./attempt.tool-call-argument-repair.js";

31+

import { wrapStreamFnRepairMalformedToolCallArguments } from "./attempt.tool-call-argument-repair.js";

3532

import {

3633

wrapStreamFnSanitizeMalformedToolCalls,

3734

wrapStreamFnTrimToolCallNames,

@@ -3231,44 +3228,6 @@ describe("wrapStreamFnRepairMalformedToolCallArguments", () => {

32313228

});

32323229

});

323332303234-

describe("decodeHtmlEntitiesInObject", () => {

3235-

it("decodes HTML entities in string values", () => {

3236-

const result = decodeHtmlEntitiesInObject(

3237-

"source .env && psql "$DB" -c <query>",

3238-

);

3239-

expect(result).toBe('source .env && psql "$DB" -c <query>');

3240-

});

3241-3242-

it("recursively decodes nested objects", () => {

3243-

const input = {

3244-

command: "cd ~/dev &amp;&amp; npm run build",

3245-

args: ["--flag=&quot;value&quot;", "&lt;input&gt;"],

3246-

nested: { deep: "a &amp; b" },

3247-

};

3248-

const result = decodeHtmlEntitiesInObject(input) as Record<string, unknown>;

3249-

expect(result.command).toBe("cd ~/dev && npm run build");

3250-

expect((result.args as string[])[0]).toBe('--flag="value"');

3251-

expect((result.args as string[])[1]).toBe("<input>");

3252-

expect((result.nested as Record<string, string>).deep).toBe("a & b");

3253-

});

3254-3255-

it("passes through non-string primitives unchanged", () => {

3256-

expect(decodeHtmlEntitiesInObject(42)).toBe(42);

3257-

expect(decodeHtmlEntitiesInObject(null)).toBe(null);

3258-

expect(decodeHtmlEntitiesInObject(true)).toBe(true);

3259-

expect(decodeHtmlEntitiesInObject(undefined)).toBe(undefined);

3260-

});

3261-3262-

it("returns strings without entities unchanged", () => {

3263-

const input = "plain string with no entities";

3264-

expect(decodeHtmlEntitiesInObject(input)).toBe(input);

3265-

});

3266-3267-

it("decodes numeric character references", () => {

3268-

expect(decodeHtmlEntitiesInObject("&#39;hello&#39;")).toBe("'hello'");

3269-

expect(decodeHtmlEntitiesInObject("&#x27;world&#x27;")).toBe("'world'");

3270-

});

3271-

});

32723231

describe("prependSystemPromptAddition", () => {

32733232

it("prepends context-engine addition to the system prompt", () => {

32743233

const result = prependSystemPromptAddition({