name        = "ccstatusline"
description = "Customizable Claude Code status line (model, git, tokens, metrics)"
homepage    = "https://github.com/sirmalloc/ccstatusline"
tools       = ["claude"]
scope       = "global"

[[artifacts]]
kind = "path"
path = "~/.config/ccstatusline/settings.json"

[[prereq]]
name  = "bun"
check = "command -v bun"

[prereq.install]
brew   = "bun"
pacman = "bun"
paru   = "bun"
yay    = "bun"

[[install]]
id          = "bunx"
label       = "interactive setup (bunx)"
command     = "bunx -y ccstatusline@latest"
interactive = true

[[instructions]]
content = """
ccstatusline configures Claude Code's `statusLine` block in
`~/.claude/settings.json` to run `bunx -y ccstatusline@latest` and persists
its own settings at `~/.config/ccstatusline/settings.json`. Re-run
`bunx -y ccstatusline@latest` to reopen the configuration TUI.
"""
