feat(dictionary): add Hachidori backend support

- Add backend selection, setup gating, Anki integration, and external host support
- Add launcher flags, documentation, packaging, and focused tests
- Open on-demand overlay modals on the first attempt
This commit is contained in:
sudacode committed 2026-09-22 00:21:19 -07:00
1 parent 1508863dbb
commit d9fdc7ef6d
446 files changed
+109060 -244

No files matched your search

+4
View File
@@ -140,7 +140,10 @@ export interface RawShortcutsConfig extends ShortcutsConfig {
openAnimetosho?: string | null;
}
export type DictionaryBackend = 'yomitan' | 'hachidori';
export interface Config {
dictionaryBackend?: DictionaryBackend;
subtitlePosition?: SubtitlePosition;
keybindings?: Keybinding[];
websocket?: WebSocketConfig;
@@ -183,6 +186,7 @@ export interface Config {
export type RawConfig = Config;
export interface ResolvedConfig {
dictionaryBackend: DictionaryBackend;
subtitlePosition: SubtitlePosition;
keybindings: Keybinding[];
websocket: Required<WebSocketConfig>;