first draft of log explorer

This commit is contained in:
Pierre committed 2026-09-27 14:15:15 +02:00
1 parent 191e69eb1d
commit 400837b41a
16 files changed
+1495 -79

No files matched your search

+3
View File
@@ -4,6 +4,7 @@ import { ADClient } from './adClient';
import { StatusBarManager } from './statusBar';
import { EntityCompletionProvider, EntityHoverProvider } from './entityProvider';
import { ErrorViewer } from './errorViewer';
import { LogExplorer } from './logExplorer';
let haClient: HAClient;
let adClient: ADClient;
@@ -344,6 +345,8 @@ export async function activate(context: vscode.ExtensionContext) {
haClient = new HAClient(outputChannel);
adClient = new ADClient(outputChannel);
errorViewer = new ErrorViewer();
const logExplorer = new LogExplorer(context);
context.subscriptions.push(logExplorer, vscode.commands.registerCommand('appdaemon.exploreLogs', () => logExplorer.show()));
statusBar = new StatusBarManager(adClient);
// Wire error count → status bar badge