Skip to content

Feature: Add usage reset time to status line metadata for customization #7185

Description

@KJ7LNW

Environment

  • Platform: Anthropic API
  • Claude CLI version: 1.0.102 (Claude Code)
  • Operating System: Linux 6.6.67
  • Terminal: Terminal

Feature Request

Description

Add usage reset time information to the status line metadata so users can customize how and when this information is displayed in their custom status line.

Current Behavior

  • Status line only shows "nearing usage limits" when close to limit
  • Only shows "will reset at 4pm" when limit is actually hit
  • No metadata available for custom status line configuration
  • No visibility into reset time during normal usage

Proposed Behavior

Add usage reset time fields to the status line metadata, such as:

  • usage_reset_time_absolute: "16:00 UTC"
  • usage_reset_time_relative: "2h 34m"
  • usage_reset_timestamp: Unix timestamp for calculations

This would allow users to customize their status line to show this information in their preferred format and timing.

Motivation

Users need:

  • Constant visibility into when usage limits will reset
  • Ability to customize how this information is displayed
  • Control over when this information appears in their status line
  • Consistent access to reset time data, not just when approaching limits

Expected Implementation

Expose usage reset time data in the status line metadata alongside existing fields, enabling users to configure custom status lines that include this information in their preferred format.

Additional Context

This would provide the underlying data for users to create custom status line configurations showing usage reset information proactively, rather than only seeing reactive warnings when limits are approached or exceeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions