extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add ai-git-assistant extension

Open Popalay opened this issue 1 year ago • 2 comments

Description

The primary function of this extension is to generate Git commit messages using Raycast's AI and to feed from the diff and status outputs of your repository.

Screencast

ai-git-assistant-2

Checklist

Popalay avatar Apr 02 '24 14:04 Popalay

Congratulations on your new Raycast extension! :rocket:

We will aim to make the initial review within five working days. Once the PR is approved and merged, the extension will be available on our Store.

raycastbot avatar Apr 02 '24 14:04 raycastbot

Hi @Popalay 👋

I like the idea a lot - what about instead rely on getSelectedFinderItems (and taking the files current directory)?

pernielsentikaer avatar Apr 11 '24 07:04 pernielsentikaer

Hi @Popalay 👋

I like the idea a lot - what about instead rely on getSelectedFinderItems (and taking the files current directory)?

Hey @pernielsentikaer

This is a good idea, but in this case the usage of the extension changes a bit. With your proposal, choosing the git repo folder is required each time to generate a commit message. I want to make this experience more smooth w/o any required step expect the initial configuration. Do you have something in mind to make it possible? Thanks!

Popalay avatar Apr 13 '24 10:04 Popalay

I think I can utilize the getSelectedFinderItems method and if it returns something, presave the output for the next calls. In this case it will be possible to generate messages for the same repo w/o selecting the same repo twice. What do you think? @pernielsentikaer

Popalay avatar Apr 13 '24 11:04 Popalay

@pernielsentikaer Broke down my branch history by trying to push changes instead of using the publish command. Opened a new PR. Please take a look.

Popalay avatar Apr 13 '24 15:04 Popalay