summaryrefslogtreecommitdiff
path: root/apps/web/src/core/index.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-14 23:34:57 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-14 23:34:57 +0200
commit91e1232112421438ce73b9361896f9b58c84fb3e (patch)
treeb57d510a618d0a1a03a2fa3f9cc4de23eaa7f3b3 /apps/web/src/core/index.ts
parentf726d9529552c4149a95aaf555f760868a4c9f91 (diff)
downloadopencut-91e1232112421438ce73b9361896f9b58c84fb3e.tar.gz
feat: transcription diagnostics
Diffstat (limited to 'apps/web/src/core/index.ts')
-rw-r--r--apps/web/src/core/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/web/src/core/index.ts b/apps/web/src/core/index.ts
index e93b937d..483a26c1 100644
--- a/apps/web/src/core/index.ts
+++ b/apps/web/src/core/index.ts
@@ -9,8 +9,10 @@ import { SaveManager } from "./managers/save-manager";
import { AudioManager } from "./managers/audio-manager";
import { SelectionManager } from "./managers/selection-manager";
import { ClipboardManager } from "./managers/clipboard-manager";
+import { DiagnosticsManager } from "./managers/diagnostics-manager";
import { registerDefaultEffects } from "@/lib/effects";
import { registerDefaultMasks } from "@/lib/masks";
+import { registerTranscriptionDiagnostics } from "@/lib/transcription/diagnostics";
export class EditorCore {
private static instance: EditorCore | null = null;
@@ -25,6 +27,7 @@ export class EditorCore {
public readonly audio: AudioManager;
public readonly selection: SelectionManager;
public readonly clipboard: ClipboardManager;
+ public readonly diagnostics: DiagnosticsManager;
private constructor() {
registerDefaultEffects();
@@ -40,6 +43,8 @@ export class EditorCore {
this.audio = new AudioManager(this);
this.selection = new SelectionManager(this);
this.clipboard = new ClipboardManager(this);
+ this.diagnostics = new DiagnosticsManager(this);
+ registerTranscriptionDiagnostics({ diagnostics: this.diagnostics });
this.playback.bindTimelineScope();
this.command.registerReactor(() => {
const activeScene = this.scenes.getActiveSceneOrNull();