Skip to content

feat(mcp): add live MCP tool progress bar for long running MCP tool calls (Issue #16934) - #18604

Closed
jasmeetsb wants to merge 2 commits into
google-gemini:mainfrom
jasmeetsb:feature/mcp-progress-reports
Closed

jasmeetsb wants to merge 2 commits into
google-gemini:mainfrom
jasmeetsb:feature/mcp-progress-reports

refactor(mcp): move progress state management from CLI to Core

79a33f6
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Feb 18, 2026 in 19m 21s

5 new alerts including 5 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 5 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 101 in packages/cli/src/ui/utils/InlineMarkdownRenderer.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings starting with '' and with many repetitions of '``'. This [regular expression](1) that depends on [library input](3) may run slow on strings starting with '' and with many repetitions of ''. This [regular expression](1) that depends on [library input](4) may run slow on strings starting with '`' and with many repetitions of ''.
This
regular expression
that depends on library input may run slow on strings starting with '`' and with many repetitions of '``'.

Check failure on line 114 in packages/cli/src/ui/utils/InlineMarkdownRenderer.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings starting with '[' and with many repetitions of '[a'.
This
regular expression
that depends on
library input
may run slow on strings starting with '[](' and with many repetitions of '](a'.
This
regular expression
that depends on library input may run slow on strings starting with '[' and with many repetitions of '[a'.
This
regular expression
that depends on library input may run slow on strings starting with '[](' and with many repetitions of '](a'.
This
regular expression
that depends on library input may run slow on strings starting with '[' and with many repetitions of '[a'.
This
regular expression
that depends on library input may run slow on strings starting with '[](' and with many repetitions of '](a'.
This
regular expression
that depends on library input may run slow on strings starting with '[' and with many repetitions of '[a'.
This
regular expression
that depends on library input may run slow on strings starting with '[](' and with many repetitions of '](a'.

Check failure on line 92 in packages/cli/src/ui/utils/MarkdownDisplay.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.

Check failure on line 120 in packages/cli/src/ui/utils/MarkdownDisplay.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.

Check failure on line 126 in packages/cli/src/ui/utils/MarkdownDisplay.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
library input
may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on
library input
may run slow on strings starting with '-|-' and with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings starting with '-|-' and with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings starting with '-|-' and with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings starting with '-|-' and with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings starting with '-|-' and with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings starting with '-|-' and with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings with many repetitions of ' '.
This
regular expression
that depends on library input may run slow on strings starting with '-|-' and with many repetitions of ' '.