feat(codex): refine tool activity display

This commit is contained in:
weishu
2026-07-24 09:39:22 +08:00
parent dd42263aaf
commit 74ad25ec57
28 changed files with 1591 additions and 85 deletions
+2
View File
@@ -112,6 +112,8 @@ describe('codexLocal', () => {
const hookArg = args.find((arg) => arg.startsWith('hooks.SessionStart='));
expect(hookArg).toBeDefined();
expect(hookArg).toContain('{ hooks = [{ type = "command", command = "');
expect(args.some((arg) => arg.startsWith('hooks.PreToolUse='))).toBe(true);
expect(args.some((arg) => arg.startsWith('hooks.PostToolUse='))).toBe(true);
expect(args).toContain("mcp_servers.hapi.args=['mcp','--url','http://127.0.0.1:63995/']");
expect(args).toContain('mcp_servers.hapi.tools.change_title.approval_mode="approve"');
});