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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
Recent Announcements
Recent Announcements
Vercel News
Vercel News
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
H
Help Net Security
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
G
Google Developers Blog
罗磊的独立博客
爱范儿
爱范儿
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
月光博客
月光博客
人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research

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
test: trim cron and context-engine waits · openclaw/openc...
steipete · 2026-05-06 · via Recent Commits to openclaw:main

@@ -1027,6 +1027,7 @@ export async function createContextEngineAttemptRunner(params: {

10271027

sessionPrompt?: SessionPromptOverride;

10281028

sessionKey: string;

10291029

tempPaths: string[];

1030+

trajectory?: boolean;

10301031

}) {

10311032

const { maintain: rawMaintain, ...contextEngineRest } = params.contextEngine;

10321033

const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-ctx-engine-workspace-"));

@@ -1062,50 +1063,63 @@ export async function createContextEngineAttemptRunner(params: {

10621063

}),

10631064

}));

106410651065-

return await (

1066-

await loadRunEmbeddedAttempt()

1067-

)({

1068-

sessionId: "embedded-session",

1069-

sessionKey: params.sessionKey,

1070-

sessionFile,

1071-

workspaceDir,

1072-

agentDir,

1073-

config: {},

1074-

prompt: "hello",

1075-

timeoutMs: 10_000,

1076-

runId: "run-context-engine-forwarding",

1077-

provider: "openai",

1078-

modelId: "gpt-test",

1079-

model: testModel,

1080-

authStorage: testAuthStorage as never,

1081-

authProfileStore: { version: 1, profiles: {} },

1082-

modelRegistry: {} as never,

1083-

thinkLevel: "off",

1084-

senderIsOwner: true,

1085-

disableMessageTool: true,

1086-

contextTokenBudget: 2048,

1087-

contextEngine: {

1088-

...contextEngineRest,

1089-

ingest:

1090-

params.contextEngine.ingest ??

1091-

(async () => ({

1092-

ingested: true,

1093-

})),

1094-

compact:

1095-

params.contextEngine.compact ??

1096-

(async () => ({

1097-

ok: false,

1098-

compacted: false,

1099-

reason: "not used in this test",

1100-

})),

1101-

...(maintain ? { maintain } : {}),

1102-

info: {

1103-

...params.contextEngine.info,

1104-

id: infoId,

1105-

name: infoName,

1106-

version: infoVersion,

1066+

const previousTrajectoryEnv = process.env.OPENCLAW_TRAJECTORY;

1067+

if (params.trajectory !== true) {

1068+

process.env.OPENCLAW_TRAJECTORY = "0";

1069+

}

1070+

try {

1071+

return await (

1072+

await loadRunEmbeddedAttempt()

1073+

)({

1074+

sessionId: "embedded-session",

1075+

sessionKey: params.sessionKey,

1076+

sessionFile,

1077+

workspaceDir,

1078+

agentDir,

1079+

config: {},

1080+

prompt: "hello",

1081+

timeoutMs: 10_000,

1082+

runId: "run-context-engine-forwarding",

1083+

provider: "openai",

1084+

modelId: "gpt-test",

1085+

model: testModel,

1086+

authStorage: testAuthStorage as never,

1087+

authProfileStore: { version: 1, profiles: {} },

1088+

modelRegistry: {} as never,

1089+

thinkLevel: "off",

1090+

senderIsOwner: true,

1091+

disableTools: true,

1092+

disableMessageTool: true,

1093+

contextTokenBudget: 2048,

1094+

contextEngine: {

1095+

...contextEngineRest,

1096+

ingest:

1097+

params.contextEngine.ingest ??

1098+

(async () => ({

1099+

ingested: true,

1100+

})),

1101+

compact:

1102+

params.contextEngine.compact ??

1103+

(async () => ({

1104+

ok: false,

1105+

compacted: false,

1106+

reason: "not used in this test",

1107+

})),

1108+

...(maintain ? { maintain } : {}),

1109+

info: {

1110+

...params.contextEngine.info,

1111+

id: infoId,

1112+

name: infoName,

1113+

version: infoVersion,

1114+

},

11071115

},

1108-

},

1109-

...params.attemptOverrides,

1110-

});

1116+

...params.attemptOverrides,

1117+

});

1118+

} finally {

1119+

if (previousTrajectoryEnv === undefined) {

1120+

delete process.env.OPENCLAW_TRAJECTORY;

1121+

} else {

1122+

process.env.OPENCLAW_TRAJECTORY = previousTrajectoryEnv;

1123+

}

1124+

}

11111125

}