diff --git a/main.js b/main.js index 8ae9a1a..7be0eb2 100644 --- a/main.js +++ b/main.js @@ -31407,7 +31407,7 @@ __export(main_exports, { default: () => LLMAgentPlugin }); module.exports = __toCommonJS(main_exports); -var import_obsidian3 = require("obsidian"); +var import_obsidian8 = require("obsidian"); // src/utils/EventBus.ts var EventBus = class { @@ -31433,7 +31433,7 @@ var EventBus = class { }; // src/views/GraphView.ts -var import_obsidian = require("obsidian"); +var import_obsidian2 = require("obsidian"); // src/components/HistoryPanel.ts var HistoryPanel = class { @@ -31479,13 +31479,15 @@ var HistoryPanel = class { }); } renderGraphs() { - this.chatList.innerHTML = this.graphs.map( - (graph) => ` + this.chatList.innerHTML = this.graphs.map((graph) => { + const titleClass = graph.title_generated ? "graph-title-generated" : "graph-title-pending"; + const displayTitle = graph.title || graph.first_message || `\u0413\u0440\u0430\u0444 ${graph.id}`; + return `