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

推荐订阅源

I
InfoQ
S
SegmentFault 最新的问题
N
Netflix TechBlog - Medium
B
Blog
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 聂微东
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
U
Unit 42
J
Java Code Geeks
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC

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
fix(codex): use stable hooks feature flag (#82078) · open...
velvet-shark · 2026-05-16 · via Recent Commits to openclaw:main

@@ -2947,7 +2947,7 @@ describe("runCodexAppServerAttempt", () => {

29472947

const startRequest = harness.requests.find((request) => request.method === "thread/start");

29482948

const startConfig = (startRequest?.params as { config?: Record<string, unknown> } | undefined)

29492949

?.config;

2950-

expect(startConfig?.["features.codex_hooks"]).toBe(true);

2950+

expect(startConfig?.["features.hooks"]).toBe(true);

29512951

const preToolUseHooks = startConfig?.["hooks.PreToolUse"] as

29522952

| Array<{ hooks?: Array<{ command?: string; timeout?: number; type?: string }> }>

29532953

| undefined;

@@ -3035,7 +3035,7 @@ describe("runCodexAppServerAttempt", () => {

30353035

const startRequest = harness.requests.find((request) => request.method === "thread/start");

30363036

const startConfig = (startRequest?.params as { config?: Record<string, unknown> } | undefined)

30373037

?.config;

3038-

expect(startConfig?.["features.codex_hooks"]).toBe(true);

3038+

expect(startConfig?.["features.hooks"]).toBe(true);

30393039

expect(Array.isArray(startConfig?.["hooks.PreToolUse"])).toBe(true);

30403040

expect(Array.isArray(startConfig?.["hooks.PostToolUse"])).toBe(true);

30413041

expect(Array.isArray(startConfig?.["hooks.Stop"])).toBe(true);

@@ -3071,7 +3071,7 @@ describe("runCodexAppServerAttempt", () => {

30713071

const startRequest = harness.requests.find((request) => request.method === "thread/start");

30723072

const startConfig = (startRequest?.params as { config?: Record<string, unknown> } | undefined)

30733073

?.config;

3074-

expect(startConfig?.["features.codex_hooks"]).toBe(true);

3074+

expect(startConfig?.["features.hooks"]).toBe(true);

30753075

expect(Array.isArray(startConfig?.["hooks.PermissionRequest"])).toBe(true);

30763076

const relayId = extractRelayIdFromThreadRequest(startRequest?.params);

30773077

expect(

@@ -3211,7 +3211,7 @@ describe("runCodexAppServerAttempt", () => {

32113211

const startRequest = harness.requests.find((request) => request.method === "thread/start");

32123212

const startConfig = (startRequest?.params as { config?: Record<string, unknown> } | undefined)

32133213

?.config;

3214-

expect(startConfig?.["features.codex_hooks"]).toBe(false);

3214+

expect(startConfig?.["features.hooks"]).toBe(false);

32153215

expect(startConfig?.["hooks.PreToolUse"]).toEqual([]);

32163216

expect(startConfig?.["hooks.PostToolUse"]).toEqual([]);

32173217

expect(startConfig?.["hooks.PermissionRequest"]).toEqual([]);

@@ -5367,7 +5367,7 @@ describe("runCodexAppServerAttempt", () => {

53675367

throw new Error(`unexpected method: ${method}`);

53685368

});

53695369

const config = {

5370-

"features.codex_hooks": true,

5370+

"features.hooks": true,

53715371

"hooks.PreToolUse": [],

53725372

};

53735373

const expectedConfig = {

@@ -5426,7 +5426,7 @@ describe("runCodexAppServerAttempt", () => {

54265426

cwd: workspaceDir,

54275427

dynamicTools: [],

54285428

appServer,

5429-

config: { "features.codex_hooks": true, hooks: { PreToolUse: [] } },

5429+

config: { "features.hooks": true, hooks: { PreToolUse: [] } },

54305430

pluginThreadConfig: {

54315431

enabled: true,

54325432

inputFingerprint: "plugin-apps-input-1",

@@ -5439,7 +5439,7 @@ describe("runCodexAppServerAttempt", () => {

54395439

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

54405440

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start"]);

54415441

expect(requestCalls[0]?.[1].config).toEqual({

5442-

"features.codex_hooks": true,

5442+

"features.hooks": true,

54435443

"features.code_mode": true,

54445444

"features.code_mode_only": true,

54455445

hooks: { PreToolUse: [] },

@@ -5479,7 +5479,7 @@ describe("runCodexAppServerAttempt", () => {

54795479

cwd: workspaceDir,

54805480

dynamicTools: [],

54815481

appServer,

5482-

config: { "features.codex_hooks": true },

5482+

config: { "features.hooks": true },

54835483

pluginThreadConfig: {

54845484

enabled: true,

54855485

inputFingerprint: "plugin-apps-input-1",

@@ -5492,7 +5492,7 @@ describe("runCodexAppServerAttempt", () => {

54925492

cwd: workspaceDir,

54935493

dynamicTools: [],

54945494

appServer,

5495-

config: { "features.codex_hooks": true },

5495+

config: { "features.hooks": true },

54965496

pluginThreadConfig: {

54975497

enabled: true,

54985498

inputFingerprint: "plugin-apps-input-1",

@@ -5506,13 +5506,13 @@ describe("runCodexAppServerAttempt", () => {

55065506

const requestCalls = request.mock.calls as unknown as Array<[string, { config?: unknown }]>;

55075507

expect(requestCalls.map(([method]) => method)).toEqual(["thread/start", "thread/resume"]);

55085508

expect(requestCalls[0]?.[1].config).toEqual({

5509-

"features.codex_hooks": true,

5509+

"features.hooks": true,

55105510

"features.code_mode": true,

55115511

"features.code_mode_only": true,

55125512

...createPluginAppConfigPatch(),

55135513

});

55145514

expect(requestCalls[1]?.[1].config).toEqual({

5515-

"features.codex_hooks": true,

5515+

"features.hooks": true,

55165516

"features.code_mode": true,

55175517

"features.code_mode_only": true,

55185518

});

@@ -5972,7 +5972,7 @@ describe("runCodexAppServerAttempt", () => {

59725972

const resumeRequest = requests.find((request) => request.method === "thread/resume");

59735973

const resumeRequestParams = resumeRequest?.params as Record<string, unknown> | undefined;

59745974

const resumeConfig = resumeRequestParams?.config as Record<string, unknown> | undefined;

5975-

expect(resumeConfig?.["features.codex_hooks"]).toBe(true);

5975+

expect(resumeConfig?.["features.hooks"]).toBe(true);

59765976

expect(resumeConfig?.["features.code_mode"]).toBe(true);

59775977

expect(resumeConfig?.["features.code_mode_only"]).toBe(true);

59785978

expect(resumeRequestParams?.developerInstructions).toContain(CODEX_GPT5_BEHAVIOR_CONTRACT);