Files
SubMiner/backlog/tasks/task-103 - Add-dedicated-annotation-websocket-for-texthooker.md
sudacode 5d96f9d535 Add annotation websocket and texthooker startup config
- Add `texthooker.launchAtStartup` (default `true`) and wire startup behavior
- Add dedicated `annotationWebsocket` config/service path (default port `6678`) for texthooker annotations
- Regenerate config example/tests and update Yomitan patching/vendor assets
2026-03-07 01:41:08 -08:00

1.5 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, priority
id title status assignee created_date updated_date labels dependencies priority
TASK-103 Add dedicated annotation websocket for texthooker Done
codex
2026-03-07 02:20 2026-03-07 02:20
texthooker
websocket
subtitle
medium

Description

Add a separate annotated subtitle websocket for bundled texthooker so token/JLPT/frequency markup is available on a stable dedicated port even when the regular websocket is in auto mode and skipped because mpv_websocket is installed.

Acceptance Criteria

  • #1 Regular websocket.enabled: "auto" behavior remains unchanged and still skips the regular websocket when mpv_websocket is installed.
  • #2 A separate annotationWebsocket config controls an independent annotated websocket with default port 6678.
  • #3 Bundled texthooker is pointed at the annotation websocket when it is enabled.
  • #4 Focused regression tests cover config parsing, startup wiring, and texthooker bootstrap injection.

Final Summary

Added annotationWebsocket.enabled/annotationWebsocket.port with defaults of true/6678, started that websocket independently from the regular auto-managed websocket, and injected the bundled texthooker websocket URL so it connects to the annotation feed by default.

Also added focused regression coverage and regenerated the checked-in config examples.