Files
SubMiner/backlog/tasks/task-103 - Add-dedicated-annotation-websocket-for-texthooker.md

1.5 KiB

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

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.