fix: 继续收敛 codex trace 残余噪声 (#68)

Co-authored-by: Codex <codex@pikas.tech>
This commit is contained in:
Lyon
2026-06-02 10:11:31 +08:00
committed by GitHub
parent 2c2524880e
commit a6f7581b96
6 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -606,7 +606,7 @@ function normalizeCodexNotification(message: JsonRecord, suppressed: SuppressedN
if (method === "item/started" || method === "item/completed") {
const item = asRecordAt(params, "item");
const itemType = typeof item.type === "string" ? item.type : "unknown";
if (isSuppressedCodexItemType(itemType)) {
if (itemType !== "commandExecution" || isSuppressedCodexItemType(itemType)) {
recordSuppressedNotification(suppressed, method, itemType);
return { events: [] };
}