Improve codex activity log tool-call summaries
This commit is contained in:
@@ -119,7 +119,7 @@ describe("shared tool-call display mapping", () => {
|
||||
});
|
||||
|
||||
expect(display).toEqual({
|
||||
displayName: "Interacted with terminal",
|
||||
displayName: "Terminal",
|
||||
});
|
||||
});
|
||||
|
||||
@@ -136,7 +136,7 @@ describe("shared tool-call display mapping", () => {
|
||||
});
|
||||
|
||||
expect(display).toEqual({
|
||||
displayName: "Interacted with terminal",
|
||||
displayName: "Terminal",
|
||||
summary: "npm run test",
|
||||
});
|
||||
});
|
||||
|
||||
@@ -129,7 +129,7 @@ function buildUnknownDetailOverride(input: ToolCallDisplayInput): DetailDisplay
|
||||
}
|
||||
if (lowerName === "terminal") {
|
||||
return {
|
||||
displayName: "Interacted with terminal",
|
||||
displayName: "Terminal",
|
||||
summary: input.detail.type === "plain_text" ? readString(input.detail.label) : undefined,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user