From ff8c0ccfeecd71e231679039f1de43545a105ad8 Mon Sep 17 00:00:00 2001 From: Andrew Charneski Date: Sat, 14 Oct 2023 15:23:15 -0400 Subject: [PATCH] 1.2.15 --- CHANGELOG.md | 7 + README.md | 32 +- build.gradle.kts | 4 +- fix.ps1 | 13 - main.java | 5 - main.kt | 3 - settings.gradle.kts | 4 +- .../ui/TemperatureControlWidgetFactory.kt | 2 +- src/main/resources/META-INF/pluginIcon.svg | 5177 ++++------------- src/main/resources/META-INF/toolbarIcon.svg | 724 +++ temp.txt | 1 - 11 files changed, 1784 insertions(+), 4188 deletions(-) delete mode 100644 fix.ps1 delete mode 100644 main.java delete mode 100644 main.kt create mode 100644 src/main/resources/META-INF/toolbarIcon.svg delete mode 100644 temp.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index ad02b77c..e62a29c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ ## [Unreleased] +## [1.2.14] + +### Improved +- Logo and Icon graphics +- Readme +- Updated dependencies + ## [1.2.11] ### Improved diff --git a/README.md b/README.md index 105c9886..beef440a 100644 --- a/README.md +++ b/README.md @@ -8,37 +8,29 @@ # **AI Coding Assistant Plugin for IntelliJ** -Welcome to the AI Coding Assistant, a robust IntelliJ plugin that empowers developers to streamline their coding -workflow using ChatGPT/GPT4. Our plugin compliments others such as GitHub Copilot or AWS CodeWhisperer - -Where those concentrate on passively enhancing the IDE with autocomplete, our plugin offers actively-invoked actions -that complement and enhance your coding experience. An OpenAI access token is required to use this tool. +The only fully open source plugin for IntelliJ that integrates with OpenAI's GPT-4 API. -In addition to our predefined actions, our latest version introduces: +* This requires an OpenAI access token, which you can get by signing up for a developer account at https://platform.openai.com/ +* No membership fees! API access is paid but is billed by usage, with no base fee. The plugin is free and open source. +* Fully customizable actions in Groovy, including the ability to create your own actions. +* Toolbar UI for quick configuration of temperature/model and display of current token count +* Ability to intercept, edit, and log API requests -1. Customizable actions, giving you the power to create your own tools through editable Groovy source files -2. Toolbar UI for quick configuration of temperature/model and display of current token count -3. Ability to intercept and edit individual API requests -4. Ability to log api requests and responses to a file - -**NOTE**: Due to the war of aggression, widespread war crimes, and acts of genocide committed by the Russian -Federation against Ukraine and various other countries, this plugin will not function for Russian users. - -_We are working on a solution to this problem_, but cannot yet promise a date for the Ukrainian victory. +**NOTE**: Due to the war of aggression, widespread war crimes including acts of genocide committed by the Russian +Federation against Ukraine and various other countries, this plugin will not function for users in Russia and allied countries. +_We are working on a solution to this problem_, but cannot yet promise a date for the victory. **_Slava Ukraini!_** ## **Installation & Configuration** -To begin with AI Coding Assistant, you will need an OpenAI access token. This key grants you access to a diverse range -of features, including language-agnostic text processing, extensive code actions, Markdown support, and much more. - -After obtaining your OpenAI token, input it into the appropriate field in the plugin's settings panel. There, you'll -also find options for customizing the actions to suit your coding preferences. +To begin with AI Coding Assistant, you will need an [OpenAI access token](https://platform.openai.com/account/api-keys). +After obtaining your OpenAI token, input it into the appropriate field in the plugin's settings panel. ## **Usage Overview** AI Coding Assistant offers a variety of actions, which are tools specifically designed to simplify and speed up your coding process. These are not passively triggered by your typing but are invoked on command, giving you full control -over when and how to use them. You can access these actions via the context menu. +over when and how to use them. You can access these actions via the context menu within an editor or in the project view. ## **Action Customization** diff --git a/build.gradle.kts b/build.gradle.kts index c05d0ed1..6126f909 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,10 +25,10 @@ repositories { val kotlin_version = "1.7.22" val jetty_version = "11.0.15" val slf4j_version = "2.0.5" -val skyenet_version = "1.0.16" +val skyenet_version = "1.0.17" dependencies { - implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.18") + implementation(group = "com.simiacryptus", name = "joe-penai", version = "1.0.19") implementation(group = "com.simiacryptus.skyenet", name = "util", version = skyenet_version) implementation(group = "com.simiacryptus.skyenet", name = "core", version = skyenet_version) diff --git a/fix.ps1 b/fix.ps1 deleted file mode 100644 index 94eab8ea..00000000 --- a/fix.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -$files = Get-ChildItem -Recurse -File | Where-Object { - $_.Extension -ne '.bat' -and - $_.Extension -ne '.ps1' -and - $_.DirectoryName -notlike '*\.git\*' -and - $_.Extension -ne '.jar' -} - -foreach ($file in $files) { - $content = Get-Content -Raw $file.FullName - $content = $content -replace '\r\n', "`n" - - Set-Content -Path $file.FullName -Value $content -Encoding UTF8 -} diff --git a/main.java b/main.java deleted file mode 100644 index d5238c98..00000000 --- a/main.java +++ /dev/null @@ -1,5 +0,0 @@ -public class Main { - public static void main(String[] args) { - System.out.println("Hello, World!"); - } -} \ No newline at end of file diff --git a/main.kt b/main.kt deleted file mode 100644 index e7c4b09b..00000000 --- a/main.kt +++ /dev/null @@ -1,3 +0,0 @@ -fun main() { - println("Hello, World!") -} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 2e0bd7c1..d95a93bd 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -4,8 +4,8 @@ plugins { id("org.gradle.toolchains.foojay-resolver-convention") version ("0.4.0") } -//includeBuild("../joe-penai/") -//includeBuild("../SkyeNet/") +includeBuild("../joe-penai/") +includeBuild("../SkyeNet/") //includeBuild("../AwsAgent/") diff --git a/src/main/kotlin/com/github/simiacryptus/aicoder/ui/TemperatureControlWidgetFactory.kt b/src/main/kotlin/com/github/simiacryptus/aicoder/ui/TemperatureControlWidgetFactory.kt index bcb40798..009184cb 100644 --- a/src/main/kotlin/com/github/simiacryptus/aicoder/ui/TemperatureControlWidgetFactory.kt +++ b/src/main/kotlin/com/github/simiacryptus/aicoder/ui/TemperatureControlWidgetFactory.kt @@ -132,7 +132,7 @@ class TemperatureControlWidgetFactory : StatusBarWidgetFactory { } override fun getIcon(): Icon? = - IconLoader.findIcon(javaClass.classLoader.getResource("./META-INF/pluginIcon.svg")) + IconLoader.findIcon(javaClass.classLoader.getResource("./META-INF/toolbarIcon.svg")) override fun getPresentation(): StatusBarWidget.WidgetPresentation? { return this diff --git a/src/main/resources/META-INF/pluginIcon.svg b/src/main/resources/META-INF/pluginIcon.svg index 460fcff2..b0ee309c 100644 --- a/src/main/resources/META-INF/pluginIcon.svg +++ b/src/main/resources/META-INF/pluginIcon.svg @@ -1,4147 +1,1042 @@  - - -