Skip to content

Open-source SEO, GEO, and marketing skills for AI agents.

fix(notfair-cmo): type the message field on codex error items

Yuting Zhongbeb11a785c7c
diff --git a/notfair-cmo/src/server/adapters/codex-local/parse.ts b/notfair-cmo/src/server/adapters/codex-local/parse.ts
index 2335224e..96c1004e 100644
--- a/notfair-cmo/src/server/adapters/codex-local/parse.ts
+++ b/notfair-cmo/src/server/adapters/codex-local/parse.ts
@@ -45,6 +45,8 @@ interface CodexEvent {
server?: string;
tool?: string;
tool_name?: string;
+ /** `error`-type items (codex 0.144+) carry their text here. */
+ message?: string;
};
error?: { message?: string };
}