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

推荐订阅源

N
Netflix TechBlog - Medium
I
InfoQ
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
Recent Announcements
Recent Announcements
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
Docker
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
博客园 - Franky
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
WordPress大学
WordPress大学
MyScale Blog
MyScale 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(agents): remove stale facade exports · openclaw/...
vincentkoc · 2026-06-23 · via Recent Commits to openclaw:main

File tree

      • embedded-agent-runner/run

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,5 @@ describe("agent-model-discovery internal runtime", () => {

66

const module = await import("./agent-model-discovery.js");

77

expect(typeof module.discoverAuthStorage).toBe("function");

88

expect(typeof module.discoverModels).toBe("function");

9-

expect(typeof module.AuthStorage.inMemory).toBe("function");

10-

expect(typeof module.ModelRegistry.create).toBe("function");

119

});

1210

});

Original file line numberDiff line numberDiff line change

@@ -22,8 +22,6 @@ import {

2222

type ModelRegistry as AgentModelRegistry,

2323

} from "./sessions/index.js";

2424
25-

export { AuthStorage, ModelRegistry };

26-
2725

type ProviderRuntimeModelLike = Model & {

2826

contextTokens?: number;

2927

};

Original file line numberDiff line numberDiff line change

@@ -23,7 +23,6 @@ import {

2323

DEFAULT_BOOTSTRAP_FILENAME,

2424

filterBootstrapFilesForSession,

2525

isWorkspaceSetupCompleted,

26-

isWorkspaceBootstrapPending,

2726

loadWorkspaceBootstrapFiles,

2827

type WorkspaceBootstrapFile,

2928

} from "./workspace.js";

@@ -371,5 +370,3 @@ export function buildBootstrapContextForFiles(

371370

});

372371

return contextFiles;

373372

}

374-
375-

export { isWorkspaceBootstrapPending };

Original file line numberDiff line numberDiff line change

@@ -392,6 +392,14 @@ vi.mock("../../bootstrap-files.js", async () => {

392392

};

393393

});

394394
395+

vi.mock("../../workspace.js", async () => {

396+

const actual = await vi.importActual<typeof import("../../workspace.js")>("../../workspace.js");

397+

return {

398+

...actual,

399+

isWorkspaceBootstrapPending: hoisted.isWorkspaceBootstrapPendingMock,

400+

};

401+

});

402+
395403

vi.mock("../../../skills/runtime/env-overrides.js", () => ({

396404

applySkillEnvOverrides: () => () => {},

397405

applySkillEnvOverridesFromSnapshot: () => () => {},

Original file line numberDiff line numberDiff line change

@@ -131,7 +131,6 @@ import {

131131

FULL_BOOTSTRAP_COMPLETED_CUSTOM_TYPE,

132132

buildBootstrapContextForFiles,

133133

hasCompletedBootstrapTurn,

134-

isWorkspaceBootstrapPending,

135134

makeBootstrapWarn,

136135

resolveBootstrapFilesForRun,

137136

resolveContextInjectionMode,

@@ -253,7 +252,11 @@ import {

253252

} from "../../tools/cron-tool.js";

254253

import { shouldAllowProviderOwnedThinkingReplay } from "../../transcript-policy.js";

255254

import { normalizeUsage, type NormalizedUsage } from "../../usage.js";

256-

import { DEFAULT_BOOTSTRAP_FILENAME, type WorkspaceBootstrapFile } from "../../workspace.js";

255+

import {

256+

DEFAULT_BOOTSTRAP_FILENAME,

257+

isWorkspaceBootstrapPending,

258+

type WorkspaceBootstrapFile,

259+

} from "../../workspace.js";

257260

import { isRunnerAbortError } from "../abort.js";

258261

import { isCacheTtlEligibleProvider, readLastCacheTtlTimestamp } from "../cache-ttl.js";

259262

import { resolveCompactionTimeoutMs } from "../compaction-safety-timeout.js";

Original file line numberDiff line numberDiff line change

@@ -563,8 +563,6 @@ function isTranscriptOnlyOpenClawAssistantMessage(message: AgentMessage): boolea

563563

return isTranscriptOnlyOpenClawAssistantModel(provider, model);

564564

}

565565
566-

export { getRawSessionAppendMessage };

567-
568566

export function installSessionToolResultGuard(

569567

sessionManager: SessionManager,

570568

opts?: {

@@ -728,7 +726,9 @@ export function installSessionToolResultGuard(

728726

capToolResultForPersistence(flushed.message, maxToolResultChars, redactionConfig),

729727

{

730728

invalidateSerializedPrefixCache:

731-

persistedSynthetic !== synthetic || toolResultTransformerMayMutate || flushed.changed,

729+

persistedSynthetic !== synthetic ||

730+

toolResultTransformerMayMutate ||

731+

flushed.changed,

732732

},

733733

);

734734

}

Original file line numberDiff line numberDiff line change

@@ -99,10 +99,13 @@ vi.mock("../agents/agent-model-discovery.js", async () => {

9999

const actual = await vi.importActual<typeof import("../agents/agent-model-discovery.js")>(

100100

"../agents/agent-model-discovery.js",

101101

);

102+

const modelSessions = await vi.importActual<typeof import("../agents/sessions/index.js")>(

103+

"../agents/sessions/index.js",

104+

);

102105
103106

const createActualRegistry = (...args: Parameters<typeof actual.discoverModels>) => {

104107

const modelsFile = path.join(args[1], "models.json");

105-

const Registry = actual.ModelRegistry as unknown as {

108+

const Registry = modelSessions.ModelRegistry as unknown as {

106109

create?: (

107110

authStorage: unknown,

108111

modelsFile: string,