diff --git a/README.md b/README.md index 6f32ef6e..c2231a70 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you enjoy Copilot for Obsidian, please consider [sponsoring this project](htt Buy Me A Coffee SPECIAL THANKS TO OUR TOP SPONSORS: -@pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols +@mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon [Changelog](https://github.com/logancyang/obsidian-copilot/releases) @@ -30,7 +30,7 @@ Copilot Plus is a brand new mode that brings powerful agentic capabilities to Ob Check out the demo video below for the first sneak peak of what Copilot Plus can do. It is under active development so expect more features to come very soon! - + ## 🛠️ Features diff --git a/images/thumbnail-copilot-plus.png b/images/thumbnail-copilot-plus.png index 2d1d949c..a0587d83 100644 Binary files a/images/thumbnail-copilot-plus.png and b/images/thumbnail-copilot-plus.png differ diff --git a/manifest.json b/manifest.json index 79eaf7fb..adae5ee3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "copilot", "name": "Copilot", - "version": "2.7.7", + "version": "2.7.8", "minAppVersion": "0.15.0", "description": "An AI Copilot in Obsidian.", "author": "Logan Yang", diff --git a/package-lock.json b/package-lock.json index d7d06ba7..3fac93f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-copilot", - "version": "2.7.7", + "version": "2.7.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-copilot", - "version": "2.7.7", + "version": "2.7.8", "license": "AGPL-3.0", "dependencies": { "@huggingface/inference": "^2.6.4", diff --git a/package.json b/package.json index cfeadb4c..eae382dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-copilot", - "version": "2.7.7", + "version": "2.7.8", "description": "ChatGPT integration for Obsidian", "main": "main.js", "scripts": { diff --git a/src/main.ts b/src/main.ts index d3e91499..3905a9dd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -94,8 +94,10 @@ export default class CopilotPlugin extends Plugin { this.addCommand({ id: "chat-open-window", name: "Open Copilot Chat Window", - callback: () => { + callback: async () => { this.activateView(); + // Check version + await this.checkForUpdates(); }, }); @@ -680,7 +682,7 @@ export default class CopilotPlugin extends Plugin { const latestVersion = response.json.tag_name.replace("v", ""); if (this.isNewerVersion(latestVersion, this.manifest.version)) { new Notice( - `A new version (${latestVersion}) of Obsidian Copilot is available. You are currently on version ${this.manifest.version}. Please update to the latest version.`, + `A newer version (${latestVersion}) of Obsidian Copilot is available. You are currently on version ${this.manifest.version}. Please update to the latest version.`, 10000 ); } diff --git a/versions.json b/versions.json index eed3cb60..1adae990 100644 --- a/versions.json +++ b/versions.json @@ -65,5 +65,6 @@ "2.7.4": "0.15.0", "2.7.5": "0.15.0", "2.7.6": "0.15.0", - "2.7.7": "0.15.0" + "2.7.7": "0.15.0", + "2.7.8": "0.15.0" }