fix: 继续收敛 codex trace 残余噪声 (#68)
Co-authored-by: Codex <codex@pikas.tech>
This commit is contained in:
@@ -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: [] };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user