Skip to content

Conversation

@aleemstreak
Copy link
Contributor

@aleemstreak aleemstreak commented Jan 10, 2026

Note

Introduces a guided editor setup to streamline opening newly created glue files.

  • After file creation in commands/create.ts, prompts to open in an editor via openInEditorFlow
  • Detects preferred/installed editor from EDITOR or by running code --version/cursor --version; supports VSCode and Cursor
  • If no editor is found, prompts to install Cursor and waits with a spinner until available, then opens the file
  • Updates success and hint messages (colored output) when creating files
  • Sample samples/myExampleWebhook.ts now logs _event.bodyText on GET

Written by Cursor Bugbot for commit 9c950a1. This will update automatically on new commits. Configure here.

@gemini-code-assist
Copy link

Summary of Changes

Hello @aleemstreak, 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 significantly improves the initial user experience when creating new glue files by integrating directly with code editors. Upon successful file creation, users are now prompted to open the file in their preferred editor, with automatic detection for VSCode and Cursor. If no editor is found, the system offers to guide the user through installing Cursor, ensuring a smoother transition from file creation to active development. This change aims to reduce friction and accelerate the onboarding process for new users.

Highlights

  • Enhanced Editor Integration: After creating a new glue file, the system now prompts the user to open it in a code editor, streamlining the initial setup process.
  • Automatic Editor Detection: The tool attempts to detect installed editors, specifically VSCode and Cursor, to provide a seamless experience.
  • Guided Editor Installation: If no preferred editor is found, the user is prompted to install Cursor, with instructions provided, and the system waits for the installation to complete before opening the file.
  • Improved Sample Logging: A sample webhook file has been updated to log the _event.bodyText instead of a static string, offering more useful debugging information.
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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

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

@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 a helpful feature to guide users in setting up their editor after creating a new glue file. The implementation detects installed editors, prompts to install one if none are found, and opens the newly created file. My review includes a few suggestions to improve the robustness and quality of the new code. I've pointed out a potential crash when handling the EDITOR environment variable, some redundant code, and a typo in an unused property.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a191c0260

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 10, 2026

Greptile Overview

Greptile Summary

Adds post-creation flow to prompt users to open files in an editor, detecting Cursor or VSCode via $EDITOR or CLI availability. Includes editor installation guidance with a spinner wait loop when no editor is found. Updates sample webhook to log event body text instead of static message.

Confidence Score: 1/5

  • High risk due to infinite loop without timeout that will hang CLI if user doesn't complete installation
  • The infinite polling loop in installEditor (lines 135-142) will run forever if the user never completes the editor installation, with no timeout or cancellation mechanism. This blocks the CLI and could frustrate users. Additionally, there's a typo in the macOSZipeUrl field name and the webhook sample change is questionable for GET requests.
  • commands/create.ts requires immediate attention for the infinite loop issue

Important Files Changed

File Analysis

Filename Score Overview
commands/create.ts 1/5 Adds editor integration flow with typo in field name, infinite loop without timeout, grammar issues, and unused field
samples/myExampleWebhook.ts 2/5 Changes GET webhook to log bodyText, which is unusual for GET requests that typically lack request bodies

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

6 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 18

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

aleemstreak and others added 2 commits January 9, 2026 16:10
Co-authored-by: Chris Cowan <agentme49@gmail.com>
@aleemstreak aleemstreak merged commit 1d7f752 into master Jan 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants