diff options
| author | Adam Malczewski <[email protected]> | 2026-03-24 17:30:44 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-24 17:30:44 +0900 |
| commit | a5f54269f6b7ace71c4509fb8105993a7f064e63 (patch) | |
| tree | dfdfd0349cbfa357c02d26d02edbf3d6fe689872 /src/main.ts | |
| parent | 3690c97ceaf8a20bb2c6d38bd600e5ae8bc2dac6 (diff) | |
| download | ai-pulse-obsidian-plugin-a5f54269f6b7ace71c4509fb8105993a7f064e63.tar.gz ai-pulse-obsidian-plugin-a5f54269f6b7ace71c4509fb8105993a7f064e63.zip | |
rename project
Diffstat (limited to 'src/main.ts')
| -rw-r--r-- | src/main.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.ts b/src/main.ts index d120bdf..e66a126 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,11 +1,11 @@ import { Plugin, WorkspaceLeaf } from "obsidian"; -import { AIOrganizerSettings, DEFAULT_SETTINGS } from "./settings"; +import { AIPulseSettings, DEFAULT_SETTINGS } from "./settings"; import { ChatView, VIEW_TYPE_CHAT } from "./chat-view"; import { testConnection, listModels } from "./ollama-client"; import { getDefaultToolStates } from "./tools"; -export default class AIOrganizer extends Plugin { - settings: AIOrganizerSettings = DEFAULT_SETTINGS; +export default class AIPulse extends Plugin { + settings: AIPulseSettings = DEFAULT_SETTINGS; // Runtime connection state (not persisted) connectionStatus: "disconnected" | "connecting" | "connected" | "error" = "disconnected"; @@ -57,7 +57,7 @@ export default class AIOrganizer extends Plugin { this.settings = Object.assign( {}, DEFAULT_SETTINGS, - await this.loadData() as Partial<AIOrganizerSettings> | null, + await this.loadData() as Partial<AIPulseSettings> | null, ); // Ensure enabledTools has entries for all registered tools this.settings.enabledTools = Object.assign( |
