Skip to content

fix(patch): cherry-pick 06fcdc2 to release/v0.37.0-pr-24839 [CONFLICTS]#25051

Open
gemini-cli-robot wants to merge 1 commit intorelease/v0.37.0-pr-24839from
hotfix/v0.37.0/0.37.1/stable/cherry-pick-06fcdc2/pr-24839
Open

fix(patch): cherry-pick 06fcdc2 to release/v0.37.0-pr-24839 [CONFLICTS]#25051
gemini-cli-robot wants to merge 1 commit intorelease/v0.37.0-pr-24839from
hotfix/v0.37.0/0.37.1/stable/cherry-pick-06fcdc2/pr-24839

Conversation

@gemini-cli-robot
Copy link
Copy Markdown
Collaborator

This PR automatically cherry-picks commit 06fcdc2 to patch version v0.37.0 in the stable release to create version 0.37.1.

⚠️ Merge Conflicts Detected

This cherry-pick resulted in merge conflicts that need manual resolution.

🔧 Next Steps:

  1. Review the conflicts: Check out this branch and review the conflict markers
  2. Resolve conflicts: Edit the affected files to resolve the conflicts
  3. Test the changes: Ensure the patch works correctly after resolution
  4. Update this PR: Push your conflict resolution

📋 Files with conflicts:

The commit has been created with conflict markers for easier manual resolution.

🚨 Important:

  • Do not merge this PR until conflicts are resolved
  • The automated patch release will trigger once this PR is merged

# Conflicts:
#	packages/cli/src/acp/commandHandler.test.ts
#	packages/cli/src/acp/commandHandler.ts
@gemini-cli-robot gemini-cli-robot requested a review from a team as a code owner April 9, 2026 18:12
@github-actions github-actions Bot mentioned this pull request Apr 9, 2026
12 tasks
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request aims to backport the /help command feature from a previous commit into the stable release branch to facilitate the creation of version 0.37.1. The changes include implementing the command logic, registering it within the application, and adding necessary unit tests. Please note that merge conflicts were detected during the automated cherry-pick process and require manual resolution before this PR can be merged.

Highlights

  • Feature Addition: Introduced the /help command to the CLI, providing users with a formatted list of available commands and basic usage instructions.
  • Code Organization: Registered the new HelpCommand and AboutCommand within the CommandHandler registry.
  • Testing: Added comprehensive unit tests for the HelpCommand to ensure correct command sorting and output formatting.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the /help and /about commands to the Gemini CLI, including the implementation of the HelpCommand and its associated tests. The HelpCommand provides users with a sorted list of available commands and basic context instructions. However, critical issues were identified as several files contain unresolved merge conflict markers, which will prevent the project from building.

Comment on lines +29 to +37
<<<<<<< HEAD
=======

const about = parse('/about');
expect(about.commandToExecute?.name).toBe('about');

const help = parse('/help');
expect(help.commandToExecute?.name).toBe('help');
>>>>>>> 06fcdc231 (feat(acp): add /help command (#24839))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This file contains unresolved merge conflict markers. This will cause the build to fail. Please resolve the conflicts before merging.

    const about = parse('/about');
    expect(about.commandToExecute?.name).toBe('about');

    const help = parse('/help');
    expect(help.commandToExecute?.name).toBe('help');

Comment on lines +13 to +17
<<<<<<< HEAD
=======
import { AboutCommand } from './commands/about.js';
import { HelpCommand } from './commands/help.js';
>>>>>>> 06fcdc231 (feat(acp): add /help command (#24839))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This file contains unresolved merge conflict markers. This will cause the build to fail. Please resolve the conflicts before merging.

import { AboutCommand } from './commands/about.js';
import { HelpCommand } from './commands/help.js';

Comment on lines +32 to +36
<<<<<<< HEAD
=======
registry.register(new AboutCommand());
registry.register(new HelpCommand(registry));
>>>>>>> 06fcdc231 (feat(acp): add /help command (#24839))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This file contains unresolved merge conflict markers. This will cause the build to fail. Please resolve the conflicts before merging.

    registry.register(new AboutCommand());
    registry.register(new HelpCommand(registry));

@gemini-cli gemini-cli Bot added the status/need-issue Pull requests that need to have an associated issue. label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/need-issue Pull requests that need to have an associated issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants