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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
小众软件
小众软件
美团技术团队
Martin Fowler
Martin Fowler
爱范儿
爱范儿
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
J
Java Code Geeks
B
Blog
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
博客园 - Franky

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): share native hook relay registry (#73950) · o...
Thesaranshn8 · 2026-05-27 · via Recent Commits to openclaw:main

@@ -20,7 +20,7 @@ describe("Codex native hook relay config", () => {

2020

{

2121

type: "command",

2222

command:

23-

"openclaw hooks relay --provider codex --relay-id relay-1 --event pre_tool_use",

23+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event pre_tool_use",

2424

timeout: 7,

2525

async: false,

2626

statusMessage: "OpenClaw native hook relay",

@@ -34,7 +34,7 @@ describe("Codex native hook relay config", () => {

3434

{

3535

type: "command",

3636

command:

37-

"openclaw hooks relay --provider codex --relay-id relay-1 --event post_tool_use",

37+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event post_tool_use",

3838

timeout: 7,

3939

async: false,

4040

statusMessage: "OpenClaw native hook relay",

@@ -48,7 +48,7 @@ describe("Codex native hook relay config", () => {

4848

{

4949

type: "command",

5050

command:

51-

"openclaw hooks relay --provider codex --relay-id relay-1 --event permission_request",

51+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event permission_request",

5252

timeout: 7,

5353

async: false,

5454

statusMessage: "OpenClaw native hook relay",

@@ -62,7 +62,7 @@ describe("Codex native hook relay config", () => {

6262

{

6363

type: "command",

6464

command:

65-

"openclaw hooks relay --provider codex --relay-id relay-1 --event before_agent_finalize",

65+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event before_agent_finalize",

6666

timeout: 7,

6767

async: false,

6868

statusMessage: "OpenClaw native hook relay",

@@ -125,7 +125,7 @@ describe("Codex native hook relay config", () => {

125125

{

126126

type: "command",

127127

command:

128-

"openclaw hooks relay --provider codex --relay-id relay-1 --event permission_request",

128+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event permission_request",

129129

timeout: 5,

130130

async: false,

131131

statusMessage: "OpenClaw native hook relay",

@@ -160,7 +160,7 @@ describe("Codex native hook relay config", () => {

160160

{

161161

type: "command",

162162

command:

163-

"openclaw hooks relay --provider codex --relay-id relay-1 --event pre_tool_use",

163+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event pre_tool_use",

164164

timeout: 5,

165165

async: false,

166166

statusMessage: "OpenClaw native hook relay",

@@ -200,7 +200,7 @@ describe("Codex native hook relay config", () => {

200200

{

201201

type: "command",

202202

command:

203-

"openclaw hooks relay --provider codex --relay-id relay-1 --event permission_request",

203+

"openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event permission_request",

204204

timeout: 5,

205205

async: false,

206206

statusMessage: "OpenClaw native hook relay",

@@ -260,14 +260,15 @@ function createRelay(options?: {

260260

return {

261261

relayId: "relay-1",

262262

provider: "codex",

263+

generation: "generation-1",

263264

sessionId: "session-1",

264265

sessionKey: "agent:main:session-1",

265266

runId: "run-1",

266267

allowedEvents: ["pre_tool_use", "post_tool_use", "permission_request", "before_agent_finalize"],

267268

expiresAtMs: Date.now() + 1000,

268269

shouldRelayEvent: (event) => !inactiveEvents.has(event),

269270

commandForEvent: (event) =>

270-

`openclaw hooks relay --provider codex --relay-id relay-1 --event ${event}`,

271+

`openclaw hooks relay --provider codex --relay-id relay-1 --generation generation-1 --event ${event}`,

271272

renew: () => undefined,

272273

unregister: () => undefined,

273274

};