Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Urda's Forged Status Line CHANGELOG

## [1.0.1] - 2026-08-03

### Changed

- README badge work: consistent badge styles, an embedded Antigravity mark,
and trimmed values from the README that should not be user touched most
days.

### Fixed

- Light theme now retints cyan to a dark teal (`38;5;30`); palette cyan
washed out on white backgrounds. Affects the context-window badge, the
effort readout, and the update badge.

## [1.0.0] - 2026-07-28

First public release of Urda's Forged Status Line (`FSL`, `fsl`).
Expand Down Expand Up @@ -33,4 +47,5 @@ First public release of Urda's Forged Status Line (`FSL`, `fsl`).
favor of a normal render.
- Bash 3.2 and `jq` 1.6 minimums, both asserted by CI rather than assumed.

[1.0.1]: https://github.com/urda/forged-statusline/releases/tag/v1.0.1
[1.0.0]: https://github.com/urda/forged-statusline/releases/tag/v1.0.0
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
<a href="https://anvil.urda.com/forged-statusline/"><img src="https://anvil.urda.com/forged-statusline/res/img/icon.png" alt="Urda Anvil AI Logo" width="200"></a>
</p>

[![CI/CD](https://github.com/urda/forged-statusline/actions/workflows/cicd.yaml/badge.svg)](https://github.com/urda/forged-statusline/actions/workflows/cicd.yaml)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![Claude Code - Native](https://img.shields.io/badge/Claude_Code-Native-D97757?logo=claudecode&logoColor=D97757&logoSize=auto)](#install)
[![Antigravity CLI - Supported](https://img.shields.io/badge/Antigravity_CLI-Supported-a56cc1?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI%2BPHBhdGggZmlsbD0iI2E1NmNjMSIgZD0iTTIxLjc1MSAyMi41NTJjMS4zNCAxLjAwNSAzLjM1LjMzNSAxLjUwOC0xLjUwNy01LjUyOC01LjM2LTQuMzU1LTIwLjEtMTEuMjIyLTIwLjFTNi4zNDIgMTUuNjg2LjgxNSAyMS4wNDZjLTIuMDEgMi4wMS4xNjcgMi41MTIgMS41MDcgMS41MDcgNS4xOTItMy41MTcgNC44NTctOS43MTUgOS43MTUtOS43MTVzNC41MjIgNi4xOTggOS43MTQgOS43MTUiLz48L3N2Zz4%3D&logoSize=auto)](#other-hosts)
[![Copilot CLI - Supported](https://img.shields.io/badge/Copilot_CLI-Supported-000000?logo=githubcopilot&logoColor=000000&logoSize=auto)](#other-hosts)
[![CI/CD](https://img.shields.io/github/actions/workflow/status/urda/forged-statusline/cicd.yaml?branch=master&logo=githubactions&logoColor=white&logoSize=auto&label=CI/CD)](https://github.com/urda/forged-statusline/actions/workflows/cicd.yaml)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue?logo=apache&logoColor=blue&logoSize=auto)](LICENSE)

**A two-row status line for Claude Code: model and modes above, live context and
rate-limit gauges below.**
Expand Down Expand Up @@ -168,10 +171,10 @@ Set configuration in the `env` block of `~/.claude/settings.json`:

### Display

| Variable | Default | Effect |
| ---------------------------------- | ------- | ---------------------------------------------------------- |
| `URDA_AI_FORGED_STATUS_LINE_ICONS` | `1` | `0` hides every icon; other values keep icons on |
| `URDA_AI_FORGED_STATUS_LINE_THEME` | `dark` | `light` retints gray and model text; other values use dark |
| Variable | Default | Effect |
| ---------------------------------- | ------- | ------------------------------------------------------------------------ |
| `URDA_AI_FORGED_STATUS_LINE_ICONS` | `1` | `0` hides every icon; other values keep icons on |
| `URDA_AI_FORGED_STATUS_LINE_THEME` | `dark` | `light` retints gray, model text, and cyan badges; other values use dark |

Icons remain swap-only: use the master switch to hide them without leaving
spacing gaps.
Expand Down Expand Up @@ -274,8 +277,6 @@ are throttled like successful checks.
| Variable | Default | Effect |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------- |
| `URDA_AI_FORGED_STATUS_LINE_UPDATE_CHECK` | `1` | `0` disables fetches and the badge |
| `URDA_AI_FORGED_STATUS_LINE_VERSION_URL` | `https://raw.githubusercontent.com/urda/forged-statusline/release/VERSION` | Published version |
| `URDA_AI_FORGED_STATUS_LINE_UPDATE_URL` | `https://raw.githubusercontent.com/urda/forged-statusline/release/urda-com-forged-statusline.sh` | Self-update source |

The checker state directory matches the rate-limit cache directory.

Expand Down Expand Up @@ -305,7 +306,7 @@ are deterministic.

## License

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue?logo=apache&logoColor=blue&logoSize=auto)](LICENSE)

Copyright 2026 Peter Urda

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
3 changes: 3 additions & 0 deletions scripts/test-urda-com-forged-statusline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,9 @@ run_theme_case "Default (theme unset) stays dark" \
run_theme_case "Junk theme stays dark" \
chartreuse $'\033[90m' $'\033[38;5;240m' \
'{"model":{"display_name":"Opus"},"workspace":{"current_dir":"__HOME__/dev/urda/forged-statusline"},"context_window":{"used_percentage":20}}'
run_theme_case "Light retints cyan badges to dark teal (36m -> 38;5;30m)" \
light $'\033[38;5;30m' $'\033[36m' \
'{"model":{"display_name":"Opus"},"workspace":{"current_dir":"__HOME__/dev/urda/forged-statusline"},"context_window":{"used_percentage":20,"context_window_size":200000},"effort":{"level":"high"}}'
# Light mode and icon removal remain independent.
export URDA_AI_FORGED_STATUS_LINE_ICONS=0
run_theme_case "Light survives icons-off (retint holds, line non-empty)" \
Expand Down
3 changes: 2 additions & 1 deletion urda-com-forged-statusline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# No `set -e`: a non-zero exit or empty stdout blanks the status line.
#
# Self-overridable so tests can compare cached and local versions.
URDA_AI_FORGED_STATUS_LINE_VERSION="${URDA_AI_FORGED_STATUS_LINE_VERSION:-1.0.0}"
URDA_AI_FORGED_STATUS_LINE_VERSION="${URDA_AI_FORGED_STATUS_LINE_VERSION:-1.0.1}"

# --- manual self-update (user-invoked) --------------------------------------
update_self() {
Expand Down Expand Up @@ -128,6 +128,7 @@ YELLOW=$'\033[33m'
# Light mode retints only colors that wash out on white.
case "${URDA_AI_FORGED_STATUS_LINE_THEME:-dark}" in
light)
CYAN=$'\033[38;5;30m' # palette cyan is pale on white; dark teal reads
GRAY=$'\033[38;5;240m' # bright-black is faint on white; mid-gray reads
WHITE=$'\033[39m' # default fg adapts; forced bright-white washes out
;;
Expand Down