* Update readme
* Add version check at open copilot chat
* 2.7.8
This commit is contained in:
Logan Yang 2024-12-10 14:18:52 -08:00 committed by GitHub
parent e49aafa393
commit 06a405aa5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 12 additions and 9 deletions

View file

@ -20,7 +20,7 @@ If you enjoy Copilot for Obsidian, please consider [sponsoring this project](htt
<a href="https://www.buymeacoffee.com/logancyang" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 40px !important;width: 150px !important;" ></a>
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!
<a href="https://youtu.be/WxcBEXkQoSE?si=Y5HnJgt-Ii_ZxLDl" target="_blank"><img src="./images/thumbnail-copilot-plus.png" width="700" /></a>
<a href="https://youtu.be/tZ2jm_UPc6c?si=KjwkHFFRAHwZqlW4" target="_blank"><img src="./images/thumbnail-copilot-plus.png" width="700" /></a>
## 🛠️ Features

Binary file not shown.

Before

Width:  |  Height:  |  Size: 528 KiB

After

Width:  |  Height:  |  Size: 439 KiB

View file

@ -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",

4
package-lock.json generated
View file

@ -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",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-copilot",
"version": "2.7.7",
"version": "2.7.8",
"description": "ChatGPT integration for Obsidian",
"main": "main.js",
"scripts": {

View file

@ -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
);
}

View file

@ -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"
}