This commit is contained in:
Logan Yang 2025-03-05 15:06:39 -08:00 committed by GitHub
parent 29af8c157c
commit d2fdb0c715
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{
"id": "copilot",
"name": "Copilot",
"version": "2.8.6",
"version": "2.8.7",
"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.8.6",
"version": "2.8.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "obsidian-copilot",
"version": "2.8.6",
"version": "2.8.7",
"license": "AGPL-3.0",
"dependencies": {
"@dnd-kit/core": "^6.3.1",

View file

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

View file

@ -4,6 +4,7 @@ import { TabContent, TabItem, type TabItem as TabItemType } from "@/components/u
import { TabProvider, useTab } from "@/contexts/TabContext";
import CopilotPlugin from "@/main";
import { resetSettings } from "@/settings/model";
import { CommandSettings } from "@/settings/v2/components/CommandSettings";
import { checkLatestVersion, isNewerVersion } from "@/utils";
import { Cog, Command, Cpu, Database, Wrench } from "lucide-react";
import React, { useEffect, useState } from "react";
@ -11,7 +12,6 @@ import { AdvancedSettings } from "./components/AdvancedSettings";
import { BasicSettings } from "./components/BasicSettings";
import { ModelSettings } from "./components/ModelSettings";
import { QASettings } from "./components/QASettings";
import { CommandSettings } from "@/settings/v2/components/CommandSettings";
const TAB_IDS = ["basic", "model", "QA", "command", "advanced"] as const;
type TabId = (typeof TAB_IDS)[number];
@ -120,7 +120,14 @@ const SettingsMainV2: React.FC<SettingsMainV2Props> = ({ plugin }) => {
<div className="flex items-center gap-2">
<span>Copilot Settings</span>
<span className="text-xs text-muted">
v{plugin.manifest.version}
<a
href="https://github.com/logancyang/obsidian-copilot/releases/"
target="_blank"
rel="noopener noreferrer"
className="text-accent hover:underline"
>
v{plugin.manifest.version}
</a>
{updateError ? (
<span className="text-error" title={updateError}>
{" "}

View file

@ -80,5 +80,6 @@
"2.8.3": "0.15.0",
"2.8.4": "0.15.0",
"2.8.5": "0.15.0",
"2.8.6": "0.15.0"
"2.8.6": "0.15.0",
"2.8.7": "0.15.0"
}