Add rich terminal output and live event view - #6
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2dace9e3aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1483b0dcc8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df5815c576
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
NO_COLOR, and keep--jsonandevents streamfree of terminal decorationbarestash events tail --view, an interactive screen-updating dashboard for recent webhook eventsWhy
The existing presentation layer emitted fixed-width strings, so long values broke table alignment and interactive terminal output was difficult to scan. Event monitoring also only supported an append-only display. This change centralizes human rendering while retaining the CLI's existing machine-output and security contracts.
User impact
Interactive terminals now receive width-aware, colored output. Redirected and piped human output remains plain text. The new dashboard is opt-in with
events tail --view, requires a TTY, and cannot be combined with--headersor--body.Sensitive event headers are still redacted before rendering. One-time token and endpoint-secret output remains copyable.
Validation
just check— 32 test files, 249 tests passedjust package— npm tarball allow-list, install, help/version, and native keyring smoke checks passedpnpm dev events tail --help— verified the documented--viewcommand surfacegit diff --check— passed