diff --git a/README.md b/README.md index ddb06a5a..555550da 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ SPECIAL THANKS TO OUR TOP SPONSORS: In the new release v2.7.0, we will migrate off of PouchDB to Orama. This will require you to re-index your vault. With the new Orama db, you can find your index file at `.obsidian/copilot-index-.json`. +## 🤖 v2.7.0 Copilot Plus (alpha) demo video - AI Agent for Obsidian! 🚀 + + + ## 🛠️ Features - Engage with numerous LLMs seamlessly within Obsidian via the Copilot Chat window. diff --git a/images/thumbnail-copilot-plus.png b/images/thumbnail-copilot-plus.png new file mode 100644 index 00000000..2d1d949c Binary files /dev/null and b/images/thumbnail-copilot-plus.png differ diff --git a/manifest.json b/manifest.json index 11066402..bb2aa54a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "copilot", "name": "Copilot", - "version": "2.6.11", + "version": "2.7.0", "minAppVersion": "0.15.0", "description": "A ChatGPT Copilot in Obsidian.", "author": "Logan Yang", diff --git a/package-lock.json b/package-lock.json index f072e461..6fd75a2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-copilot", - "version": "2.6.11", + "version": "2.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-copilot", - "version": "2.6.11", + "version": "2.7.0", "license": "AGPL-3.0", "dependencies": { "@esbuild-plugins/node-globals-polyfill": "^0.2.3", diff --git a/package.json b/package.json index 129d2ab0..4970284d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-copilot", - "version": "2.6.11", + "version": "2.7.0", "description": "ChatGPT integration for Obsidian", "main": "main.js", "scripts": { diff --git a/src/components/ChatComponents/ChatIcons.tsx b/src/components/ChatComponents/ChatIcons.tsx index 88fb152f..e0f58453 100644 --- a/src/components/ChatComponents/ChatIcons.tsx +++ b/src/components/ChatComponents/ChatIcons.tsx @@ -1,6 +1,5 @@ import { CustomModel, SetChainOptions } from "@/aiParams"; import { CopilotPlusModal } from "@/components/CopilotPlusModal"; -import { SimilarNotesModal } from "@/components/SimilarNotesModal"; import { AI_SENDER, VAULT_VECTOR_STORE_STRATEGY } from "@/constants"; import { CustomError } from "@/error"; import { CopilotSettings } from "@/settings/SettingsPage"; @@ -10,12 +9,7 @@ import { Notice, Vault } from "obsidian"; import React, { useEffect, useState } from "react"; import { ChainType } from "@/chainFactory"; -import { - ConnectionIcon, - RefreshIcon, - SaveAsNoteIcon, - UseActiveNoteAsContextIcon, -} from "@/components/Icons"; +import { RefreshIcon, SaveAsNoteIcon, UseActiveNoteAsContextIcon } from "@/components/Icons"; import { stringToChainType } from "@/utils"; interface ChatIconsProps { @@ -113,17 +107,17 @@ const ChatIcons: React.FC = ({ setSelectedChain(settings.defaultChainType); }, [settings.defaultChainType]); - const handleFindSimilarNotes = async () => { - const activeFile = app.workspace.getActiveFile(); - if (!activeFile) { - new Notice("No active file"); - return; - } + // const handleFindSimilarNotes = async () => { + // const activeFile = app.workspace.getActiveFile(); + // if (!activeFile) { + // new Notice("No active file"); + // return; + // } - const activeNoteContent = await app.vault.cachedRead(activeFile); - const similarChunks = await onFindSimilarNotes(activeNoteContent, activeFile.path); - new SimilarNotesModal(app, similarChunks).open(); - }; + // const activeNoteContent = await app.vault.cachedRead(activeFile); + // const similarChunks = await onFindSimilarNotes(activeNoteContent, activeFile.path); + // new SimilarNotesModal(app, similarChunks).open(); + // }; return (
@@ -183,10 +177,10 @@ const ChatIcons: React.FC = ({ for Vault - + */} )}
diff --git a/src/components/CopilotPlusModal.tsx b/src/components/CopilotPlusModal.tsx index 56219d87..30c4eb1a 100644 --- a/src/components/CopilotPlusModal.tsx +++ b/src/components/CopilotPlusModal.tsx @@ -27,23 +27,24 @@ export class CopilotPlusModal extends Modal { const paragraph = container.createEl("p"); paragraph.appendChild( document.createTextNode( - "Join our waitlist at the website below to be notified when Copilot Plus is available! We'll " + "Join our waitlist at the website below to be notified when Copilot Plus is available! " ) ); + + paragraph.appendChild(document.createElement("br")); + paragraph.appendChild(document.createElement("br")); + + paragraph.createEl("strong", { + text: "Alpha access spots are limited. ", + }); + paragraph.appendChild(document.createTextNode("We'll ")); paragraph.createEl("strong", { text: "prioritize supporters who have donated", }); paragraph.appendChild( document.createTextNode(" to the project through either GitHub Sponsors or buymeacoffee. ") ); - - paragraph.appendChild(document.createElement("br")); - paragraph.appendChild(document.createElement("br")); - - paragraph.createEl("strong", { - text: "Alpha access spots are limited, ", - }); - paragraph.appendChild(document.createTextNode("so please consider ")); + paragraph.appendChild(document.createTextNode(" so please consider ")); const donateLink = paragraph.createEl("a", { href: "https://www.buymeacoffee.com/logancyang", text: "donating now", diff --git a/versions.json b/versions.json index c48b8256..48e08691 100644 --- a/versions.json +++ b/versions.json @@ -57,5 +57,6 @@ "2.6.8": "0.15.0", "2.6.9": "0.15.0", "2.6.10": "0.15.0", - "2.6.11": "0.15.0" + "2.6.11": "0.15.0", + "2.7.0": "0.15.0" }