Open
Conversation
Greptile OverviewGreptile SummaryAdded support for Gemini CLI as a third AI agent option alongside Amp and Claude Code. The implementation generalizes the Key changes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant ralph.sh
participant Validation
participant Gemini CLI
participant Amp/Claude
User->>ralph.sh: ./ralph.sh --tool gemini
ralph.sh->>Validation: Check tool in VALID_TOOLS array
Validation-->>ralph.sh: Valid
ralph.sh->>ralph.sh: Read GEMINI.md instructions
ralph.sh->>Gemini CLI: gemini --yolo < GEMINI.md
Gemini CLI-->>ralph.sh: Execution output
ralph.sh->>ralph.sh: Check for COMPLETE signal
Note over User,Amp/Claude: Alternative: --tool amp or --tool claude
User->>ralph.sh: ./ralph.sh --tool amp/claude
ralph.sh->>Validation: Check tool in VALID_TOOLS array
Validation-->>ralph.sh: Valid
ralph.sh->>Amp/Claude: Execute with respective flags
Amp/Claude-->>ralph.sh: Execution output
Last reviewed commit: 8d2882a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for Gemini CLI and generalizes a part of the
ralph.shfile to make adding more cli tools easier.I've put the output below of what this looks like when running Gemini CLI with this setup. The only difference with my setup is that I copied the skill files into the
.gemini/skillsdirectory local to the workspace (not global). I have tested with the global files as well, which seems to workCLI Output
PRD Creation
Output
prd.jsonCreationOutput