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

推荐订阅源

Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
量子位
美团技术团队
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
月光博客
月光博客

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
refactor(core): drop unused internal helpers · openclaw/o...
vincentkoc · 2026-06-20 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -18,10 +18,6 @@ export class SessionActorQueue {

1818

return total;

1919

}

2020
21-

getPendingCountForSession(actorKey: string): number {

22-

return this.pendingBySession.get(actorKey) ?? 0;

23-

}

24-
2521

async run<T>(actorKey: string, op: () => Promise<T>): Promise<T> {

2622

return this.queue.enqueue(actorKey, op, {

2723

onEnqueue: () => {

Original file line numberDiff line numberDiff line change

@@ -123,7 +123,7 @@ export function createMediaGenerateProviderListActionResult<

123123

};

124124

}

125125
126-

/** Creates status and duplicate-guard action helpers for a media generation task type. */

126+

/** Creates status action helpers for a media generation task type. */

127127

export function createMediaGenerateTaskStatusActions<Task>(params: {

128128

inactiveText: string;

129129

findActiveTask: (sessionKey?: string) => Task | undefined;

@@ -140,15 +140,6 @@ export function createMediaGenerateTaskStatusActions<Task>(params: {

140140

buildStatusDetails: params.buildStatusDetails,

141141

});

142142

},

143-
144-

createDuplicateGuardResult(sessionKey?: string): MediaGenerateActionResult | undefined {

145-

return createMediaGenerateDuplicateGuardResult({

146-

sessionKey,

147-

findActiveTask: params.findActiveTask,

148-

buildStatusText: params.buildStatusText,

149-

buildStatusDetails: params.buildStatusDetails,

150-

});

151-

},

152143

};

153144

}

154145

@@ -177,29 +168,3 @@ function createMediaGenerateStatusActionResult<Task>(params: {

177168

},

178169

};

179170

}

180-
181-

function createMediaGenerateDuplicateGuardResult<Task>(params: {

182-

sessionKey?: string;

183-

findActiveTask: (sessionKey?: string) => Task | undefined;

184-

buildStatusText: TaskStatusTextBuilder<Task>;

185-

buildStatusDetails: (task: Task) => Record<string, unknown>;

186-

}): MediaGenerateActionResult | undefined {

187-

const activeTask = params.findActiveTask(params.sessionKey);

188-

if (!activeTask) {

189-

return undefined;

190-

}

191-

// Duplicate guard returns the active status payload so callers can show current progress.

192-

return {

193-

content: [

194-

{

195-

type: "text",

196-

text: params.buildStatusText(activeTask, { duplicateGuard: true }),

197-

},

198-

],

199-

details: {

200-

action: "status",

201-

duplicateGuard: true,

202-

...params.buildStatusDetails(activeTask),

203-

},

204-

};

205-

}

Original file line numberDiff line numberDiff line change

@@ -162,14 +162,3 @@ function setPrecomputedSubcommandHelpText(

162162

[commandName]: value,

163163

};

164164

}

165-
166-

export const testing = {

167-

resetPrecomputedRootHelpTextForTests(): void {

168-

precomputedRootHelpText = undefined;

169-

precomputedBrowserHelpText = undefined;

170-

precomputedSecretsHelpText = undefined;

171-

precomputedNodesHelpText = undefined;

172-

precomputedSubcommandHelpText = undefined;

173-

},

174-

};

175-

export { testing as __testing };

Original file line numberDiff line numberDiff line change

@@ -150,14 +150,6 @@ export class TranscriptsStore {

150150

return session ? { session, sessionDir: dir } : undefined;

151151

}

152152
153-

/** Append an utterance by session id, creating a dated session directory if needed. */

154-

async appendUtterance(sessionId: string, utterance: TranscriptUtterance): Promise<void> {

155-

const dir =

156-

(await this.findSessionDir(sessionId)) ??

157-

path.join(this.rootDir, dateSegment(sessionId), safeSegment(sessionId));

158-

await this.appendUtteranceToDir(dir, sessionId, utterance);

159-

}

160-
161153

/** Append an utterance for an exact session descriptor. */

162154

async appendUtteranceForSession(

163155

session: TranscriptSessionDescriptor,

@@ -195,18 +187,6 @@ export class TranscriptsStore {

195187

return await this.readUtterancesFromDir(sessionDir, options);

196188

}

197189
198-

/** Read utterances by session id or qualified date/id selector. */

199-

async readUtterances(

200-

sessionId: string,

201-

options: { maxUtterances?: number } = {},

202-

): Promise<TranscriptUtterance[]> {

203-

const dir = await this.findSessionDir(sessionId);

204-

if (!dir) {

205-

return [];

206-

}

207-

return await this.readUtterancesFromDir(dir, options);

208-

}

209-
210190

private async readUtterancesFromDir(

211191

dir: string,

212192

options: { maxUtterances?: number } = {},

Original file line numberDiff line numberDiff line change

@@ -363,14 +363,6 @@ export class ChatLog extends Container {

363363

return component;

364364

}

365365
366-

updateToolArgs(toolCallId: string, args: unknown) {

367-

const existing = this.toolById.get(toolCallId);

368-

if (!existing) {

369-

return;

370-

}

371-

existing.setArgs(args);

372-

}

373-
374366

updateToolResult(

375367

toolCallId: string,

376368

result: unknown,