Skip to content

v0.4.0 — Live TUI dashboard + enhanced setup wizard

Choose a tag to compare

@celstnblacc celstnblacc released this 18 Jun 18:46
· 16 commits to main since this release
74a281e

v0.4.0

New features

Enhanced setup wizard (pencil-sync setup)

  • Step counter [1/7] through [7/7] before each question
  • Colored auto-detected framework/styling values (yellow)
  • Confirmation summary screen before writing config
  • Back navigation — type back at any step to return to the previous one; step 1 prints "Already at step 1."

Live TUI dashboard (pencil-sync tui)

  • Full-screen ink/React UI — one MappingPanel per mapping: last sync time, direction, tracked file count, "not yet synced" label
  • Scrollable EventFeed — color-coded OK/error/warning/conflict events from both SyncEngine.onEvent() and the logger TUI hook
  • BudgetMeter — 20-char progress bar with $used / $max, OVER BUDGET label when exceeded
  • Keybinds: s = manual sync all, d = run doctor, q = quit

SyncEngine.onEvent()

  • Register a callback that fires after every syncMapping() call (success and conflict paths)
  • Handler errors are silently swallowed — sync is never interrupted by a bad TUI handler

Internal

  • logger.ts — TuiEvent, setTuiEventHandler, clearTuiEventHandler for redirecting log output to the TUI
  • types.ts — TuiSyncEvent shape
  • JSX/TSX support in tsconfig + Vitest esbuild transform
  • Dependencies: ink, react (runtime); @types/react, ink-testing-library (dev)

Tests

534 tests passing (32 test files, +3 new TUI test files, +31 new tests)

Full changelog

See CHANGELOG.md for all entries.