Skip to content

Feature: Terminal title showing usage stats #142

@giodamelio

Description

@giodamelio

I've been using the monitor regularly and was wondering if you'd be interested in a feature that shows usage info in the terminal tab title.

The idea is when I have the monitor running in a background tab, and I could keep track of the overall stats by looking at my tabs.

I threw together a small POC, but wanted to reach out and see if you all we interested in it? I don't want to drive by PR and make your lifes harder.

A few questions I am not 100% on:

  • What stat would be most useful?
    • Token percentage (that is what I did in the POC)
    • Cost amount percentage
    • Message count percentage
  • Should it be configurable or just pick one default? Could add a flag like --title-format but might be overkill.
  • Any preference on the format? I went with percentage first for brevity and because sometimes terminals cut off titles that are too long, but open to other formats

Let me know if this sounds useful and not too big of a maintenance burden. Happy to submit a proper PR if you're interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions