From 635469f6bd79e8ebf4ba9a968549e09886491c95 Mon Sep 17 00:00:00 2001 From: Zhiming Ma Date: Fri, 15 Sep 2023 19:04:01 +0800 Subject: [PATCH] chore: bump VSCode extension version 0.5.0. bump tabby-agent version 0.2.0. (#449) --- clients/intellij/package.json | 2 +- clients/tabby-agent/package.json | 2 +- clients/vim/package.json | 2 +- clients/vscode/CHANGELOG.md | 25 ++++++++++++++++++------- clients/vscode/README.md | 2 +- clients/vscode/package.json | 4 ++-- clients/vscode/src/notifications.ts | 8 ++++---- 7 files changed, 28 insertions(+), 17 deletions(-) diff --git a/clients/intellij/package.json b/clients/intellij/package.json index 3338f7d..180034a 100644 --- a/clients/intellij/package.json +++ b/clients/intellij/package.json @@ -10,6 +10,6 @@ "devDependencies": { "cpy-cli": "^4.2.0", "rimraf": "^5.0.1", - "tabby-agent": "0.2.0-dev" + "tabby-agent": "0.2.0" } } diff --git a/clients/tabby-agent/package.json b/clients/tabby-agent/package.json index 6c33b3f..de770bf 100644 --- a/clients/tabby-agent/package.json +++ b/clients/tabby-agent/package.json @@ -1,6 +1,6 @@ { "name": "tabby-agent", - "version": "0.2.0-dev", + "version": "0.2.0", "description": "Generic client agent for Tabby AI coding assistant IDE extensions.", "repository": "https://github.com/TabbyML/tabby", "main": "./dist/index.js", diff --git a/clients/vim/package.json b/clients/vim/package.json index a73f161..fb11126 100644 --- a/clients/vim/package.json +++ b/clients/vim/package.json @@ -10,6 +10,6 @@ "devDependencies": { "cpy-cli": "^4.2.0", "rimraf": "^5.0.1", - "tabby-agent": "0.2.0-dev" + "tabby-agent": "0.2.0" } } diff --git a/clients/vscode/CHANGELOG.md b/clients/vscode/CHANGELOG.md index e447c6b..1f89e51 100644 --- a/clients/vscode/CHANGELOG.md +++ b/clients/vscode/CHANGELOG.md @@ -1,26 +1,37 @@ +## 0.5.0 + +### Incompatible Changes: + +- VSCode version requirement is now `≥ 1.82.0`. +- System proxy environment variables are now ignored, including `http_proxy`, `https_proxy`, `all_proxy` and `no_proxy`. Before this change, proxy environment variables are processed, but requests will fail due to lack of supporting for https over http proxy and socks proxy. + +### Fixes: + +- Fixed a bug that causes auto completion requests cannot be cancelled. + ## 0.4.1 -Fixes: +### Fixes: - Updated expired links in the documentation. - Migrated Tabby cloud authorization tokens and anonymous usage tracking id from the old data directory to the new one. ## 0.4.0 -Features: +### Features: - Relocated the user data directory from `$HOME/.tabby/agent` to `$HOME/.tabby-client/agent` to avoid conflicts with Tabby server data. Note that the old data will not be migrated automatically. Please update the config file manually if you have made changes in the old path. - Added a template config file for Tabby client agent located at `$HOME/.tabby-client/agent/config.toml`. - Improved code suggestion filtering by indentation context. Suggestions now prioritize completing the current line or logic block, preventing excessively long suggestions. - Added adaptive completion debouncing for auto completion requests. -Fixes: +### Fixes: - Resolved conflict with the auto completion widget. The Tabby inline completion will no longer be displayed when the auto completion widget is visible. ## 0.3.0 -Features: +### Features: - Added check to see if the editor inline suggestion is enabled. Notifies the user to enable it if it's not. - Added timeout for auto completion requests. The default timeout is 5 seconds. Added statistics for completion response time and notifies the user if it is too slow. @@ -28,19 +39,19 @@ Features: ## 0.2.1 -Fixes: +### Fixes: - Set keybindings for accepting inline completion default to VSCode-style, mark Tabby-Style as experimental. ## 0.1.2 -Features: +### Features: - Added Tabby extension walkthrough guides. - Added Tabby-Style keybindings for accepting inline completion as an alternative to VSCode default keybindings. - Supported reading user config from `$HOME/.tabby/agent/config.toml`, instead of `Developer Options` in extension settings. -Fixes: +### Fixes: - Improved code suggestion filtering to avoid showing bad suggestions: - similar to suffix lines diff --git a/clients/vscode/README.md b/clients/vscode/README.md index ed04ce1..6a6683f 100644 --- a/clients/vscode/README.md +++ b/clients/vscode/README.md @@ -7,7 +7,7 @@ Tabby is an AI coding assistant that can suggest multi-line code or full functions in real-time. -Tabby VSCode extension is compatible with `VSCode ≥ 1.70.0`, as well as web environments like [vscode.dev](https://vscode.dev). +Tabby VSCode extension is compatible with `VSCode ≥ 1.82.0`, as well as web environments like [vscode.dev](https://vscode.dev). For more information, please check out our [Website](https://tabbyml.com/) and [GitHub](https://github.com/TabbyML/tabby). If you encounter any problem or have any suggestion, please [open an issue](https://github.com/TabbyML/tabby/issues/new)! diff --git a/clients/vscode/package.json b/clients/vscode/package.json index b77d001..4b60754 100644 --- a/clients/vscode/package.json +++ b/clients/vscode/package.json @@ -7,7 +7,7 @@ "repository": "https://github.com/TabbyML/tabby", "bugs": "https://github.com/TabbyML/tabby/issues", "license": "Apache-2.0", - "version": "0.5.0-dev", + "version": "0.5.0", "keywords": [ "ai", "autocomplete", @@ -197,6 +197,6 @@ }, "dependencies": { "@xstate/fsm": "^2.0.1", - "tabby-agent": "0.2.0-dev" + "tabby-agent": "0.2.0" } } diff --git a/clients/vscode/src/notifications.ts b/clients/vscode/src/notifications.ts index 1111221..c63fa20 100644 --- a/clients/vscode/src/notifications.ts +++ b/clients/vscode/src/notifications.ts @@ -117,7 +117,7 @@ function getHelpMessageForCompletionResponseTimeIssue() { helpMessageForRunningLargeModelOnCPU += `Your Tabby server is running model ${serverHealthState?.model} on CPU. ` + "This model is too large to run on CPU, please try a smaller model or switch to GPU. " + - "You can find supported model list by search TabbyML on HuggingFace. \n"; + "You can find supported model list in online documents. \n"; } let message = ""; if (helpMessageForRunningLargeModelOnCPU.length > 0) { @@ -130,7 +130,7 @@ function getHelpMessageForCompletionResponseTimeIssue() { message += " - Server overload. Please contact your Tabby server administrator for assistance.\n"; if (helpMessageForRunningLargeModelOnCPU.length == 0) { message += ` - The running model ${serverHealthState?.model ?? ""} is too large to run on your Tabby server. `; - message += "Please try a smaller model. You can find supported model list by search TabbyML on HuggingFace.\n"; + message += "Please try a smaller model. You can find supported model list in online documents.\n"; } return message; } @@ -158,7 +158,7 @@ function showInformationWhenSlowCompletionResponseTime(modal: boolean = false) { .then((selection) => { switch (selection) { case "Supported Models": - env.openExternal(Uri.parse("https://huggingface.co/models?search=tabbyml")); + env.openExternal(Uri.parse("https://tabby.tabbyml.com/docs/models/")); break; } }); @@ -199,7 +199,7 @@ function showInformationWhenHighCompletionTimeoutRate(modal: boolean = false) { .then((selection) => { switch (selection) { case "Supported Models": - env.openExternal(Uri.parse("https://huggingface.co/models?search=tabbyml")); + env.openExternal(Uri.parse("https://tabby.tabbyml.com/docs/models/")); break; } });