Commit Graph
100 Commits
Author SHA1 Message Date
sudacode 2a2eee825c Fix tokenizer and jlpt issues 2026-02-15 17:06:27 -08:00
sudacode f492622a8b Add opt-in JLPT tagging flow 2026-02-15 16:28:00 -08:00
sudacode ca2b7bb2fe Merge pull request #1 from ksyasuda/refactor
refactor runtime deps wiring and docs/config updates
2026-02-15 02:38:18 -08:00
sudacode 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
sudacode 88099e2ffa Add N1 word highlighting flow and mpv/overlay service updates 2026-02-15 02:30:14 -08:00
sudacode a8682c33f2 update docs 2026-02-15 02:29:41 -08:00
sudacode d8cf83d517 fix 2026-02-15 00:13:34 -08:00
sudacode 6332fc4800 docs: update architecture docs to reflect TASK-27 refactoring
- Document src/main/ composition modules (startup, app-lifecycle, state, etc.)
- Add new services to service layer list (app-ready, mpv-transport, etc.)
- Update flow diagrams to show new composition module structure
- Update contributor notes in development.md
2026-02-15 00:12:33 -08:00
sudacode 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
sudacode fb20e1ca25 chore: ignore worktrees directory 2026-02-14 23:29:55 -08:00
sudacode 51829159f2 update tasks 2026-02-14 23:21:57 -08:00
sudacode 162223943d refactor: split startup lifecycle and Anki service architecture 2026-02-14 22:31:53 -08:00
sudacode 41f7d754cd docs(task-27.2): record ipc dependency-mapping progress 2026-02-14 16:43:23 -08:00
sudacode f9ef8b31b1 refactor(main): move IPC runtime deps build to shared dependency mapper 2026-02-14 16:43:17 -08:00
sudacode 64dd5ecc3d feat: finish TASK-27.4 mpv-service protocol transport split 2026-02-14 16:42:14 -08:00
sudacode 824443d93b refactor: extract overlay shortcuts runtime for task 27.2 2026-02-14 15:58:50 -08:00
sudacode 1fb8e2e168 refactor mpv state mapping into mpv-state helper 2026-02-14 15:19:37 -08:00
sudacode 1e20704d39 test add mpv audio track-list updates stream index 2026-02-14 15:19:23 -08:00
sudacode bf1a866f2f refactor mpv reconnect scheduling into transport layer 2026-02-14 15:13:07 -08:00
sudacode c432f35a91 test add mpv client reconnect timer clear regression 2026-02-14 15:12:22 -08:00
sudacode 354a1a5796 test add mpv protocol pause-on-sub-end regression 2026-02-14 15:08:30 -08:00
sudacode 5a610d9d02 refactor state and overlay runtime helpers 2026-02-14 15:06:20 -08:00
sudacode 585fea972c refactor(main): extract IPC registration wiring into main/ipc-runtime module 2026-02-14 13:48:05 -08:00
sudacode 84c2bbcc0d refactor(main): move mpv IPC command composition into helper module 2026-02-14 13:46:17 -08:00
sudacode 65d9f5d54d chore(main): extract app lifecycle/startup builders into main modules 2026-02-14 13:45:25 -08:00
sudacode 910cf2dca4 Track mpv overlays by configured socket window only 2026-02-14 13:44:10 -08:00
sudacode d2ca24f1c7 update docs 2026-02-14 01:44:52 -08:00
sudacode 61cf0a2570 refactor(main): extract runtime options and subsync ipc deps 2026-02-14 01:29:56 -08:00
sudacode d8859ec918 refactor(main): type annotate subsync runtime deps helper 2026-02-14 01:28:29 -08:00
sudacode ca916d2ef5 refactor(main): extract app-ready runtime dependencies helper 2026-02-14 01:28:01 -08:00
sudacode 0bd58f72ea fix(main): type annotate dependency factories and jimaku fetch generic 2026-02-14 01:20:06 -08:00
sudacode 603cafff20 refactor(main): extract startup bootstrap dependency factory 2026-02-14 01:17:52 -08:00
sudacode c5f4ffebe5 refactor(main): extract app lifecycle dependency wiring helper 2026-02-14 01:17:39 -08:00
sudacode 94c1b131ef refactor(main): extract IPC runtime deps factories 2026-02-14 01:17:19 -08:00
sudacode 0bd1a18cd7 refactor(main): extract mpv IPC command deps into factory 2026-02-14 01:16:32 -08:00
sudacode c8b286ad66 refactor(main): extract CLI runtime deps into factory 2026-02-14 01:16:25 -08:00
sudacode fcfd98843c refactor(main): extract mpv client deps factory into helper 2026-02-14 01:15:46 -08:00
sudacode 656d686208 refactor(mpv): emit media/path/title events for app-level handlers 2026-02-14 01:13:21 -08:00
sudacode a1209ca69f Apply remaining working-tree updates 2026-02-14 00:36:01 -08:00
sudacode cb9a599b23 Fix overlay modal dispatch and restore behavior 2026-02-14 00:35:30 -08:00
sudacode 3dfa713b29 Revert "Use lobster as stream resolver fallback for -s query flow"
This reverts commit 022f4e972c.
2026-02-13 22:58:37 -08:00
sudacode c16bc26a58 Use lobster as stream resolver fallback for -s query flow 2026-02-13 22:56:05 -08:00
sudacode 9c542b57e0 Use SubMiner rofi theme for ani-cli stream mode and vendor ani-cli binary path 2026-02-13 22:53:47 -08:00
sudacode 6dcb979f4c updateupdate 2026-02-13 00:06:18 -08:00
sudacode 978a859cc2 Fix secondary subtitle style parity and MPV visibility restore lifecycle 2026-02-13 00:03:55 -08:00
sudacode f345547963 Update TASK-20.2 status to done 2026-02-12 02:49:54 -08:00
sudacode dfb54630df refactor(overlay): split bounds ownership by layer for TASK-20.1 2026-02-12 02:17:30 -08:00
sudacode 402788b1e2 chore(backlog): capture overlay_window findings in TASK-20 breakdown 2026-02-12 01:48:19 -08:00
sudacode 5162cf416a chore(backlog): reset TASK-19 after reverting shortcut changes 2026-02-12 01:41:19 -08:00
sudacode 986ae971d1 update readme/docs 2026-02-12 01:01:08 -08:00
sudacode 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
sudacode b8d9873f14 Add dev Make targets and tune macOS invisible subtitle spacing 2026-02-11 23:47:24 -08:00
sudacode 79616abde9 Adjust macOS invisible subtitle vertical nudge 2026-02-11 20:26:26 -08:00
sudacode 97d063baa8 add new task 2026-02-11 18:45:29 -08:00
sudacode 8a82a1b5f9 Fix renderer overlay loading and modularize renderer 2026-02-11 18:30:55 -08:00
sudacode ee21c77fd0 Fix macOS overlay binding and subtitle alignment 2026-02-11 18:28:10 -08:00
sudacode 1d36409fc7 Update texthooker-ui submodule to subminer branch 2026-02-11 09:39:59 -08:00
sudacode bba1bd554e update backlog 2026-02-11 09:33:47 -08:00
sudacode 781e6dd4fa docs: overhaul documentation and add four new pages
- Add mining-workflow.md: end-to-end sentence mining guide
- Add anki-integration.md: AnkiConnect setup, field mapping, media generation, field grouping
- Add mpv-plugin.md: chord keybindings, subminer.conf options, script messages
- Add troubleshooting.md: common issues and solutions by category
- Rewrite architecture.md to reflect current ~1,400-line main.ts and ~35 services
- Expand development.md from ~25 lines to full dev guide
- Fix URLs to ksyasuda/SubMiner, version to v0.1.0, AppImage naming
- Update VitePress sidebar with three-group layout (Getting Started, Reference, Development)
- Update navigation in index.md, README.md, docs/README.md
- Remove obsolete planning artifacts (plan.md, investigation.md, comparison.md, composability.md, refactor-main-checklist.md)
2026-02-11 09:33:47 -08:00
sudacode 9f0f8a2ce9 Set SubMiner mpv launch defaults and doc naming consistency 2026-02-11 09:33:47 -08:00
sudacode 7a83fc5168 update docs 2026-02-11 09:33:47 -08:00
sudacode 08d44499d3 Document invisible subtitle position edit mode 2026-02-11 09:33:47 -08:00
sudacode cfdc6668df Complete runtime service follow-ups and invisible subtitle edit mode 2026-02-11 09:33:47 -08:00
sudacode 5cc22e3f1b Integrate invisible overlay renderer calibration from mac build 2026-02-11 09:33:47 -08:00
sudacode 36085b6d1c refactor: remove unused runtime adapter services 2026-02-11 09:33:47 -08:00
sudacode 8343b42b8e refactor: inline runtime adapters in main wiring 2026-02-11 09:33:47 -08:00
sudacode 579661fbef refactor runtime deps wiring and docs/config updates 2026-02-11 09:33:47 -08:00
sudacode 1c69452356 Convert vendor/texthooker-ui to git submodule 2026-02-11 09:32:16 -08:00
sudacode 321e59b3ac Add core services and utils barrel exports 2026-02-10 02:01:33 -08:00
sudacode f2e9c37f61 Fix startup TDZ and suppress subtitles during settings modals 2026-02-10 01:58:44 -08:00
sudacode 2d3bb19458 refactor: extract startup lifecycle hooks orchestration 2026-02-10 01:44:20 -08:00
sudacode 31f76ad476 refactor: extract startup bootstrap runtime orchestration 2026-02-10 01:40:57 -08:00
sudacode cb93601e16 refactor: extract shortcut ui runtime deps 2026-02-10 01:36:27 -08:00
sudacode a17c2296d5 refactor: extract shortcut and mining runtime deps 2026-02-10 01:32:03 -08:00
sudacode b177be0831 refactor: extract startup lifecycle runtime deps 2026-02-10 01:29:22 -08:00
sudacode 528cf0a57e refactor: extract overlay runtime deps bundle 2026-02-10 01:25:25 -08:00
sudacode 7bad8ac65e refactor: extract ipc mpv and tokenizer runtime deps 2026-02-10 01:22:13 -08:00
sudacode 444873c803 refactor: extract overlay visibility facade deps runtime service 2026-02-10 01:17:34 -08:00
sudacode f1cf13b59c refactor: extract numeric shortcut runtime service 2026-02-10 01:14:26 -08:00
sudacode 073f84b03e refactor: extract subsync deps runtime service 2026-02-10 01:12:28 -08:00
sudacode 119f0da7a6 refactor: extract field grouping overlay runtime service 2026-02-10 01:09:56 -08:00
sudacode adcae2ee01 refactor: extract anki jimaku ipc deps runtime service 2026-02-10 01:05:05 -08:00
sudacode e95728b4d1 refactor: extract ipc deps runtime service 2026-02-10 01:03:10 -08:00
sudacode 3686788a72 refactor: extract cli command deps runtime service 2026-02-10 00:58:57 -08:00
sudacode b21204c7a0 refactor: extract config generation startup flow 2026-02-10 00:55:43 -08:00
sudacode bb605fc051 refactor: extract startup resource factory helpers 2026-02-10 00:50:18 -08:00
sudacode bafe400b95 refactor: extract app logging runtime adapters 2026-02-10 00:46:28 -08:00
sudacode 2f34119a67 refactor: extract config warning log formatter 2026-02-10 00:44:29 -08:00
sudacode db327c4ea8 refactor: extract runtime options manager initializer 2026-02-10 00:26:20 -08:00
sudacode a6f20730ad refactor: extract app lifecycle dependency builder 2026-02-10 00:20:38 -08:00
sudacode 6ca07abbc2 refactor: extract mpv ipc dependency builder service 2026-02-10 00:09:06 -08:00
sudacode 8b286f15e8 refactor: extract app shutdown orchestration service 2026-02-10 00:06:10 -08:00
sudacode 2878a1f3d1 refactor: extract app-ready startup orchestration service 2026-02-09 23:56:26 -08:00
sudacode 83fd351080 refactor: extract overlay broadcast runtime helpers 2026-02-09 23:40:44 -08:00
sudacode ff389208c8 refactor: extract overlay visibility facade runtime 2026-02-09 23:37:29 -08:00
sudacode 7715c1ddd2 refactor: extract overlay bridge runtime helpers 2026-02-09 23:35:39 -08:00
sudacode 53c2e6353a refactor: extract runtime config access helpers 2026-02-09 23:31:30 -08:00
sudacode 3be0258286 refactor: extract overlay modal restore-state helpers 2026-02-09 23:21:13 -08:00
sudacode 35c2dd0e32 refactor: extract runtime option ipc helpers 2026-02-09 23:19:36 -08:00
sudacode 688eedbfc0 refactor: extract mpv runtime command and osd helpers 2026-02-09 23:15:15 -08:00