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

推荐订阅源

爱范儿
爱范儿
H
Help Net Security
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
博客园 - 叶小钗
Y
Y Combinator Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
C
Check Point Blog
Recent Announcements
Recent Announcements
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
B
Blog

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(runtime): remove unused helper probes · openclaw...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -50,13 +50,6 @@ export function appendSerializedJsonlEntrySync(

5050

return content;

5151

}

5252
53-

export function appendJsonlEntriesSync(filePath: string, entries: readonly unknown[]): void {

54-

if (entries.length === 0) {

55-

return;

56-

}

57-

appendFileSync(filePath, serializeJsonlEntries(entries), "utf-8");

58-

}

59-
6053

export async function writeJsonlEntry(

6154

filePath: string,

6255

entry: unknown,

Original file line numberDiff line numberDiff line change

@@ -105,14 +105,6 @@ export function resolveOwnedSessionTranscriptWriteLockRunner(params: {

105105

return context.withSessionWriteLock;

106106

}

107107
108-

export function hasOwnedSessionTranscriptWriteContext(params: {

109-

sessionFile?: string;

110-

sessionKey?: string;

111-

}): boolean {

112-

const context = ownedTranscriptWriteContext.getStore();

113-

return Boolean(context && contextMatches({ context, ...params }));

114-

}

115-
116108

export function canAdvanceOwnedSessionEntryCache(params: {

117109

sessionFile?: string;

118110

sessionKey?: string;

Original file line numberDiff line numberDiff line change

@@ -139,17 +139,6 @@ export function isCronActiveJobMarkerCurrent(marker: CronActiveJobMarker | undef

139139

);

140140

}

141141
142-

/** Returns whether any other cron run is active in this process. */

143-

export function hasOtherActiveCronJobs(jobId: string) {

144-

const state = getCronActiveJobState();

145-

for (const [activeJobId, marker] of state.activeJobs) {

146-

if (activeJobId !== jobId && isMarkerActiveInGeneration(marker, state.generation)) {

147-

return true;

148-

}

149-

}

150-

return false;

151-

}

152-
153142

/** Returns whether any cron run is active in this process. */

154143

export function hasActiveCronJobs() {

155144

return getActiveCronJobCountForGeneration(getCronActiveJobState()) > 0;

Original file line numberDiff line numberDiff line change

@@ -431,23 +431,6 @@ export async function parseMessageWithAttachments(

431431

};

432432

}

433433
434-

export async function resolveChatAttachmentLooksLikeImage(

435-

attachment: ChatAttachment,

436-

index = 0,

437-

): Promise<boolean> {

438-

const normalized = normalizeAttachment(attachment, index, {

439-

stripDataUrlPrefix: true,

440-

requireImageMime: false,

441-

});

442-

if (!isValidBase64(normalized.base64)) {

443-

throw new Error(`attachment ${normalized.label}: invalid base64 content`);

444-

}

445-

const providedMime = normalizeMime(normalized.mime);

446-

const sniffedMime = normalizeMime(await sniffMimeFromBase64(normalized.base64));

447-

const labelMime = normalizeMime(mimeTypeFromFilePath(normalized.label));

448-

return isImageMime(resolveAttachmentMime({ sniffedMime, providedMime, labelMime }));

449-

}

450-
451434

/**

452435

* @deprecated Use parseMessageWithAttachments instead.

453436

* This function converts images to markdown data URLs which Claude API cannot process as images.

Original file line numberDiff line numberDiff line change

@@ -63,21 +63,6 @@ export function isApprovalMethod(method: string): boolean {

6363

return resolveScopedMethod(method) === APPROVALS_SCOPE;

6464

}

6565
66-

/** Returns true when a method requires the pairing operator scope. */

67-

export function isPairingMethod(method: string): boolean {

68-

return resolveScopedMethod(method) === PAIRING_SCOPE;

69-

}

70-
71-

/** Returns true when a method can be satisfied by read or stronger write/admin scopes. */

72-

export function isReadMethod(method: string): boolean {

73-

return resolveScopedMethod(method) === READ_SCOPE;

74-

}

75-
76-

/** Returns true when a method requires write or admin operator scope. */

77-

export function isWriteMethod(method: string): boolean {

78-

return resolveScopedMethod(method) === WRITE_SCOPE;

79-

}

80-
8166

/** Returns true when a method is reserved for node-role clients instead of operators. */

8267

export function isNodeRoleMethod(method: string): boolean {

8368

return isCoreNodeGatewayMethod(method);