Commit Graph

106 Commits

Author SHA1 Message Date
f492622a8b Add opt-in JLPT tagging flow 2026-02-15 16:28:00 -08:00
3a27c026b6 feat: integrate n+1 target highlighting
- Merge feature branch changes for n+1 target-only highlight flow

- Extend merged token model and token-merger to mark exactly-one unknown targets

- Thread n+1 candidate metadata through tokenizer and config systems

- Update subtitle renderer/state to route configured colors and new token class

- Resolve merge conflicts in core service tests, including subtitle and subsync behavior
2026-02-15 02:36:48 -08:00
88099e2ffa Add N1 word highlighting flow and mpv/overlay service updates 2026-02-15 02:30:14 -08:00
d8cf83d517 fix 2026-02-15 00:13:34 -08:00
a1f196ee52 feat: add manual known-word cache refresh path
- Add CLI command flag  with non-GUI dispatch flow and OSD error handling.

- Add runtime integration call and IPC hook so manual refresh works from command runner without app startup.

- Add public AnkiIntegration manual refresh API with force refresh semantics and guard reuse.

- Preserve default n+1 behavior by fixing config validation for malformed  values and adding tests.
2026-02-15 00:03:38 -08:00
162223943d refactor: split startup lifecycle and Anki service architecture 2026-02-14 22:31:53 -08:00
f9ef8b31b1 refactor(main): move IPC runtime deps build to shared dependency mapper 2026-02-14 16:43:17 -08:00
64dd5ecc3d feat: finish TASK-27.4 mpv-service protocol transport split 2026-02-14 16:42:14 -08:00
824443d93b refactor: extract overlay shortcuts runtime for task 27.2 2026-02-14 15:58:50 -08:00
1fb8e2e168 refactor mpv state mapping into mpv-state helper 2026-02-14 15:19:37 -08:00
1e20704d39 test add mpv audio track-list updates stream index 2026-02-14 15:19:23 -08:00
bf1a866f2f refactor mpv reconnect scheduling into transport layer 2026-02-14 15:13:07 -08:00
c432f35a91 test add mpv client reconnect timer clear regression 2026-02-14 15:12:22 -08:00
354a1a5796 test add mpv protocol pause-on-sub-end regression 2026-02-14 15:08:30 -08:00
5a610d9d02 refactor state and overlay runtime helpers 2026-02-14 15:06:20 -08:00
585fea972c refactor(main): extract IPC registration wiring into main/ipc-runtime module 2026-02-14 13:48:05 -08:00
84c2bbcc0d refactor(main): move mpv IPC command composition into helper module 2026-02-14 13:46:17 -08:00
65d9f5d54d chore(main): extract app lifecycle/startup builders into main modules 2026-02-14 13:45:25 -08:00
910cf2dca4 Track mpv overlays by configured socket window only 2026-02-14 13:44:10 -08:00
61cf0a2570 refactor(main): extract runtime options and subsync ipc deps 2026-02-14 01:29:56 -08:00
d8859ec918 refactor(main): type annotate subsync runtime deps helper 2026-02-14 01:28:29 -08:00
ca916d2ef5 refactor(main): extract app-ready runtime dependencies helper 2026-02-14 01:28:01 -08:00
0bd58f72ea fix(main): type annotate dependency factories and jimaku fetch generic 2026-02-14 01:20:06 -08:00
603cafff20 refactor(main): extract startup bootstrap dependency factory 2026-02-14 01:17:52 -08:00
c5f4ffebe5 refactor(main): extract app lifecycle dependency wiring helper 2026-02-14 01:17:39 -08:00
94c1b131ef refactor(main): extract IPC runtime deps factories 2026-02-14 01:17:19 -08:00
0bd1a18cd7 refactor(main): extract mpv IPC command deps into factory 2026-02-14 01:16:32 -08:00
c8b286ad66 refactor(main): extract CLI runtime deps into factory 2026-02-14 01:16:25 -08:00
fcfd98843c refactor(main): extract mpv client deps factory into helper 2026-02-14 01:15:46 -08:00
656d686208 refactor(mpv): emit media/path/title events for app-level handlers 2026-02-14 01:13:21 -08:00
a1209ca69f Apply remaining working-tree updates 2026-02-14 00:36:01 -08:00
cb9a599b23 Fix overlay modal dispatch and restore behavior 2026-02-14 00:35:30 -08:00
978a859cc2 Fix secondary subtitle style parity and MPV visibility restore lifecycle 2026-02-13 00:03:55 -08:00
f345547963 Update TASK-20.2 status to done 2026-02-12 02:49:54 -08:00
dfb54630df refactor(overlay): split bounds ownership by layer for TASK-20.1 2026-02-12 02:17:30 -08:00
185915628d Fix launcher overlay startup gating and socket alignment
- only start overlay from launcher when --start is passed or plugin auto_start is enabled

- read socket_path from mpv script-opts/subminer.conf and use it for mpv/overlay/subtitle IPC

- only stop overlay on launcher cleanup when launcher actually started it

- preserve --start semantics for second-instance command+action flows so MPV reconnect happens before toggles
2026-02-12 00:45:15 -08:00
b8d9873f14 Add dev Make targets and tune macOS invisible subtitle spacing 2026-02-11 23:47:24 -08:00
79616abde9 Adjust macOS invisible subtitle vertical nudge 2026-02-11 20:26:26 -08:00
8a82a1b5f9 Fix renderer overlay loading and modularize renderer 2026-02-11 18:30:55 -08:00
ee21c77fd0 Fix macOS overlay binding and subtitle alignment 2026-02-11 18:28:10 -08:00
08d44499d3 Document invisible subtitle position edit mode 2026-02-11 09:33:47 -08:00
cfdc6668df Complete runtime service follow-ups and invisible subtitle edit mode 2026-02-11 09:33:47 -08:00
kyasuda
09e142279a feat(core): add module scaffolding and provider registries 2026-02-11 09:33:47 -08:00
kyasuda
35cad19839 test(core): expand mpv/subsync/tokenizer and cli coverage 2026-02-11 09:33:47 -08:00
kyasuda
f868fdbbb3 refactor(core): consolidate services and remove runtime wrappers 2026-02-11 09:33:47 -08:00
5cc22e3f1b Integrate invisible overlay renderer calibration from mac build 2026-02-11 09:33:47 -08:00
36085b6d1c refactor: remove unused runtime adapter services 2026-02-11 09:33:47 -08:00
8343b42b8e refactor: inline runtime adapters in main wiring 2026-02-11 09:33:47 -08:00
579661fbef refactor runtime deps wiring and docs/config updates 2026-02-11 09:33:47 -08:00
321e59b3ac Add core services and utils barrel exports 2026-02-10 02:01:33 -08:00