diff --git a/CHANGELOG.md b/CHANGELOG.md
index 79d8f8c3..f725848c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Rebranding
+
+- CodeGPT -> ProxyAI
+
## [2.16.4-241.1] - 2025-02-25
### Added
diff --git a/DESCRIPTION.md b/DESCRIPTION.md
index 4b7a80fd..ccc72c28 100644
--- a/DESCRIPTION.md
+++ b/DESCRIPTION.md
@@ -10,7 +10,7 @@ Get multi-line edits based on your recent activity, open files and previous chat
ProxyAI is the first JetBrains extension capable of suggesting modifications beyond the
current cursor location.
-Learn more in our recent [blog post](https://codegpt.ee/blog/introducing-code-assistant).
+Learn more in our recent [blog post](https://tryproxy.io/blog/introducing-code-assistant).
## Highly Configurable
@@ -41,13 +41,13 @@ Get instant coding advice through a ChatGPT-like interface that accepts image in
Stream AI-suggested code changes directly into your editor. Preview modifications in diff view and
approve or reject them with a single click.
-
+
**Use images**
Chat with your images. Upload manually or let ProxyAI auto-detect your screenshots.
-
+
**Reference your files and folders**
@@ -55,25 +55,25 @@ Quickly access and reference your project files and folders for context-aware co
With our **$10** pricing plan, you can chat with files containing up to **200k tokens** using any of our offered models.
-
+
**Reference web documentations**
Easily pull in relevant web documentation into your chat for quick reference—whether it’s API docs, library guides, framework manuals, or something else.
-
+
**Search the web**
Connect your favourite LLM to the web. ProxyAI will search for the most relevant information to answer your questions.
-
+
**Customize your assistant**
Choose between multiple different personas for your specific needs, whether you're looking to learn, write or proofread.
-
+
### Code
@@ -85,31 +85,31 @@ streamline your workflow.
Get multi-line edits based on your recent activity, open files and previous chat interactions.
-
+
**Autocomplete your code**
Receive single-line or whole-function autocomplete suggestions as you type.
-
+
**Edit code in natural language**
Highlight the code you want to modify, describe the desired changes, and watch ProxyAI work its magic.
-
+
**Get name suggestions**
Get context-aware naming suggestions for methods, variables, and more.
-
+
**Generate commit messages**
Generate concise and descriptive commit messages based on the changes made in your codebase.
-
+
**Offline Development Support (llama.cpp and Ollama)**
diff --git a/README.md b/README.md
index 11356fa2..e84507d4 100644
--- a/README.md
+++ b/README.md
@@ -2,12 +2,15 @@
- The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like. + The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.
- It looks like you haven't configured your API key yet. Visit CodeGPT settings to do so. + It looks like you haven't configured your API key yet. Visit ProxyAI settings to do so.
- Don't have an account? Sign up to get the most out of CodeGPT. + Don't have an account? Sign up to get the most out of ProxyAI.
""", false, diff --git a/src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/textarea/ModelComboBoxAction.java b/src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/textarea/ModelComboBoxAction.java index 4d4bca45..de459015 100644 --- a/src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/textarea/ModelComboBoxAction.java +++ b/src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/textarea/ModelComboBoxAction.java @@ -26,6 +26,7 @@ import com.intellij.openapi.ui.popup.JBPopup; import com.intellij.openapi.ui.popup.JBPopupListener; import com.intellij.openapi.ui.popup.LightweightWindowEvent; import com.intellij.openapi.ui.popup.ListPopup; +import ee.carlrobert.codegpt.CodeGPTBundle; import ee.carlrobert.codegpt.CodeGPTKeys; import ee.carlrobert.codegpt.Icons; import ee.carlrobert.codegpt.completions.llama.LlamaModel; @@ -133,7 +134,7 @@ public class ModelComboBoxAction extends ComboBoxAction { var actionGroup = new DefaultActionGroup(); if (availableProviders.contains(CODEGPT)) { - actionGroup.addSeparator("CodeGPT"); + actionGroup.addSeparator(CodeGPTBundle.get("project.label")); actionGroup.addAll(getCodeGPTModelActions(project, presentation)); actionGroup.addSeparator(); } diff --git a/src/main/java/ee/carlrobert/codegpt/ui/OverlayUtil.java b/src/main/java/ee/carlrobert/codegpt/ui/OverlayUtil.java index 4880cd0d..03796e31 100644 --- a/src/main/java/ee/carlrobert/codegpt/ui/OverlayUtil.java +++ b/src/main/java/ee/carlrobert/codegpt/ui/OverlayUtil.java @@ -9,7 +9,6 @@ import static java.util.Objects.requireNonNull; import com.intellij.execution.ExecutionBundle; import com.intellij.notification.Notification; -import com.intellij.notification.NotificationGroup; import com.intellij.notification.NotificationListener; import com.intellij.notification.NotificationType; import com.intellij.notification.Notifications; @@ -36,8 +35,8 @@ import org.jetbrains.annotations.NotNull; public class OverlayUtil { - public static final String NOTIFICATION_GROUP_ID = "CodeGPT Notification Group"; - public static final String NOTIFICATION_GROUP_STICKY_ID = "CodeGPT Notification Group Sticky"; + public static final String NOTIFICATION_GROUP_ID = "proxyai.notification.group"; + public static final String NOTIFICATION_GROUP_STICKY_ID = "proxyai.notification.sticky.group"; private OverlayUtil() { } @@ -49,7 +48,8 @@ public class OverlayUtil { public static Notification getDefaultNotification( @NotNull String content, @NotNull NotificationType type, @NotNull AnAction... actions) { - var notification = new Notification(NOTIFICATION_GROUP_ID, "CodeGPT", content, type); + var notification = + new Notification(NOTIFICATION_GROUP_ID, CodeGPTBundle.get("project.label"), content, type); notification.setListener(new NotificationListener.UrlOpeningListener(true)); Arrays.asList(actions).forEach(notification::addAction); return notification; @@ -62,7 +62,11 @@ public class OverlayUtil { public static Notification getStickyNotification( @NotNull String content, @NotNull NotificationType type, @NotNull AnAction... actions) { - var notification = new Notification(NOTIFICATION_GROUP_STICKY_ID, "CodeGPT", content, type); + var notification = new Notification( + NOTIFICATION_GROUP_STICKY_ID, + CodeGPTBundle.get("project.label"), + content, + type); Arrays.asList(actions).forEach(notification::addAction); return notification; } diff --git a/src/main/kotlin/ee/carlrobert/codegpt/actions/BaseCommitWorkflowAction.kt b/src/main/kotlin/ee/carlrobert/codegpt/actions/BaseCommitWorkflowAction.kt index e8ad0f72..e291cb2e 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/actions/BaseCommitWorkflowAction.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/actions/BaseCommitWorkflowAction.kt @@ -147,7 +147,7 @@ class CommitMessageEventListener( override fun onError(error: ErrorDetails, ex: Throwable) { Notifications.Bus.notify( Notification( - "CodeGPT Notification Group", + "proxyai.notification.group", "CodeGPT", error.message, NotificationType.ERROR diff --git a/src/main/kotlin/ee/carlrobert/codegpt/actions/editor/EditCodeCompletionListener.kt b/src/main/kotlin/ee/carlrobert/codegpt/actions/editor/EditCodeCompletionListener.kt index 6d494b33..26a662d7 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/actions/editor/EditCodeCompletionListener.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/actions/editor/EditCodeCompletionListener.kt @@ -54,7 +54,7 @@ class EditCodeCompletionListener( error.message, NotificationType.ERROR, NotificationAction.createSimpleExpiring("Upgrade plan") { - BrowserUtil.open("https://codegpt.ee/#pricing") + BrowserUtil.open("https://tryproxy.io/#pricing") }, ) stopLoading() diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationSettings.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationSettings.kt index 95d3afbc..8ce3fee0 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationSettings.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationSettings.kt @@ -30,8 +30,8 @@ class DocumentationSettingsState : BaseState() { } class DocumentationDetailsState : BaseState() { - var name by string("CodeGPT Docs") - var url by string("https://docs.codegpt.ee") + var name by string("ProxyAI Docs") + var url by string("https://docs.tryproxy.io") var lastUsedDateTime by string() } diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationsConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationsConfigurable.kt index 8a08969e..04da8fe1 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationsConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/documentation/DocumentationsConfigurable.kt @@ -8,7 +8,7 @@ class DocumentationsConfigurable : Configurable { private lateinit var component: DocumentationsSettingsForm override fun getDisplayName(): String { - return "CodeGPT: Documentations" + return "ProxyAI: Documentations" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/PromptsConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/PromptsConfigurable.kt index a2c30feb..3e37084a 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/PromptsConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/PromptsConfigurable.kt @@ -10,7 +10,7 @@ class PromptsConfigurable : Configurable { private lateinit var component: PromptsForm override fun getDisplayName(): String { - return "CodeGPT: Prompts" + return "ProxyAI: Prompts" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AnthropicServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AnthropicServiceConfigurable.kt index 72e05716..f603a4e0 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AnthropicServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AnthropicServiceConfigurable.kt @@ -15,7 +15,7 @@ class AnthropicServiceConfigurable : Configurable { private lateinit var component: AnthropicSettingsForm override fun getDisplayName(): String { - return "CodeGPT: Anthropic Service" + return "ProxyAI: Anthropic Service" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AzureServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AzureServiceConfigurable.kt index 1fd4f889..aebde2f9 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AzureServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/AzureServiceConfigurable.kt @@ -16,7 +16,7 @@ class AzureServiceConfigurable : Configurable { private lateinit var component: AzureSettingsForm override fun getDisplayName(): String { - return "CodeGPT: Azure Service" + return "ProxyAI: Azure Service" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/LlamaServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/LlamaServiceConfigurable.kt index 30b2bb30..854cd83e 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/LlamaServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/LlamaServiceConfigurable.kt @@ -15,7 +15,7 @@ class LlamaServiceConfigurable : Configurable { private lateinit var component: LlamaSettingsForm override fun getDisplayName(): String { - return "CodeGPT: Custom Service" + return "ProxyAI: Custom Service" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/OpenAIServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/OpenAIServiceConfigurable.kt index fbfbeb1e..bcec1a80 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/OpenAIServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/OpenAIServiceConfigurable.kt @@ -15,7 +15,7 @@ class OpenAIServiceConfigurable : Configurable { private lateinit var component: OpenAISettingsForm override fun getDisplayName(): String { - return "CodeGPT: OpenAI Service" + return "ProxyAI: OpenAI Service" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurable.kt index 7eb00b32..c3352e14 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurable.kt @@ -14,7 +14,7 @@ class ServiceConfigurable : Configurable { private lateinit var component: ServiceConfigurableComponent override fun getDisplayName(): String { - return "CodeGPT: Services" + return "ProxyAI: Services" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurableComponent.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurableComponent.kt index 8c706f57..94534f3d 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurableComponent.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/ServiceConfigurableComponent.kt @@ -52,7 +52,7 @@ class ServiceConfigurableComponent { private fun addLinks(formBuilder: FormBuilder) { mapOf( - "CodeGPT" to CodeGPTServiceConfigurable::class.java, + "ProxyAI" to CodeGPTServiceConfigurable::class.java, "OpenAI" to OpenAIServiceConfigurable::class.java, "Custom OpenAI" to CustomServiceConfigurable::class.java, "Azure" to AzureServiceConfigurable::class.java, diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/codegpt/CodeGPTServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/codegpt/CodeGPTServiceConfigurable.kt index 31fadfa5..0f3c5229 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/codegpt/CodeGPTServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/codegpt/CodeGPTServiceConfigurable.kt @@ -15,7 +15,7 @@ class CodeGPTServiceConfigurable : Configurable { private lateinit var component: CodeGPTServiceForm override fun getDisplayName(): String { - return "CodeGPT: CodeGPT Service" + return "ProxyAI: ProxyAI Service" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/CustomServiceConfigurable.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/CustomServiceConfigurable.kt index 9d591569..530aa646 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/CustomServiceConfigurable.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/CustomServiceConfigurable.kt @@ -25,7 +25,7 @@ class CustomServiceConfigurable : Configurable { private lateinit var component: CustomServiceListForm override fun getDisplayName(): String { - return "CodeGPT: Custom Service" + return "ProxyAI: Custom Service" } override fun createComponent(): JComponent { diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt index 8f9684b1..3c97c3a4 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt @@ -105,8 +105,8 @@ enum class CustomServiceChatCompletionTemplate( getDefaultHeaders( mapOf( "Authorization" to "Bearer \$CUSTOM_SERVICE_API_KEY", - "HTTP-Referer" to "https://plugins.jetbrains.com/plugin/21056-codegpt", - "X-Title" to "CodeGPT" + "HTTP-Referer" to "https://tryproxy.io", + "X-Title" to "ProxyAI" ) ), getDefaultBodyParams( @@ -133,7 +133,7 @@ private fun getDefaultHeaders(key: String, value: String): MutableMap- Hi ${GeneralSettings.getCurrentState().displayName}, I'm CodeGPT! You can ask me anything, but most people request help with their code. Here are a few examples of what you can ask me: + Hi ${GeneralSettings.getCurrentState().displayName}, I'm ProxyAI! You can ask me anything, but most people request help with their code. Here are a few examples of what you can ask me:
""".trimIndent() diff --git a/src/main/kotlin/ee/carlrobert/codegpt/toolwindow/ui/UserMessagePanel.kt b/src/main/kotlin/ee/carlrobert/codegpt/toolwindow/ui/UserMessagePanel.kt index c0fc0baa..7d8c66db 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/toolwindow/ui/UserMessagePanel.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/toolwindow/ui/UserMessagePanel.kt @@ -57,8 +57,8 @@ class UserMessagePanel( } else { val originalIcon = ImageIcon(Base64.getDecoder().decode(avatarBase64)) val resizedImage = originalIcon.image.getScaledInstance( - Icons.Default.iconWidth, - Icons.Default.iconHeight, + 24, + 24, Image.SCALE_SMOOTH ) RoundedIcon(resizedImage, 1.0) diff --git a/src/main/kotlin/ee/carlrobert/codegpt/ui/AddDocumentationPopup.kt b/src/main/kotlin/ee/carlrobert/codegpt/ui/AddDocumentationPopup.kt index 5224aa0d..9214e528 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/ui/AddDocumentationPopup.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/ui/AddDocumentationPopup.kt @@ -18,10 +18,10 @@ import javax.swing.JComponent class AddDocumentationDialog(project: Project) : DialogWrapper(project) { private var nameField = JBTextField("", 40).apply { - emptyText.text = "CodeGPT docs" + emptyText.text = "ProxyAI docs" } private var urlField = JBTextField("", 40).apply { - emptyText.text = "https://docs.codegpt.ee" + emptyText.text = "https://docs.tryproxy.io" } private var saveCheckbox = JBCheckBox(CodeGPTBundle.get("addDocumentation.popup.form.saveCheckbox.label"), true) diff --git a/src/main/kotlin/ee/carlrobert/codegpt/ui/textarea/PromptTextField.kt b/src/main/kotlin/ee/carlrobert/codegpt/ui/textarea/PromptTextField.kt index 871dc500..3353e4e1 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/ui/textarea/PromptTextField.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/ui/textarea/PromptTextField.kt @@ -100,7 +100,7 @@ class PromptTextField( private fun getToolWindowHeight(): Int { return project.service