Skip to content

feat: premium CLI output -- header, dividers, token count (demo ready)#3

Merged
DevanshuNEU merged 2 commits into
mainfrom
feat/cli-premium-output
Mar 17, 2026
Merged

feat: premium CLI output -- header, dividers, token count (demo ready)#3
DevanshuNEU merged 2 commits into
mainfrom
feat/cli-premium-output

Conversation

@DevanshuNEU
Copy link
Copy Markdown
Contributor

What

Upgrades the saar CLI output to feel intentional and premium. Specifically for the demo video where non-technical people will be watching.

Before

saar analyzing saar...
  Backend   Python (58 files)  pytest
  ...
  Claude knows your project.

After

  saar v0.5.13  ·  analyzing saar
  ────────────────────────────────────────────
  Backend   Python (58 files)  pytest
  ...
  updated AGENTS.md  (66 lines  ~911 tokens)
  ────────────────────────────────────────────
  Your AI knows your codebase.  911 tokens
  Load AGENTS.md before your next Claude session.

Why the token count matters

The 911 tokens number is the demo hook. Cold Claude costs 1,772 tokens to get the right answer (3 exchanges + pasting files). With saar: 911 tokens, right answer first try. That stat needs to be visible immediately after extract.

Changes

  • Version header with dividers
  • Token count on AGENTS.md write line
  • Token count in closing summary
  • Tool-agnostic language: Your AI (not Claude)

Verified

ruff check saar/ tests/ → All checks passed
pytest tests/ -q → 548 passed

Closes OPE-206

- Add version header: 'saar v0.5.13 · analyzing [repo]'
- Add Rich divider lines for visual structure
- Show token count on AGENTS.md write/update lines
- Show token count in closing summary ('Your AI knows your codebase. 911 tokens')
- Replace 'Claude knows your project' -> 'Your AI knows your codebase' (tool-agnostic)

For demo: the 911 tokens stat is now visible immediately after extract.
This is the key number -- cold Claude costs 1,772 tokens, warm costs 911.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
saar Ready Ready Preview, Comment Mar 17, 2026 8:06pm

@linear
Copy link
Copy Markdown

linear Bot commented Mar 17, 2026

@DevanshuNEU DevanshuNEU merged commit 347f1a6 into main Mar 17, 2026
16 checks 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