Files
SubMiner/docs/subagents/agents/codex-texthooker-highlights-20260220T002354Z-927c.md

42 lines
2.2 KiB
Markdown

# Agent: codex-texthooker-highlights-20260220T002354Z-927c
- alias: codex-texthooker-highlights
- mission: Add optional texthooker highlight toggles (known/n+1/frequency/JLPT) in settings with realtime forward-only behavior.
- status: completed
- branch: main
- started_at: 2026-02-20T00:23:54Z
- heartbeat_minutes: 5
## Current Work (newest first)
- [2026-02-20T00:30:49Z] change: added texthooker-ui highlight toggles (known/n+1/frequency/jlpt) in stores/types/settings/presets and ingest-time markup filtering with safe span whitelist.
- [2026-02-20T00:30:49Z] change: switched line rendering to sanitized html content and added word class styles + plain-text copy behavior.
- [2026-02-20T00:30:49Z] test: `cd texthooker-ui && bun test src/util.test.ts` pass (7/7).
- [2026-02-20T00:30:49Z] note: full TypeScript check blocked locally because texthooker-ui dependencies/tsconfig base package are not installed in this environment.
- [2026-02-20T00:26:28Z] phase: plan complete; starting code edits in texthooker-ui (stores/settings/line markup filter/styles/tests).
- [2026-02-20T00:23:54Z] intent: implement texthooker-ui enhancements for optional known/n+1/frequency/JLPT coloring with runtime settings toggles that apply only to new incoming lines.
- [2026-02-20T00:23:54Z] planned files: texthooker-ui source for line rendering/highlighting + settings page/state store + tests covering toggle behavior.
- [2026-02-20T00:23:54Z] assumptions: user wants per-feature on/off switches; turning off stops applying color to new lines while existing rendered lines remain unchanged.
## Files Touched
- docs/subagents/INDEX.md
- docs/subagents/agents/codex-texthooker-highlights-20260220T002354Z-927c.md
- texthooker-ui/src/types.ts
- texthooker-ui/src/stores/stores.ts
- texthooker-ui/src/components/Settings.svelte
- texthooker-ui/src/components/Presets.svelte
- texthooker-ui/src/components/App.svelte
- texthooker-ui/src/components/Line.svelte
- texthooker-ui/src/line-markup.ts
- texthooker-ui/src/util.test.ts
- texthooker-ui/src/app.css
## Open Questions / Blockers
- none
## Next Step
- wait for user validation in running texthooker session; if requested, regenerate bundled `texthooker-ui/docs/index.html`.