google-gemini/gemini-cli

[Hooks] Debug logs are too verbose

已关闭

#16,629 创建于 2026年1月14日

 (6 条评论) (0 个反应) (1 位负责人)TypeScript (13,657 个派生)batch import
area/agenthelp wantedkind/bugpriority/p2priority/p3status/bot-triagedstatus/need-information

仓库指标

星标
 (103,992 个星标)
PR 合并指标
 (平均合并 4天 2小时) (30 天内合并 55 个 PR)

描述

What happened?

Currently with --debug turned on and hooks enabled, the debug log is spammed with essentially the entire agent trajectory for every hook lifecycle entrypoint. This makes it almost impossible to navigate and understand the debug logs.

What did you expect to happen?

A short debug message of which hook lifecycle point was reached and which detected hooks were invoked

Client information

N/A

Login information

No response

Anything else we need to know?

No response

贡献者指南