feat(tui): persist model tier selection and fix formatting

Persist /model tier choice to ~/.local/share/flynn/preferences.json so
it survives restarts. Decode HTML entities (e.g. ') in markdown
renderer output. Suppress noisy logger.info and punycode deprecation
warnings in TUI startup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
William Valentin
2026-02-10 12:23:12 -08:00
parent 50471d63af
commit 411c6d84a2
8 changed files with 126 additions and 13 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
"build": "tsc",
"dev": "tsx watch src/cli/index.ts -- start",
"start": "node dist/cli/index.js start",
"tui": "tsx src/cli/index.ts tui",
"tui:fs": "tsx src/cli/index.ts tui --fullscreen",
"tui": "node --no-deprecation --import tsx/esm src/cli/index.ts tui",
"tui:fs": "node --no-deprecation --import tsx/esm src/cli/index.ts tui --fullscreen",
"tui:dev": "tsx watch src/cli/index.ts -- tui",
"test": "vitest",
"test:run": "vitest run",