Skip to content

Feature Request: Add context_window and cost data to statusLine stdin #955

@zwen64657

Description

@zwen64657

Problem

Droid's statusLine plugin only passes 5 fields via stdin:

json
{"session_id":"...","transcript_path":"...","cwd":"...","model":{...},"version":"..."}

Claude Code also passes context_window, cost, rate_limits, etc. (docs: https://code.claude.com/docs/en/statusline#available-data).

Request

Please add the following fields to statusLine stdin, aligning with Claude Code:

context_window: total_input_tokens, total_output_tokens, used_percentage — for context usage progress bar and real-time token speed (TPS)
cost: total_cost_usd, total_duration_ms — for session cost and duration display
rate_limits: five_hour.used_percentage — for rate limit display (if applicable)
workspace: project_dir, git_worktree — for project info display

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions