Skip to content

feat(cli): restyle the shell with an LED wordmark and a timestamped log - #19

Merged
kottinov merged 3 commits into
mainfrom
feat/cli-tui-led
Nov 17, 2026
Merged

kottinov merged 3 commits into
mainfrom
feat/cli-tui-led

Conversation

@kottinov

Copy link
Copy Markdown
Collaborator

Why

The black-and-white shell from #16 looked almost the same as opencode, and evorca should have its own look. This PR takes the smallest of the three directions on offer. It keeps the centered layout, draws the wordmark as an LED dot matrix, replaces the input box with a prompt over a rule, and turns the transcript into a log with timestamps.

What changed

  • wordmark.ts sets the name in a dot font five dots wide and seven tall, on one panel where unlit dots stay faint gray. motion.ts switches the lit dots on one at a time over 0.9 s in a fixed, scattered order. After that, it dims 3 dots for 150 ms every 3 to 9 s.
  • The input is ›, the text, and a rule under it, with no box.
  • Each Entry now carries at, the local time when it was added. The transcript shows the time, you or evorca, and the text, and wrapped lines start under the text.

Scope

  • It covers the wordmark, the input, and the transcript. The commands, the replies, the tagline, the hints, the placeholder, the footer, and the terminal check stay as they were.
  • The footer keeps a layout like opencode's, with the folder on the left and the version on the right. This PR does not change it.

Tradeoffs

  • The dots use • (U+2022), which Unicode marks as ambiguous width. ∙ (U+2219) is always one column wide, but SF Mono, the default font of Terminal, draws it as a speck. A terminal set to draw ambiguous characters two columns wide breaks the panel apart, and it breaks the rule under the input the same way.
  • A font three dots wide, as in the approved preview, fits in 49 columns. On a full panel its letters run together, so the PR uses five dots wide. Below 73 columns, the plain name replaces the wordmark.

Blast Radius

Only the interactive shell changes. submit now takes the time of the entry, and the shell is its only caller. evorca fetch and evorca reproduce never load the shell.

Verification

  • pnpm check passes. The shell tests drive the real component under a manual clock. They cover the gray-only colors, the boot, the flicker, the timestamps, the rule without a box, the narrow fallback, the stopped clock, and both exits. 15 of 16 mutations fail at least one test. The one that survives boots the dots in reading order, which no test pins.
  • A run in a real terminal at 100x30 and 40x30 passes 68 checks through /exit and ctrl+c. Every cell is gray, the terminal is restored, the exit code is 0, and no FFI warning shows.
  • On the home screen with an empty input, CPU drops from 4.26% to 3.27% of one core, median of 5 interleaved runs per side. In the transcript view with text typed, both sides use 0.0%.

In the terminal, lit and unlit dots are the same • in two grays. In the frame below, lit dots print as • and unlit dots as ·. Home screen at 3 s, 100x30, OpenTUI's test renderer, directory set to ~/incidents:








                • • • • • · • · · · • · · • • • · · • • • • · · · • • • · · · • • • ·
                • · · · · · • · · · • · • · · · • · • · · · • · • · · · • · • · · · •
                • · · · · · • · · · • · • · · · • · • · · · • · • · · · · · • · · · •
                • • • • · · • · · · • · • · · · • · • • • • · · • · · · · · • • • • •
                • · · · · · • · · · • · • · · · • · • · • · · · • · · · · · • · · · •
                • · · · · · · • · • · · • · · · • · • · · • · · • · · · • · • · · · •
                • • • • • · · · • · · · · • • • · · • · · · • · · • • • · · • · · · •

                                  autonomous incident investigation


             › Why did checkout p99 latency spike at 14:05?
             ───────────────────────────────────────────────────────────────────────────
             enter send   /help commands   ctrl+c exit







  ~/incidents                                                                        evorca v0.0.0

Transcript view after hello and /help, same setup:


  14:05:12  you     hello
  14:05:12  evorca  No agent is connected yet.

  14:05:20  you     /help
  14:05:20  evorca  /help  List the commands
                    /exit  Exit evorca

















  › What changed before node-6 starte
  ────────────────────────────────────────────────────────────────────────────────────────────────
  enter send   /help commands   ctrl+c exit

  ~/incidents                                                                        evorca v0.0.0

The block-letter wordmark read too much like opencode. The name now sits
on a panel of dots in a font five dots wide and seven tall, and the
unlit dots stay faint gray. The lit dots switch on one at a time over
0.9 s in a fixed, scattered order. After that, three dots dim for 150 ms
every 3 to 9 s. Below 73 columns, the plain name replaces the wordmark.
The input drops its rounded box. It is now the `›` prompt, the text, and
a rule under them, and the hints line up with the prompt.
Each `Entry` carries `at`, the local time when it was added, and `submit`
takes that time. The transcript drops the panels and bars. Each entry
shows the time, `you` or `evorca`, and the text, and wrapped lines start
under the text. The new `wallTime` prop lets tests inject the time.
@kottinov
kottinov merged commit e6e0cb9 into main Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant